:root{
  --mint:#9ADBD7;
  --mint-2:#5FBFBC;
  --mint-3:#56B4B1;

  --white:#fff;
  --left-w:46%;
  --right-w:54%;

  /* Altura visual del header dentro del hero */
  --hero-header-h: 70px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family:"Nunito",system-ui,-apple-system,Segoe UI,Roboto,Arial; }
body{ background:#EAF6F6; }

/* HERO ocupa toda la pantalla */
.hero{ min-height:100vh; }
.hero__grid{
  min-height:100vh;
  display:grid;
  grid-template-columns: var(--left-w) var(--right-w);
}

/* IZQUIERDA */
.hero__left{
  background:var(--mint);
  position:relative;
  padding:0 44px;
  height:100%;
  overflow:hidden;
}


/* Header “interno” (donde vive el menú) */
.hero__header{
  height: var(--hero-header-h);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
}

/* MENÚ ESCRITORIO (blanco) */
.hero__menu{
  display:flex;
  align-items:center;
  gap:10px;

  font-size:16px;
  font-weight:600;

  /* Letras blancas */
  color: rgba(255,255,255,.95);
}
.hero__menu a{
  color: rgba(255,255,255,.95);
  text-decoration:none;
  padding:6px 10px;
  border-radius:999px;
  line-height:1;
}
.hero__menu .sep{
  color: rgba(255,255,255,.70);
  user-select:none;
}
.hero__menu a.active{
  background: rgba(255,255,255,.28);
  font-weight:800;
}

/* Botón Medicamentos “fuera” del menú (solo se ve en móvil) */
.pill-meds{
  display:none;
  margin-left:auto;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.35);
  color: rgba(255,255,255,.98);
  font-weight:800;
  font-size:14px;
  text-decoration:none;
  line-height:1;
}

/* ====== POSICIONAMIENTO ESCRITORIO (por porcentajes de altura) ======
   - Título a 25% debajo del header
   - Texto en mitad de sección
   - Botón debajo del texto
*/
.hero__title,
.hero__text,
.btn{
  position:absolute;
  left:44px;
  right:44px;
}

/* 25% debajo del header: header + 25% de la altura útil (100vh - header) */
.hero__title{
  top: calc(var(--hero-header-h) + ( (100vh - var(--hero-header-h)) * 0.25 ));
  margin:0;
  font-size:64px;
  line-height:1.05;
  font-weight:800;
  color: rgba(10,42,51,.55);
}

/* Texto al centro (50%) */
.hero__text{
  top: calc(var(--hero-header-h) + ( (100vh - var(--hero-header-h)) * 0.50 ));
  transform: translateY(-50%);
  margin:0;
  max-width: 460px;
  font-size:20px;
  line-height:1.6;
  font-weight:500;
  color: rgba(10,42,51,.50);
}

/* Botón debajo del texto */
.btn{
  top: calc(var(--hero-header-h) + ( (100vh - var(--hero-header-h)) * 0.50 ) + 80px);
  width:max-content;
  padding:14px 28px;
  border:0;
  border-radius:10px;
  background:var(--mint-2);
  color:var(--white);
  font-weight:800;
  font-size:16px;
  cursor:pointer;
  transition:.15s ease;
}
.btn:hover{ background:var(--mint-3); transform: translateY(-1px); }

/* La imagen móvil insertada debajo del título (solo visible en móvil) */
.hero__media-mobile{ display:none; }

/* DERECHA (imagen a alto completo incluyendo header) */
.hero__right{
  overflow:hidden;
  background:#ddd;
}
.hero__right img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ====== HAMBURGUESA (solo móvil) ====== */
.burger{
  display:none;
  width:44px; height:44px;
  border:0;
  background:transparent;
  border-radius:12px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:20px; height:2px;
  background: rgba(255,255,255,.95);
  margin:5px 0;
  border-radius:10px;
}

/* Panel menú móvil */
.mobile-panel{
  display:none;
  position:absolute;
  top: var(--hero-header-h);
  left: 18px;
  right: 18px;
  background: rgba(255,255,255,.25);
  border-radius:16px;
  padding:10px;
  backdrop-filter: blur(0px); /* sin efectos raros, plano */
}
.mobile-panel a{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  font-weight:800;
  color: rgba(255,255,255,.95);
  text-decoration:none;
}
.mobile-panel a.active{ background: rgba(255,255,255,.22); }

/* ====== RESPONSIVE: MÓVIL ====== */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }

  /* En móvil: quitamos columna derecha */
  .hero__right{ display:none; }

  .hero__left{
    padding:0 18px 22px;
    min-height:100vh;
  }

  /* Header móvil: hamburguesa + pill medicamentos */
  .hero__header{
    height: 66px;
  }
  .burger{ display:inline-flex; flex-direction:column; justify-content:center; }
  .hero__menu{ display:none; } /* menú de escritorio oculto */
  .pill-meds{ display:inline-flex; align-items:center; }

  /* En móvil: ya no usamos posiciones absolutas */
  .hero__title,
  .hero__text,
  .btn{
    position:static;
    left:auto; right:auto; top:auto;
    transform:none;
  }

  .hero__title{
    margin: 6px 0 12px;
    font-size:44px;
    color: rgba(10,42,51,.55);
  }

  /* Imagen debajo del título y arriba del texto */
  .hero__media-mobile{
    display:block;
    width:100%;
    height: 260px;
    border-radius:0;
    overflow:hidden;
    margin: 4px 0 14px;
  }
  .hero__media-mobile img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .hero__text{
    margin:0 0 14px;
    font-size:16px;
    line-height:1.6;
    max-width: 520px;
    color: rgba(10,42,51,.50);
  }

  .btn{
    margin-top: 6px;
    padding: 14px 22px;
  }
}

/* ====== SECCIÓN: COMPROMETIDOS CONTIGO ====== */
.committed{
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #F2FBFB; /* base clara */
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 56px 18px;
}

/* Fondo con imagen + filtro blanco (sin degradados) */
.committed__bg{
  position: absolute;
  inset: 0;
  background-image: url("./assets/committed-bg.jpg"); /* <-- cambia aquí tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Capa blanca que aclara la imagen (efecto de tu captura) */
.committed__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.78); /* Ajusta 0.72 - 0.85 si lo quieres más/menos claro */
}

/* Contenido centrado */
.committed__content{
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  text-align: center;
  padding: 18px 12px;
}

/* Icono corazón */
.committed__icon{
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  color: rgba(95,191,188,0.60); /* turquesa suave */
}

/* Título */
.committed__title{
  margin: 0 0 14px;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  color: rgba(10,42,51,0.90);
}

/* Texto */
.committed__text{
  margin: 0 auto 22px;
  width: min(820px, 100%);
  font-size: 22px;
  line-height: 1.8;
  font-weight: 500;
  color: rgba(10,42,51,0.70);
}

/* Botón */
.committed__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  background: #5FBFBC; /* color plano */
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(10,42,51,.12);
  transition: .15s ease;
}

.committed__btn:hover{
  background: #56B4B1;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 860px){
  .committed{
    min-height: 480px;
    padding: 44px 16px;
  }

  .committed__title{
    font-size: 42px;
  }

  .committed__text{
    font-size: 16px;
    line-height: 1.75;
  }
}

/* ===== STICKY MENU ON SCROLL ===== */
.sticky-header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 44px;
  z-index: 50;
  transition: transform .25s ease, background .25s ease;
}

/* Estado fijo cuando se hace scroll */
.sticky-header.is-fixed{
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(154,219,215,0.96); /* mismo color mint, plano */
  backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* Hover en desktop para asegurar visibilidad */
@media (hover:hover){
  .sticky-header.is-fixed:hover{
    transform: translateY(0);
  }
}

@media (max-width: 860px){
  .sticky-header{
    padding: 0 18px;
    height: 64px;
  }

  /* Evita la franja clara arriba */
  .hero{
    padding-top: 0;
  }

  /* Empuja el contenido debajo del header dentro del fondo turquesa */
  .hero__left{
    padding-top: 64px;
  }

  .hero__title{
    margin-top: 12px;
  }
}

/* ====== SECCIÓN: SERVICIOS (Carrusel) ====== */
.services{
  background: var(--mint, #9ADBD7);
  padding: 54px 0 70px;
}

.services__inner{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.services__title{
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(10,42,51,.70);
}

.services__subtitle{
  margin: 0 0 34px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: rgba(10,42,51,.80);
  max-width: 760px;
}

/* Carrusel */
.services__carousel{
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 14px;
}

/* Flechas */
.services__arrow{
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.25);
  color: rgba(10,42,51,.65);
  font-size: 40px;
  line-height: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .15s ease;
  user-select: none;
}
.services__arrow:hover{
  background: rgba(255,255,255,.35);
  transform: translateY(-1px);
}
.services__arrow:disabled{
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

/* Ventana */
.services__viewport{
  overflow: hidden;
  border-radius: 18px;
}

/* Pista (track) */
.services__track{
  display: flex;
  gap: 42px; /* parecido al espaciado del mock */
  padding: 8px 6px;
  scroll-behavior: smooth;

  /* scroll por JS, pero dejamos soporte táctil */
  overflow-x: auto;
  scrollbar-width: none;
}
.services__track::-webkit-scrollbar{ display:none; }

/* Tarjeta */
.service-card{
  flex: 0 0 260px;
  height: 240px;
  background: #fff;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px 20px;
  box-shadow: 0 14px 26px rgba(10,42,51,.10);
}

.service-card__icon{
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.service-card__icon svg{
  width: 54px;
  height: 54px;
  stroke: rgba(95,191,188,.70); /* turquesa suave */
}

.service-card__label{
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: rgba(10,42,51,.85);
}

/* Responsive */
@media (max-width: 860px){
  .services{
    padding: 44px 0 58px;
  }
  .services__title{
    font-size: 22px;
  }
  .services__subtitle{
    font-size: 16px;
    margin-bottom: 22px;
  }

  .services__carousel{
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }

  .services__arrow{
    width: 44px;
    height: 44px;
    font-size: 34px;
    border-radius: 12px;
  }

  .service-card{
    flex-basis: 220px;
    height: 220px;
  }
  .service-card__label{
    font-size: 18px;
  }
}

/* ====== SECCIÓN: ACOMPAÑAMIENTO AL FINAL DE LA VIDA ====== */
.endlife{
  background:#fff;           /* fondo blanco plano */
  padding: 54px 0 64px;
}

.endlife__inner{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1.05fr .95fr; /* deja espacio claro a la imagen derecha */
  align-items: center;
  gap: 24px;
}

/* Colores como en la captura (turquesa claro) */
.endlife__title,
.endlife__lead,
.endlife__list,
.endlife__note{
  color: rgba(95,191,188,.65); /* turquesa suave */
}

/* Título */
.endlife__title{
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.15;
}

/* Texto introductorio */
.endlife__lead{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

/* Lista */
.endlife__list{
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}
.endlife__list li{
  margin: 8px 0;
}

/* Nota final */
.endlife__note{
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

/* Botón centrado abajo (como en la captura) */
.endlife__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  padding: 14px 24px;

  border-radius: 10px;
  background: #5FBFBC; /* plano */
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;

  box-shadow: 0 10px 18px rgba(10,42,51,.12);
  transition: .15s ease;
}
.endlife__btn:hover{
  background: #56B4B1;
  transform: translateY(-1px);
}

/* Columna derecha: espacio para imagen (que “respira” como en el mock) */
.endlife__right{
  display: grid;
  place-items: center;
  min-height: 420px;
  position: relative;
}

.endlife__img{
  width: min(360px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===== MOBILE FIX: Acompañamiento al final de la vida ===== */
@media (max-width: 860px){
  .endlife{
    padding: 44px 0 54px;
  }

  /* Convertimos todo a 1 columna */
  .endlife__inner{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0; /* controlamos espacios con margins */
  }

  /* 🔑 "Desarmar" el contenedor izquierdo para poder intercalar la imagen */
  .endlife__left{
    display: contents;
  }

  /* Orden correcto: título -> imagen -> resto */
  .endlife__title{
    order: 1;
    margin: 0 0 14px;
    font-size: 24px;
  }

  .endlife__right{
    order: 2;
    min-height: 0;          /* evita que se haga chiquita por altura fija */
    margin: 6px 0 18px;     /* espacio debajo de título y antes del texto */
    display: block;
  }

  .endlife__img{
    width: 100%;            /* ✅ ahora sí grande */
    max-width: 420px;       /* similar al look de tu diseño */
    height: auto;
    display: block;
    margin: 0 auto;         /* centrada */
    object-fit: contain;
  }

  .endlife__lead{
    order: 3;
    margin: 0 0 14px;
    font-size: 16px;
  }

  .endlife__list{
    order: 4;
    margin: 0 0 14px;
    font-size: 16px;
  }

  .endlife__note{
    order: 5;
    margin: 0 0 18px;
    font-size: 16px;
  }

  .endlife__btn{
    order: 6;
    width: max-content;
  }
}

/* ====== SECCIÓN: OPINIONES DE CLIENTES ====== */
.reviews{
  background: #54B9B6; /* turquesa plano como la imagen */
  padding: 44px 0 64px;
}

.reviews__inner{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.reviews__title{
  margin: 0 0 26px;
  color: #fff;
  font-size: 28px;
  font-weight: 600; /* similar al screenshot */
  letter-spacing: 0;
}

.reviews__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-items: start;

  /* 🔑 Esto evita el encimado:
     reservamos espacio arriba equivalente a lo que sobresale el avatar */
  padding-top: 52px;
}


/* Tarjeta */
.review-card{
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 56px 22px 22px;
  text-align: center;
  box-shadow: 0 14px 26px rgba(10,42,51,.10);

  /* 🔑 clave para igualar alturas */
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* Avatar circular con borde blanco grueso */
.review-card__avatar{
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: #fff;
  border: 10px solid #54B9B6; /* “aro” del color del fondo */
  overflow: hidden;
}

.review-card__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card__name{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: rgba(10,42,51,.85);
}

.review-card__text{
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(10,42,51,.60);
}

/* Responsive */
@media (max-width: 860px){
  /* Espacio y layout */
  .reviews__grid{
    grid-template-columns: 1fr;
    gap: 28px;

    /* Mantiene el espacio para el avatar, pero sin exagerar */
    padding-top: 56px;

    /* Centra las tarjetas */
    justify-items: center;
  }

  /* En móvil NO altura fija: que crezcan según el texto */
  .review-card{
    height: auto;          /* 🔑 clave */
    min-height: 240px;     /* mantiene consistencia visual */
    width: min(360px, 100%);
  }

  /* Tipografía más cómoda */
  .review-card__text{
    font-size: 12px;
    line-height: 1.55;
  }

  /* Ajuste fino del avatar para que no invada tanto */
  .review-card__avatar{
    top: -34px;
    width: 86px;
    height: 86px;
    border-width: 9px;
  }

  /* Un poco más de aire en el título de la sección */
  .reviews__title{
    margin-bottom: 22px;
    font-size: 24px;
  }
}

/* ====== GALERÍA CATS & CANES ====== */
.gallery{
  background: #CFF1F0; /* turquesa claro como el mock */
  padding: 56px 0 64px;
  overflow: hidden;
}

.gallery__inner{
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.gallery__title{
  margin: 0 0 34px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(10,42,51,.55);
}

/* Ventana del carrusel */
.gallery__carousel{
  position: relative;
  overflow: hidden;

  /* este padding permite ver los “fragmentos” laterales */
  padding: 0 120px;
}

/* Track infinito */
.gallery__track{
  display: flex;
  gap: 32px;
  padding: 8px 6px;

  /* 🔑 ahora el movimiento será por scroll (JS + usuario) */
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;       /* Firefox */
  cursor: grab;

  /* importante para arrastre fluido */
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar{ display:none; }

.gallery__track:active{
  cursor: grabbing;
}


/* Imágenes */
.gallery__track img{
  width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #eee;
}

/* Animación infinita */
@keyframes gallery-scroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 860px){
  .gallery{
    padding: 44px 0 54px;
  }

  .gallery__title{
    font-size: 22px;
    margin-bottom: 26px;
  }

  .gallery__carousel{
    padding: 0 48px;
  }

  .gallery__track img{
    width: 260px;
    height: 180px;
  }
}

/* ====== SECCIÓN: CONTACTO ====== */
.contact{
  position: relative;
  background: #F3FBFB; /* blanco suave (sin degradado) */
  padding: 56px 0 70px;
  overflow: hidden;
}

/* Si quieres un “fondo fotográfico” muy suave como en tu captura,
   puedes poner una imagen detrás (opcional):
   .contact::before { background-image:url(...); opacity:.12; }
*/

.contact__inner{
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.contact__brand{
  margin: 0 0 22px;
  font-size: 44px;
  font-weight: 500;
  color: rgba(10,42,51,.85);
}

.contact__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

/* Mapa */
.contact__map{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(10,42,51,.10);
  height: 320px;
}

.contact__map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Info */
.contact__info{
  padding-top: 6px;
}

.contact__kicker{
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  color: rgba(10,42,51,.55);
  margin-bottom: 18px;
}

.contact__block{
  margin-bottom: 18px;
}

.contact__label{
  font-weight: 800;
  font-size: 22px;
  color: rgba(10,42,51,.85);
  margin-bottom: 6px;
}

.contact__value{
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(10,42,51,.60);
}

/* Botón */
.contact__btn{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 14px 22px;
  border-radius: 10px;
  background: #5FBFBC;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;

  box-shadow: 0 10px 18px rgba(10,42,51,.12);
  transition: .15s ease;
}

.contact__btn:hover{
  background: #56B4B1;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 860px){
  .contact{
    padding: 44px 0 56px;
  }

  .contact__brand{
    font-size: 34px;
    margin-bottom: 18px;
  }

  .contact__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact__map{
    height: 280px;
  }

  .contact__label{
    font-size: 20px;
  }
}

/* ====== FOOTER ====== */
.footer{
  background: #51b6b6;
  color: #ffffff;
  padding: 44px 0 0;
}

/* Contenido principal */
.footer__inner{
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px 32px;

  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.footer__title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.footer__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  max-width: 420px;
}

.footer__info p{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.95);
}

.footer__info strong{
  font-weight: 800;
}

/* Franja inferior */
.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.25);
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

/* Responsive */
@media (max-width: 860px){
  .footer__inner{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }

  .footer__text{
    margin: 0 auto;
  }
}

/* ===== WhatsApp Floating Button + Chat (Cats & Canes) ===== */

/* BOTÓN FLOTANTE */
.whatsapp-button{
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
  cursor: pointer;
  z-index: 10000;
  transition: transform .25s ease;
  border: 0;
}

.whatsapp-button:hover{
  transform: scale(1.05);
}

.whatsapp-button img{
  width: 30px;
  height: 30px;
  object-fit: contain; /* evita deformación */
  display: block;
}

/* Badge (notificación) */
.wa-badge{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255,255,255,.75);
}

/* VENTANA DE CHAT */
.whatsapp-chat{
  position: fixed;
  right: 1.2rem;
  bottom: 5.4rem;
  width: min(360px, 92vw);
  max-height: 420px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: .2s ease;
  z-index: 9999;
}

.whatsapp-chat.open{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* HEADER (sin degradado, color plano del sitio) */
.wa-chat-header{
  background: #51b6b6;
  padding: .7rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  color: white;
}

.wa-avatar{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.25);
}

.wa-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wa-chat-info{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wa-chat-name{
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-chat-status{
  font-weight: 600;
  font-size: .75rem;
  opacity: .9;
}

.wa-chat-close{
  margin-left: auto;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
}

.wa-chat-close:hover{
  background: rgba(255,255,255,.26);
}

/* MENSAJES */
.wa-chat-body{
  flex: 1;
  padding: .7rem;
  overflow-y: auto;
  background: #f6fbfb; /* plano, limpio */
}

.wa-message{
  max-width: 80%;
  font-size: .85rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  margin-bottom: .45rem;
  line-height: 1.35;
}

.wa-message.agent{
  background: #ffffff;
  color: rgba(10,42,51,.78);
  box-shadow: 0 10px 18px rgba(10,42,51,.08);
}

.wa-message.user{
  margin-left: auto;
  background: #51b6b6;
  color: white;
}

/* INPUT */
.wa-chat-input{
  display: flex;
  gap: .4rem;
  padding: .55rem;
  background: #ffffff;
  border-top: 1px solid rgba(10,42,51,.08);
}

.wa-chat-input input{
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(10,42,51,.14);
  padding: .55rem .8rem;
  background: #ffffff;
  color: rgba(10,42,51,.85);
  outline: none;
}

.wa-chat-input input:focus{
  border-color: rgba(81,182,182,.75);
}

.wa-send-btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #51b6b6;
  font-size: 1.2rem;
  cursor: pointer;
}

.wa-send-btn:hover{
  color: #46aaaa;
}

/* Móvil: un poco más compacto */
@media (max-width: 860px){
  .whatsapp-button{ right: 1rem; bottom: 1rem; }
  .whatsapp-chat{ right: 1rem; bottom: 5.1rem; }
}

/* PARCHE: asegurar que el botón y el chat no queden tapados por overlays */
.whatsapp-button{
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}

.whatsapp-chat{
  z-index: 2147483646 !important;
  pointer-events: auto !important;
}
