/* ============================================================
   The Groomer's Art — Estética canina premium (Envigado)
   Estilo: boutique pet spa cálido, elegante, mobile-first.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --crema:      #FAF6F0;   /* base */
  --crema-2:    #F1E9DE;   /* superficie cálida */
  --tinta:      #1A1714;   /* texto / sección oscura */
  --tinta-2:    #2A241F;   /* superficie oscura */
  --caramelo:   #C97B4A;   /* acento terracota */
  --caramelo-d: #B0653A;
  --salvia:     #8A9A7B;   /* secundario */
  --salvia-d:   #6F7F61;
  --linea:      rgba(26, 23, 20, .12);
  --texto:      #3A342E;
  --texto-mute: #74695E;

  --radio:   22px;
  --radio-lg: 34px;
  --sombra:  0 18px 50px -20px rgba(26, 23, 20, .28);
  --sombra-s: 0 8px 24px -12px rgba(26, 23, 20, .22);

  --ancho: 1200px;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Lenis desactiva el smooth nativo cuando está activo */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  background: var(--crema);
  color: var(--texto);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--caramelo);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--tinta); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
h1 em, h2 em, .nav__logotext em { font-style: italic; color: var(--caramelo); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--ancho); margin-inline: auto;
  padding: 16px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
/* Fondo translúcido cuando se hace scroll (toggled por JS) */
.nav.is-scrolled {
  background: rgba(250, 246, 240, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--linea);
}

.nav__logo { display: flex; align-items: center; gap: 8px; }
.nav__paw { font-size: 1.15rem; }
.nav__logotext { font-family: var(--serif); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--tinta); letter-spacing: -.01em; }

/* Logo blanco sobre el hero, oscuro tras scroll */
.nav:not(.is-scrolled) .nav__logotext,
.nav:not(.is-scrolled) .nav__links a { color: #fff; }
.nav:not(.is-scrolled) .nav__logotext em { color: #F2C9A8; }

.nav__links { display: none; gap: 30px; font-weight: 600; font-size: .95rem; }
.nav__links a { position: relative; transition: opacity .25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--caramelo); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { opacity: .85; }

.nav__cta { display: none; }

/* Burger móvil */
.nav__burger {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav__burger span { height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav:not(.is-scrolled) .nav__burger { color: #fff; }
.nav.is-scrolled .nav__burger { color: var(--tinta); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(250, 246, 240, .96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px clamp(20px, 5vw, 48px) 22px;
  border-top: 1px solid var(--linea);
}
.nav__mobile a { padding: 12px 4px; font-weight: 600; color: var(--tinta); border-bottom: 1px solid var(--linea); }
.nav__mobile a:last-child { border: 0; margin-top: 8px; justify-content: center; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  will-change: transform;
}
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--solid { background: var(--caramelo); color: #fff; box-shadow: var(--sombra-s); }
.btn--solid:hover { background: var(--caramelo-d); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(201, 123, 74, .6); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--tinta); transform: translateY(-2px); border-color: #fff; }
.btn__wa { font-size: 1.05rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 118%; object-fit: cover; object-position: center 35%;
  transform: translateY(0); will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,23,20,.42) 0%, rgba(26,23,20,.05) 35%, rgba(26,23,20,.72) 100%),
    linear-gradient(90deg, rgba(26,23,20,.35), transparent 60%);
}
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--ancho); margin-inline: auto; padding: 0 clamp(20px, 5vw, 48px) clamp(64px, 12vh, 120px); }

.hero__eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: #F2C9A8; margin-bottom: 20px;
}
.hero__title { font-size: clamp(2.7rem, 8vw, 6rem); font-weight: 600; color: #fff; margin-bottom: 22px; }
.hero__title em { color: #F2C9A8; }
.reveal-line { display: block; overflow: hidden; }
.hero__sub { max-width: 46ch; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255, 255, 255, .92); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--tinta); color: var(--crema); padding: 22px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee__group span { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic; white-space: nowrap; }
.marquee__group i { color: var(--caramelo); font-style: normal; font-size: 1.4rem; }

/* ============================================================
   SECCIONES (comunes)
   ============================================================ */
.section { padding: clamp(72px, 12vh, 140px) 0; }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--caramelo); margin-bottom: 16px; display: inline-block; }
.section__eyebrow--light { color: #F2C9A8; }
.section__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.section__title--light { color: #fff; }
.section__lead { font-size: 1.1rem; color: var(--texto-mute); max-width: 60ch; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.scard {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio-lg);
  padding: 30px; box-shadow: var(--sombra-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-color: rgba(201, 123, 74, .4); }
.scard__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.scard h3 { font-size: 1.4rem; }
.scard__price { font-family: var(--sans); font-weight: 700; color: var(--caramelo); font-size: 1rem; white-space: nowrap; }
.scard p { color: var(--texto-mute); }
.scard__tag {
  position: absolute; top: -12px; left: 26px; background: var(--salvia); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.scard__tag--gold { background: var(--caramelo); }
.scard--feature { background: var(--crema-2); border-color: transparent; }
.scard--spa { background: linear-gradient(160deg, #fff, #FBF0E7); }
.scard--extras { background: var(--tinta); color: var(--crema); }
.scard--extras h3 { color: #fff; }
.scard__extras { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.scard__extras li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.scard__extras li:last-child { border: 0; padding-bottom: 0; }
.scard__extras b { color: #F2C9A8; white-space: nowrap; }

/* ============================================================
   HISTORIA (oscura)
   ============================================================ */
.story { background: var(--tinta); color: rgba(255, 255, 255, .86); }
.story__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.story__media { border-radius: var(--radio-lg); overflow: hidden; box-shadow: var(--sombra); }
.story__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .8s var(--ease); }
.story__media:hover img { transform: scale(1.04); }
.story__p { margin-bottom: 22px; font-size: 1.08rem; }
.story__p strong { color: #fff; font-weight: 700; }
.story__quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.2; color: #F2C9A8; margin: 8px 0 30px; padding-left: 22px;
  border-left: 3px solid var(--caramelo);
}
.story__stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 34px; }
.story__stats div { display: flex; flex-direction: column; }
.story__stats b { font-family: var(--serif); font-size: 2.2rem; color: #fff; line-height: 1; }
.story__stats span { font-size: .9rem; color: rgba(255, 255, 255, .6); margin-top: 6px; }

/* ============================================================
   EQUIPO
   ============================================================ */
.team__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.tcard {
  text-align: center; background: #fff; border: 1px solid var(--linea);
  border-radius: var(--radio-lg); padding: 38px 26px; box-shadow: var(--sombra-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.tcard__photo {
  width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--crema-2); box-shadow: 0 0 0 2px var(--caramelo);
}
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tcard:hover .tcard__photo img { transform: scale(1.08); }
.tcard h3 { font-size: 1.4rem; margin-bottom: 6px; }
.tcard__role { color: var(--caramelo); font-weight: 600; font-size: .95rem; }

/* ============================================================
   GALERÍA (mosaico)
   ============================================================ */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gitem { position: relative; overflow: hidden; border-radius: var(--radio); box-shadow: var(--sombra-s); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gitem:hover img { transform: scale(1.07); }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials { background: var(--crema-2); }
.testi__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.tqcard {
  background: #fff; border-radius: var(--radio-lg); padding: 32px; box-shadow: var(--sombra-s);
  border: 1px solid var(--linea); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tqcard:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.tqcard__stars { color: var(--caramelo); letter-spacing: 3px; margin-bottom: 14px; }
.tqcard blockquote { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--tinta); margin-bottom: 18px; }
.tqcard blockquote strong { color: var(--caramelo-d); }
.tqcard figcaption { font-size: .9rem; color: var(--texto-mute); font-weight: 600; }

/* ============================================================
   AGENDAR
   ============================================================ */
.booking { background: var(--crema); }
.booking__grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); align-items: start; }
.booking__perks { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.booking__perks li { font-weight: 600; color: var(--texto); }

.bform {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--sombra); display: grid; gap: 28px;
}
.bform__step { border: 0; display: grid; gap: 16px; }
.bform__step legend { font-family: var(--serif); font-size: 1.2rem; color: var(--tinta); margin-bottom: 4px; font-weight: 600; }
.bform__row { display: grid; grid-template-columns: 1fr; gap: 16px; }

.field { display: grid; gap: 7px; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--texto); letter-spacing: .01em; }
.field input, .field select {
  font-family: var(--sans); font-size: 16px; /* 16px = anti-zoom iOS */
  padding: 13px 15px; border: 1.5px solid var(--linea); border-radius: 14px;
  background: var(--crema); color: var(--tinta); width: 100%;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--caramelo); background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 123, 74, .14);
}
.field input.is-error, .field select.is-error { border-color: #C0492E; box-shadow: 0 0 0 4px rgba(192, 73, 46, .12); }

/* Groomers (radio cards) */
.groomers { display: grid; grid-template-columns: 1fr; gap: 12px; }
.groomer {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--crema); border: 1.5px solid var(--linea); border-radius: 18px;
  padding: 14px 16px; cursor: pointer; transition: border-color .25s, background .25s, transform .2s, box-shadow .25s;
}
.groomer:hover { transform: translateY(-2px); border-color: rgba(201, 123, 74, .5); }
.groomer.is-active { border-color: var(--caramelo); background: #fff; box-shadow: 0 0 0 3px rgba(201, 123, 74, .16); }
.groomer__avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--crema-2); display: grid; place-items: center; font-weight: 700; color: var(--salvia-d);
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--linea);
}
.groomer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.groomer__info { display: grid; gap: 2px; }
.groomer__name { font-weight: 700; color: var(--tinta); }
.groomer__spec { font-size: .85rem; color: var(--texto-mute); }

/* Slots */
.slots { display: grid; gap: 20px; }
.slots__hint, .slots__msg { color: var(--texto-mute); font-size: .95rem; }
.slots__msg--err { color: #C0492E; font-weight: 600; }
.slotday { display: grid; gap: 10px; }
.slotday__label { font-weight: 700; color: var(--tinta); font-size: .9rem; text-transform: capitalize; }
.slotday__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--tinta);
  background: var(--crema); border: 1.5px solid var(--linea); border-radius: 999px;
  padding: 9px 15px; cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--caramelo); transform: translateY(-1px); }
.chip.is-active { background: var(--caramelo); border-color: var(--caramelo); color: #fff; box-shadow: var(--sombra-s); }

/* Submit + spinner */
.bform__submit { position: relative; }
.spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  border-radius: 50%; display: none; animation: spin .7s linear infinite;
}
.bform__submit.is-loading .spinner { display: inline-block; }
.bform__submit.is-loading { opacity: .85; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.bform__status { font-weight: 600; min-height: 1em; }
.bform__status.is-ok { color: var(--salvia-d); }
.bform__status.is-err { color: #C0492E; }
/* Confirmación linda */
.confirm {
  background: linear-gradient(160deg, #FBF0E7, #fff);
  border: 1.5px solid rgba(201, 123, 74, .35); border-radius: var(--radio-lg);
  padding: 30px; text-align: center; box-shadow: var(--sombra-s);
}
.confirm__emoji { font-size: 2.4rem; }
.confirm h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.confirm p { color: var(--texto-mute); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--tinta); color: rgba(255, 255, 255, .7); padding: clamp(56px, 8vw, 88px) 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer .nav__logotext { color: #fff; }
.footer__brand p { margin-top: 14px; max-width: 40ch; }
.footer__col h4 { color: #fff; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 14px; }
.footer__col p { margin-bottom: 12px; }
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: #F2C9A8; }
.footer__hours { color: rgba(255, 255, 255, .55); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   FLOTANTES
   ============================================================ */
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* Chat widget */
.chat { position: fixed; bottom: 22px; right: 22px; z-index: 95; }
.chat__toggle {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--caramelo); color: #fff; box-shadow: 0 14px 30px -10px rgba(201, 123, 74, .7);
  display: grid; place-items: center; transition: transform .3s var(--ease), background .3s;
}
.chat__toggle:hover { transform: scale(1.06) translateY(-2px); background: var(--caramelo-d); }
.chat__toggle-icon, .chat__toggle-close { grid-area: 1/1; font-size: 1.5rem; transition: opacity .25s, transform .25s; }
.chat__toggle-close { opacity: 0; transform: rotate(-90deg) scale(.6); font-size: 1.25rem; }
.chat.is-open .chat__toggle-icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__toggle-close { opacity: 1; transform: rotate(0) scale(1); }

.chat__panel[hidden] { display: none !important; }
.chat__panel {
  position: absolute; bottom: 74px; right: 0;
  width: min(360px, calc(100vw - 44px)); height: min(520px, calc(100dvh - 140px));
  background: #fff; border-radius: 24px; box-shadow: var(--sombra); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--linea);
  transform-origin: bottom right; animation: chatIn .3s var(--ease);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.chat__header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--tinta); color: #fff; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--caramelo); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.chat__header strong { display: block; font-family: var(--sans); font-size: .95rem; }
.chat__header small { color: rgba(255, 255, 255, .6); font-size: .78rem; }

.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--crema); }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: .92rem; line-height: 1.45; word-wrap: break-word; }
.msg--bot { background: #fff; border: 1px solid var(--linea); border-bottom-left-radius: 6px; align-self: flex-start; color: var(--texto); }
.msg--user { background: var(--caramelo); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg--typing { display: inline-flex; gap: 4px; align-self: flex-start; background: #fff; border: 1px solid var(--linea); padding: 14px 16px; border-radius: 18px; border-bottom-left-radius: 6px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--texto-mute); animation: bounce 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--linea); background: #fff; }
.chat__form input { flex: 1; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 999px; font-family: var(--sans); }
.chat__form input:focus { outline: none; border-color: var(--caramelo); }
.chat__form button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--caramelo); color: #fff; cursor: pointer; font-size: 1.1rem; transition: background .25s, transform .2s; }
.chat__form button:hover { background: var(--caramelo-d); transform: scale(1.05); }

/* ============================================================
   REVEALS (estado inicial; GSAP anima a visible)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); }
.is-inview { opacity: 1; transform: none; }

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (min-width: 720px) {
  .bform__row { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .testi__grid { grid-template-columns: repeat(3, 1fr); }
  .groomers { grid-template-columns: 1fr; }
}

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger, .nav__mobile { display: none !important; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .story__grid { grid-template-columns: 0.9fr 1.1fr; }
  .booking__grid { grid-template-columns: 0.85fr 1.15fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
}

/* ============================================================
   ACCESIBILIDAD — reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__img { height: 100% !important; }
  .marquee__track { transform: none !important; }
  .hero__scroll span { animation: none; }
}
