/* =========================================================
   VARIABLES
========================================================= */

:root {
  --background: #fdfbf9;
  --text: #202020;
  --muted: #6f6f6f;

  --blue: #2c63c7;
  --blue-medium: #91b4e5;
  --blue-soft: #e8f0fb;

  --orange: #ec9b73;
  --orange-medium: #eba078;
  --orange-soft: #fde8da;

  --white: #ffffff;
  --line: #e8e4df;

  --max-width: 1240px;

  --radius-small: 18px;
  --radius-medium: 30px;
  --radius-large: 50px;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;

  background: var(--background);
  color: var(--text);

  font-family: "Inter", sans-serif;

  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

p {
  line-height: 1.65;
}


/* =========================================================
   ESTRUCTURA GENERAL
========================================================= */

.section {
  width: min(calc(100% - 40px), var(--max-width));

  margin-inline: auto;

  padding-top: 100px;
  padding-bottom: 100px;
}

.eyebrow {
  display: block;

  margin-bottom: 18px;

  color: var(--blue);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 800px;

  margin-bottom: 58px;
}

.services .section-heading {
  margin-bottom: 38px;
}

.section-heading h2,
.patients-heading h2 {
  font-family: "Poppins", sans-serif;

  font-size: clamp(2.5rem, 4vw, 4.4rem);

  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading h2 span,
.patients-heading h2 span {
  color: var(--blue-medium);
}


/* =========================================================
   BOTONES
========================================================= */

.button {
  min-height: 58px;

  padding: 0 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-size: 0.92rem;
  font-weight: 700;

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: #2456b1;
}

.button-soft {
  margin-top: 48px;

  background: var(--blue-soft);
  color: var(--blue);
}

.button-dark {
  background: var(--text);
  color: white;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  width: min(calc(100% - 40px), var(--max-width));

  height: 220px;

  margin: 28px auto 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 30;
}


/* LOGO */

.brand {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  position: relative;
  z-index: 5;
}

.brand-logo {
  display: block;

  width: 650px;
  max-width: 52vw;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
  width: 390px;
  height: 210px;

  position: relative;
  z-index: 6;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 20px;
}


/* INSTAGRAM */

.instagram-button {
  width: 64px;
  height: 64px;

  flex: 0 0 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 3;

  border: 1.5px solid var(--orange);
  border-radius: 50%;

  background: var(--background);

  transition:
    background 0.22s ease,
    transform 0.22s ease;
}

.instagram-button:hover {
  background: var(--orange-soft);

  transform: translateY(-2px);
}

.instagram-icon {
  width: 25px;
  height: 25px;

  fill: none;
  stroke: var(--text);

  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-dot {
  fill: var(--text);
  stroke: none;
}


/* WHATSAPP HEADER */

.header-whatsapp {
  min-width: 300px;
  height: 64px;

  padding: 0 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;

  position: relative;
  z-index: 3;

  border: 1.5px solid var(--blue);
  border-radius: 999px;

  color: var(--blue);
  background: var(--background);

  font-size: 0.95rem;
  font-weight: 700;

  white-space: nowrap;

  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.header-whatsapp:hover {
  background: var(--blue);
  color: white;

  transform: translateY(-2px);
}

.arrow {
  font-size: 1.35rem;
  font-weight: 400;
}


/* CONECTOR */

.header-connector {
  position: absolute;

  width: 340px;
  height: 180px;

  left: 8px;
  top: 70px;

  overflow: visible;

  pointer-events: none;

  z-index: 1;
}

.header-connector path {
  fill: none;

  stroke: #f4c5ac;
  stroke-width: 2.5;

  stroke-dasharray: 5 6;
  stroke-linecap: round;
}

.connector-start {
  fill: var(--orange);
}

.connector-ring {
  fill: var(--background);

  stroke: #f4c5ac;
  stroke-width: 2;
}

.connector-end {
  fill: var(--orange);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  width: min(calc(100% - 40px), var(--max-width));

  min-height: 720px;

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 0.88fr)
    minmax(0, 1.12fr);

  align-items: center;

  gap: 55px;

  padding-top: 70px;
  padding-bottom: 90px;
}


/* HERO COPY */

.hero-copy {
  width: 100%;
  max-width: 650px;

  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0 0 32px;

  font-family: "Poppins", sans-serif;

  font-size: clamp(3.4rem, 5vw, 5.6rem);
  font-weight: 800;

  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
}

.hero-black {
  color: var(--text);
}

.hero-blue {
  color: var(--blue-medium);

  margin-top: 5px;
}

.hero-orange {
  color: var(--orange-medium);

  margin-top: 3px;
}


/* DESCRIPCIÓN HERO */

.hero-description {
  max-width: 600px;

  margin-bottom: 30px;

  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-description strong {
  font-weight: 700;
}


/* BENEFICIOS HERO */

.benefits {
  margin-top: 38px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 18px 32px;
}

.benefit {
  display: flex;
  align-items: center;

  gap: 12px;

  font-size: 0.82rem;
  font-weight: 600;
}

.benefit-icon {
  display: block;

  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  object-fit: contain;
}

.benefit span {
  color: var(--text);

  font-size: 0.82rem;
  font-weight: 600;

  line-height: 1.25;
}


/* HERO ILUSTRACIÓN */

.hero-visual {
  width: 100%;
  min-height: 620px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  display: block;

  width: 106%;
  max-width: 780px;
  height: auto;

  object-fit: contain;

  transform: translateX(2%);
}

/* =========================================================
   SERVICIOS
========================================================= */

.services {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  padding-bottom: 42px;
}


/* =========================================================
   TÍTULO DE LA SECCIÓN
========================================================= */

.services .section-heading {
  margin-bottom: 26px;
}

.services .section-heading h2 {
  font-size: clamp(2.7rem, 4.2vw, 4.8rem);
  line-height: 0.98;
}


/* =========================================================
   GRID DE SERVICIOS
========================================================= */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 14px;

  /*
    Evita que las demás tarjetas
    crezcan cuando abrimos solo una.
  */
  align-items: start;
}


/* =========================================================
   TARJETAS
========================================================= */

.service-card {
  /*
    Todas las tarjetas cerradas
    tienen exactamente la misma altura.
  */
  height: 255px;

  padding: 19px 20px 17px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  border: 1px solid var(--line);
  border-radius: var(--radius-medium);

  background: rgba(255, 255, 255, 0.38);

  overflow: hidden;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}


/* =========================================================
   HOVER DE LA TARJETA
========================================================= */

.service-card:hover {
  transform: translateY(-4px);

  border-color: rgba(44, 99, 199, 0.22);

  background: rgba(255, 255, 255, 0.72);

  box-shadow:
    0 12px 26px rgba(32, 32, 32, 0.05);
}


/* =========================================================
   ICONOS
========================================================= */

.service-icon {
  width: 58px;
  height: 58px;

  flex: 0 0 58px;

  margin: 0 auto 11px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    transform 0.22s ease;
}

.service-icon img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* PEQUEÑO MOVIMIENTO DEL ICONO */

.service-card:hover .service-icon {
  transform:
    translateY(-2px)
    scale(1.04);
}


/* =========================================================
   TÍTULO DE CADA TARJETA
========================================================= */

.service-card h3 {
  margin: 0 0 6px;

  font-family: "Poppins", sans-serif;

  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;

  text-align: center;
}


/* =========================================================
   DESCRIPCIÓN CORTA
========================================================= */

.service-card > p {
  width: 100%;
  max-width: 270px;

  /*
    Reserva el mismo espacio para el texto
    aunque una tarjeta tenga una línea
    y otra tenga tres.
  */
  min-height: 60px;

  margin: 0;

  color: var(--muted);

  font-size: 0.84rem;
  line-height: 1.42;

  text-align: center;
}


/* =========================================================
   BOTÓN +
========================================================= */

.service-toggle {
  width: 30px;
  height: 30px;

  /*
    Lo mantiene alineado al fondo
    de todas las tarjetas.
  */
  margin-top: auto;

  flex: 0 0 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(44, 99, 199, 0.28);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.55);

  color: var(--blue);

  cursor: pointer;

  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}


/* HOVER DEL + */

.service-toggle:hover {
  background: var(--blue);

  color: white;

  border-color: var(--blue);

  transform: scale(1.06);
}


/* =========================================================
   INFORMACIÓN EXTRA
========================================================= */

.service-extra {
  max-height: 0;

  margin-top: 0;

  overflow: hidden;

  opacity: 0;

  color: var(--blue);

  font-size: 0.76rem;
  line-height: 1.4;

  text-align: center;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    margin-top 0.3s ease;
}


/* =========================================================
   TARJETA ABIERTA
========================================================= */

.service-card.is-open {
  /*
    Cerrada mide 255px.
    Abierta crece solo lo necesario.
  */
  height: auto;
  min-height: 255px;

  background:
    rgba(255, 255, 255, 0.82);

  border-color:
    rgba(44, 99, 199, 0.22);

  box-shadow:
    0 14px 30px
    rgba(32, 32, 32, 0.06);
}


/* =========================================================
   MOSTRAR INFORMACIÓN EXTRA
========================================================= */

.service-card.is-open .service-extra {
  max-height: 300px;

  margin-top: 10px;

  opacity: 1;
}


/* =========================================================
   BOTÓN ACTIVO
========================================================= */

.service-card.is-open .service-toggle {
  background: var(--blue);

  color: white;

  border-color: var(--blue);
}


/* =========================================================
   VER TODOS NUESTROS SERVICIOS
========================================================= */

.services-expand {
  margin-top: 17px;

  border-top: 1px solid var(--line);
}


/* =========================================================
   BOTÓN GENERAL
========================================================= */

.text-button {
  width: 100%;

  padding: 14px 6px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 0;
  border-radius: 14px;

  background: transparent;

  color: var(--text);

  cursor: pointer;

  font-weight: 700;

  transition:
    background 0.22s ease,
    color 0.22s ease,
    padding 0.22s ease;
}


/* HOVER DE "VER TODOS NUESTROS SERVICIOS" */

.text-button:hover {
  background:
    rgba(145, 180, 229, 0.12);

  color: var(--blue);

  padding-left: 14px;
  padding-right: 14px;
}


/* =========================================================
   SÍMBOLO DEL BOTÓN GENERAL
========================================================= */

.services-symbol {
  font-size: 1.4rem;
  font-weight: 400;

  transition:
    transform 0.22s ease,
    color 0.22s ease;
}

.text-button:hover .services-symbol {
  transform: translateX(4px);

  color: var(--blue);
}


/* =========================================================
   SERVICIOS EXTRA
   "VER TODOS NUESTROS SERVICIOS"
========================================================= */

.more-services {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 22px;

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    padding 0.45s ease;
}

.more-services.open {
  max-height: 500px;

  opacity: 1;

  padding: 20px 0 40px;
}

.more-service h3 {
  margin-bottom: 8px;

  font-size: 1rem;
}

.more-service p {
  color: var(--muted);

  font-size: 0.88rem;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

  .services-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .more-services {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 620px) {

  .services {
    padding-top: 38px;
    padding-bottom: 36px;
  }

  .services .section-heading {
    margin-bottom: 22px;
  }

  .services .section-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .services-grid {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .service-card {
    height: auto;
    min-height: 0;

    padding: 20px 18px 17px;
  }

  .service-card > p {
    min-height: 0;
  }

  .service-toggle {
    margin-top: 11px;
  }

  .service-card.is-open {
    height: auto;
    min-height: 0;
  }

  .more-services {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   PACIENTES
========================================================= */

.patients-section {
  width: 100%;
  background: var(--blue-soft);
  padding: 70px 0 55px;
}

.patients-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}


/* =========================================================
   TÍTULO GENERAL
========================================================= */

.patients-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.patients-heading .eyebrow {
  margin-bottom: 14px;
}

.patients-heading h2 {
  max-width: 850px;
}


/* =========================================================
   GRID DE ANIMALES
========================================================= */

.animals-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.animal-dog,
.animal-cat,
.animal-exotic {
  padding-top: 0;
}


/* =========================================================
   ILUSTRACIONES
========================================================= */

.animal-art {
  width: 100%;
  height: 270px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  margin-bottom: 18px;
}

.animal-art img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center bottom;
}


/* Ajuste visual individual */

.animal-dog .animal-art img {
  transform: scale(1.02);
}

.animal-cat .animal-art img {
  transform: scale(1.02);
}

.animal-exotic .animal-art img {
  transform: scale(1.06);
}


/* =========================================================
   CONTENIDO DE CADA COLUMNA
========================================================= */

.animal-copy {
  padding: 0 10px;
}


/*
   Este será el punto de referencia
   para posicionar el disclaimer.
*/

.animal-exotic .animal-copy {
  position: relative;
}


/* =========================================================
   NÚMERO + TÍTULO
========================================================= */

.animal-title-row {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 10px;
}


/* =========================================================
   NÚMEROS
========================================================= */

.animal-number {
  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-size: 0.82rem;
  font-weight: 700;
}

.blue-number {
  background: rgba(145, 180, 229, 0.25);
  color: var(--blue);
}

.orange-number {
  background: rgba(236, 155, 115, 0.28);
  color: #9c5d3e;
}


/* =========================================================
   TÍTULOS
========================================================= */

.animal-copy h3 {
  margin: 0;

  font-family: "Poppins", sans-serif;

  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;

  letter-spacing: 0.01em;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.animal-copy p {
  max-width: 260px;
  margin: 0;

  color: var(--muted);

  font-size: 0.86rem;
  line-height: 1.5;
}


/* =========================================================
   LÍNEAS DECORATIVAS
========================================================= */

.animal-line {
  display: block;

  width: 44px;
  height: 2px;

  margin-top: 16px;
}

.blue-line {
  background: var(--blue);
}

.orange-line {
  background: var(--orange);
}


/* =========================================================
   DISCLAIMER
   ESPECIES NO CONVENCIONALES
========================================================= */

.exotic-disclaimer {
  /*
     No participa en la altura del grid.
     Queda anclado debajo de la información
     de especies no convencionales.
  */

  position: absolute;

  top: calc(100% + 14px);

  /*
     CENTRADO respecto a la columna
     de especies no convencionales.
  */

  left: 50%;
  right: auto;

  transform: translateX(-50%);

  /*
     Más compacto que la versión anterior.
  */

  width: 460px;
  max-width: 42vw;

  margin: 0;

  display: grid;

  grid-template-columns:
    1fr
    0.9fr
    1.15fr;

  align-items: start;

  column-gap: 0;

  z-index: 2;
}


/* =========================================================
   ITEMS DEL DISCLAIMER
========================================================= */

.exotic-disclaimer-item {
  min-width: 0;

  padding: 0 8px;

  display: grid;

  grid-template-columns:
    18px
    minmax(0, 1fr);

  align-items: start;

  gap: 6px;

  color: var(--muted);

  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1.28;

  text-align: left;
}

.exotic-disclaimer-item:first-child {
  padding-left: 0;
}

.exotic-disclaimer-item:last-child {
  padding-right: 0;
}


/* =========================================================
   SEPARADORES DEL DISCLAIMER
========================================================= */

.exotic-disclaimer-item
+ .exotic-disclaimer-item {
  border-left: 1px solid rgba(44, 99, 199, 0.22);
}


/* =========================================================
   ICONOS SVG
========================================================= */

.exotic-disclaimer-icon {
  width: 18px;
  height: 18px;

  flex: 0 0 18px;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  align-self: start;

  color: var(--blue);
}

.exotic-disclaimer-icon svg {
  display: block;

  width: 18px;
  height: 18px;

  overflow: visible;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.exotic-disclaimer-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}


/* =========================================================
   TEXTO DEL DISCLAIMER
========================================================= */

.exotic-disclaimer-item > span:last-child {
  display: block;

  margin: 0;
  padding: 0;

  align-self: start;
}


/* =========================================================
   CTA INFERIOR
========================================================= */

.patients-cta {
  /*
     Dejamos únicamente el espacio necesario
     para el disclaimer compacto.
  */

  margin-top: 52px;

  padding: 22px 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  border-radius: var(--radius-medium);

  background: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   CONTENIDO CTA
========================================================= */

.patients-cta-copy {
  display: flex;
  align-items: center;

  gap: 16px;
}


/* =========================================================
   ICONO CTA
========================================================= */

.consulta-icono {
  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.consulta-icono img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* =========================================================
   TEXTO CTA
========================================================= */

.patients-cta-copy > div:last-child {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.patients-cta-copy strong {
  font-family: "Poppins", sans-serif;

  font-size: 0.95rem;
  font-weight: 700;
}

.patients-cta-copy span {
  color: var(--muted);

  font-size: 0.84rem;
}


/* =========================================================
   SEPARADOR CTA
========================================================= */

.patients-cta-divider {
  width: 1px;
  height: 42px;

  margin-left: auto;

  background: rgba(44, 99, 199, 0.18);
}


/* =========================================================
   WHATSAPP CTA
========================================================= */

.patients-whatsapp {
  min-height: 48px;

  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  border: 1px solid rgba(44, 99, 199, 0.3);
  border-radius: 999px;

  color: var(--blue);

  background: rgba(255, 255, 255, 0.45);

  font-size: 0.84rem;
  font-weight: 700;

  white-space: nowrap;

  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.patients-whatsapp:hover {
  background: var(--blue);
  color: white;

  transform: translateY(-2px);
}

.patients-whatsapp span {
  color: inherit;

  font-size: 1.1rem;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

  .animals-showcase {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .animal-art {
    height: 250px;
  }

  .animal-copy {
    width: 100%;
    max-width: 520px;

    margin-inline: auto;

    padding: 0;
  }

  .animal-copy p {
    max-width: 420px;
  }


  /* DISCLAIMER */

  .exotic-disclaimer {
    top: calc(100% + 14px);

    left: 50%;
    right: auto;

    transform: translateX(-50%);

    width: 460px;
    max-width: 86vw;

    grid-template-columns:
      1fr
      0.9fr
      1.15fr;
  }

  .exotic-disclaimer-item {
    padding: 0 8px;

    grid-template-columns:
      18px
      minmax(0, 1fr);

    gap: 6px;

    font-size: 0.6rem;
    line-height: 1.28;
  }

  .exotic-disclaimer-item:first-child {
    padding-left: 0;
  }

  .exotic-disclaimer-item:last-child {
    padding-right: 0;
  }

  .exotic-disclaimer-item
  + .exotic-disclaimer-item {
    border-left: 1px solid rgba(44, 99, 199, 0.22);
  }


  /* CTA */

  .patients-cta {
    margin-top: 52px;

    flex-wrap: wrap;
  }

  .patients-cta-divider {
    display: none;
  }
}


/* =========================================================
   RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 620px) {

  .patients-section {
    padding: 55px 0 42px;
  }

  .patients-inner {
    width: min(
      calc(100% - 30px),
      var(--max-width)
    );
  }

  .patients-heading {
    margin-bottom: 30px;
  }


  /* =======================================================
     ANIMALES
  ======================================================= */

  .animals-showcase {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .animal-art {
    height: 220px;

    margin-bottom: 16px;
  }

  .animal-copy {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;
  }

  .animal-title-row {
    gap: 10px;
  }

  .animal-number {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }

  .animal-copy h3 {
    font-size: 1rem;
  }

  .animal-copy p {
    max-width: 100%;

    font-size: 0.84rem;
  }


  /* =======================================================
     DISCLAIMER MÓVIL
  ======================================================= */

  .exotic-disclaimer {
    /*
       En móvil sí vuelve al flujo normal.
       Evita cualquier superposición.
    */

    position: static;

    width: 100%;
    max-width: 100%;

    margin-top: 16px;

    transform: none;

    grid-template-columns: 1fr;

    row-gap: 10px;
  }

  .exotic-disclaimer-item {
    padding: 0;

    grid-template-columns:
      20px
      minmax(0, 1fr);

    gap: 8px;

    font-size: 0.7rem;
    line-height: 1.35;
  }

  .exotic-disclaimer-item
  + .exotic-disclaimer-item {
    border-left: 0;
  }

  .exotic-disclaimer-icon {
    width: 20px;
    height: 20px;

    flex-basis: 20px;
  }

  .exotic-disclaimer-icon svg {
    width: 20px;
    height: 20px;
  }


  /* =======================================================
     CTA MÓVIL
  ======================================================= */

  .patients-cta {
    margin-top: 38px;

    padding: 20px;

    flex-direction: column;
    align-items: stretch;
  }

  .patients-cta-copy {
    align-items: flex-start;
  }

  .patients-whatsapp {
    width: 100%;
  }
}

/* =========================================================
   NUESTRO ESPACIO
========================================================= */

.clinic-space {
  width: 100%;
  padding: 52px 0 54px;
  border-top: 1px solid var(--line);
  background: var(--background);
  overflow: hidden;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.clinic-space__inner {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  margin: 0 auto;
  box-sizing: border-box;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.clinic-space__heading {
  width: 100%;
  max-width: 950px;
  margin: 0 0 30px;
}


/* EYEBROW */

.clinic-space__heading .eyebrow {
  display: block;

  margin: 0 0 14px;

  color: var(--blue);

  font-family: "Poppins", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* TÍTULO */

.clinic-space__heading h2 {
  margin: 0;

  font-family: "Poppins", sans-serif;

  font-size: clamp(
    2.7rem,
    3.7vw,
    3.75rem
  );

  font-weight: 700;

  line-height: 1.04;

  letter-spacing: -0.045em;

  color: var(--text);
}


/* SEGUNDA LÍNEA AZUL */

.clinic-space__heading h2 span {
  display: block;
  color: var(--blue-medium);
}


/* TEXTO INTRODUCTORIO */

.clinic-space__heading p {
  width: 100%;
  max-width: 540px;

  margin: 18px 0 0;

  color: var(--muted);

  font-size: 0.96rem;

  line-height: 1.65;
}


/* =========================================================
   CARRUSEL
========================================================= */

.clinic-space__carousel {
  position: relative;

  width: 100%;
  max-width: 1100px;

  min-width: 0;

  margin: 0 auto;
}


/* =========================================================
   CONTENEDOR DE LA IMAGEN
========================================================= */

.clinic-space__main {
  position: relative;

  width: 100%;

  height: clamp(
    320px,
    34vw,
    430px
  );

  overflow: hidden;

  border-radius: var(--radius-medium);

  background: var(--blue-soft);
}


/* =========================================================
   IMAGEN
========================================================= */

.clinic-space__main img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
  object-position: center;

  opacity: 1;

  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);

  will-change: opacity;
}


/* =========================================================
   FLECHAS
========================================================= */

.clinic-space__arrow {
  position: absolute;

  top: 50%;

  width: 50px;
  height: 50px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border: 1px solid rgba(32, 32, 32, 0.14);

  border-radius: 50%;

  background: rgba(253, 251, 249, 0.94);

  color: var(--text);

  font-family: inherit;
  font-size: 1.15rem;

  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 8px 24px
    rgba(32, 32, 32, 0.06);

  z-index: 5;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


/* HOVER */

.clinic-space__arrow:hover {
  background: var(--blue);

  color: var(--white);

  border-color: var(--blue);

  transform:
    translateY(-50%)
    scale(1.05);
}


/* FLECHA IZQUIERDA */

.clinic-space__arrow--left {
  left: 20px;
}


/* FLECHA DERECHA */

.clinic-space__arrow--right {
  right: 20px;
}


/* =========================================================
   CONTROLES INFERIORES
========================================================= */

.clinic-space__controls {
  width: 100%;

  margin-top: 15px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 22px;
}


/* =========================================================
   CONTADOR
========================================================= */

.clinic-space__counter {
  color: var(--blue);

  font-family: "Poppins", sans-serif;

  font-size: 0.8rem;

  font-weight: 700;

  line-height: 1;

  white-space: nowrap;
}


/* =========================================================
   PUNTOS
========================================================= */

.clinic-space__dots {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 9px;
}


.clinic-space__dot {
  width: 9px;
  height: 9px;

  min-width: 9px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: rgba(145, 180, 229, 0.38);

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}


.clinic-space__dot:hover {
  transform: scale(1.2);
}


.clinic-space__dot.active {
  background: var(--blue);

  transform: scale(1.12);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .clinic-space {
    padding: 48px 0 50px;
  }


  .clinic-space__heading {
    max-width: 760px;
    margin-bottom: 26px;
  }


  .clinic-space__heading h2 {
    font-size: clamp(
      2.5rem,
      5.5vw,
      3.5rem
    );
  }


  .clinic-space__carousel {
    max-width: 100%;
  }


  .clinic-space__main {
    height: clamp(
      300px,
      48vw,
      400px
    );
  }


  .clinic-space__arrow {
    width: 46px;
    height: 46px;
  }


  .clinic-space__arrow--left {
    left: 15px;
  }


  .clinic-space__arrow--right {
    right: 15px;
  }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 700px) {

  .clinic-space {
    padding: 42px 0 46px;
  }


  .clinic-space__inner {
    width: calc(100% - 28px);
  }


  .clinic-space__heading {
    max-width: 100%;

    margin-bottom: 24px;
  }


  .clinic-space__heading .eyebrow {
    margin-bottom: 12px;

    font-size: 0.7rem;
  }


  .clinic-space__heading h2 {
    font-size: clamp(
      2.15rem,
      10vw,
      3rem
    );

    line-height: 1.02;

    letter-spacing: -0.04em;
  }


  .clinic-space__heading p {
    max-width: 100%;

    margin-top: 16px;

    font-size: 0.92rem;
  }


  .clinic-space__main {
    height: 62vw;

    min-height: 260px;
    max-height: 360px;

    border-radius: 24px;
  }


  .clinic-space__arrow {
    width: 42px;
    height: 42px;

    font-size: 1rem;
  }


  .clinic-space__arrow--left {
    left: 10px;
  }


  .clinic-space__arrow--right {
    right: 10px;
  }


  .clinic-space__controls {
    margin-top: 14px;

    gap: 16px;
  }


  .clinic-space__counter {
    font-size: 0.75rem;
  }


  .clinic-space__dots {
    gap: 7px;
  }


  .clinic-space__dot {
    width: 8px;
    height: 8px;

    min-width: 8px;
  }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 420px) {

  .clinic-space {
    padding: 38px 0 42px;
  }


  .clinic-space__inner {
    width: calc(100% - 24px);
  }


  .clinic-space__heading h2 {
    font-size: clamp(
      2rem,
      10.5vw,
      2.6rem
    );
  }


  .clinic-space__main {
    min-height: 235px;
    max-height: 320px;
  }


  .clinic-space__arrow {
    width: 38px;
    height: 38px;
  }


  .clinic-space__arrow--left {
    left: 8px;
  }


  .clinic-space__arrow--right {
    right: 8px;
  }

}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .clinic-space__main img,
  .clinic-space__arrow,
  .clinic-space__dot {
    transition: none;
  }

}

/* =========================================================
   TESTIMONIOS
   PACIENTES FELICES. HUMANOS TAMBIÉN.
========================================================= */

.reviews {
  width: 100%;

  padding: 56px 0 36px;

  background: var(--background);

  overflow: hidden;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.reviews-inner {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  margin: 0 auto;

  box-sizing: border-box;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.reviews-heading {
  max-width: 950px;

  margin: 0 0 10px;
}


.reviews-kicker {
  display: block;

  margin: 0 0 16px;

  color: var(--blue);

  font-size: 0.76rem;
  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.reviews-title {
  max-width: 950px;

  margin: 0;

  font-family: "Poppins", sans-serif;

  font-size: clamp(
    2.5rem,
    4vw,
    4.4rem
  );

  font-weight: 700;

  line-height: 1.04;

  letter-spacing: -0.045em;

  color: var(--text);
}


.reviews-title span {
  color: var(--blue-medium);
}


/* =========================================================
   DECORACIONES GENERALES
========================================================= */

.reviews-decoration {
  width: 100%;

  box-sizing: border-box;

  overflow: visible;
}


.reviews-animal {
  display: block;

  height: auto;

  object-fit: contain;

  pointer-events: none;

  user-select: none;
}


/* =========================================================
   PERRO
   ZONA SUPERIOR
========================================================= */

.reviews-decoration--top {
  min-height: 74px;

  margin-top: -62px;

  padding-right: 14px;

  display: flex;

  align-items: flex-end;

  justify-content: flex-end;
}


/* =========================================================
   GRUPO PERRO
========================================================= */

.reviews-dog-group {
  width: 315px;
  max-width: 100%;

  display: flex;

  align-items: flex-end;

  justify-content: flex-end;

  box-sizing: border-box;
}


/* =========================================================
   PERRO
========================================================= */

.reviews-animal--dog {
  width: 112px;

  flex-shrink: 0;

  transform: translateY(-7px);
}


/* =========================================================
   CONECTOR PERRO
========================================================= */

.reviews-link--dog {
  width: 192px;
  height: 72px;

  flex-shrink: 0;

  margin-right: -7px;
  margin-bottom: 1px;
}


/* =========================================================
   GRID DE RESEÑAS
========================================================= */

.reviews-grid {
  width: 100%;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;

  align-items: stretch;

  margin: 10px 0 0;

  padding: 0;

  box-sizing: border-box;
}


/* =========================================================
   TARJETAS
========================================================= */

.review {
  position: relative;

  width: 100%;

  min-width: 0;
  min-height: 340px;

  padding:
    28px
    30px
    26px;

  display: flex;

  flex-direction: column;

  box-sizing: border-box;

  border-radius: 28px;

  overflow: hidden;
}


.review--orange {
  background: var(--orange-soft);
}


.review--blue {
  background: var(--blue-soft);
}


/* =========================================================
   COMILLA INICIAL
========================================================= */

.review-quote {
  display: block;

  height: 34px;

  margin:
    0
    0
    12px;

  font-family: Georgia, serif;

  font-size: 3.1rem;
  font-weight: 700;

  line-height: 0.8;

  color: var(--orange);
}


/* =========================================================
   TEXTO
========================================================= */

.review-text {
  width: 100%;

  margin: 0;

  color: var(--text);

  font-size: 0.96rem;
  font-weight: 400;

  line-height: 1.52;
}


/* =========================================================
   COMILLA FINAL
========================================================= */

.review-endquote {
  display: block;

  height: 28px;

  margin-top: 8px;

  font-family: Georgia, serif;

  font-size: 3.1rem;
  font-weight: 700;

  line-height: 0.7;

  text-align: right;

  color: var(--orange);
}


/* =========================================================
   PIE DE TARJETA
========================================================= */

.review-bottom {
  width: 100%;

  margin-top: auto;

  padding-top: 20px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 18px;

  box-sizing: border-box;
}


/* =========================================================
   NOMBRE
========================================================= */

.review-name {
  margin: 0;

  font-family: "Poppins", sans-serif;

  font-size: 0.9rem;
  font-weight: 700;

  line-height: 1.2;

  color: var(--text);
}


/* =========================================================
   ESTRELLAS
========================================================= */

.review-stars {
  flex-shrink: 0;

  color: var(--orange);

  font-size: 0.95rem;

  line-height: 1;

  letter-spacing: 0.02em;

  white-space: nowrap;
}


/* =========================================================
   GATO
   ZONA INFERIOR
========================================================= */

.reviews-decoration--bottom {
  position: relative;

  width: 100%;

  height: 116px;
  min-height: 116px;

  padding: 0;

  overflow: visible;
}


/* =========================================================
   GRUPO GATO

   IMPORTANTE:
   ya NO usa flex.
   El gato y el SVG se posicionan por separado.
========================================================= */

.reviews-cat-group {
  position: relative;

  width: 430px;
  max-width: 100%;

  height: 116px;

  overflow: visible;
}


/* =========================================================
   GATO
========================================================= */

.reviews-animal--cat {
  position: absolute;

  width: 94px;

  left: 8px;
  bottom: 4px;

  z-index: 2;

  transform: none;
}


/* =========================================================
   CONECTOR GATO
========================================================= */

.reviews-link--cat {
  position: absolute;

  width: 325px;
  height: 120px;

  left: 72px;
  top: -18px;

  margin: 0;

  z-index: 1;

  overflow: visible;
}


/* =========================================================
   SVG DE LOS CONECTORES
========================================================= */

.reviews-link {
  display: block;

  overflow: visible;

  pointer-events: none;
}


/* =========================================================
   LÍNEA PUNTEADA
========================================================= */

.reviews-link path {
  fill: none;

  stroke: #f4bda0;

  stroke-width: 3;

  stroke-dasharray: 7 8;

  stroke-linecap: round;

  stroke-linejoin: round;
}


/* =========================================================
   ARO TERMINAL
========================================================= */

.reviews-link-ring {
  fill: var(--background);

  stroke: #f4bda0;

  stroke-width: 2.5;
}


/* =========================================================
   PUNTO TERMINAL
========================================================= */

.reviews-link-dot {
  fill: var(--orange);
}


/* =========================================================
   IMPORTANTE:
   NO PONER .reviews-divider AQUÍ.

   La sección de UBICACIÓN ya tiene
   border-top: 1px solid var(--line);
   y esa será la única línea divisoria.
========================================================= */


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .reviews {
    padding:
      52px
      0
      34px;
  }


  .reviews-heading {
    margin-bottom: 12px;
  }


  /* PERRO */

  .reviews-decoration--top {
    min-height: 66px;

    margin-top: -48px;

    padding-right: 8px;
  }


  .reviews-dog-group {
    width: 270px;
  }


  .reviews-animal--dog {
    width: 94px;

    transform: translateY(-5px);
  }


  .reviews-link--dog {
    width: 166px;
    height: 64px;
  }


  /* GRID */

  .reviews-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 20px;
  }


  .review {
    min-height: 320px;
  }


  /* GATO */

  .reviews-decoration--bottom {
    height: 104px;
    min-height: 104px;
  }


  .reviews-cat-group {
    width: 370px;
    height: 104px;
  }


  .reviews-animal--cat {
    width: 80px;

    left: 6px;
    bottom: 3px;
  }


  .reviews-link--cat {
    width: 280px;
    height: 105px;

    left: 62px;
    top: -15px;
  }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 700px) {

  .reviews {
    padding:
      46px
      0
      30px;
  }


  .reviews-inner {
    width:
      calc(100% - 28px);
  }


  .reviews-heading {
    margin-bottom: 18px;
  }


  .reviews-title {
    font-size: clamp(
      2.25rem,
      11vw,
      3.3rem
    );
  }


  /* PERRO */

  .reviews-decoration--top {
    min-height: 70px;

    margin-top: 0;

    padding-right: 4px;
  }


  .reviews-dog-group {
    width: 205px;
  }


  .reviews-animal--dog {
    width: 70px;

    transform: none;
  }


  .reviews-link--dog {
    width: 126px;
    height: 54px;
  }


  /* GRID */

  .reviews-grid {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-top: 4px;
  }


  .review {
    min-height: 290px;

    padding:
      25px
      24px
      24px;

    border-radius: 24px;
  }


  /* GATO */

  .reviews-decoration--bottom {
    height: 82px;
    min-height: 82px;
  }


  .reviews-cat-group {
    width: 270px;
    height: 82px;
  }


  .reviews-animal--cat {
    width: 62px;

    left: 3px;
    bottom: 2px;
  }


  .reviews-link--cat {
    width: 205px;
    height: 82px;

    left: 46px;
    top: -8px;
  }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 430px) {

  .review {
    padding:
      24px
      22px
      22px;
  }


  .review-name {
    font-size: 0.82rem;
  }


  .review-stars {
    font-size: 0.86rem;
  }

}

/* =========================================================
   UBICACIÓN
========================================================= */

.location {
  display: grid;

  grid-template-columns:
    1.2fr 0.8fr;

  align-items: stretch;

  gap: 60px;

  border-top: 1px solid var(--line);
}

/* =========================================================
   MAPA
========================================================= */

.map-placeholder {
  min-height: 470px;

  overflow: hidden;

  border-radius: 36px;

  background: var(--blue-soft);
}

.map-placeholder iframe {
  display: block;

  width: 100%;
  height: 100%;

  min-height: 470px;

  border: 0;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h2 {
  margin-bottom: 35px;

  font-family: "Poppins", sans-serif;

  font-size: clamp(2.4rem, 4vw, 4rem);

  line-height: 1;
}

.location-info p {
  margin-bottom: 22px;
}

.simple-link {
  margin-top: 14px;

  color: var(--blue);

  font-weight: 700;
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 760px) {

  .location {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .map-placeholder {
    min-height: 360px;
  }

  .map-placeholder iframe {
    min-height: 360px;
  }

}


/* =========================================================
   FAQ
========================================================= */

.faq-list {
  max-width: 950px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;

  padding: 25px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border: 0;

  background: transparent;

  cursor: pointer;

  text-align: left;

  font-size: 1.02rem;
  font-weight: 700;
}

.faq-question span {
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-answer {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.35s ease,
    opacity 0.3s ease,
    padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;

  opacity: 1;

  padding-bottom: 26px;
}

.faq-answer p {
  max-width: 720px;

  color: var(--muted);
}


/* =========================================================
   CTA FINAL
========================================================= */

.final-cta {
  width: min(calc(100% - 40px), var(--max-width));

  margin: 0 auto;

  background: var(--orange-soft);

  border-radius: 46px;

  overflow: hidden;
}


.final-cta__inner {
  width: 100%;
  min-height: 500px;

  padding: 55px 65px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.18fr)
    minmax(0, 0.82fr);

  align-items: center;

  gap: 25px;
}


/* =========================================================
   TEXTO CTA
========================================================= */

.final-cta__content {
  position: relative;

  z-index: 2;

  max-width: 760px;
}


.final-cta .eyebrow {
  display: block;

  margin: 0 0 26px;

  color: var(--blue);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.final-cta h2 {
  margin: 0;

  max-width: 760px;

  font-family: "Poppins", sans-serif;

  font-size: clamp(3rem, 4.7vw, 4.8rem);

  font-weight: 800;

  line-height: 0.96;

  letter-spacing: -0.052em;

  color: var(--text);
}


.final-cta h2 span {
  display: block;

  color: var(--blue);
}


.final-cta__text {
  margin: 30px 0 0;

  color: var(--text);

  font-size: 1rem;

  line-height: 1.5;
}


/* =========================================================
   BOTÓN CTA
========================================================= */

.final-cta__button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 18px;

  min-width: 310px;

  margin-top: 28px;

  padding: 18px 30px;

  border-radius: 999px;

  background: var(--text);

  color: white;

  font-size: 0.96rem;
  font-weight: 700;

  text-decoration: none;

  transition:
    background 0.22s ease,
    transform 0.22s ease;
}


.final-cta__button:hover {
  background: var(--blue);

  transform: translateY(-2px);
}


.final-cta__button span {
  display: inline-block;

  font-size: 1.3rem;

  font-weight: 400;

  transition: transform 0.22s ease;
}


.final-cta__button:hover span {
  transform: translate(4px, -4px);
}


/* =========================================================
   CONEJO CTA FINAL
========================================================= */

.final-cta__visual {
  position: relative;

  width: 100%;
  height: 390px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
}

.final-cta__visual img {
  display: block;

  width: 680px;
  max-width: none;
  height: auto;

  object-fit: contain;

  transform: scale(1.28);
  transform-origin: center center;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  width: min(calc(100% - 40px), var(--max-width));

  margin: 0 auto;

  padding: 24px 40px 28px;

  display: flex;

  align-items: center;

  background: transparent;
}


.footer__brand {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}


.footer__title-row {
  display: flex;

  align-items: center;

  gap: 11px;
}


.footer__title-row strong {
  font-family: "Poppins", sans-serif;

  font-size: 1.18rem;

  font-weight: 700;

  color: var(--text);
}


.footer__brand p {
  margin: 4px 0 0;

  color: var(--muted);

  font-size: 0.84rem;

  line-height: 1.5;
}


/* INSTAGRAM DEL FOOTER */

.footer__instagram {
  width: 26px;
  height: 26px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  color: var(--blue);

  text-decoration: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.footer__instagram svg {
  display: block;

  width: 100%;
  height: 100%;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.footer__instagram .instagram-dot {
  fill: currentColor;

  stroke: none;
}


.footer__instagram:hover {
  opacity: 0.72;

  transform: translateY(-2px);
}


/* =========================================================
   CTA + FOOTER — TABLET
========================================================= */

@media (max-width: 1050px) {

  .final-cta__inner {
    min-height: 470px;

    padding: 48px 42px;

    grid-template-columns:
      minmax(0, 1.08fr)
      minmax(0, 0.92fr);

    gap: 15px;
  }


  .final-cta h2 {
    font-size: clamp(2.7rem, 6vw, 4rem);
  }


  .final-cta__visual {
    height: 340px;
  }


  .final-cta__visual img {
    width: 470px;

    transform: scale(1.15);
  }

}


/* =========================================================
   CTA + FOOTER — MÓVIL
========================================================= */

@media (max-width: 760px) {

  .final-cta {
    width: calc(100% - 28px);

    border-radius: 32px;
  }


  .final-cta__inner {
    grid-template-columns: 1fr;

    min-height: auto;

    padding: 42px 26px 28px;

    gap: 15px;
  }


  .final-cta h2 {
    font-size: clamp(2.6rem, 12vw, 3.7rem);
  }


  .final-cta__text {
    margin-top: 24px;
  }


  .final-cta__button {
    width: 100%;

    min-width: 0;

    margin-top: 24px;
  }


  .final-cta__visual {
    height: 300px;
  }


  .final-cta__visual img {
    width: 360px;

    max-width: 100%;

    transform: scale(1.05);
  }


  .footer {
    width: calc(100% - 28px);

    padding: 20px 12px 28px;
  }


  .footer__title-row strong {
    font-size: 1.05rem;
  }


  .footer__instagram {
    width: 24px;
    height: 24px;
  }

}


/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.whatsapp-floating {
  position: fixed;

  right: 26px;
  bottom: 26px;

  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 4px solid white;
  border-radius: 50%;

  background: #25d366;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.16);

  z-index: 100;
}

.whatsapp-floating svg {
  width: 32px;
  height: 32px;

  fill: white;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .site-header,
  .hero,
  .section,
  .patients-inner,
  .footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    height: 190px;

    margin-top: 24px;
  }

  .brand-logo {
    width: 520px;
    max-width: 54vw;
  }

  .header-actions {
    width: 330px;

    gap: 12px;

    transform: scale(0.88);
    transform-origin: right center;
  }

  .header-connector {
    display: none;
  }

  .hero {
    min-height: 620px;

    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(0, 1.1fr);

    gap: 35px;

    padding-top: 55px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 5.7vw, 4.8rem);
  }

  .hero-illustration {
    width: 108%;
    max-width: 670px;
  }

  .services-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .more-services {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  /* PACIENTES */

  .patients-section {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .patients-heading {
    margin-bottom: 30px;
  }

  .animals-showcase {
    gap: 18px;
  }

  .animal-art {
    height: 235px;
  }

  .animal-copy {
    padding: 0 4px;
  }

  .animal-copy h3 {
    font-size: 0.96rem;
  }

  .animal-copy p {
    font-size: 0.82rem;
  }

  .patients-cta {
    margin-top: 32px;

    grid-template-columns:
      1fr auto 0.85fr;
  }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 760px) {

  .site-header,
  .hero,
  .section,
  .patients-inner,
  .footer {
    width: calc(100% - 28px);
  }


  /* HEADER */

  .site-header {
    height: auto;

    margin-top: 18px;

    padding-bottom: 30px;

    flex-direction: column;
    align-items: flex-start;

    gap: 22px;
  }

  .brand {
    width: 100%;
  }

  .brand-logo {
    width: 340px;
    max-width: 88vw;
  }

  .header-actions {
    width: 100%;
    height: auto;

    justify-content: flex-start;

    gap: 10px;

    transform: none;
  }

  .instagram-button {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;
  }

  .instagram-icon {
    width: 21px;
    height: 21px;
  }

  .header-whatsapp {
    min-width: 0;
    height: 52px;

    flex: 1;

    padding: 0 18px;

    font-size: 0.78rem;
  }

  .header-connector {
    display: none;
  }


  /* HERO */

  .hero {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 30px;

    padding-top: 35px;
    padding-bottom: 70px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);

    line-height: 0.97;
  }

  .hero-description {
    max-width: none;

    font-size: 1rem;
  }

  .benefits {
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-illustration {
    width: 100%;
    max-width: 650px;

    transform: none;
  }


  /* SECCIONES */

  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .more-services {
    grid-template-columns: 1fr;
  }

  .more-services.open {
    max-height: 900px;
  }


  /* PACIENTES */

  .patients-section {
    padding: 65px 0 55px;
  }

  .patients-heading {
    margin-bottom: 42px;
  }

  .animals-showcase {
    grid-template-columns: 1fr;

    gap: 52px;
  }

  .animal-dog,
  .animal-cat,
  .animal-exotic {
    padding-top: 0;
  }

  .animal-art {
    height: 300px;

    margin-bottom: 16px;
  }

  .animal-copy {
    max-width: 420px;

    padding: 0;
  }

  .animal-copy p {
    max-width: 330px;
  }

  .patients-cta {
    margin-top: 45px;

    grid-template-columns: 1fr;

    gap: 20px;

    padding: 24px;
  }

  .patients-cta-divider {
    width: 100%;
    height: 1px;
  }

  .patients-whatsapp {
    justify-content: space-between;
  }

  /* UBICACIÓN */

  .location {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .map-placeholder {
    min-height: 360px;
  }


  /* CTA FINAL */

  .final-cta {
    min-height: 480px;

    padding: 50px 26px;
  }

  .final-decoration {
    right: -18%;

    font-size: 13rem;
  }


  /* FOOTER */

  .footer {
    align-items: flex-start;

    flex-direction: column;
  }


  /* WHATSAPP */

  .whatsapp-floating {
    width: 58px;
    height: 58px;

    right: 16px;
    bottom: 16px;
  }
}

