:root {
  /* Paleta principal */
  --blue-pastel:   #c9e2e9;
  --slate:         #3c5c63;
  --green-pastel:  #c3dcba;
  --white:         #ffffff;
  --off-white:     #f5f9fb;

  /* Colores de texto */
  --ink:           #18283a;
  --ink-mid:       #3e5368;
  --ink-light:     #6d8499;

  /* Color de acción — teal de la marca Vortex */
  --teal:          #1a6b82;
  --navy:          #0f3448;

  /* Superficies y bordes */
  --border-solid:  #cde0e8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--blue-pastel);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ── BARRA DE NAVEGACIÓN ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 60px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(201,226,233,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-solid);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; transition: transform 0.35s ease; }
.nav-logo:hover img { transform: rotate(30deg) scale(1.06); }
.nav-logo-text { font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; letter-spacing: 4px; color: var(--ink); line-height: 1; }
.nav-logo-text span { color: var(--teal); }
.nav-logo-sub { font-size: 0.6rem; color: var(--ink-light); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink-mid); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  padding: 9px 20px;
  border-radius: 5px;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: var(--navy) !important; box-shadow: 0 4px 16px rgba(26,107,130,0.3) !important; }

/* Estado del nav al bajar más allá del hero — se activa desde JS */
nav.nav--scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

/* ── HERO (PORTADA) ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 60px 60px;
  background: var(--blue-pastel);
}

/* Textura sutil de grano */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 70% 35%, rgba(255,255,255,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(195,220,186,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(243,233,195,0.4) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,107,130,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,130,0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border-solid);
  color: var(--teal);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.73rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(26,107,130,0.08);
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.8rem, 8.5vw, 7.8rem);
  line-height: 0.95; letter-spacing: 2px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.15s ease both;
  color: var(--ink);
}
.hero h1 .line-blue  { color: var(--teal); display: block; }
.hero h1 .line-outline {
  -webkit-text-stroke: 1.5px rgba(24,40,58,0.2);
  color: transparent;
  display: block;
}

.hero-sub {
  font-size: 1.08rem; color: var(--ink-mid);
  line-height: 1.75; max-width: 470px;
  margin-bottom: 40px; font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

.btn-primary {
  background: var(--teal); color: white;
  padding: 14px 32px; border-radius: 5px;
  text-decoration: none; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.5px;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 18px rgba(26,107,130,0.25);
}
.btn-primary:hover { background: var(--navy); box-shadow: 0 8px 28px rgba(26,107,130,0.35); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid var(--teal); color: var(--teal);
  padding: 14px 32px; border-radius: 5px;
  text-decoration: none; font-weight: 500;
  font-size: 0.9rem; transition: all 0.25s;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: var(--teal); color: white; }

/* ─ Hero: visualización del logo Vortex ─ */
.hero-logo-display {
  position: absolute; right: 52px; top: 50%;
  transform: translateY(-50%);
  width: 42%; max-width: 500px;
  animation: fadeLeft 1.1s 0.55s ease both;
  z-index: 2;
}
.hero-logo-display img {
  width: 100%;
  filter: drop-shadow(0 24px 64px rgba(26,107,130,0.22)) drop-shadow(0 4px 16px rgba(0,0,0,0.1));
}

/* Anillos decorativos detrás del logo */
.hero-logo-display::before {
  content: "";
  position: absolute;
  width: 90%; height: 90%;
  top: 5%; left: 5%;
  border-radius: 50%;
  border: 1px dashed rgba(26,107,130,0.18);
  animation: spin 40s linear infinite;
}
.hero-logo-display::after {
  content: "";
  position: absolute;
  width: 80%; height: 80%;
  top: 10%; left: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(26,107,130,0.1);
  animation: spin 60s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(26,107,130,0.18);
  animation: fadeUp 0.8s 0.6s ease both;
}
.stat { text-align: left; }
.stat-num { font-family: "Bebas Neue", sans-serif; font-size: 2.5rem; color: var(--ink); line-height: 1; }
.stat-num span { color: var(--teal); }
.stat-label { font-size: 0.7rem; color: var(--ink-light); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

/* Indicador de scroll */
.scroll-hint {
  position: absolute; bottom: 60px; right: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-light); font-size: 0.67rem; letter-spacing: 2px;
  text-transform: uppercase; z-index: 2;
  animation: fadeUp 1s 1.2s ease both;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 1.8s ease infinite;
}
@keyframes scrollPulse { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{opacity:0;transform:scaleY(0);transform-origin:bottom} }

@keyframes fadeUp   { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeLeft { from{opacity:0;transform:translateY(-50%) translateX(44px)} to{opacity:1;transform:translateY(-50%) translateX(0)} }

/* ── ESTILOS COMPARTIDOS DE SECCIÓN ── */
section { padding: 100px 60px; }

.section-label {
  font-size: 0.68rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label.center { justify-content: center; }
.section-label::before { content: ""; width: 24px; height: 1px; background: var(--teal); }

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 16px; color: var(--ink);
}

/* Tarjetas — efecto compartido de elevación al hacer hover */
.service-card:hover,
.monitoreo-card:hover,
.extras-group:hover,
.testimonial-card:hover,
.pricing-card:not(.is-open):hover {
  transform: scale(1.03);
}

/* ── SERVICIOS  — Pizarra oscuro ── */
.services { background: var(--slate); }
.services .section-label         { color: #9fc7d1; }
.services .section-label::before { background: #9fc7d1; }
.services .section-title         { color: var(--white); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; gap: 40px; flex-wrap: wrap; }
.services-sub { max-width: 320px; color: rgba(255,255,255,0.72); line-height: 1.7; font-size: 0.93rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }

.service-card {
  background: var(--white); padding: 36px;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.service-card:hover { box-shadow: 0 22px 52px rgba(0,0,0,0.32); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(201,226,233,0.55);
  border: 1px solid rgba(26,107,130,0.15);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.service-title { font-family: "Syne", sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.service-desc  { color: var(--ink-light); font-size: 0.89rem; line-height: 1.72; }

/* ── PRECIOS  — Blanco ── */
.pricing { background: var(--white); }
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-sub { color: var(--ink-mid); max-width: 480px; margin: 0 auto; line-height: 1.7; font-size: 0.93rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; align-items: start; }

.pricing-card {
  background: var(--off-white);
  border: 1px solid var(--border-solid);
  border-radius: 16px; padding: 40px;
  position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.4s ease;
  cursor: pointer;
}

/* ── Hover: fondo oscuro #293e5c, solo cuando no está expandida ── */
.pricing-card:not(.is-open):hover {
  box-shadow: 0 22px 52px rgba(0,0,0,0.22);
  background: #293e5c;
}
.pricing-card:not(.is-open):hover .pricing-name            { color: #ffffff; }
.pricing-card:not(.is-open):hover .pricing-price .amount   { color: #ffffff; }
.pricing-card:not(.is-open):hover .pricing-price .currency { color: rgba(255,255,255,0.6); }

/* ── Tarjeta Pro (featured) ── */
.pricing-card.featured {
  border-color: var(--teal);
  background: linear-gradient(140deg, rgba(201,226,233,0.28), var(--white));
  box-shadow: 0 8px 32px rgba(26,107,130,0.12);
  padding-top: 60px;
}
.pricing-card.featured:not(.is-open):hover { background: #293e5c; }

/* Pill destacado — usado en "MÁS POPULAR" (precios) y "RECOMENDADO" (monitoreo) */
.pricing-card.featured::before,
.monitoreo-card.featured-m::after {
  position: absolute; top: 16px; right: 16px;
  background: var(--teal); color: white;
  letter-spacing: 1.5px;
  padding: 6px 14px; border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(26,107,130,0.28);
  z-index: 2;
}
.pricing-card.featured::before {
  content: "MÁS POPULAR";
  font-size: 0.62rem;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
/* Pill visible sobre fondo azul marino (hover y expandido) */
.pricing-card.featured:not(.is-open):hover::before,
.pricing-card.featured.is-open::before {
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
}

/* ── Detalles colapsados por defecto ── */
.pricing-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s ease, opacity 0.38s ease;
}

/* ── Estado expandido al hacer clic (.is-open) ── */
.pricing-card.is-open {
  background: #293e5c;
  transform: none;
  cursor: default;
  box-shadow: 0 14px 42px rgba(15,52,72,0.32);
}
.pricing-card.is-open:hover {
  transform: none;
  background: #293e5c;
  box-shadow: 0 14px 42px rgba(15,52,72,0.32);
}
.pricing-card.is-open .pricing-details {
  max-height: 960px;
  opacity: 1;
  transition: max-height 0.62s ease, opacity 0.45s ease 0.08s;
}

/* Texto legible sobre fondo azul marino en estado expandido */
.pricing-card.is-open .pricing-name            { color: #ffffff; }
.pricing-card.is-open .pricing-price .amount   { color: #ffffff; }
.pricing-card.is-open .pricing-price .currency { color: rgba(255,255,255,0.6); }
.pricing-card.is-open .pricing-badge           { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.88); }
.pricing-card.is-open .pricing-renewal         { color: rgba(255,255,255,0.7); }
.pricing-card.is-open .pricing-renewal strong  { color: #5bbdd4; }
.pricing-card.is-open .pricing-divider         { background: rgba(255,255,255,0.16); }
.pricing-card.is-open .pricing-features li     { color: rgba(255,255,255,0.78); }
.pricing-card.is-open .pricing-features li.highlight { color: #ffffff; }
.pricing-card.is-open .pricing-features li::before   { color: #5bbdd4; }
.pricing-card.is-open .pricing-cta.outline { border-color: rgba(255,255,255,0.5); color: #ffffff; background: transparent; }
.pricing-card.is-open .pricing-cta.outline:hover { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.pricing-card.is-open .pricing-cta.primary { background: #ffffff; color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.pricing-card.is-open .pricing-cta.primary:hover { background: #5bbdd4; color: #ffffff; }

/* ── Estilos base de los elementos internos ── */
.pricing-badge {
  display: inline-block;
  background: rgba(201,226,233,0.6);
  border: 1px solid rgba(26,107,130,0.2);
  color: var(--teal);
  padding: 4px 13px; border-radius: 999px;
  font-size: 0.68rem; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px;
}
.pricing-name { font-family: "Bebas Neue", sans-serif; font-size: 1.8rem; letter-spacing: 3px; margin-bottom: 8px; color: var(--ink); transition: color 0.3s ease; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pricing-price .currency { font-size: 1rem; color: var(--ink-light); transition: color 0.3s ease; }
.pricing-price .amount { font-family: "Bebas Neue", sans-serif; font-size: 3.5rem; color: var(--ink); line-height: 1; transition: color 0.3s ease; }
.pricing-price .period  { color: var(--ink-light); font-size: 0.85rem; }
.pricing-renewal { color: var(--ink-light); font-size: 0.8rem; margin-bottom: 28px; }
.pricing-renewal strong { color: var(--teal); }
.pricing-divider { height: 1px; background: var(--border-solid); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 0.87rem; color: var(--ink-mid); line-height: 1.5; }
.pricing-features li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.pricing-features li.highlight { color: var(--ink); font-weight: 500; }
/* Botones CTA — compartidos entre tarjetas de precios y monitoreo */
.pricing-cta,
.monitoreo-cta-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.25s;
}
/* Tamaño/forma por contexto */
.pricing-cta       { padding: 14px; border-radius: 8px; font-size: 0.9rem; }
.monitoreo-cta-btn { padding: 12px; border-radius: 7px; font-size: 0.85rem; }

/* Variante "primary" — fondo teal */
.pricing-cta.primary,
.monitoreo-cta-btn.prim { background: var(--teal); color: white; }
.pricing-cta.primary    { box-shadow: 0 4px 16px rgba(26,107,130,0.2); }
.pricing-cta.primary:hover    { background: var(--navy); box-shadow: 0 8px 24px rgba(26,107,130,0.3); }
.monitoreo-cta-btn.prim:hover { background: var(--navy); box-shadow: 0 6px 20px rgba(26,107,130,0.3); }

/* Variante "outline" — borde teal */
.pricing-cta.outline,
.monitoreo-cta-btn.outl { border: 1.5px solid var(--teal); color: var(--teal); }
.pricing-cta.outline:hover,
.monitoreo-cta-btn.outl:hover { background: var(--teal); color: white; }

/* Nota al pie de sección — usada bajo las tarjetas de precios */
.section-footnote {
  text-align: center;
  color: var(--ink-light);
  font-size: 0.78rem;
  margin: 32px auto 0;
  max-width: 600px;
  line-height: 1.65;
}
.section-footnote a { color: var(--teal); text-decoration: none; }

/* ── MONITOREO  — Verde pastel ── */
.monitoreo { background: var(--green-pastel); }
.monitoreo-header { text-align: center; margin-bottom: 64px; }
.monitoreo-sub { color: var(--ink-mid); max-width: 520px; margin: 12px auto 0; line-height: 1.7; font-size: 0.93rem; }
.monitoreo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto 64px; }

.monitoreo-card {
  background: var(--white);
  border: 1px solid rgba(180,214,172,0.5);
  border-radius: 14px; padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 14px rgba(0,0,0,0.04);
}
.monitoreo-card:hover { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(26,107,130,0.22), 0 14px 36px rgba(26,107,130,0.20); }
.monitoreo-card.featured-m { border-color: var(--teal); background: linear-gradient(140deg, rgba(201,226,233,0.25), var(--white)); padding-top: 56px; }
.monitoreo-card.featured-m::after {
  content: "RECOMENDADO";
  font-size: 0.6rem;
}
/* Barra decorativa superior — aparece en hover en service-card y monitoreo-card */
.service-card::before,
.monitoreo-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(to right, var(--teal), #5bbdd4);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 14px 14px 0 0;
}
.monitoreo-card:hover::before { transform: scaleX(1); }
.monitoreo-plan { font-size: 0.63rem; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.monitoreo-price { font-family: "Bebas Neue", sans-serif; font-size: 3rem; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.monitoreo-price span { font-size: 1rem; color: var(--ink-light); font-family: "DM Sans", sans-serif; font-weight: 300; }
.monitoreo-changes { font-size: 0.77rem; color: var(--teal); margin-bottom: 24px; }
.monitoreo-divider { height: 1px; background: var(--border-solid); margin-bottom: 24px; }
.monitoreo-features { list-style: none; margin-bottom: 32px; }
.monitoreo-features li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.85rem; color: var(--ink-light); line-height: 1.5; }
.monitoreo-features li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.monitoreo-features li.hi { color: var(--ink); font-weight: 500; }

.monitoreo-banner {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(195,220,186,0.8);
  border-radius: 14px; padding: 28px 36px;
  display: flex; align-items: center; gap: 24px;
  max-width: 1100px; margin: 0 auto; flex-wrap: wrap;
  box-shadow: 0 2px 14px rgba(0,0,0,0.04);
}
.monitoreo-banner-icon { font-size: 2.2rem; flex-shrink: 0; }
.monitoreo-banner-text h4 { font-family: "Syne", sans-serif; font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; color: var(--ink); }
.monitoreo-banner-text p  { color: var(--ink-mid); font-size: 0.85rem; line-height: 1.6; }
.monitoreo-banner-text strong { color: var(--teal); }

/* ── EXTRAS  — Pizarra oscuro ── */
.extras { background: var(--slate); }
.extras .section-label         { color: #9fc7d1; }
.extras .section-label::before { background: #9fc7d1; }
.extras .section-title         { color: var(--white); }
.extras-header { text-align: center; margin-bottom: 64px; }
.extras-sub { color: rgba(255,255,255,0.72); max-width: 520px; margin: 12px auto 0; line-height: 1.7; font-size: 0.93rem; }
.extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }

.extras-group {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.extras-group:hover { box-shadow: 0 22px 52px rgba(0,0,0,0.32); }
.extras-group-header {
  padding: 18px 28px;
  background: rgba(201,226,233,0.25);
  border-bottom: 1px solid rgba(201,226,233,0.5);
  display: flex; align-items: center; gap: 12px;
}
.extras-group-icon { font-size: 1.15rem; }
.extras-group-title { font-family: "Syne", sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.extras-table { width: 100%; border-collapse: collapse; }
.extras-table tr { border-bottom: 1px solid rgba(201,226,233,0.35); transition: background 0.2s; }
.extras-table tr:last-child { border-bottom: none; }
.extras-table tr:hover { background: rgba(201,226,233,0.12); }
.extras-table td { padding: 13px 28px; font-size: 0.84rem; }
.extras-table td:first-child { color: var(--ink-mid); line-height: 1.5; }
.extras-table td:last-child { text-align: right; color: var(--teal); font-weight: 600; white-space: nowrap; font-family: "Syne", sans-serif; font-size: 0.82rem; }
.extras-note { text-align: center; color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 40px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.65; }

/* ── PORTAFOLIO  — Azul pastel ── */
.portfolio { background: var(--blue-pastel); }
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.portfolio-item {
  position: relative; overflow: hidden;
  border-radius: 14px; background: var(--white);
  border: 1px solid var(--border-solid);
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.portfolio-item:first-child { grid-column: 1 / -1; aspect-ratio: 21/9; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; filter: saturate(0.75) brightness(0.88); }
.portfolio-item:hover img { transform: scale(1.05); filter: saturate(1) brightness(0.65); }
.portfolio-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: linear-gradient(to top, rgba(15,52,72,0.82) 0%, transparent 60%); }
.portfolio-tag  { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(201,226,233,0.9); margin-bottom: 6px; }
.portfolio-name { font-family: "Syne", sans-serif; font-size: 1.2rem; font-weight: 700; color: white; }
.portfolio-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ink-light); }
.portfolio-empty-icon { width: 48px; height: 48px; border: 2px dashed var(--border-solid); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.portfolio-empty span { font-size: 0.78rem; letter-spacing: 1px; }

/* ── PROCESO  — Blanco ── */
.process { background: var(--white); }
.process-header { text-align: center; margin-bottom: 64px; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; position: relative; }
.process-steps::before {
  content: ""; position: absolute; top: 32px; left: 10%; width: 80%; height: 1px;
  background: linear-gradient(to right, transparent, var(--border-solid), var(--border-solid), transparent);
}
.process-step { padding: 0 26px 40px; text-align: center; }
.process-num {
  width: 64px; height: 64px;
  background: var(--off-white);
  border: 2px solid var(--border-solid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Bebas Neue", sans-serif; font-size: 1.4rem; color: var(--teal);
  margin: 0 auto 24px; position: relative; z-index: 1;
  transition: all 0.3s;
}
.process-step:hover .process-num { background: var(--teal); border-color: var(--teal); color: white; box-shadow: 0 0 22px rgba(26,107,130,0.3); }
.process-step-title { font-family: "Syne", sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 10px; color: var(--ink); }
.process-step-desc  { color: var(--ink-light); font-size: 0.85rem; line-height: 1.65; }

/* ── COMUNIDAD  — Verde pastel ── */
.community { background: var(--green-pastel); }
.community-header { text-align: center; margin-bottom: 64px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(175,210,165,0.5);
  border-radius: 14px; padding: 32px;
  position: relative;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { box-shadow: 0 18px 44px rgba(0,0,0,0.13); }
.testimonial-card::before {
  content: "\201C";
  position: absolute; top: 16px; right: 22px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem; color: rgba(195,220,186,0.55); line-height: 1;
}
.testimonial-stars { color: #c8970d; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text  { color: var(--ink-mid); font-size: 0.9rem; line-height: 1.72; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #5bbdd4);
  display: flex; align-items: center; justify-content: center;
  font-family: "Syne", sans-serif; font-weight: 700; font-size: 0.85rem; color: white;
}
.testimonial-name { font-family: "Syne", sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.testimonial-biz  { color: var(--ink-light); font-size: 0.75rem; margin-top: 2px; }
.community-pending {
  text-align: center; color: var(--ink-mid); font-size: 0.85rem;
  margin-top: 40px; padding: 20px;
  border: 1.5px dashed rgba(150,200,140,0.7);
  border-radius: 10px; max-width: 480px;
  margin-left: auto; margin-right: auto;
  background: rgba(255,255,255,0.5);
}

/* ── CONTACTO  — Azul pastel ── */
.contact { background: var(--blue-pastel); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1000px; margin: 0 auto; }
.contact-tagline { font-family: "Bebas Neue", sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; margin-bottom: 24px; color: var(--ink); }
.contact-tagline span { color: var(--teal); }
.contact-desc { color: var(--ink-mid); line-height: 1.7; margin-bottom: 36px; font-size: 0.93rem; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--ink-mid); font-size: 0.9rem; }
.contact-detail-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border-solid);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-detail a { color: var(--ink-mid); text-decoration: none; transition: color 0.2s; }
.contact-detail a:hover { color: var(--teal); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: 18px; padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 8px; font-weight: 500; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid var(--border-solid);
  border-radius: 9px;
  padding: 12px 16px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-light); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,130,0.1);
  background: white;
}
.form-select { cursor: pointer; }
.form-select option { background: white; color: var(--ink); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  background: var(--teal); color: white;
  border: none; padding: 14px;
  border-radius: 9px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 18px rgba(26,107,130,0.22);
}
.form-submit:hover { background: var(--navy); box-shadow: 0 8px 26px rgba(26,107,130,0.32); transform: translateY(-1px); }

/* ── PIE DE PÁGINA ── */
footer {
  background: var(--ink);
  padding: 48px 60px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; }
.footer-logo { font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; letter-spacing: 4px; color: white; }
.footer-logo span { color: #5bbdd4; }
.footer-copy { color: rgba(255,255,255,0.42); font-size: 0.8rem; }
.footer-copy a { color: #5bbdd4; text-decoration: none; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.42); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }

/* ── ANIMACIÓN REVEAL (aparece al hacer scroll) ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── DISEÑO RESPONSIVO ── */
/* Tablet / desktop pequeño — evita que el texto del hero choque con el logo */
@media (min-width: 901px) and (max-width: 1199px) {
  nav      { padding: 14px 36px; }
  section  { padding: 90px 40px; }
  .hero    { padding: 120px 40px 80px; }
  .hero-content       { max-width: 52%; }
  .hero h1            { font-size: clamp(3rem, 6.5vw, 5.4rem); }
  .hero-sub           { font-size: 1rem; }
  .hero-logo-display  { width: 36%; max-width: 360px; right: 36px; }
  .hero-stats         { gap: 32px; margin-top: 44px; }
  .hero-stats .stat-num { font-size: 2.1rem; }
  .scroll-hint        { right: 36px; bottom: 48px; }
  footer              { padding: 40px; }
}

@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  .hero { padding: 110px 24px 110px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .hero-content { max-width: 100%; }
  .hero-logo-display { display: none; }
  .hero-stats { gap: 24px; margin-top: 40px; }
  .hero-stats .stat-num { font-size: 2rem; }
  .scroll-hint { display: none; }
  footer { padding: 40px 24px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-column: 1; }
  .process-steps::before { display: none; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .monitoreo-grid { grid-template-columns: 1fr; gap: 16px; }
  .extras-grid { grid-template-columns: 1fr; }
  .monitoreo-banner { flex-direction: column; text-align: center; }
}

/* Very small phones */
@media (max-width: 480px) {
  .hero h1 { letter-spacing: 1px; }
  .hero-stats { gap: 18px; margin-top: 32px; }
  .hero-stats .stat-num { font-size: 1.7rem; }
  .stat-label { font-size: 0.65rem; letter-spacing: 1px; }
  .pricing-card, .monitoreo-card, .service-card, .testimonial-card { padding: 28px; }
}