/* 
  Estilos Premium: Pet Zoone Puebla (Boutique Organic Blue)
  Framework: Diseño Web Premium (Raptor Marketer Vanilla CSS) + Neuromarketing
*/

:root {
  /* CAMBIO DE COLOR PRINCIPAL: Extraído de la captura del cliente (Teal / Azul verdoso) */
  --primary: #287476;
  --primary-hover: #1d5557;
  --primary-light: rgba(40, 116, 118, 0.05);
  --primary-faded: rgba(40, 116, 118, 0.2);

  /* Fondos Orgánicos / Cálidos de Opción 3 */
  --bg-light: #fafaf9;
  --bg-white: #ffffff;
  --bg-dark: #181c16;

  /* Textos */
  --text-dark: #0f172a;
  --text-gray: #475569;

  /* TIPOGRAFÍA (Estandarizada a marca) */
  --font-display: 'Noto Serif', serif;
  --font-body: 'Noto Sans', sans-serif;

  /* ESPACIADO & BORDES */
  --radius-sm: 1rem;
  --radius-md: 2rem;
  --radius-lg: 3rem;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

/* UTILIDADES BASICAS */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-white {
  color: var(--bg-white);
}

.text-slate-600 {
  color: var(--text-gray);
}

.italic {
  font-style: italic;
}

.font-bold {
  font-weight: 700;
}

.relative {
  position: relative;
}

.shadow-2xl {
  box-shadow: var(--shadow-lg);
}

.section-spaced {
  padding: 6rem 0;
}

.w-full-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

/* ACCESIBILIDAD */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 2000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

main:focus {
  outline: none;
}

/* COMPONENTES TIPOGRÁFICOS */
.title-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.subtitle {
  font-size: 1.25rem;
  margin-top: 1rem;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary-faded);
}

.btn--outline:hover {
  background-color: var(--primary-light);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn--xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

/* HEADER TRANSPARENTE */
.home-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

@media (min-width: 768px) {
  .home-header:hover {
    background-color: rgba(24, 28, 22, 0.85);
    /* var(--bg-dark) con opacidad */
    backdrop-filter: blur(8px);
  }
}

.home-header.menu-open {
  background-color: rgba(24, 28, 22, 0.95);
  backdrop-filter: blur(10px);
}

.header__inner {
  padding: 1.5rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .home-header:hover .header__logo {
    color: var(--bg-white);
  }
}

.home-header.menu-open .header__logo {
  color: var(--bg-white);
}

.header__logo-icon {
  color: var(--primary);
  font-size: 2rem;
}

.header__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

/* NAV LINKS WRAPPER */
.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .home-header:hover .nav-link {
    color: rgba(255, 255, 255, 0.8);
  }

  .home-header:hover .nav-link:hover {
    color: var(--bg-white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  }
}

/* DROPDOWN DESKTOP */
.dropdown-parent {
  position: relative;
}

.dropdown-icon {
  font-size: 1.25rem;
  margin-left: 0.25rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: rgba(24, 28, 22, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0;
  min-width: 200px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  list-style: none;
}

@media (min-width: 768px) {
  .dropdown-parent:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

/* MOBILE TOGGLE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

.home-header.menu-open .menu-toggle {
  color: var(--bg-white);
}

/* MOBILE RESPONSIVE */
@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }

  .nav-links-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(24, 28, 22, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 2rem;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
    box-shadow: var(--shadow-md);
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
  }

  .nav-links-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.5rem;
  }

  .nav-link {
    color: var(--bg-white);
    font-size: 1.125rem;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-parent {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background-color: transparent;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
  }

  .dropdown-parent.open .dropdown-menu {
    display: block;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* HERO SECTION */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
  }
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__container {
    flex-direction: row;
  }
}

.hero__content,
.hero__visual {
  flex: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.hero__title .italic {
  color: var(--primary);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-gray);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* MASCARA ORGÁNICA */
.hero__visual {
  position: relative;
}

.hero__image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--primary-light);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mask--organic {
  /* La forma orgánica curva generada en Stitch */
  border-radius: 60% 40% 70% 30% / 30% 67% 33% 70%;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
}

/* BADGES MÓVILES */
.floating-badge {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-badge__icon {
  background-color: var(--primary-light);
  padding: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge__icon span {
  color: var(--primary);
}

.floating-badge__text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.floating-badge__text span {
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* TRUST BAR */
.trust-bar {
  background-color: var(--primary-light);
  padding: 3rem 0;
  border-top: 1px solid var(--primary-faded);
  border-bottom: 1px solid var(--primary-faded);
}

.trust-bar__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  opacity: 0.4;
  filter: grayscale(100%);
}

@media (min-width: 1024px) {
  .trust-bar__logos {
    gap: 6rem;
  }
}

.trust-bar__logo {
  height: 2rem;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .trust-bar__logo {
    height: 2.5rem;
  }
}

/* SERVICES GRID */
.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  cursor: pointer;
}

.service-card:hover .service-card__img {
  transform: scale(1.1);
}

.service-card__image-container {
  position: relative;
  height: 320px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* COMPONENT: Split Container */
.container--split {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .container--split {
    flex-direction: row;
  }
}

/* FEAR FREE SECTION */
.bg-soft-primary {
  background-color: var(--primary-light);
}

.fear-free__image,
.fear-free__content {
  flex: 1;
}

.fear-free__image img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.rotate-subtle {
  transform: rotate(2deg);
}

.fear-free__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge-outline {
  display: inline-block;
  background: var(--bg-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-faded);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  align-self: flex-start;
}

.fear-free__desc {
  font-size: 1.125rem;
  color: var(--text-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.feature-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* FACILITIES GALLERY */
.gallery-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
  }

  .gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

.gallery__label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-dark);
}

/* TESTIMONIALS & DARK BGS */
.bg-primary-solid {
  background-color: var(--primary);
  color: var(--bg-white);
}

.bg-primary-solid .title-display,
.bg-primary-solid .subtitle,
.bg-primary-solid .text-gray,
.bg-primary-solid h2,
.bg-primary-solid h3,
.bg-primary-solid p {
  color: var(--bg-white) !important;
}

.testimonials__scroll {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 2rem;
  scrollbar-width: none;
  /* Firefox */
}

.testimonials__scroll::-webkit-scrollbar {
  display: none;
}

/* Chrome */
.testimonial-card {
  min-width: 320px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fill-star {
  color: #fbbf24;
  font-variation-settings: 'FILL' 1;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

/* LOCATION */
.location__content {
  flex: 1;
}

.location__info-group {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location__map-wrapper {
  flex: 1;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--primary-light);
}

.location__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location__map-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--primary-faded);
  pointer-events: none;
}

.location__map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marker-dot {
  width: 1rem;
  height: 1rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.pulse {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 41, 59, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(30, 41, 59, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(30, 41, 59, 0);
  }
}

/* FINAL CTA */
.final-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--primary-faded);
}

@media (min-width: 1024px) {
  .final-cta__inner {
    padding: 5rem;
  }
}

/* FOOTER */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--primary-light);
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
}

.footer__socials {
  display: flex;
  gap: 2rem;
}

.footer__socials a {
  color: var(--text-gray);
}

.footer__socials a:hover {
  color: var(--primary);
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* ==========================================
   UTILIDADES ADICIONALES
   ========================================== */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.opacity-60 {
  opacity: 0.6;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.font-display {
  font-family: var(--font-display);
}

/* SERVICE CARD LINK FIX */
.service-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card__arrow {
  font-size: 0.85em;
  font-weight: 400;
  margin-left: 0.3rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.service-card--link:hover .service-card__arrow {
  opacity: 1;
}

/* FEATURE TITLE */
.feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ==========================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================== */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  animation: float-wa 3.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.floating-wa:hover {
  transform: scale(1.12);
}

@keyframes float-wa {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-wa {
    animation: none;
  }
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--primary-faded);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-gray);
  line-height: 1.75;
}

.faq-answer a {
  color: var(--primary);
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ==========================================
   PÁGINAS DE SERVICIO — HERO
   ========================================== */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(40, 116, 118, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .page-hero__container {
    flex-direction: row;
    align-items: center;
  }
}

.page-hero__content {
  flex: 1;
}

.page-hero__visual {
  flex: 1;
}

.page-hero__img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-gray);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li+li::before {
  content: '›';
  margin-right: 0.4rem;
  color: var(--text-gray);
  opacity: 0.5;
}

/* PAGE HERO TITLE */
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.page-hero__title span {
  color: var(--primary);
}

.page-hero__lead {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
}

.page-hero__lead strong {
  color: var(--text-dark);
}

.page-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.page-hero__trust {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* ==========================================
   CONDITIONS GRID (¿Quién necesita X?)
   ========================================== */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .conditions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.condition-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.condition-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.condition-card__icon {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.condition-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.condition-card__desc {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ==========================================
   TREATMENTS LIST
   ========================================== */
.treatment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.treatment-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.treatment-item:hover {
  box-shadow: var(--shadow-md);
}

.treatment-item__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-item__icon span {
  color: var(--primary);
}

.treatment-item__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.treatment-item__desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ==========================================
   PROCESS STEPS
   ========================================== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.process-step__desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ==========================================
   RELATED SERVICES (interlinking)
   ========================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related-card {
  display: block;
  text-decoration: none;
  padding: 1.5rem 1.25rem;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-faded);
  text-align: center;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.related-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--primary);
}

.related-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.related-card__title {
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================
   CTA BANNER (en páginas de servicio)
   ========================================== */
.cta-banner {
  background-color: var(--primary);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.cta-banner__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn--white {
  background-color: var(--bg-white);
  color: var(--primary);
  font-weight: 700;
}

.btn--white:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   SECTION INTRO (descripción GEO 60 palabras)
   ========================================== */
.section-intro {
  background-color: var(--bg-white);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 2rem 2.5rem;
  margin: 0 auto;
  max-width: 900px;
}

.section-intro p {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.section-intro strong {
  color: var(--text-dark);
}

/* ==========================================
   PÁGINAS LEGALES
   ========================================== */
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 10rem 1.5rem 6rem;
}

.legal-container h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.legal-container>p:first-of-type {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--primary-faded);
}

.legal-container h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-container p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-container ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-container ul li {
  margin-bottom: 0.4rem;
}

.legal-container a {
  color: var(--primary);
  font-weight: 500;
}

.legal-container a:hover {
  text-decoration: underline;
}

.legal-container strong {
  color: var(--text-dark);
}

/* ==========================================
   BOTÓN FLOTANTE WHATSAPP — div version
   ========================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(40, 116, 118, 0.45);
  z-index: 999;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: float-wa 3.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.12);
}

.floating-wa-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .floating-wa-btn {
    animation: none;
  }
}

/* ==========================================
   BOTÓN FLOTANTE LLAMADA (solo móvil)
   ========================================== */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(40, 116, 118, 0.4);
  z-index: 999;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(40, 116, 118, 0.5);
}

.floating-call-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .floating-call-btn {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-call-btn {
    animation: none;
  }
}

/* ==========================================
   MODAL LLAMADA
   ========================================== */
.call-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2100;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  backdrop-filter: blur(5px);
}

.call-modal.active {
  display: flex;
}

.call-modal-content {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.call-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.call-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-call-confirm {
  background: var(--primary);
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-call-confirm:hover {
  opacity: 0.88;
}

.btn-call-cancel {
  background: transparent;
  color: var(--text-gray);
  padding: 0.75rem;
  border: 1.5px solid #ccc;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-call-cancel:hover {
  background: #f5f5f5;
  border-color: #999;
  color: var(--text-dark);
}

/* ==========================================
   MODAL WHATSAPP
   ========================================== */
.wa-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2100;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.wa-modal.active {
  display: flex;
}

.wa-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease-out;
}

.wa-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.wa-modal-close:hover {
  color: var(--text-dark);
}

.wa-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #075e54;
  margin-bottom: 0.25rem;
}

.wa-modal-content>p {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
  border-color: #25d366;
  outline: none;
}

.btn-wa-submit {
  width: 100%;
  padding: 0.9rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.3s ease;
  font-family: var(--font-body);
}

.btn-wa-submit:hover {
  background: #128c7e;
}

/* ============================================
   PATRÓN DE FONDO VETERINARIO SVG
============================================ */
.bg-pattern-vet {
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* z-index context */
}

/* Apply background via pseudo-element for animation and opacity control */
.bg-pattern-vet::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  /* Opacidad aumentada y ajustada a requerimiento agresivo */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg stroke='%230f172a' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M38 30 H42 V38 H50 V42 H42 V50 H38 V42 H30 V38 H38 Z' /%3E%3Cpath d='M180 60 C180 60 165 45 165 35 C165 25 178 25 180 35 C182 25 195 25 195 35 C195 45 180 60 180 60 Z' /%3E%3Cg transform='rotate(30 120 120)'%3E%3Cpath d='M112 116 C107 116 107 108 112 108 C115 108 118 111 118 113 L132 113 C132 111 135 108 138 108 C143 108 143 116 138 116 C143 116 143 124 138 124 C135 124 132 121 132 119 L118 119 C118 121 115 124 112 124 C107 124 107 116 112 116 Z' /%3E%3C/g%3E%3Cg transform='rotate(-20 50 190)'%3E%3Cpath d='M50 195 C40 195 35 185 40 180 C45 175 55 175 60 180 C65 185 60 195 50 195 Z' /%3E%3Ccircle cx='35' cy='173' r='4'/%3E%3Ccircle cx='44' cy='165' r='4'/%3E%3Ccircle cx='56' cy='165' r='4'/%3E%3Ccircle cx='65' cy='173' r='4'/%3E%3C/g%3E%3Cg transform='rotate(45 200 190)'%3E%3Cpath d='M200 195 C193 195 190 187 195 183 C200 179 205 179 205 183 C210 187 207 195 200 195 Z' /%3E%3Ccircle cx='188' cy='178' r='3'/%3E%3Ccircle cx='195' cy='172' r='3'/%3E%3Ccircle cx='205' cy='172' r='3'/%3E%3Ccircle cx='212' cy='178' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  background-repeat: repeat;
  animation: floatBackgroundVet 20s linear infinite;
  will-change: background-position;
}

@media (max-width: 768px) {
  .bg-pattern-vet::before {
    animation: floatBackgroundVet 30s linear infinite;
  }
}

@keyframes floatBackgroundVet {
  0% {
    background-position: 0px 0px;
  }

  100% {
    background-position: -240px -240px;
  }
}