/* ===== Design tokens (paleta original Huella) ===== */
:root {
  --radius: 1rem;
  --background: oklch(0.985 0.015 90);
  --foreground: oklch(0.27 0.04 150);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.27 0.04 150);
  --primary: #788538;
  --primary-foreground: oklch(0.99 0.01 90);
  --secondary: oklch(0.94 0.04 90);
  --secondary-foreground: hsl(133, 34%, 15%);
  --muted: oklch(0.95 0.02 90);
  --muted-foreground: oklch(0.5 0.03 150);
  --accent: oklch(0.85 0.1 75);
  --accent-foreground: oklch(0.3 0.05 150);
  --border: oklch(0.9 0.02 120);
  --input: oklch(0.92 0.02 120);
  --cream: oklch(0.97 0.025 85);
  --warm: oklch(0.88 0.06 70);
  --shadow-soft: 0 10px 30px -12px color-mix(in oklab, var(--primary) 25%, transparent);
  --shadow-card: 0 4px 20px -8px color-mix(in oklab, var(--primary) 15%, transparent);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", system-ui, sans-serif;
}

.section-primary { position: relative; }
.has-wave { position: relative; }

.wave-top,
.wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.wave-top { top: -59px; }    
.wave-bottom { bottom: -59px; }

.wave-top svg,
.wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-bottom svg { transform: rotate(180deg); } 

@media (min-width: 768px) {
  .wave-top { top: -89px; }
  .wave-bottom { bottom: -89px; }
  .wave-top svg,
  .wave-bottom svg { height: 90px; }
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
h1, h2, h3, .logo-text, .why-title {
  font-family: var(--font-display);
}

.container { 
  width: 100%; 
  max-width: 80rem; 
  margin: 0 auto; 
  padding: 0 1rem; 
}

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



















/* ===== WHASTAPP ===== */

.whatsapp-float {
  position: fixed; 
  bottom: 3rem;
  right: 1.5rem;
  z-index: 90;    
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
  display: block;
  animation: llamarAtencion 2s ease-in-out 1s infinite;
}


.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 9999px;
}



















/* ===== Buttons ===== */
.btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  border-radius: 9999px; 
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem; 
  font-weight: 600; cursor: pointer;
  border: 1px solid transparent; 
  transition: all 0.2s ease;
  opacity: 0.9;
}

.btn-primary { 
  background: var(--primary); 
  color: var(--primary-foreground); 
  box-shadow: var(--shadow-soft); 
}

.btn-outline { 
  background: var(--card); 
  color: var(--foreground); 
}

.btn-block { 
  width: 100%; 
}

.btn:hover {
  transform: scale(1.02);
  opacity: 1;
}






/* ===== Header ===== */
.header {
  position: sticky; 
  top: 0; 
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 50%, transparent);
}

.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 4.5rem; 
}

.logo { 
  display: flex; 
  width: 8rem;
}

.nav-logo {
  width: 20rem;
  height: auto;
}

.logo-mark {
  display: grid; 
  place-items: center; 
  height: auto; 
  color: var(--primary-foreground);
  transition: transform 0.2s;
}


.nav-desktop { display: none; align-items: center; gap: 2rem; }

.nav-desktop a { 
  font-size: 0.875rem; 
  font-weight: 500; 
  color: var(--muted-foreground); 
  transition: color 0.2s; 
  padding-bottom: 3px;
}

.nav-desktop a:hover { 
  color: var(--primary);
  padding-bottom: 0px;
  border-bottom: 3px solid var(--primary);
}

@media (min-width: 1150px) { .nav-desktop { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

@media (min-width: 640px) { .header-actions { gap: 0.75rem; } }

.lang-btn {
  display: flex; align-items: center; gap: 0.25rem;
  border-radius: 9999px; border: 1px solid var(--border); background: var(--card);
  padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; color: var(--muted-foreground); transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--primary); }
.lang-btn .active { color: var(--primary); }
.lang-sep { color: var(--muted-foreground); }

.btn-cta { display: none; }
@media (min-width: 640px) { .btn-cta { display: inline-flex; } }

.menu-btn {
  display: grid; place-items: center; height: 2.5rem; width: 2.5rem;
  border: none; background: transparent; border-radius: 0.75rem; cursor: pointer;
  color: var(--foreground);
}
.menu-btn:hover { background: var(--secondary); }
.menu-btn svg { height: 1.25rem; width: 1.25rem; }
.menu-btn .icon-close { display: none; }
.menu-btn.open .icon-menu { display: none; }
.menu-btn.open .icon-close { display: block; }
@media (min-width: 1150px) { .menu-btn { display: none; } }

.nav-mobile { 
  display: none; 
  flex-direction: column; 
  gap: 0.25rem; 
  padding-bottom: 1rem; 
  text-align: right;
}

.nav-mobile.open { 
  display: flex; 
}

.nav-button { 
  border-radius: 0.5rem; 
  padding: 0.625rem 0.75rem; 
  font-size: 0.875rem; 
  font-weight: 500; 
  margin-right: 1rem;
}

.nav-button:hover { 
  background: var(--secondary); 
}

.nav-mobile-cta { 
  text-align: center; 
  margin-top: 0.5rem; 
  color: var(--primary-foreground); 
}

@media (min-width: 1150px) { 
  .nav-mobile.open { 
    display: none; 
  } 
}




/* ===== Sections ===== */
.planes { 
  padding-top: 1rem; 
  padding-bottom: 5rem; 
}
 

.footer {
  padding-top: 3rem;
  padding-bottom: 1rem;
}








.section-tint { background: color-mix(in oklab, var(--secondary) 40%, transparent); }
.section-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }


.section-eyebrow { 
  font-size: 0.875rem; 
  font-weight: 600; 
  color: var(--primary);
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
}



.section-header h2 { font-size: 2rem; font-weight: 800; }
@media (min-width: 640px) { .section-header h2 { font-size: 2.5rem; } }
@media (min-width: 1150px) { .section-header h2 { font-size: 3rem; } }





@keyframes llamarAtencion {
    0%, 30%, 50%, 80%, 100% {
    transform: scale(1);
    opacity: 1;
  }
    10% {
    transform: scale(1.05);
  }
      20% {
    transform: scale(1);
  }
    30% {
    transform: scale(1.02);
  }
      80% {
    transform: scale(1);
  }
}













/* ===== Páginas de detalle de campaña (subpáginas) ===== */
.campaign-detail { max-width: 48rem; }
.campaign-detail h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
@media (min-width: 640px) { .campaign-detail h1 { font-size: 2.5rem; } }
.campaign-detail h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.campaign-detail .lead { color: var(--muted-foreground); font-size: 1.1rem; }
.campaign-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
}
.campaign-back:hover { text-decoration: underline; }
.campaign-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.campaign-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--foreground);
}
.campaign-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 0.6rem; height: 0.6rem;
  border-radius: 9999px;
  background: var(--primary);
}


























/* ===== Footer ===== */
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
@media (min-width: 450px) {
  .footer-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
}




.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 100px;
  height: auto;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
}

.footer { 
  background: linear-gradient(to bottom, var(--foreground), #526453);
  color: color-mix(in oklab, var(--background) 80%, transparent); 
}



.footer-logo-container { 
  display: flex; 
  justify-content: center;
}


.footer-tagline { margin-top: 1rem; font-size: 0.875rem; }
.footer-heading { font-weight: 700; color: var(--background); margin-bottom: 0.75rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-links a:hover { color: var(--primary); }
.social { display: flex; gap: 0.75rem; }
.social a { 
  display: grid; 
  place-items: center; 
  height: 2rem; width: 2rem; 
  transition: all 0.2s ease; 
}





.footer-bottom {
  position: relative;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--background) 10%, transparent);
  font-size: 0.75rem;
  text-align: center;
}

.footer-copyright {
  text-align: center;
  display: block;
  justify-content: center;
}

.footer-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.3rem;
  font-size: 0.5rem;
  opacity: 0.7;
  margin: 0;
  white-space: nowrap;
  transition: all 0.5s ease; 
}

.footer-DMP {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.6rem;
}

.footer-credit:hover {
  color: black;
  transform: scale(1.1);
}

































