/* ===== 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; 
  } 
}















/* ===== Hero ===== */
.hero {
  overflow: hidden;
  background-image:
    linear-gradient(to bottom right,
      color-mix(in oklab, var(--cream) 75%, transparent),
      color-mix(in oklab, var(--background) 70%, transparent)),
    url('assets/headBackground.jpg');
  background-size: 120%;
  background-position: right 80% bottom 55%;
  background-repeat: no-repeat;
}



.hero-copy { 
  display: flex; 
  flex-direction: column; 
}


.eyebrow span {
  color: var(--secondary-foreground);
  font-size: clamp(1.5rem, 2vw, 4rem); 
  font-weight: 400;
  margin: 0px;
  color: #788538;
}




.hero-logo {
  height: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 60%; 
}

.lead {  
  color: var(--muted-foreground); 
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}







@media (max-width: 700px) { 
  .hero {
    background-size: 200%;
    background-position: right 45% bottom 35%;
  }

  .hero-logo {
    max-width: 70%; 
  }


  .lead {  
    font-size: 0.8rem;
  }

}










/* ===== Sections ===== */
.hero,
.servicios { 
  padding-top: 1rem; 
  padding-bottom: 2rem; 
}

.planes { 
  padding-top: 1rem; 
  padding-bottom: 5rem; 
}
 
.equipo, 
.porqueElegirnos,
.testimonios,
.contacto { 
  padding-top: 5rem; 
  padding-bottom: 5rem; 
}

.sobre {
  padding-top: 5rem; 
  padding-bottom: 0rem; 
}

.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; } }








/* ===== Servicios ===== */
.cards-grid { 
  display: grid; 
  gap: 1.5rem; 
  grid-template-columns: 1fr; 
}

@media (min-width: 640px) { 
  .cards-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}


.card {
  display: flex;
  border-radius: 1.5rem; 
  background: var(--card);
  color: var(--foreground);
  padding: 1.5rem; 
}

.card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem; 
  width: 4rem;
  border-radius: 1rem; 
  background: var(--secondary); 
  border: 2px solid var(--border); 
  margin-right: 1rem;
}

.card-icon-img {
  min-width: 50px;
  height: auto;
}

.card h3 { 
  font-size: 1.125rem; 
  font-weight: 700; 
}

.card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }



















/* ===== Tarjetas de campaña (toda la tarjeta es un enlace/boton) ===== */
.campaign-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  justify-content: center;
  max-width: 70rem;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .campaign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.campaign-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  color: var(--foreground);
  text-decoration: none;
  height: 100%;
}

.campaign-card:hover {
  transform: scale(1.03);
  background: var(--background);

  .campaign-cta {
    background: white;
  }

}


.campaign-img {
  border-radius: 20px;
  margin-bottom: 1rem;
}




.campaign-body { flex: 1; }
.campaign-card h3 { font-size: 1.25rem; font-weight: 700; }
.campaign-card p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.campaign-cta {
  background: var(--background);
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 0.7rem;
  color: var(--primary);
  padding: 0.3rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  animation: llamarAtencion 2s ease-in-out 1s infinite;
  transition: all 0.2s ease;
}








































/* ===== About ===== */


.about-copy { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
  justify-content: center;
  text-align: center;
}

.about-copy h2 { 
  font-size: 3rem; 
  font-weight: 800; 
}


















/* ===== Galería ===== */
.gallery {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.gallery-viewport {
  overflow: hidden;
  flex: 1;
}
.gallery-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
}
.gallery-item {
  flex: 0 0 calc((100% - 2rem) / 3);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 1rem;
  border: 2px solid var(--border);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: all 0.5s ease;
}

.gallery-item:hover {
  border: 2px solid var(--primary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { 
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .gallery-item { flex: 0 0 calc((100% - 1rem) / 2); }
}
@media (max-width: 560px) {
  .gallery-item { flex: 0 0 100%; }
}

.gallery-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-arrow:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.gallery-arrow:disabled { opacity: 0.35; cursor: default; }
.gallery-arrow:disabled:hover { background: var(--card); color: var(--foreground); border-color: var(--border); }
.gallery-arrow svg { height: 1.25rem; width: 1.25rem; }



















/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-close svg { height: 1.5rem; width: 1.5rem; }
























/* ===== Team ===== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.team-card {
  border-radius: 1.5rem;
  background: var(--card);
  border: 2px solid var(--border);
  overflow: hidden;
  width: 260px;
}

.team-photo { 
  aspect-ratio: 4 / 5; 
  border-bottom: 2px solid var(--border);
  overflow: hidden;
}


.team-info { padding: 1.25rem; }

.team-info h3 { font-weight: 700; }

.team-info p { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }


.team-card-trigger {
  transition: transform 0.2s ease;
}

.team-card-trigger:hover {
  transform: scale(1.03);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ===== Tarjetas de equipo como botón clicable ===== */
.team-card-trigger {
  border: none;
  background: none;
  cursor: pointer;
}

/* ===== Modal de biografía del equipo ===== */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
}
.team-modal[hidden] { display: none; }

.team-modal-card {
  position: relative;
  background: var(--card);
  border-radius: 1.5rem;
  max-width: 50rem;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  animation: teamFadeIn 0.35s ease;
}

.team-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  border: none;
  background: var(--secondary);
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s;
}
.team-modal-close:hover { background: var(--primary); color: var(--primary-foreground); }
.team-modal-close svg { height: 1.1rem; width: 1.1rem; }

.team-modal-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.team-modal-panel { text-align: center; }
.team-modal-panel h3 { font-size: 1.4rem; font-weight: 700; }
.team-modal-role { color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-top: 0.25rem; }
.team-modal-bio {
  margin-top: 1.5rem;
  text-align: left;
  color: var(--foreground);
  line-height: 1.6;
}
.team-modal-bio p { margin-bottom: 0.75rem; }

@keyframes teamFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}














/* ===== Why (primary band) ===== */
.section-primary { background: var(--primary); color: var(--primary-foreground); }
.why-title { font-size: 2rem; font-weight: 800; text-align: center; }
@media (min-width: 640px) { .why-title { font-size: 2.5rem; } }
.why-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 500px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item { text-align: center; }
.why-icon { margin: 0 auto; display: grid; place-items: center; height: 3.5rem; width: 3.5rem;
  border-radius: 1rem; background: color-mix(in oklab, var(--primary-foreground) 15%, transparent);
  backdrop-filter: blur(4px); }
.why-icon svg { height: 1.5rem; width: 1.5rem; }
.why-item h3 { margin-top: 1rem; font-weight: 700; }
.why-item p { margin-top: 0.25rem; font-size: 0.875rem; opacity: 0.8; }

















/* ===== Testimonials ===== */
/*
.testimonials-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { border-radius: 1.5rem; background: var(--card); border: 1px solid var(--border);
  padding: 1.5rem; box-shadow: var(--shadow-card); }

.testimonial .quote { margin-top: 1rem; color: var(--muted-foreground); font-style: italic; }
.testimonial .author { margin-top: 1rem; font-weight: 700; font-size: 0.875rem; }
*/














/* ===== Contact ===== */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1150px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { border-radius: 1.5rem; background: var(--card); border: 1px solid var(--border);
  padding: 1.5rem; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .contact-card { padding: 2rem; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; }
.field input, .field textarea {
  width: 100%; border-radius: 1rem; border: 1px solid var(--input); background: var(--background);
  padding: 0.75rem 1rem; font-size: 0.875rem; font-family: inherit; color: var(--foreground);
  transition: all 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 20%, transparent);
}
.field textarea { resize: vertical; }
.form-status { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; text-align: center; }
.form-status.success { color: var(--primary); }
.form-status.error { color: oklch(0.6 0.22 25); }


.btn-primary:disabled {
  background: color-mix(in oklab, var(--primary) 35%, var(--background));
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}
.btn-primary:disabled:hover {
  transform: none; 
}


/* ===== Casilla de consentimiento (formulario) ===== */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  cursor: pointer;
  line-height: 1.4;
}
.consent input {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.consent a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}






















.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }

.info-card { 
  display: flex;
  border-radius: 1rem; 
  background: var(--card); 
  border: 1px solid var(--border); 
  padding: 1.25rem; 
}

.info-icon {
  margin-right: 1rem;
  border: 2px solid var(--border);
}

.info-card .info-icon { display: grid; place-items: center; height: 2.5rem; width: 2.5rem;
  border-radius: 0.75rem; background: var(--secondary); color: var(--primary); }
.info-card .info-icon svg { height: 1.25rem; width: 1.25rem; }
.info-card .info-label {font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); }
.info-card .info-value { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; }














.map-link {
  position: relative;
  display: block;
  transition: all 0.3s ease;
}

.map-link:hover { 
  transform: scale(1.01);

  .googleMapsScreenshot {
    border: 2px solid var(--primary);
  }

}


.masInfo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  align-items: center;
  background: #ffffff;
  color: #4a80f5;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  pointer-events: none;
  border: 1px solid #4a80f5;
}

@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);
  }
}



.googleMapsScreenshot {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid var(--border);
  height: 25rem;
  width: 100%;
  height: auto;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}





@media (max-width: 449px) {
  .masInfo-badge {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
}









/* ===== Google Maps ===== */
.map-embed {
  margin-top: 2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid var(--border);
  height: 30rem;
  width: 100%;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}












/* ===== 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);
}







































/* ===== Páginas legales ===== */
.legal-page { max-width: 48rem; }
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
@media (min-width: 640px) { .legal-page h1 { font-size: 2.5rem; } }
.legal-page h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.legal-page p { color: var(--foreground); margin-bottom: 0.75rem; line-height: 1.6; }
.legal-page a { color: var(--primary); text-decoration: underline; }
.legal-updated { font-size: 0.85rem; color: var(--muted-foreground); font-style: italic; }
.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }
