/* =====================================================
   GAEL MONSREAL — Páginas Web Profesionales
   =====================================================
   COLORES:
   --navy  : #1e3a8a  → fondos oscuros, navbar
   --slate : #8b9cc8  → acentos, subtextos en dark
   --light : #f0f4ff  → fondos claros, texto sobre dark
   ===================================================== */

/* TT Chocolates — fuente de encabezados */
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fuentes/tt_chocolates/TT Chocolates Trial Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fuentes/tt_chocolates/TT Chocolates Trial Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fuentes/tt_chocolates/TT Chocolates Trial DemiBold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fuentes/tt_chocolates/TT Chocolates Trial Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fuentes/tt_chocolates/TT Chocolates Trial ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-display: swap;
}

/* Dream Avenue — fuente para el logo/marca */
@font-face {
  font-family: 'Dream Avenue';
  src: url('../fuentes/Dream Avenue Regular/Dream Avenue Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* Poppins — texto de cuerpo */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- VARIABLES ---------- */
:root {
  --navy:         #1e3a8a;
  --navy-deep:    #0f2060;
  --navy-darker:  #0a1628;
  --slate:        #8b9cc8;
  --slate-light:  #b8c4df;
  --light:        #f0f4ff;
  --white:        #ffffff;
  --text-dark:    #0f172a;
  --text-muted:   #64748b;
  --whatsapp:     #25D366;

  --font-heading: 'TT Chocolates', 'Poppins', sans-serif;
  --font-brand:   'Dream Avenue', cursive;
  --font-body:    'Poppins', sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --transition:   all 0.3s ease;
  --shadow-sm:    0 2px 12px rgba(30,58,138,0.08);
  --shadow-md:    0 8px 32px rgba(30,58,138,0.14);
  --shadow-lg:    0 20px 60px rgba(30,58,138,0.2);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-dark { background: var(--navy); color: var(--light); }
.section-deeper { background: var(--navy-deep); color: var(--light); }
.section-light { background: var(--light); }
.section-white { background: var(--white); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-dark .section-label  { color: var(--slate); }
.section-white .section-label,
.section-light .section-label { color: var(--navy); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.7;
  max-width: 600px;
}
.section-dark .section-subtitle { color: var(--slate-light); }
.section-white .section-subtitle,
.section-light .section-subtitle { color: var(--text-muted); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-primary:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-logo img {
  height: 36px;
  width: auto;
  /* Si aún no tienes logo visible, esta imagen muestra el archivo */
}
.navbar-logo-text {
  font-family: var(--font-brand);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.5px;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.navbar-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 4px 10px;
  border-radius: 20px;
  transition: var(--transition);
  cursor: pointer;
}
.lang-btn.active {
  background: var(--white);
  color: var(--navy);
}
.navbar-cta { font-size: 14px; padding: 10px 20px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-darker);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-size: 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
  width: 100%;
  max-width: 280px;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.08); }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
}
.mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.mobile-lang button {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.mobile-lang button.active {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #2d50a8 100%);
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(139,156,200,0.15) 1px, transparent 0);
  background-size: 40px 40px;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,156,200,0.15);
  border: 1px solid rgba(139,156,200,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-light);
  margin-bottom: 20px;
}
.hero-tag span { font-size: 8px; }
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--slate-light);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--slate-light);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(139,156,200,0.2);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-light);
  margin-top: 4px;
}
/* Badge de urgencia / demanda */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.urgency-dot {
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
/* Hero visual (mockup placeholder) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mockup {
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(139,156,200,0.2);
  border-radius: var(--radius-lg);
  padding: 16px;
  backdrop-filter: blur(8px);
}
.hero-mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 0 4px;
}
.hero-mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.hero-mockup-bar span:nth-child(1) { background: #ff5f57; }
.hero-mockup-bar span:nth-child(2) { background: #febc2e; }
.hero-mockup-bar span:nth-child(3) { background: #28c840; }
.hero-mockup-screen {
  background: transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.hero-mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-mockup-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(240,244,255,0.70) 0%, rgba(220,228,247,0.70) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--navy);
}
.hero-mockup-placeholder svg { opacity: 0.3; }
.hero-mockup-placeholder p { font-size: 12px; color: var(--slate); text-align: center; padding: 0 16px; }

/* ---------- PROBLEMA / SOLUCIÓN ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.problem-text { max-width: 480px; }
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 15px;
}
.problem-item svg { flex-shrink: 0; margin-top: 2px; color: var(--navy); }
.solution-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--light);
}
.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.solution-card p { color: var(--slate-light); line-height: 1.75; font-size: 15px; }
.solution-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.solution-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-light);
}
.solution-feature svg { color: var(--slate); flex-shrink: 0; }

/* ---------- SERVICIOS ---------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  flex: 0 1 calc(25% - 16px);
  min-width: 220px;
  max-width: 300px;
}
.service-card:hover {
  border-color: var(--slate);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- PROCESO ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px; left: 12%; right: 12%;
  height: 1px;
  background: rgba(139,156,200,0.2);
}
.process-step { text-align: center; }
.process-num {
  width: 48px; height: 48px;
  background: rgba(139,156,200,0.15);
  border: 1px solid rgba(139,156,200,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-light);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.process-step h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.process-step p { font-size: 13px; color: var(--slate); line-height: 1.5; }

/* ---------- PAQUETES ---------- */
.packages-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.package-card {
  flex: 1 1 280px;
  max-width: 380px;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.package-card.light {
  background: var(--white);
  border: 1px solid #e2e8f0;
}
.package-card.light:hover {
  border-color: var(--slate);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.package-card.featured {
  background: var(--navy);
  color: var(--light);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.package-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--slate);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.package-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.package-card.light .package-name { color: var(--navy); }
.package-card.featured .package-name { color: var(--slate); }
.package-price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.package-price sup { font-size: 20px; vertical-align: super; font-weight: 500; }
.package-price-sub { font-size: 13px; margin-bottom: 20px; }
.package-card.light .package-price-sub { color: var(--text-muted); }
.package-card.featured .package-price-sub { color: var(--slate); }
.package-divider {
  height: 1px;
  margin: 20px 0;
}
.package-card.light .package-divider { background: #e2e8f0; }
.package-card.featured .package-divider { background: rgba(139,156,200,0.2); }
.package-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.package-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.package-card.light .package-feature { color: var(--text-muted); }
.package-card.featured .package-feature { color: var(--slate-light); }
.package-feature svg { flex-shrink: 0; margin-top: 1px; }
.package-card.light .package-feature svg { color: var(--navy); }
.package-card.featured .package-feature svg { color: var(--slate); }
.package-excluded {
  font-size: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  line-height: 1.6;
}
.package-excluded strong { display: block; margin-bottom: 4px; font-size: 12px; }
.package-excluded span { font-size: 11px; opacity: 0.85; }
.package-card.light .package-excluded { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.package-card.featured .package-excluded { background: rgba(239,68,68,0.1); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }

/* Demanda / urgencia en paquetes */
.demand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.3);
  color: #fbbf24;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.package-card.light .demand-badge {
  background: rgba(30,58,138,0.07);
  border-color: rgba(30,58,138,0.2);
  color: var(--navy);
}
.package-cta { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }

/* Mantenimiento */
.maintenance-card {
  background: var(--light);
  border: 1px solid var(--slate);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.maintenance-info { flex: 1; min-width: 240px; }
.maintenance-price { flex-shrink: 0; text-align: center; }
.maintenance-price .price-big {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
}
.maintenance-price .price-period { font-size: 13px; color: var(--text-muted); }

/* ---------- PORTAFOLIO ---------- */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.portfolio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,156,200,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  flex: 0 1 calc(33.333% - 16px);
  min-width: 280px;
  max-width: 380px;
}
.portfolio-card:hover {
  border-color: rgba(139,156,200,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.portfolio-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.06);
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.04); }
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--slate);
  font-size: 13px;
}
.portfolio-info { padding: 20px 22px; }
.portfolio-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.portfolio-info p { font-size: 13px; color: var(--slate); line-height: 1.5; }
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-light);
  transition: var(--transition);
}
.portfolio-link:hover { color: var(--white); gap: 10px; }

/* ---------- NICHOS ---------- */
.niches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}
.niche-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.niche-pill:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.niche-pill svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--slate); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-item.open .faq-question { background: var(--light); color: var(--navy); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--navy);
}
.faq-item.open .faq-icon { background: var(--navy); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- SOBRE MÍ ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
/* Reemplazar con foto real en /imagenes/ */
.about-photo {
  aspect-ratio: 3/4;
  max-width: 360px;
  background: linear-gradient(135deg, var(--light) 0%, #dce4f7 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--slate);
  font-size: 14px;
}
.about-text { max-width: 520px; }
.about-highlights {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.about-highlight {
  text-align: center;
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  flex: 1;
  min-width: 100px;
}
.about-highlight .num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}
.about-highlight .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---------- CTA FINAL ---------- */
.cta-final {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(139,156,200,0.1) 1px, transparent 0);
  background-size: 36px 36px;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 17px;
  color: var(--slate-light);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; line-height: 1.75; margin-top: 12px; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-logo-text {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}
.footer-logo { height: 36px; width: auto; display: block; margin-bottom: 12px; }

/* ---------- WHATSAPP FLOTANTE ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50px;
  padding: 12px 20px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.whatsapp-float:hover {
  background: #1db954;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
}
.whatsapp-float svg { flex-shrink: 0; }

/* ---------- PÁGINA: PORTAFOLIO ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p { font-size: 17px; color: var(--slate-light); max-width: 520px; margin: 0 auto; }

/* ---------- PÁGINA: CONTACTO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  color: var(--text-dark);
}
.contact-method:hover {
  border-color: var(--slate);
  box-shadow: var(--shadow-sm);
}
.contact-method-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.contact-method h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-method p { font-size: 13px; color: var(--text-muted); }
.contact-method strong { font-weight: 600; color: var(--text-dark); }

/* Formulario */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group label span { color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }

/* ---------- ANIMACIONES ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .package-card.featured { transform: scale(1); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 80px;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .hero::after { display: none; }

  .problem-grid { grid-template-columns: 1fr; }
  .solution-card { margin-top: 0; }

  /* Paquetes: columna única (orden Premium→Intermedio→Básico definido en HTML) */
  .packages-grid,
  .packages-page .packages-grid {
    display: block !important;
  }
  .package-card,
  .packages-page .package-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 20px;
    box-sizing: border-box;
  }
  .package-card.featured { transform: none !important; }

  /* Portafolio y servicios: columna única */
  .service-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .portfolio-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .lang-toggle { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
}

/* Reducir movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
