/* ═══════════ REHAB-A-PET ═══════════ */

@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700; font-display: swap;
}

:root {
  --deep:   #0d2429;
  --deep-2: #123236;
  --teal:   #1a7d8c;
  --aqua:   #7fd4dc;
  --cream:  #f4efe4;
  --cream-2:#ebe3d3;
  --coral:  #ff7a59;
  --yellow: #ffc757;
  --ink:    #1d2226;
  --font-d: "Archivo Black", system-ui, sans-serif;
  --font-b: "Space Grotesk", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
@media (hover: hover) { * { cursor: none !important; } }

::selection { background: var(--teal); color: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ═══════════ GRAIN ═══════════ */
.grain {
  position: fixed; inset: -100px;
  pointer-events: none; z-index: 9000;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 25% { transform: translate(-30px,20px); }
  50% { transform: translate(20px,-30px); } 75% { transform: translate(-15px,-15px); }
  100% { transform: translate(0,0); }
}

/* ═══════════ CURSOR ═══════════ */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; }
.cursor {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--coral);
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              background .3s, border-color .3s;
}
.cursor-ring.is-active {
  width: 84px; height: 84px;
  background: rgba(255, 122, 89, .92);
  border-color: transparent;
}
.cursor-ring__label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--deep); opacity: 0; transition: opacity .2s;
}
.cursor-ring.is-active .cursor-ring__label { opacity: 1; }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ═══════════ PRELOADER ═══════════ */
.preloader { position: fixed; inset: 0; z-index: 10000; }
.preloader__panel {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--deep);
}
.preloader__panel--l { left: 0; }
.preloader__panel--r { right: 0; }
.preloader__inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--cream);
}
.preloader__paw { color: var(--aqua); }
.preloader__count {
  font-family: var(--font-d); font-size: clamp(3rem, 8vw, 6rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.preloader__label {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--aqua);
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  transition: padding .4s var(--ease-out), background .4s;
}
.nav.is-scrolled {
  padding: .6rem 2rem;
  background: rgba(13, 36, 41, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__logo {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--aqua);
}
.nav__word {
  font-family: var(--font-d); font-size: 1.05rem; color: var(--cream);
  letter-spacing: .02em;
}
.nav__word em { font-style: normal; color: var(--aqua); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  color: var(--cream); font-size: .85rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: .3rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; overflow: hidden; position: relative;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  will-change: transform;
}
.btn__text { position: relative; z-index: 2; padding: .85rem 1.7rem; display: inline-block; }
.btn--big .btn__text { padding: 1.1rem 2.3rem; font-size: .95rem; }
.btn--solid { background: var(--coral); color: var(--deep); }
.btn--solid::before {
  content: ""; position: absolute; inset: 0;
  background: var(--yellow); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--solid:hover::before { transform: translateY(0); }
.btn--ghost { color: var(--cream); border: 1.5px solid rgba(244,239,228,.35); }
.btn--ghost:hover { border-color: var(--aqua); color: var(--aqua); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  background:
    radial-gradient(1200px 800px at 78% 18%, rgba(26,125,140,.5), transparent 60%),
    radial-gradient(900px 700px at 12% 85%, rgba(255,122,89,.16), transparent 55%),
    var(--deep);
  color: var(--cream);
  display: flex; align-items: center;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
}
.hero__bg-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d);
  font-size: clamp(14rem, 38vw, 34rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(127,212,220,.07);
  letter-spacing: .02em;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.hero__inner { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero__eyebrow {
  overflow: hidden; margin-bottom: 1.6rem;
}
.hero__eyebrow span {
  display: inline-block;
  font-size: .85rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--aqua); font-weight: 500;
}
.hero__title {
  font-family: var(--font-d);
  font-size: clamp(3.4rem, 11.5vw, 10.5rem);
  line-height: .92; letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__word { display: inline-block; will-change: transform; }
.hero__word em {
  font-style: normal; color: var(--coral);
  position: relative;
}
.hero__sub {
  max-width: 34rem; margin-top: 2.2rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65;
  color: rgba(244,239,228,.72);
}
.hero__actions { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }

.hero__float {
  position: absolute; z-index: 2;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  will-change: transform;
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__float--1 { width: clamp(140px, 17vw, 260px); aspect-ratio: 3/4; top: 12%; right: 9%;  rotate: 6deg; }
.hero__float--2 { width: clamp(130px, 15vw, 230px); aspect-ratio: 4/5; top: 55%; right: 20%; rotate: -5deg; }
.hero__float--3 { width: clamp(150px, 18vw, 280px); aspect-ratio: 4/3; bottom: 9%; right: 6%; rotate: 4deg; }
.hero__float--4 { width: clamp(110px, 13vw, 200px); aspect-ratio: 4/5; top: 14%; right: 30%; rotate: -8deg; }
@media (max-width: 900px) {
  .hero__float--4 { display: none; }
  .hero__float--1 { right: 4%; top: 9%; }
  .hero__float--2 { right: 30%; top: auto; bottom: 26%; }
  .hero__float--3 { right: 5%; bottom: 8%; }
}
@media (max-width: 560px) {
  .hero__float--2 { display: none; }
  .hero__float--3 { width: 130px; }
}

.hero__badge {
  position: absolute; z-index: 4;
  left: 3rem; bottom: 3rem;
  width: 110px; height: 110px;
  color: var(--aqua);
}
.hero__badge-ring { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.hero__badge-ring text {
  fill: currentColor; font-size: 10.5px; letter-spacing: .22em;
  font-family: var(--font-b); font-weight: 700;
}
.hero__badge-arrow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .hero__badge { display: none; } }

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(244,239,228,.12);
  border-bottom: 1px solid rgba(244,239,228,.12);
}
.marquee--a { background: var(--teal); border: none; }
.marquee--b { background: var(--yellow); color: var(--deep); }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--font-d); font-size: clamp(1rem, 2vw, 1.5rem);
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--deep); padding-right: .5em;
}
.marquee--b .marquee__track span { color: var(--ink); }

/* ═══════════ MANIFESTO ═══════════ */
.manifesto {
  padding: clamp(6rem, 14vw, 12rem) 2rem;
  background: var(--cream);
}
.manifesto__text {
  max-width: 62rem; margin: 0 auto;
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 4.2vw, 3.6rem);
  line-height: 1.25; letter-spacing: -.01em;
  color: var(--ink);
}
.manifesto__text .w { opacity: .14; display: inline-block; }

/* ═══════════ STATS ═══════════ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--cream-2);
  border-top: 1px solid rgba(29,34,38,.1);
}
.stat {
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(29,34,38,.1);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-d); font-size: clamp(2.2rem, 5vw, 4.2rem);
  color: var(--teal); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num .sfx { color: var(--coral); }
.stat__label {
  margin-top: .7rem; font-size: .8rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(29,34,38,.6);
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(29,34,38,.1); }
}

/* ═══════════ SECTION HEAD ═══════════ */
.section-head { padding: 0 2rem; max-width: 1400px; margin: 0 auto 3.5rem; }
.section-head__index {
  font-family: var(--font-b); font-weight: 700; font-size: .85rem;
  letter-spacing: .3em; color: var(--teal);
}
.section-head__title {
  font-family: var(--font-d); text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1;
  letter-spacing: -.01em;
}
.section-head__title em { font-style: normal; color: var(--coral); }
.section-head__sub { margin-top: 1rem; color: rgba(29,34,38,.55); font-size: 1.05rem; }
.services .section-head, .pack .section-head, .testimonials .section-head { color: var(--ink); }
.section-head--overlay { color: var(--cream); }
.section-head--overlay .section-head__index { color: var(--aqua); }

/* ═══════════ SERVICES ═══════════ */
.services { background: var(--cream); padding: clamp(6rem,10vw,9rem) 0; position: relative; }
.services__list { border-top: 1px solid rgba(29,34,38,.14); }
.service {
  position: relative;
  display: flex; align-items: center; gap: 2rem;
  padding: 2.2rem 2rem;
  border-bottom: 1px solid rgba(29,34,38,.14);
  overflow: hidden;
  transition: color .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: var(--deep); transform: scaleY(0);
  transform-origin: bottom; transition: transform .45s var(--ease-out);
}
.service:hover::before { transform: scaleY(1); }
.service:hover { color: var(--cream); }
.service > * { position: relative; z-index: 1; }
.service__num {
  font-family: var(--font-d); font-size: 1rem; color: var(--teal);
  min-width: 3rem;
}
.service:hover .service__num { color: var(--aqua); }
.service__body h3 {
  font-family: var(--font-d); text-transform: uppercase;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem); letter-spacing: -.01em;
}
.service__body p {
  max-width: 42rem; margin-top: .5rem;
  font-size: .95rem; line-height: 1.55;
  color: rgba(29,34,38,.6);
  transition: color .35s;
}
.service:hover .service__body p { color: rgba(244,239,228,.7); }
.service__arrow {
  margin-left: auto; font-size: 1.8rem;
  transition: transform .4s var(--ease-out);
}
.service:hover .service__arrow { transform: translateX(10px) rotate(-45deg); color: var(--coral); }

.services__preview {
  position: fixed; z-index: 500; top: 0; left: 0;
  width: 300px; aspect-ratio: 4/5;
  border-radius: 14px; overflow: hidden;
  pointer-events: none;
  opacity: 0; scale: .8;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.45);
}
.services__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .services__preview { display: none; } }

/* ═══════════ HORIZONTAL SCROLL ═══════════ */
.hscroll { background: var(--deep); color: var(--cream); position: relative; }
.hscroll__pin {
  height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hscroll .section-head { padding-top: 5rem; }
.hscroll__track {
  display: flex; gap: 2.5vw;
  padding: 0 4vw; will-change: transform;
  align-items: center;
}
.hcard {
  flex: 0 0 auto;
  width: clamp(280px, 34vw, 520px);
  position: relative;
}
.hcard__frame {
  border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.hcard--wide .hcard__frame { aspect-ratio: 4/3; }
.hcard img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  transition: transform .8s var(--ease-out);
}
.hcard:hover img { transform: scale(1.02); }
.hcard__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--coral); color: var(--deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: .45rem .9rem; border-radius: 999px;
}
.hcard__caption {
  margin-top: 1rem; font-size: .9rem; color: rgba(244,239,228,.6);
}

/* ═══════════ PACK GRID ═══════════ */
.pack { background: var(--cream); padding: clamp(6rem,10vw,9rem) 0 clamp(5rem,8vw,7rem); }
.pack__grid {
  columns: 4 240px; column-gap: 1rem;
  padding: 0 2rem; max-width: 1500px; margin: 0 auto;
}
.pitem {
  break-inside: avoid; margin-bottom: 1rem;
  border-radius: 14px; overflow: hidden;
  position: relative; cursor: none;
  transform: translateY(40px); opacity: 0;
}
.pitem img {
  width: 100%; height: auto;
  transition: transform .7s var(--ease-out), filter .7s;
}
.pitem::after {
  content: "VIEW"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 1rem; letter-spacing: .2em;
  color: var(--cream);
  background: linear-gradient(rgba(13,36,41,0), rgba(13,36,41,.55));
  opacity: 0; transition: opacity .35s;
}
.pitem:hover::after { opacity: 1; }
.pitem:hover img { transform: scale(1.06); }

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials { background: var(--cream-2); padding: clamp(6rem,10vw,9rem) 0; }
.testimonials__row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; padding: 0 2rem; max-width: 1400px; margin: 0 auto;
}
@media (max-width: 900px) { .testimonials__row { grid-template-columns: 1fr; } }
.tcard {
  background: var(--cream); border: 1px solid rgba(29,34,38,.1);
  border-radius: 18px; padding: 2.2rem;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.tcard:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 24px 50px -20px rgba(29,34,38,.25); }
.tcard blockquote {
  font-size: 1.08rem; line-height: 1.6; font-weight: 500;
}
.tcard blockquote::before {
  content: "“"; display: block;
  font-family: var(--font-d); font-size: 3rem; line-height: .6;
  color: var(--coral); margin-bottom: .8rem;
}
.tcard figcaption {
  margin-top: 1.4rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(26,125,140,.4), transparent 60%),
    var(--deep);
  color: var(--cream);
  padding: clamp(6rem,12vw,10rem) 2rem 0;
}
.footer__cta { text-align: center; max-width: 1000px; margin: 0 auto 6rem; }
.footer__eyebrow {
  font-size: .85rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 1.5rem;
}
.footer__title {
  font-family: var(--font-d); text-transform: uppercase;
  font-size: clamp(2.8rem, 8.5vw, 7.5rem); line-height: .95;
  margin-bottom: 3rem;
}
.footer__title em { font-style: normal; color: var(--coral); }
.footer__actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.footer__phone {
  margin-top: 2rem; font-size: .95rem; color: rgba(244,239,228,.55);
}
.footer__phone a { color: var(--aqua); font-weight: 700; }
.footer__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid rgba(244,239,228,.14);
  padding: 1.6rem 0;
}
.footer__logo { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--aqua); }
.footer__meta { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer__meta span, .footer__meta a {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244,239,228,.55);
  transition: color .3s;
}
.footer__meta a:hover { color: var(--aqua); }

/* ═══════════ LIGHTBOX ═══════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(13,36,41,.93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig {
  max-width: min(88vw, 1100px); max-height: 84vh;
}
.lightbox__fig img {
  max-width: 100%; max-height: 84vh; border-radius: 14px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8);
}
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(244,239,228,.35);
  background: transparent; color: var(--cream);
  font-size: 1.3rem; cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--coral); color: var(--deep); border-color: var(--coral); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* reveal helpers */
.reveal-line span { display: inline-block; transform: translateY(110%); }
