/* =========================================================
   SÉPTIMA PACHA CO. — HOJA DE ESTILOS COMPARTIDA
   Variables + componentes reutilizados por index.html,
   servicios.html, codigo-fluido.html y plantillas.html.
   ========================================================= */

/* ---------- Tipografías alojadas en el propio sitio (sin Google Fonts) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* El menú lateral se posiciona fuera de pantalla con right:-100%; esto evita
   que ese desplazamiento genere una barra de scroll horizontal fantasma. */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---------- Variables globales ---------- */
:root {
  /* Tipografía */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Paleta base (fondo oscuro compartido) */
  --bg-dark-1: #0a1a2a;
  --bg-dark-2: #1a2a3a;
  --bg-dark-3: #0a2a1a;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.8);
  --text-faint: rgba(255, 255, 255, 0.6);

  /* Tema "Código Fluido" (agua) — servicios, plantillas, proyectos */
  --fluido-primary: #2ECC71;
  --fluido-secondary: #3498DB;
  --fluido-accent: #1ABC9C;
  --fluido-price: #F39C12;
  --fluido-bg: linear-gradient(135deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 50%, var(--bg-dark-3) 100%);

  /* Tema "Séptima Pacha" (elementos ancestrales) — home */
  --pacha-tierra: #8B4513;
  --pacha-fuego: #FF6B35;
  --pacha-aire: #4A90E2;
  --pacha-agua: #2ECC71;
  --pacha-oro: #F39C12;
  --pacha-bg: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);

  /* Utilidad */
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow-glow: 0 10px 30px rgba(46, 204, 113, 0.25);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

body {
  font-family: var(--font-body);
  background: var(--fluido-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

body.theme-pacha { background: var(--pacha-bg); }

/* Fondos de marca por tipo de página */
body.page-home {
  background:
    linear-gradient(180deg, rgba(6, 14, 22, 0.6), rgba(6, 14, 22, 0.82)),
    url('../img/fondo2.webp') center/cover no-repeat fixed;
}
body.page-sub {
  background:
    linear-gradient(180deg, rgba(6, 14, 22, 0.65), rgba(6, 14, 22, 0.85)),
    url('../img/fondo3.webp') center/cover no-repeat fixed;
}
@media (max-width: 768px) {
  body.page-home, body.page-sub { background-attachment: scroll; }
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

a { color: inherit; }

/* Utilidad accesible: oculta visualmente pero deja disponible para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fluido-primary);
  color: #06210f;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografía compartida ---------- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--fluido-primary);
  text-shadow: 0 0 20px rgba(46, 204, 113, 0.35);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.gradient-text {
  background: linear-gradient(45deg, var(--fluido-primary), var(--fluido-secondary), var(--fluido-accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 5s ease-in-out infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Texto "Séptima Pacha" animado con los colores propios de la marca */
.brand-text {
  color: var(--pacha-oro); /* respaldo si el navegador no soporta el recorte del degradé */
  background: linear-gradient(90deg,
    var(--pacha-oro),
    var(--pacha-fuego),
    var(--pacha-agua),
    var(--pacha-aire),
    var(--pacha-oro)
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandFlow 6s linear infinite;
}

@keyframes brandFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--fluido-primary), var(--fluido-secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.35);
}
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(46, 204, 113, 0.55); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--fluido-primary);
  color: var(--fluido-primary);
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--fluido-primary); color: #06210f; }

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45); }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--fluido-accent);
  outline-offset: 2px;
}

/* ---------- Header / navegación (idéntica en todas las páginas) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(10, 26, 42, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 204, 113, 0.15);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--fluido-primary);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 501;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fluido-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: rgba(10, 26, 42, 0.97);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(46, 204, 113, 0.3);
  padding: 6rem 2rem 2rem;
  transition: right 0.35s ease;
  z-index: 499;
  overflow-y: auto;
}
.main-nav.is-open { right: 0; }

.main-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.main-nav a {
  display: block;
  padding: 1rem 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] {
  color: var(--fluido-primary);
  border-left-color: var(--fluido-primary);
  padding-left: 1rem;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 498;
}
.nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.nav-whatsapp {
  margin-top: 1.5rem;
}

/* Botón flotante de WhatsApp (persistente, complementado por el formulario) */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  z-index: 400;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: scale(1.1); background: var(--whatsapp-dark); }

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ---------- Hero genérico ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 8rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  isolation: isolate;
}

/* Resplandor de fondo sutil y liviano (solo opacity, sin repintar layout) */
.hero::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 140%;
  background: radial-gradient(circle at 30% 20%, rgba(243, 156, 18, 0.14), transparent 55%),
              radial-gradient(circle at 80% 60%, rgba(46, 204, 113, 0.12), transparent 50%);
  z-index: -1;
  animation: heroGlow 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(2%); }
}

.hero-eyebrow {
  font-family: var(--font-heading);
  color: var(--fluido-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1.15;
  padding-bottom: 0.1em;
}

/* Divisor decorativo: línea — chakana — subtítulo — línea */
.hero-subtitle-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 0.25rem 0 0.5rem;
}
.chakana-mini { width: 46px; height: 46px; flex-shrink: 0; }
.line-deco {
  flex: 1 1 40px;
  min-width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fluido-price), transparent);
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 400;
  color: var(--text-light);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .hero-subtitle { white-space: normal; }
  .line-deco { flex-basis: 100%; height: 0; }
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 680px;
}

.hero-highlight {
  font-size: 1.05rem;
  color: var(--text-light);
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.3rem;
  max-width: fit-content;
}

.hero-price-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid rgba(243, 156, 18, 0.4);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  max-width: fit-content;
  text-decoration: none;
  color: var(--text-light);
  transition: var(--transition);
}
.hero-price-cta:hover, .hero-price-cta:focus-visible { border-color: var(--fluido-price); transform: translateY(-2px); }
.hero-price-cta strong { color: var(--fluido-price); font-size: 1.15rem; }

.hero-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-badge {
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-radius: var(--radius-pill);
  color: var(--fluido-primary);
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ---------- Hero de portada (layout a dos columnas, estilo dorado andino) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-main { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: -0.5rem;
}

.hero-title-alt {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--pacha-oro);
  text-shadow: 0 0 24px rgba(243, 156, 18, 0.3);
}

.hero-side { display: flex; flex-direction: column; gap: 1.1rem; }

.hero-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(243, 156, 18, 0.35);
  border-radius: var(--radius-md);
  background: rgba(10, 20, 12, 0.35);
}
.hero-feature-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--pacha-oro); }
.hero-feature-text { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-feature-text strong { color: var(--text-light); font-size: 1.05rem; }
.hero-feature-text span { color: var(--text-muted); font-size: 0.9rem; }

.btn-hero-primary {
  background: linear-gradient(135deg, var(--pacha-oro), var(--pacha-fuego));
  color: #2b1400;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}
.btn-hero-primary:hover, .btn-hero-primary:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(243, 156, 18, 0.55); }

.btn-hero-outline {
  background: transparent;
  border: 1px solid rgba(243, 156, 18, 0.6);
  color: var(--pacha-oro);
}
.btn-hero-outline:hover, .btn-hero-outline:focus-visible { background: rgba(243, 156, 18, 0.12); }

.hero-split .hero-price-cta {
  border-color: rgba(243, 156, 18, 0.4);
  max-width: none;
  text-align: right;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-price-cta { text-align: left; justify-content: flex-start; }
}

/* ---------- Secciones ---------- */
.section {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-alt { background: rgba(255, 255, 255, 0.02); }

/* ---------- Sección "¿Qué es Séptima Pacha?" (tierra/fuego) ---------- */
.pacha-fire-section {
  position: relative;
  overflow: hidden;
  max-width: none;
  padding: 5.5rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(107, 35, 13, 0.35) 0%, rgba(107, 35, 13, 0.15) 45%, rgba(107, 35, 13, 0.35) 100%),
    url('../img/fondo4.webp') center/cover no-repeat;
}

.pacha-fire-title {
  position: relative;
  color: #FBEFD9;
  text-shadow: 0 0 24px rgba(255, 180, 90, 0.35);
}
.pacha-fire-copy {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: rgba(255, 240, 225, 0.9);
}
.pacha-fire-copy strong { color: #F5D08A; }
.pacha-fire-subtitle { color: #FBEFD9; margin-bottom: 0.8rem; }

.btn-fire {
  background: rgba(255, 220, 190, 0.14);
  border: 1px solid rgba(255, 220, 190, 0.4);
  color: #FBEFD9;
}
.btn-fire:hover, .btn-fire:focus-visible {
  background: rgba(255, 220, 190, 0.24);
  transform: translateY(-3px);
}

/* ---------- Sección Servicios de la Pacha (home) ---------- */
.services-section {
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  background:
    linear-gradient(180deg, rgba(4, 10, 16, 0.72), rgba(4, 10, 16, 0.88)),
    url('../img/fondo1.webp') center/cover no-repeat;
}
.services-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
  position: relative;
}
.services-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(46, 204, 113, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.services-inner > * { position: relative; z-index: 1; }

.services-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(6, 16, 26, 0.65);
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.08) inset;
}
.services-card:hover { box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.15) inset, var(--shadow-glow); }
.services-icon { width: 84px; height: 84px; margin-bottom: 1.2rem; filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.35)); }
.services-card .card-title { color: var(--fluido-primary); }
.services-card .card-text { font-size: 0.95rem; }

.btn-pill {
  padding: 0.7rem 1.8rem;
  font-size: 0.85rem;
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.18);
}

/* ---------- Cards genéricas ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  position: relative;
  background: rgba(10, 26, 42, 0.6);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }

.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card-title { font-size: 1.3rem; font-weight: 700; color: var(--fluido-accent); margin-bottom: 0.6rem; }
.card-price { font-size: 1.3rem; font-weight: 700; color: var(--fluido-price); margin: 0.8rem 0; }
.card-text { color: var(--text-muted); }

/* ---------- Tarjetas de servicio (servicios.html) ---------- */
.pricing-card {
  background: rgba(10, 26, 42, 0.6);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(46, 204, 113, 0.25); }
.pricing-name { font-size: 1.5rem; font-weight: 700; color: var(--fluido-primary); margin-bottom: 0.5rem; }
.pricing-desc { color: var(--text-muted); margin-bottom: 1rem; }
.pricing-price { font-family: var(--font-heading); font-variant-numeric: lining-nums; font-size: 2.1rem; font-weight: 700; color: var(--fluido-price); margin: 1rem 0; }
.pricing-price small { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--text-faint); font-weight: 400; }
.pricing-features { list-style: none; margin: 1.2rem 0; }
.pricing-features li { padding: 0.5rem 0; display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-muted); }
.pricing-features li::before { content: '✓'; color: var(--fluido-primary); font-weight: bold; flex-shrink: 0; }

/* Acceso rápido a las categorías de precios (servicios.html) */
.hero-compact { min-height: auto; padding-top: 7rem; padding-bottom: 3rem; }
.price-jump {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 2rem auto 1.5rem;
}
.price-jump-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(243, 156, 18, 0.45);
  border-radius: var(--radius-md);
  background: rgba(10, 26, 42, 0.75);
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}
.price-jump-item:hover, .price-jump-item:focus-visible { border-color: var(--fluido-price); transform: translateY(-3px); }
.price-jump-label { font-weight: 600; font-size: 0.95rem; color: var(--text-light); }
.price-jump-value { font-family: var(--font-body); font-variant-numeric: lining-nums; font-size: 1.3rem; font-weight: 700; color: var(--fluido-price); }
.price-jump-period { font-size: 0.8rem; color: var(--text-faint); }
@media (max-width: 900px) { .price-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .price-jump { gap: 0.6rem; margin-top: 1.5rem; }
  .price-jump-item { padding: 0.8rem 0.5rem; }
  .price-jump-label { font-size: 0.82rem; }
  .price-jump-value { font-size: 1.05rem; }
  .price-jump-period { font-size: 0.72rem; }
}

.price-section { scroll-margin-top: 80px; }
#que-es-seo-geo, #faq, #a-medida { scroll-margin-top: 80px; }
.price-section-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fluido-price);
  margin-bottom: 0.4rem;
}

/* Planes en columnas, con el recomendado destacado */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.plan-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
@media (max-width: 1100px) { .plan-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .plan-grid, .plan-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .plan-grid-4 { grid-template-columns: 1fr; } }

.plan-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.5rem; }
.plan-card .pricing-name { font-size: 1.3rem; }
.plan-card .pricing-price { font-size: 1.9rem; margin: 0.6rem 0; }
.plan-card .price-ars[data-ars*="-"] { font-size: 1.5rem; }
.plan-card .pricing-features { margin: 0.8rem 0; }
.plan-card .pricing-features li { padding: 0.3rem 0; font-size: 0.92rem; }
.plan-card.is-featured {
  border: 2px solid var(--fluido-price);
  box-shadow: 0 10px 40px rgba(243, 156, 18, 0.18);
}
.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--fluido-price);
  color: #1a1100;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
}
.plan-excludes { border-top: 1px dashed rgba(255, 255, 255, 0.15); padding-top: 0.6rem; }
.plan-excludes li { color: var(--text-faint); }
.plan-excludes li::before { content: '✕'; color: rgba(255, 255, 255, 0.4); }
.plan-actions { margin-top: auto; padding-top: 0.8rem; }
.plan-actions .btn { width: 100%; text-align: center; }
.plan-note { text-align: center; margin-top: 2rem; color: var(--text-muted); }
.plan-note a { color: var(--fluido-secondary); text-decoration: underline; }
.plan-note-price { display: inline; font-size: 1.2rem; margin: 0; }
.seo-included {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.25rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 204, 113, 0.45);
  background: rgba(46, 204, 113, 0.08);
}

/* Sección educativa ¿Qué es SEO y GEO? */
.edu-copy { max-width: 760px; margin: 0 auto 2.5rem; }
.edu-copy p { margin-bottom: 1rem; color: var(--text-muted); }
.edu-copy strong { color: var(--text-light); }
.edu-subtitle { font-family: var(--font-heading); font-size: 1.35rem; color: var(--fluido-accent); margin: 1.5rem 0 1rem; }

/* Catálogo secundario plegado */
.more-services {
  max-width: var(--max-width);
  margin: 0 auto 1rem;
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: var(--radius-md);
  background: rgba(10, 26, 42, 0.4);
}
.more-services > summary { cursor: pointer; padding: 1.1rem 1.5rem; font-weight: 600; color: var(--fluido-primary); }
.more-services[open] > summary { border-bottom: 1px solid rgba(46, 204, 113, 0.2); }
.more-services > .card-grid { padding: 1.5rem; }

.audience-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.audience-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(52, 152, 219, 0.4);
  color: var(--fluido-secondary);
}

/* ---------- Proyectos (codigo-fluido.html) ---------- */
.project-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.project-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--fluido-accent), var(--fluido-secondary));
}
.project-shot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.project-body { padding: 1.5rem; }
.project-name { font-family: var(--font-heading); font-size: 1.4rem; color: var(--fluido-primary); margin-bottom: 0.5rem; }
.project-meta { font-size: 0.85rem; color: var(--fluido-accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.6rem; }
.project-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--fluido-secondary); text-decoration: underline; }

.placeholder-note {
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: var(--text-faint);
  text-align: center;
  font-style: italic;
}

.testimonial-card { border-left: 4px solid var(--fluido-primary); }
.testimonial-quote { font-size: 1.1rem; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; color: var(--fluido-accent); }

/* ---------- Plantillas ---------- */
.template-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.template-preview {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--fluido-accent), var(--fluido-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}
.template-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #FF4500, #DC143C);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
}
.template-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.template-name { font-family: var(--font-heading); font-size: 1.25rem; color: var(--fluido-accent); margin-bottom: 0.5rem; }
.template-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; flex: 1; }
.template-price { font-size: 1.4rem; font-weight: 700; color: var(--fluido-price); margin-bottom: 1rem; }
.template-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.template-actions .btn { flex: 1; min-width: 130px; padding: 0.7rem 1rem; font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: rgba(10, 26, 42, 0.6);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--fluido-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.3rem; color: var(--text-muted); }

/* ---------- Formulario de contacto ---------- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-block { grid-template-columns: 1fr; } }

.contact-form {
  background: rgba(10, 26, 42, 0.6);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input, .form-field textarea, .form-field select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-faint); }
.form-note { font-size: 0.85rem; color: var(--text-faint); }
.form-status { font-size: 0.9rem; min-height: 1.2em; }
.form-status.is-error { color: #ff8a80; }
.form-status.is-success { color: var(--fluido-primary); }

.contact-alt {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Footer (idéntico en todas las páginas) ---------- */
.site-footer {
  background: rgba(6, 16, 26, 0.9);
  border-top: 1px solid rgba(46, 204, 113, 0.2);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-heading { font-family: var(--font-heading); color: var(--fluido-primary); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { text-decoration: none; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--fluido-primary); }
.footer-social { display: flex; gap: 0.9rem; margin-top: 0.5rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover, .footer-social a:focus-visible { background: var(--fluido-primary); }
.footer-social svg { width: 18px; height: 18px; fill: var(--fluido-primary); }
.footer-social a:hover svg, .footer-social a:focus-visible svg { fill: #06210f; }
.footer-social a:hover svg *, .footer-social a:focus-visible svg * { stroke: #06210f; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Animaciones de aparición al hacer scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; opacity: 1; transform: none; }
  .whatsapp-float, .gradient-text, .brand-text { animation: none; }
}

/* ---------- Splash screen (todas las páginas) ---------- */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--fluido-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.5s ease;
}
.splash-screen.is-hidden { opacity: 0; pointer-events: none; }
.splash-logo {
  width: clamp(120px, 22vw, 180px);
  height: clamp(120px, 22vw, 180px);
  object-fit: contain;
  animation: splashFloat 3s ease-in-out infinite;
}
@keyframes splashFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.splash-text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--fluido-price);
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}
.splash-subtext {
  font-size: 0.85rem;
  color: var(--text-faint);
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .splash-logo { animation: none; }
}

/* Burbujas de agua del splash (heredadas de la antigua página "Code Agua") */
.splash-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.splash-bubble {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 16px rgba(46, 204, 113, 0.7);
  opacity: 0;
  animation: bubbleIn 1.1s ease-out forwards, bubblePop 0.45s ease-out forwards;
}
.splash-bubble.word {
  width: clamp(130px, 20vw, 190px);
  height: clamp(130px, 20vw, 190px);
  font-size: clamp(0.85rem, 2.2vw, 1.15rem);
  letter-spacing: 1px;
}
.splash-bubble.word::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
}
.splash-bubble.word .ring-a, .splash-bubble.word .ring-b {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
}
.splash-bubble.word .ring-a { border-left: 10px solid var(--fluido-primary); filter: blur(8px); animation: bubbleSpin 4s linear infinite; }
.splash-bubble.word .ring-b { border-right: 10px solid var(--fluido-secondary); filter: blur(8px); animation: bubbleSpin 4s linear infinite reverse; }
.splash-bubble.word.word-1 { top: 18%; left: 12%; animation-delay: 0s, 1.7s; }
.splash-bubble.word.word-2 { bottom: 14%; right: 10%; animation-delay: 0.2s, 1.9s; }

.splash-bubble.dot {
  width: 46px;
  height: 46px;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
}
.splash-bubble.dot-1 { top: 15%; right: 20%; animation-delay: 0.1s, 1.6s; }
.splash-bubble.dot-2 { bottom: 22%; left: 20%; animation-delay: 0.35s, 1.75s; }
.splash-bubble.dot-3 { top: 55%; right: 8%; animation-delay: 0.5s, 1.85s; }
.splash-bubble.dot-4 { top: 68%; left: 6%; width: 30px; height: 30px; animation-delay: 0.65s, 1.95s; }

@keyframes bubbleIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes bubblePop {
  0% { transform: scale(1); opacity: 1; }
  60% { transform: scale(1.25); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes bubbleSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .splash-bubble { animation: none; opacity: 0; }
}
@media (max-width: 480px) {
  .splash-bubble.dot-3, .splash-bubble.dot-4 { display: none; }
}

/* Íconos de la chakana en el splash y en el divisor del hero */
.chakana-line { animation: glowPulse 2.4s ease-in-out infinite; }
.chakana-center-fill { animation: breathe 2.2s ease-in-out infinite; }
.chakana-corner { animation: cornerPulse 1.8s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes cornerPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) {
  .chakana-line, .chakana-center-fill, .chakana-corner { animation: none; opacity: 1; }
}

/* ---------- Burbujas flotantes decorativas (codigo-fluido.html) ---------- */
.hero-bubbles-wrap { position: relative; z-index: 0; }
.floating-bubble {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(46, 204, 113, 0.35), rgba(52, 152, 219, 0.15));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.75rem;
  animation: floatBubble 14s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes floatBubble {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-25px) translateX(12px); }
}
@media (max-width: 900px) { .floating-bubble { display: none; } }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.visually-hide-desktop { display: none; }

@media (max-width: 640px) {
  .hero { padding-top: 7rem; }
  .site-header { padding: 0.85rem 1rem; }
}

/* ---------- Header: acceso al botón de arrepentimiento (Res. SCI 424/2020) ---------- */
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-legal-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.header-legal-link:hover, .header-legal-link:focus-visible { color: var(--fluido-primary); }
@media (max-width: 480px) {
  .site-logo { font-size: 1.05rem; }
  .header-actions { gap: 0.5rem; }
  .header-legal-link { font-size: 0.65rem; white-space: normal; max-width: 6.5rem; text-align: right; line-height: 1.2; }
}

/* ---------- Pasos "Cómo trabajamos" ---------- */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.step-number {
  width: 2.6rem; height: 2.6rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--fluido-price);
  color: #1a1100;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- Páginas de texto (legales, guías, sobre mí) ---------- */
.prose { max-width: 780px; margin: 0 auto; color: var(--text-muted); }
.prose h2 { font-family: var(--font-heading); color: var(--fluido-primary); font-size: 1.6rem; margin: 2.5rem 0 1rem; scroll-margin-top: 90px; }
.prose h3 { color: var(--fluido-accent); font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--text-light); }
.prose a { color: var(--fluido-secondary); text-decoration: underline; }
.prose .lead { font-size: 1.15rem; color: var(--text-light); }
.prose .updated { font-size: 0.85rem; color: var(--text-faint); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); vertical-align: top; }
.prose th { color: var(--text-light); }
.prose td:last-child { white-space: nowrap; color: var(--fluido-price); font-weight: 600; }
.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.fact-list { list-style: none; padding: 0 !important; border: 1px solid rgba(46, 204, 113, 0.25); border-radius: var(--radius-md); background: rgba(10, 26, 42, 0.6); }
.fact-list li { padding: 0.7rem 1.1rem; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.fact-list li:last-child { border-bottom: 0; }
.callout { border-left: 4px solid var(--fluido-price); background: rgba(243, 156, 18, 0.08); padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.page-hero { min-height: auto; padding-top: 8rem; padding-bottom: 2rem; }
.form-field select { width: 100%; }
.footer-grid .card-text a { color: var(--fluido-primary); }
.footer-links li { color: var(--text-faint); }
.form-field select option { color: #111; }
.page-hero .hero-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; }
.page-hero + .section { padding-top: 2rem; }
