/*
Theme Name: Indigo One Marketing
Theme URI: https://indigoone.com
Description: Landing page profesional para agencia digital de marketing con diseño elegante y minimalista
Version: 1.0.0
Author: Indigo One
Author URI: https://indigoone.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indigo-one
Domain Path: /languages
*/

/* ──────────────────────────────────────────────────────────────────────────────
   INDIGO ONE MARKETING — LIGHT ELEGANT DESIGN SYSTEM
   ──────────────────────────────────────────────────────────────────────────────
   Palette: #FAFAF8 (bg), #1A1A1A (text), #6366F1 (indigo), #22D3EE (cyan)
   Fonts: Playfair Display (display) + Poppins (body)
   ────────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

/* ── RESET & BASE ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #FAFAF8;
  color: #1A1A1A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: #6366F1;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #4F46E5;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ── UTILITIES ── */
.elegant-card {
  background: #FFFFFF;
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.elegant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.shadow-elegant {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.gradient-text {
  background: linear-gradient(135deg, #6366F1 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-line {
  width: 4px;
  height: 40px;
  background: linear-gradient(180deg, #6366F1 0%, #22D3EE 100%);
  border-radius: 2px;
  display: inline-block;
  margin-right: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  border: 2px solid #6366F1;
  color: #6366F1;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.05);
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  padding: 0.75rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #1A1A1A;
}

.navbar-brand .accent {
  color: #6366F1;
}

.navbar-menu {
  display: none;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-menu a {
  font-size: 0.875rem;
  color: #4B5563;
  font-weight: 600;
  transition: color 0.2s ease;
}

.navbar-menu a:hover {
  color: #1A1A1A;
}

.navbar-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,250,248,0.98) 0%, rgba(250,250,248,0.85) 50%, rgba(250,250,248,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #6366F1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  animation: fadeUpIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  animation: fadeUpIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: #4B5563;
  max-width: 28rem;
  margin-bottom: 2.5rem;
  animation: fadeUpIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUpIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(26, 26, 26, 0.3);
  animation: bounce 2s ease-in-out infinite;
}

/* ── TICKER ── */
.ticker-section {
  overflow: hidden;
  padding: 1rem 0;
  background: rgba(99, 102, 241, 0.08);
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6366F1;
}

.ticker-dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #6366F1;
}

/* ── METRICS SECTION ── */
.metrics-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6366F1;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  padding: 2rem;
  text-align: center;
}

.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: #6366F1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4B5563;
}

/* ── SERVICES SECTION ── */
.services-section {
  padding: 6rem 0;
  background: rgba(99, 102, 241, 0.03);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  overflow: hidden;
  border-radius: 1rem;
}

.service-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: #1A1A1A;
}

.service-desc {
  font-size: 0.875rem;
  color: #4B5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.08);
  color: #6366F1;
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-weight: 600;
}

/* ── MANIFESTO ── */
.manifesto-section {
  padding: 6rem 0;
  text-align: center;
}

.manifesto-text {
  font-size: 2rem;
  font-weight: 900;
  max-width: 56rem;
  margin: 0 auto 2rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .manifesto-text {
    font-size: 2.5rem;
  }
}

.manifesto-desc {
  font-size: 1rem;
  color: #4B5563;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── WHY US SECTION ── */
.why-section {
  padding: 6rem 0;
  background: rgba(99, 102, 241, 0.03);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.why-card {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.why-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4B5563;
  margin-bottom: 0.25rem;
}

.why-title {
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #1A1A1A;
}

.why-desc {
  font-size: 0.875rem;
  color: #4B5563;
  line-height: 1.6;
}

/* ── INSIGHTS SECTION ── */
.insights-section {
  padding: 6rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.blog-card {
  overflow: hidden;
  border-radius: 1rem;
}

.blog-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  color: #22D3EE;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #1A1A1A;
  line-height: 1.4;
}

.blog-desc {
  font-size: 0.875rem;
  color: #4B5563;
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #4B5563;
}

.blog-center {
  text-align: center;
}

/* ── CONTACT SECTION ── */
.contact-section {
  padding: 6rem 0;
  background: rgba(99, 102, 241, 0.03);
}

.contact-container {
  max-width: 80rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.1);
  color: #6366F1;
}

.contact-icon.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.2);
  color: #25D366;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4B5563;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1A1A;
}

.contact-value a {
  color: #6366F1;
  transition: color 0.2s ease;
}

.contact-value a:hover {
  color: #4F46E5;
}

.contact-value a.whatsapp:hover {
  color: #25D366;
}

/* ── FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A1A1A;
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: #1A1A1A;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  ring: 2px;
  ring-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 6rem;
}

.form-success {
  text-align: center;
  padding: 3rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #6366F1;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #1A1A1A;
}

.success-desc {
  font-size: 0.875rem;
  color: #4B5563;
}

/* ── FOOTER ── */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  background: #FFFFFF;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    text-align: left;
  }
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #1A1A1A;
}

.footer-brand .accent {
  color: #6366F1;
}

.footer-text {
  font-size: 0.75rem;
  color: #4B5563;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  font-size: 0.75rem;
  color: #4B5563;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #25D366;
}

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.whatsapp-tooltip {
  display: none;
  opacity: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: #FFFFFF;
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  transition: all 0.2s ease;
  transform: translateX(0.5rem);
}

@media (min-width: 768px) {
  .whatsapp-tooltip {
    display: block;
  }

  .whatsapp-fab:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
  }
}

.whatsapp-button {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: all 0.2s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button:active {
  transform: scale(0.95);
}

.whatsapp-button svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
}

/* ── ANIMATIONS ── */
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5rem); }
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 1rem rgba(37, 211, 102, 0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .manifesto-text {
    font-size: 1.5rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
