/*
Theme Name: Advitha Pet Hospital
Theme URI: https://www.advithapethospital.com
Author: MR Ventures
Description: Custom theme for Advitha Pet Hospital — homepage with video banner, About, Services, Branches, Gallery, Blog, Videos and Founders pages, WhatsApp popup, helpdesk enquiry form and chatbot.
Version: 1.10
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: advitha
*/
.wp-content{max-width:820px;} .wp-content img{height:auto; border-radius:10px;} .wp-content article{margin-bottom:40px;}
/* ==========================================================
   Advitha Pet Hospital — shared stylesheet
   Used by every page (index, about, branches, gallery, blog, videos, founders)
   ========================================================== */
:root{
  --display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bg: #FFFFFF;
  --bg-alt: #F3F8FB;
  --surface: #FFFFFF;
  --ink: #102A38;
  --ink-soft: #55697A;
  --primary: #0B4F6C;
  --primary-dark: #06344A;
  --primary-tint: #E3F0F6;
  --teal: #12879A;
  --teal-tint: #DFF3F5;
  --accent: #E4572E;
  --accent-dark: #C2431E;
  --accent-tint: #FDE8E0;
  --line: #E1EAF0;
  --line-strong: #C3D5E0;

  /* tab / category colours */
  --c-blue: #1D6FD1;
  --c-teal: #0F9AA8;
  --c-coral: #E4572E;
  --c-purple: #7A4FD6;
  --c-green: #2E9E5B;
  --c-pink: #D63A78;
  --c-amber: #D98A0B;
  --c-indigo: #3F51B5;

  --radius-s: 6px;
  --radius-m: 14px;
  color-scheme: light;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top,0px));}
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}
img,svg{max-width:100%; display:block;}
a{color:inherit;}
button{font-family:inherit;}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px;}
h1,h2,h3,h4{font-family:var(--display); font-weight:600; line-height:1.1; margin:0; color:var(--primary); letter-spacing:-0.01em;}
h3{color:var(--ink);}
.section-head h2{position:relative; padding-bottom:14px;}
.section-head h2::after{content:""; position:absolute; left:0; bottom:0; width:56px; height:4px; border-radius:4px; background:linear-gradient(90deg,var(--c-coral),var(--c-amber));}
.band-alt{background:var(--bg-alt);}
h1{font-size:clamp(2.3rem,4.6vw,3.5rem); color:var(--primary-dark);}
h2{font-size:clamp(1.8rem,3.1vw,2.3rem); color:var(--primary);}
h3{font-size:1.2rem; font-weight:600;}
p{margin:0 0 1em; color:var(--ink-soft); max-width:62ch;}
.lede{font-size:1.13rem; max-width:54ch;}
section{padding:88px 0;}
.tight{padding:56px 0;}
em{color:var(--teal); font-style:normal;}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px; border-radius:2px;
}

/* ---------- image slot component ---------- */
.img-slot{
  position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:8px; text-align:center; padding:14px; color:var(--ink-soft);
  background:linear-gradient(140deg, var(--bg-alt), var(--teal-tint));
  border:1.5px dashed var(--line-strong); border-radius:var(--radius-m);
}
.img-slot svg{width:26px; height:26px; color:var(--teal); opacity:0.75;}
.img-slot span{font-size:0.76rem; font-weight:600; line-height:1.3; max-width:18ch;}
.img-slot.circle{border-radius:50%;}

/* ---------- header ---------- */
header.site{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,0.96); box-shadow:0 2px 14px rgba(11,79,108,0.06);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  padding-top: env(safe-area-inset-top,0px);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:18px; height:76px;}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none;}
.brand-mark{width:38px; height:38px; flex:none;}
.brand-word{font-family:var(--display); font-weight:700; font-size:1.32rem; color:var(--primary); line-height:1;}
.brand-sub{font-size:0.6rem; letter-spacing:0.07em; color:var(--ink-soft); display:block; margin-top:2px;}
nav.primary{display:flex; align-items:center; gap:2px;}
.navlink{
  --tab: var(--c-blue);
  font-size:0.93rem; color:var(--ink); text-decoration:none; font-weight:600;
  padding:9px 14px; border-radius:999px; position:relative; display:inline-block;
  transition:background-color .15s ease, color .15s ease;
}
.navlink::after{content:""; position:absolute; left:14px; right:14px; bottom:3px; height:2px; border-radius:2px; background:var(--tab); transform:scaleX(0); transition:transform .2s ease;}
.navlink:hover{color:var(--tab);}
.navlink:hover::after{transform:scaleX(1);}
.navlink[aria-current="page"]{background:var(--tab); color:#fff;}
.navlink[aria-current="page"]::after{display:none;}
.navlink.t-home{--tab:var(--c-blue);}
.navlink.t-about{--tab:var(--c-teal);}
.navlink.t-services{--tab:var(--c-indigo);}
.navlink.t-branches{--tab:var(--c-coral);}
.navlink.t-gallery{--tab:var(--c-purple);}
.navlink.t-blog{--tab:var(--c-green);}
.navlink.t-videos{--tab:var(--c-pink);}
.navlink.t-founders{--tab:var(--c-amber);}
.topbar{background:var(--primary); color:#fff; font-size:0.8rem;}
.topbar .wrap{display:flex; justify-content:space-between; align-items:center; gap:12px; height:36px;}
.topbar a{color:#fff; text-decoration:none; font-weight:600;}
.topbar .emerg{background:var(--accent); padding:3px 10px; border-radius:999px;}
@media (max-width:620px){ .topbar .hide-sm{display:none;} }
.nav-cta{display:flex; align-items:center; gap:10px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:8px; font-weight:600; font-size:0.94rem;
  text-decoration:none; border:1px solid transparent; cursor:pointer; white-space:nowrap;
  transition:background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{background:var(--primary); color:#fff;}
.btn-primary:hover{background:var(--primary-dark);}
.btn-accent{background:var(--accent); color:#fff;}
.btn-accent:hover{background:var(--accent-dark);}
.btn-outline{background:transparent; color:var(--ink); border-color:var(--line-strong);}
.btn-outline:hover{border-color:var(--primary); color:var(--primary);}
.btn-sm{padding:9px 16px; font-size:0.84rem;}
.btn svg{width:18px; height:18px;}

.hamburger{display:none; background:none; border:none; cursor:pointer; padding:8px;}
.mobile-panel{display:none; position:fixed; inset:76px 0 0 0; background:var(--bg); z-index:59; padding:24px; overflow-y:auto;}
.mobile-panel.open{display:block;}
.mobile-panel .navlink{display:block; width:100%; text-align:left; font-size:1.1rem; padding:13px 16px; margin-bottom:6px; border-radius:10px; border-left:4px solid var(--tab);}
.mobile-panel .navlink::after{display:none;}
.mobile-panel .cta-row{margin-top:20px; display:flex; flex-direction:column; gap:10px;}

/* ---------- hero ---------- */
.hero{padding:56px 0 76px;}
.hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center;}
.hero-eyebrow{display:inline-flex; align-items:center; gap:8px; background:var(--accent-tint); color:var(--accent-dark); font-size:0.8rem; font-weight:600; padding:6px 14px; border-radius:999px; margin-bottom:18px;}
.hero-stats{display:flex; gap:26px; margin-top:32px; flex-wrap:wrap;}
.hero-stats div{border-left:3px solid var(--c-amber); padding-left:12px;}
.hero-stats strong{display:block; font-family:var(--display); font-size:1.6rem; color:var(--primary); font-weight:700;}
.hero-stats span{font-size:0.8rem; color:var(--ink-soft);}
.hero-ctas{display:flex; gap:14px; margin-top:28px; flex-wrap:wrap;}

.hero-visual{position:relative; border-radius:var(--radius-m); overflow:hidden; aspect-ratio:4/5; background:var(--primary-dark);}
.hero-visual video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2;}
.hero-visual .img-slot{position:absolute; inset:0; border-radius:var(--radius-m); animation:kb 16s ease-in-out infinite alternate; z-index:1;}
@keyframes kb{from{transform:scale(1);} to{transform:scale(1.05);}}
@media (prefers-reduced-motion: reduce){ .hero-visual .img-slot{animation:none;} }
.hero-visual .img-slot svg{width:34px; height:34px;}
.hero-visual .img-slot span{font-size:0.86rem; max-width:20ch;}
.hero-visual .vb-scrim{position:absolute; inset:0; z-index:3; background:linear-gradient(to top, rgba(6,20,30,0.7) 0%, rgba(6,20,30,0.05) 45%); pointer-events:none;}
.hero-visual .vb-caption{position:absolute; left:20px; right:20px; bottom:20px; z-index:4; color:#fff;}
.hero-visual .vb-caption strong{display:block; font-family:var(--display); font-weight:700; font-size:1.15rem;}
.hero-visual .vb-caption span{font-size:0.8rem; opacity:0.85;}
.vb-play{
  position:absolute; z-index:5; right:16px; bottom:16px;
  width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,0.92); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(6,20,30,0.22);
}
.vb-play svg{width:18px; height:18px; color:var(--primary);}
.vb-tag{position:absolute; top:16px; left:16px; z-index:5; background:rgba(11,79,108,0.85); color:#fff; padding:6px 12px; border-radius:999px; font-size:0.73rem; backdrop-filter:blur(6px);}

.photo-strip{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:16px;}
.photo-strip .img-slot:first-child{grid-row:span 2;}
.strip-tall{aspect-ratio:3/4;}
.strip-wide{aspect-ratio:16/9;}

.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:36px; flex-wrap:wrap;}
.section-head p{margin:8px 0 0;}

/* ---------- services ---------- */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden;}
.service{background:var(--surface); padding:28px 24px; border-left:3px solid transparent;}

.service .ico{width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; background:color-mix(in srgb, var(--svc) 12%, white); color:var(--svc);}
.service .ico svg{width:26px; height:26px;}
.service{--svc:var(--c-blue);}
.service:nth-child(2){--svc:var(--c-coral);} .service:nth-child(3){--svc:var(--c-purple);}
.service:nth-child(4){--svc:var(--c-green);} .service:nth-child(5){--svc:var(--c-pink);} .service:nth-child(6){--svc:var(--c-amber);}
.service:hover{border-left-color:var(--svc);}
.service h3{margin-bottom:8px; font-size:1.04rem;}
.service p{font-size:0.9rem; margin:0;}

/* ---------- branches ---------- */
.branch-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.branch-card{border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; background:var(--surface);}
.branch-card .img-slot{aspect-ratio:4/3; border-radius:0; border-width:0 0 1.5px 0;}
.branch-body{padding:20px 22px;}
.branch-body h3{margin-bottom:4px;}
.branch-body .locality{font-size:0.8rem; color:var(--accent-dark); font-weight:600; margin-bottom:12px; display:block;}
.branch-body .meta{font-size:0.84rem; color:var(--ink-soft); margin-bottom:4px;}
.branch-body .links{display:flex; gap:14px; margin-top:14px; font-size:0.84rem;}
.branch-body .links a{color:var(--teal); font-weight:600; text-decoration:none;}
.branch-body .links a:hover{text-decoration:underline;}

/* ---------- founder pull ---------- */
.founder-pull{display:grid; grid-template-columns:200px 1fr; gap:36px; align-items:center; background:var(--primary-tint); border-radius:var(--radius-m); padding:36px;}
.founder-pull .img-slot{aspect-ratio:1;}
.founder-pull blockquote{margin:0 0 14px; font-family:var(--display); font-weight:600; font-size:1.4rem; color:var(--ink); line-height:1.3;}
.founder-pull cite{font-style:normal; font-size:0.88rem; color:var(--ink-soft); font-weight:600;}

/* ---------- blog ---------- */
.blog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.post{border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; background:var(--surface); display:flex; flex-direction:column;}
.post .img-slot{aspect-ratio:16/10; border-radius:0; border-width:0 0 1.5px 0;}
.post-cat{position:absolute; top:12px; left:12px; background:var(--surface); border:1px solid var(--line); font-size:0.7rem; padding:4px 10px; border-radius:999px; color:var(--teal); font-weight:600;}
.post-body{padding:20px 22px 24px; flex:1; display:flex; flex-direction:column;}
.post-body h3{font-size:1.02rem; margin-bottom:8px;}
.post-body p{font-size:0.89rem; margin-bottom:14px;}
.post-meta{margin-top:auto; font-size:0.76rem; color:var(--ink-soft); display:flex; justify-content:space-between;}
.blog-filters{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:32px;}
.chip{border:1px solid var(--line-strong); background:var(--surface); border-radius:999px; padding:8px 16px; font-size:0.84rem; cursor:pointer; color:var(--ink-soft); font-weight:600;}
.chip[aria-pressed="true"]{background:var(--primary); color:#fff; border-color:var(--primary);}
.chip[data-c="0"]{color:var(--primary); border-color:var(--primary-tint); background:var(--primary-tint);}
.chip[data-c="0"][aria-pressed="true"]{background:var(--primary); border-color:var(--primary); color:#fff;}
.chip[data-c="1"]{color:var(--teal); border-color:var(--teal-tint); background:var(--teal-tint);}
.chip[data-c="1"][aria-pressed="true"]{background:var(--teal); border-color:var(--teal); color:#fff;}
.chip[data-c="2"]{color:var(--accent-dark); border-color:var(--accent-tint); background:var(--accent-tint);}
.chip[data-c="2"][aria-pressed="true"]{background:var(--accent); border-color:var(--accent); color:#fff;}
.chip[data-c="3"]{color:var(--purple); border-color:var(--purple-tint); background:var(--purple-tint);}
.chip[data-c="3"][aria-pressed="true"]{background:var(--purple); border-color:var(--purple); color:#fff;}
.chip[data-c="4"]{color:var(--amber); border-color:var(--amber-tint); background:var(--amber-tint);}
.chip[data-c="4"][aria-pressed="true"]{background:var(--amber); border-color:var(--amber); color:#fff;}
.chip[data-c="5"]{color:var(--green); border-color:var(--green-tint); background:var(--green-tint);}
.chip[data-c="5"][aria-pressed="true"]{background:var(--green); border-color:var(--green); color:#fff;}
.chip[data-cat="All"]{color:var(--ink-soft); border-color:var(--line-strong); background:var(--surface);}
.chip[data-cat="All"][aria-pressed="true"]{background:var(--ink); border-color:var(--ink); color:#fff;}

/* ---------- videos ---------- */
.video-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.vcard{border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; background:var(--surface); cursor:pointer;}
.vcard .img-slot{aspect-ratio:16/9; border-radius:0; border-width:0 0 1.5px 0; position:relative;}
.vcard .img-slot .play-badge{position:absolute; inset:0; display:flex; align-items:center; justify-content:center;}
.play-circle{width:44px; height:44px; border-radius:50%; background:rgba(11,79,108,0.85); display:flex; align-items:center; justify-content:center;}
.vcard-len{position:absolute; bottom:10px; right:10px; background:rgba(6,20,30,0.6); color:#fff; font-size:0.7rem; padding:2px 8px; border-radius:4px; z-index:2;}
.vcard-body{padding:15px 17px;}
.vcard-body h3{font-size:0.96rem; margin-bottom:4px;}
.vcard-body span{font-size:0.79rem; color:var(--ink-soft);}

/* ---------- testimonials ---------- */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:32px;}
.testi{display:flex; gap:14px;}
.testi .img-slot{width:52px; height:52px; flex:none; border-radius:50%; padding:6px;}
.testi .img-slot svg{width:16px; height:16px;}
.testi blockquote{font-family:var(--display); font-weight:500; font-size:1.1rem; margin:0 0 10px; line-height:1.35; color:var(--ink);}
.testi cite{font-style:normal; font-size:0.83rem; color:var(--ink-soft); font-weight:600;}

/* ---------- about page ---------- */
.about-hero{display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center; padding-top:52px;}
.value-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:16px;}
.value{padding:22px 0 0; border-top:4px solid var(--c-blue);}
.value:nth-child(2){border-top-color:var(--c-coral);} .value:nth-child(3){border-top-color:var(--c-green);} .value:nth-child(4){border-top-color:var(--c-purple);}
.value h3{font-size:0.98rem; margin-bottom:8px;}
.value p{font-size:0.88rem;}
.timeline{border-left:2px solid var(--line); margin-left:6px; padding-left:28px; display:flex; flex-direction:column; gap:32px;}
.tl-item{position:relative;}
.tl-item::before{content:""; position:absolute; left:-33px; top:4px; width:12px; height:12px; border-radius:50%; background:var(--accent);}
.tl-item h4{font-size:1.3rem; font-family:var(--display); font-weight:700; color:var(--primary); margin-bottom:4px;}
.tl-item p{margin:0; font-size:0.9rem;}

/* ---------- gallery page ---------- */
.gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:140px; gap:14px;}
.gallery-grid .img-slot{border-radius:var(--radius-s);}
.gallery-grid .tall{grid-row:span 2;}

/* ---------- founders page ---------- */
.founder-lead{display:grid; grid-template-columns:260px 1fr; gap:44px; align-items:center; margin-bottom:60px;}
.founder-lead .img-slot{aspect-ratio:1; border-radius:var(--radius-m);}
.founder-lead h2{margin-bottom:6px;}
.founder-lead .role{color:var(--accent-dark); font-weight:600; font-size:0.9rem; display:block; margin-bottom:16px;}
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.team-card .img-slot{aspect-ratio:1; margin-bottom:12px;}
.team-card h3{font-size:0.96rem; margin-bottom:2px;}
.team-card span{font-size:0.8rem; color:var(--ink-soft);}
.partner-row{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:20px;}
.partner-chip{border:1px solid var(--line); border-radius:var(--radius-m); padding:20px; text-align:center;}
.partner-chip .img-slot{width:52px; height:52px; margin:0 auto 12px; border-radius:var(--radius-s); padding:4px;}
.partner-chip .img-slot svg{width:16px; height:16px;}
.partner-chip span{font-size:0.84rem; font-weight:600;}

/* ---------- final CTA band ---------- */
.cta-band{background:var(--primary); border-radius:var(--radius-m); padding:52px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; margin:0 24px;}
.cta-band h2{color:#fff; font-size:clamp(1.5rem,2.8vw,2rem); max-width:20ch;}
.cta-band .btn-outline{border-color:rgba(255,255,255,0.45); color:#fff;}
.cta-band .btn-outline:hover{border-color:#fff; color:#fff;}

/* ---------- footer / contact ---------- */
footer.site{background:var(--bg-alt); margin-top:88px; padding:68px 0 40px; border-top:1px solid var(--line);}
.footer-grid{display:grid; grid-template-columns:1.2fr 1fr; gap:56px;}
.contact-form{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-m); padding:30px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px;}
.field{display:flex; flex-direction:column; gap:6px;}
.field.full{grid-column:1/-1;}
label{font-size:0.8rem; font-weight:600; color:var(--ink-soft);}
input, select, textarea{
  font-family:var(--sans); font-size:0.94rem; padding:11px 13px; border-radius:var(--radius-s);
  border:1px solid var(--line-strong); background:var(--bg); color:var(--ink); width:100%;
}
textarea{resize:vertical; min-height:90px;}
.form-success{display:none; margin-top:16px; padding:14px 16px; background:var(--primary-tint); border-radius:var(--radius-s); color:var(--primary-dark); font-size:0.89rem;}
.form-success.show{display:block;}
.footer-columns{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.footer-col h4{font-size:0.84rem; margin-bottom:14px; color:var(--ink);}
.footer-col ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px;}
.footer-col a{text-decoration:none; color:var(--ink-soft); font-size:0.89rem;}
.footer-col a:hover{color:var(--primary);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; margin-top:52px; padding-top:22px; border-top:1px solid var(--line); font-size:0.81rem; color:var(--ink-soft); flex-wrap:wrap; gap:10px;}
.socials{display:flex; gap:10px;}
.socials a{width:34px; height:34px; border-radius:50%; border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center;}
.socials svg{width:16px; height:16px;}

/* ---------- floating widgets ---------- */
.float-stack{position:fixed; right:22px; bottom:22px; z-index:80; display:flex; flex-direction:column; align-items:flex-end; gap:14px; padding-bottom: env(safe-area-inset-bottom,0px);}
.fab{width:58px; height:58px; border-radius:50%; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(10,25,35,0.25); color:#fff;}
.fab-wa{background:#25D366;}
.fab-bot{background:var(--primary);}
.fab svg{width:26px; height:26px;}
.wa-bubble{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px 16px; max-width:230px; box-shadow:0 12px 30px rgba(10,25,35,0.16); position:relative; font-size:0.85rem; animation:popin .35s ease both;}
@keyframes popin{from{opacity:0; transform:translateY(8px) scale(0.97);} to{opacity:1; transform:none;}}
.wa-bubble button.close{position:absolute; top:6px; right:8px; background:none; border:none; cursor:pointer; color:var(--ink-soft); font-size:1rem; line-height:1;}
.wa-bubble p{margin:6px 0 0; font-size:0.83rem;}

.chat-panel{position:fixed; right:22px; bottom:96px; width:340px; max-width:calc(100vw - 40px); height:440px; max-height:65vh; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-m); box-shadow:0 20px 50px rgba(10,25,35,0.25); display:none; flex-direction:column; overflow:hidden; z-index:81;}
.chat-panel.open{display:flex;}
.chat-head{background:var(--primary); color:#fff; padding:16px 18px; display:flex; align-items:center; justify-content:space-between;}
.chat-head strong{font-family:var(--display); font-weight:700; font-size:1.05rem;}
.chat-head span{font-size:0.74rem; opacity:0.85; display:block;}
.chat-head button{background:none; border:none; color:#fff; cursor:pointer; font-size:1.2rem; line-height:1;}
.chat-body{flex:1; overflow-y:auto; padding:14px 16px; display:flex; flex-direction:column; gap:10px; background:var(--bg);}
.msg{max-width:82%; padding:10px 13px; border-radius:12px; font-size:0.85rem; line-height:1.4;}
.msg.bot{background:var(--surface); border:1px solid var(--line); align-self:flex-start; border-bottom-left-radius:2px;}
.msg.user{background:var(--primary); color:#fff; align-self:flex-end; border-bottom-right-radius:2px;}
.quick-replies{display:flex; flex-wrap:wrap; gap:6px; padding:0 16px 10px; background:var(--bg);}
.quick-replies button{border:1px solid var(--line-strong); background:var(--surface); border-radius:999px; padding:6px 12px; font-size:0.77rem; cursor:pointer;}
.chat-input{display:flex; gap:8px; padding:12px; border-top:1px solid var(--line); background:var(--surface);}
.chat-input input{flex:1;}
.chat-input button{background:var(--primary); color:#fff; border:none; border-radius:var(--radius-s); padding:0 16px; cursor:pointer;}

/* ---------- responsive ---------- */
@media (max-width: 1180px){
  nav.primary, .nav-cta .btn-outline{display:none;}
  .hamburger{display:block;}
}
@media (max-width: 980px){
  .hero-grid, .about-hero{grid-template-columns:1fr; gap:36px;}
  .hero-visual{aspect-ratio:16/10;}
  .services-grid, .branch-grid, .blog-grid, .video-grid, .testi-grid, .value-grid, .team-grid, .partner-row, .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .photo-strip{grid-template-columns:1fr 1fr;}
  .photo-strip .img-slot:first-child{grid-row:span 1;}
  .founder-pull{grid-template-columns:1fr; text-align:center;}
  .founder-pull .img-slot{width:140px; margin:0 auto;}
  .founder-lead{grid-template-columns:1fr;}
  .founder-lead .img-slot{max-width:220px; margin:0 auto;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-columns{grid-template-columns:repeat(3,1fr);}
  .cta-band{flex-direction:column; text-align:center; margin:0 12px;}
}
@media (max-width: 620px){
  section{padding:56px 0;}
  .wrap{padding:0 18px;}
  .services-grid, .branch-grid, .blog-grid, .video-grid, .testi-grid, .value-grid, .team-grid, .partner-row, .gallery-grid{grid-template-columns:1fr;}
  .gallery-grid .tall{grid-row:span 1;}
  .photo-strip{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .footer-columns{grid-template-columns:1fr 1fr;}
  .float-stack{right:14px; bottom:14px;}
  .chat-panel{right:14px; left:14px; width:auto;}
  .cta-band{padding:36px 22px;}
  .testi{flex-direction:column;}
}

/* ---------- full-width video hero (homepage) ---------- */
.video-hero{position:relative; min-height:min(88vh,760px); display:flex; align-items:center; overflow:hidden; color:#fff; isolation:isolate;
  background:linear-gradient(120deg,#06344A,#0B4F6C 45%,#12879A);}
.video-hero video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2;}
.video-hero::before{content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(90deg, rgba(6,40,58,0.88) 0%, rgba(6,40,58,0.6) 50%, rgba(6,40,58,0.25) 100%);}
.video-hero .wrap{width:100%; padding-top:72px; padding-bottom:72px;}
.video-hero h1{color:#fff; font-size:clamp(2.4rem,5.2vw,4rem); max-width:16ch;}
.video-hero .lede{color:rgba(255,255,255,0.88);}
.video-hero .hero-eyebrow{background:rgba(228,87,46,0.95); color:#fff;}
.video-hero .hero-stats strong{color:#fff;}
.video-hero .hero-stats span{color:rgba(255,255,255,0.8);}
.video-hero .btn-outline{color:#fff; border-color:rgba(255,255,255,0.6);}
.video-hero .btn-outline:hover{color:#fff; border-color:#fff; background:rgba(255,255,255,0.1);}
.video-toggle{position:absolute; right:24px; bottom:76px; z-index:2; background:rgba(255,255,255,0.18); color:#fff; border:1px solid rgba(255,255,255,0.4); border-radius:999px; padding:8px 14px; font-size:0.8rem; cursor:pointer; backdrop-filter:blur(6px);}
.quick-book{position:relative; z-index:3; margin-top:-48px;}
.quick-book-inner{background:#fff; border-radius:var(--radius-m); box-shadow:0 18px 40px rgba(11,79,108,0.14); display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden;}
.qb-item{padding:22px 24px; display:flex; gap:14px; align-items:center; text-decoration:none; border-right:1px solid var(--line);}
.qb-item:last-child{border-right:none;}
.qb-item .ico{width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; flex:none;}
.qb-item .ico svg{width:22px; height:22px;}
.qb-item strong{display:block; color:var(--ink); font-size:0.95rem;}
.qb-item span{font-size:0.8rem; color:var(--ink-soft);}
.qb-item:hover strong{color:var(--primary);}
@media (max-width:980px){ .quick-book-inner{grid-template-columns:1fr 1fr;} .qb-item:nth-child(2){border-right:none;} .qb-item{border-bottom:1px solid var(--line);} }
@media (max-width:620px){ .quick-book-inner{grid-template-columns:1fr;} .qb-item{border-right:none;} .video-hero{min-height:auto;} }
@media (prefers-reduced-motion: reduce){ .video-hero video{display:none;} }
.page-banner{background:linear-gradient(120deg,var(--primary-tint),#fff 60%,var(--accent-tint)); border-bottom:1px solid var(--line);}

/* ---------- fixes ---------- */
.tight.wrap{padding-left:24px; padding-right:24px;}
h1 + .lede, h1 + p{margin-top:18px;}
@media (max-width:620px){
  .tight.wrap{padding-left:18px; padding-right:18px;}
  .nav-cta .btn-accent{display:none;}
  .brand-sub{display:none;}
}


/* ==========================================================
   Services page
   ========================================================== */
.svc-note{font-size:0.88rem; background:#fff; border:1px solid var(--line); border-left:4px solid var(--c-amber); padding:10px 14px; border-radius:var(--radius-s); max-width:70ch;}
.svc-jumpbar{position:sticky; top:76px; z-index:40; background:rgba(255,255,255,0.97); border-bottom:1px solid var(--line); box-shadow:0 4px 12px rgba(11,79,108,0.05);}
.svc-jumps{display:flex; gap:10px; overflow-x:auto; padding:12px 0; scrollbar-width:none; -webkit-overflow-scrolling:touch;}
.svc-jumps::-webkit-scrollbar{display:none;}
.svc-jump{display:inline-flex; align-items:center; gap:8px; flex:none; text-decoration:none; font-size:0.86rem; font-weight:600; color:var(--sc); background:color-mix(in srgb, var(--sc) 9%, white); border:1px solid color-mix(in srgb, var(--sc) 28%, white); padding:8px 14px; border-radius:999px; transition:background-color .15s, color .15s;}
.svc-jump:hover{background:var(--sc); color:#fff;}
.svc-section{padding:72px 0; scroll-margin-top:150px;}
.svc-layout{display:grid; grid-template-columns:minmax(260px,320px) 1fr; gap:48px; align-items:start;}
.svc-intro{position:sticky; top:150px;}
.svc-icon{width:58px; height:58px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:var(--sc); color:#fff; margin-bottom:18px;}
.svc-intro h2{color:var(--sc); margin-bottom:12px;}
.svc-intro p{font-size:0.95rem;}
.svc-count{display:inline-block; font-size:0.78rem; font-weight:700; color:var(--sc); background:color-mix(in srgb, var(--sc) 10%, white); padding:4px 12px; border-radius:999px; margin-bottom:20px;}
.svc-img{aspect-ratio:4/3;}
.svc-grid{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:14px;}
.svc-tile{display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line); border-left:4px solid var(--sc); border-radius:10px; padding:16px 18px; font-weight:600; font-size:0.94rem; color:var(--ink); line-height:1.3; transition:transform .15s ease, box-shadow .15s ease;}
.svc-tile:hover{transform:translateY(-2px); box-shadow:0 10px 22px rgba(11,79,108,0.09);}
.svc-tile svg{width:20px; height:20px; flex:none; color:var(--sc); background:color-mix(in srgb, var(--sc) 12%, white); border-radius:50%; padding:3px;}

/* ==========================================================
   Responsive pass — phones, tablets, laptops, large desktops
   ========================================================== */
/* large desktops */
@media (min-width: 1440px){
  .wrap{max-width:1320px;}
  body{font-size:17px;}
}
@media (min-width: 1920px){
  .wrap{max-width:1480px;}
}
/* laptops / small desktops */
@media (max-width: 1280px){
  .branch-grid{grid-template-columns:repeat(2,1fr);}
}
/* tablets landscape & portrait */
@media (max-width: 980px){
  .svc-layout{grid-template-columns:1fr; gap:28px;}
  .svc-intro{position:static; display:grid; grid-template-columns:auto 1fr; column-gap:18px; align-items:center;}
  .svc-intro .svc-icon{grid-row:span 2; margin-bottom:0;}
  .svc-intro h2{margin-bottom:4px;}
  .svc-intro p, .svc-intro .svc-count{grid-column:1/-1;}
  .svc-intro p{margin-top:12px;}
  .svc-img{display:none;}
  .svc-section{padding:56px 0;}
  .hero-stats{display:grid; grid-template-columns:repeat(4,auto); gap:20px;}
  .video-hero{min-height:620px;}
  .gallery-grid{grid-auto-rows:170px;}
  .testi-grid{grid-template-columns:1fr; gap:24px;}
  .section-head{align-items:flex-start;}
}
/* large phones / small tablets */
@media (max-width: 760px){
  .hero-stats{grid-template-columns:repeat(2,1fr);}
  .footer-columns{grid-template-columns:1fr 1fr;}
  .svc-grid{grid-template-columns:1fr 1fr; gap:10px;}
  .svc-tile{padding:14px; font-size:0.88rem;}
}
/* phones */
@media (max-width: 620px){
  h1{font-size:clamp(2rem,8.5vw,2.5rem);}
  h2{font-size:clamp(1.5rem,6.5vw,1.9rem);}
  .photo-strip > *{grid-column:auto !important; grid-row:auto !important; aspect-ratio:16/10;}
  .gallery-grid{grid-template-columns:1fr 1fr; grid-auto-rows:150px;}
  .gallery-grid .tall{grid-row:span 2;}
  .hero-ctas .btn{flex:1 1 100%;}
  .video-hero .wrap{padding-top:48px; padding-bottom:88px;}
  .quick-book{margin-top:-40px;}
  .video-toggle{bottom:52px; right:14px;}
  .section-head .btn{width:100%;}
  .founder-pull{padding:26px 20px;}
  .founder-pull blockquote{font-size:1.15rem;}
  .contact-form{padding:20px;}
  .svc-jumpbar{top:76px;}
  .svc-section{padding:44px 0; scroll-margin-top:140px;}
  .branch-grid{grid-template-columns:1fr;}
}
/* small phones */
@media (max-width: 420px){
  .svc-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr; grid-auto-rows:190px;}
  .gallery-grid .tall{grid-row:span 1;}
  .footer-columns{grid-template-columns:1fr;}
  .topbar .emerg{font-size:0.74rem;}
  .brand-word{font-size:1.15rem;}
  .brand-mark{width:34px; height:34px;}
}

/* ---------- final fixes ---------- */
@media (max-width: 620px){
  .tight.wrap{padding-top:44px; padding-bottom:44px;}
}
@media (max-width: 980px){
  .svc-intro .svc-icon{grid-row:auto; width:50px; height:50px;}
  .svc-intro .svc-count{justify-self:start; margin-bottom:0;}
}

/* ---------- logo & branch details ---------- */
.brand-logo{width:54px; height:54px; flex:none; object-fit:contain;}
.brand-word{font-size:1.18rem;}
.brand-sub{font-size:0.58rem; letter-spacing:0.08em;}
.branch-card .img-slot{position:relative;}
.branch-badge{position:absolute; top:12px; left:12px; background:var(--accent); color:#fff !important; font-size:0.7rem !important; font-weight:700; padding:4px 10px; border-radius:999px; max-width:none !important;}
.branch-card.is-main{border-color:var(--accent); box-shadow:0 10px 26px rgba(228,87,46,0.12);}
.branch-body .addr{line-height:1.45; margin-bottom:8px;}
.branch-body .meta strong{color:var(--ink); font-weight:600;}
.branch-body .phones a{color:var(--primary); text-decoration:none; font-weight:600;}
@media (max-width: 620px){ .brand-logo{width:44px; height:44px;} .brand-word{font-size:1rem;} }
@media (max-width: 420px){ .brand-word{font-size:0.92rem;} }

/* ---------- real photos ---------- */
.img-slot.has-img{padding:0; border:none; background:var(--bg-alt);}
.img-slot.has-img img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;}
.img-slot.has-img .img-cap{position:absolute; left:12px; bottom:12px; z-index:2; background:rgba(6,40,58,0.78); color:#fff; font-size:0.74rem; font-weight:600; padding:5px 11px; border-radius:999px; max-width:none; backdrop-filter:blur(4px);}
.img-slot.has-img .post-cat, .img-slot.has-img .vcard-len, .img-slot.has-img .play-badge, .img-slot.has-img .branch-badge{z-index:2;}
.photo-strip .img-slot.has-img{min-height:180px;}
.gallery-grid .img-slot.has-img img{transition:transform .4s ease;}
.gallery-grid .img-slot.has-img:hover img{transform:scale(1.05);}
.video-hero{background-size:cover; background-position:center;}
.hero-visual .img-slot.has-img{animation:none;}
.photo-strip{grid-auto-rows:220px;}
.photo-strip > .img-slot{aspect-ratio:auto !important;}
#galleryGrid{margin-top:40px;}
@media (max-width: 980px){ .photo-strip{grid-auto-rows:200px;} }
@media (max-width: 620px){ .photo-strip{grid-auto-rows:210px;} }

.svc-where{display:inline-block; margin-left:6px; font-size:0.68rem; font-weight:700; color:#fff; background:var(--sc); padding:2px 8px; border-radius:999px; vertical-align:middle;}
.team-photo-wide{aspect-ratio:16/7; margin:8px 0 56px; border-radius:var(--radius-m);}
.team-photo-wide img{object-position:center 40%;}
@media (max-width:620px){ .team-photo-wide{aspect-ratio:4/3; margin-bottom:40px;} }

.gallery-grid{grid-auto-flow:dense;}
.gallery-grid .wide{grid-column:span 2;}
@media (max-width:420px){ .gallery-grid .wide{grid-column:span 1;} }

/* ---------- Advitha app ---------- */
.topbar-right{display:inline-flex; align-items:center; gap:14px;}
.topbar-app{opacity:0.95;}
.topbar-app:hover{text-decoration:underline;}
.app-section{background:linear-gradient(135deg,#06344A 0%,#0B4F6C 55%,#12879A 100%); color:#fff; padding:88px 0; overflow:hidden;}
.app-grid{display:grid; grid-template-columns:1.25fr 0.75fr; gap:56px; align-items:center;}
.app-copy h2{color:#fff; font-size:clamp(1.9rem,3.4vw,2.7rem); margin-bottom:14px;}
.app-copy .lede{color:rgba(255,255,255,0.86);}
.app-section .hero-eyebrow{background:var(--accent); color:#fff;}
.app-feats{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:28px 0 30px;}
.app-feat{display:flex; gap:14px; align-items:flex-start; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.14); border-radius:12px; padding:16px;}
.app-feat-ico{width:42px; height:42px; flex:none; border-radius:10px; background:var(--fc); color:#fff; display:flex; align-items:center; justify-content:center;}
.app-feat-ico svg{width:22px; height:22px;}
.app-feat h3{color:#fff; font-size:0.98rem; margin-bottom:4px;}
.app-feat p{color:rgba(255,255,255,0.78); font-size:0.85rem; margin:0;}
.app-cta{display:flex; align-items:center; gap:22px; flex-wrap:wrap;}
.app-btn{display:inline-flex; align-items:center; gap:12px; background:#fff; color:var(--ink); text-decoration:none; padding:11px 22px 11px 16px; border-radius:12px; font-weight:700; font-size:1.02rem; box-shadow:0 10px 24px rgba(0,0,0,0.2); transition:transform .15s ease;}
.app-btn:hover{transform:translateY(-2px);}
.app-btn svg{color:var(--accent);}
.app-btn span{display:flex; flex-direction:column; line-height:1.15;}
.app-btn small{font-size:0.7rem; font-weight:600; color:var(--ink-soft);}
.app-qr{display:flex; align-items:center; gap:12px;}
.app-qr img{width:86px; height:86px; background:#fff; border-radius:10px; padding:5px;}
.app-qr span{font-size:0.8rem; color:rgba(255,255,255,0.8); line-height:1.35;}
.app-phone{justify-self:center; width:270px; max-width:100%; aspect-ratio:9/18.5; background:#0E1B22; border-radius:38px; padding:12px; box-shadow:0 30px 60px rgba(0,0,0,0.35); transform:rotate(3deg); animation:floaty 6s ease-in-out infinite;}
@keyframes floaty{0%,100%{transform:rotate(3deg) translateY(0);} 50%{transform:rotate(3deg) translateY(-10px);}}
@media (prefers-reduced-motion: reduce){ .app-phone{animation:none;} }
.app-screen{height:100%; background:#F3F8FB; border-radius:28px; padding:18px 14px; display:flex; flex-direction:column; gap:10px; overflow:hidden; color:var(--ink);}
.as-top{display:flex; align-items:center; gap:10px;}
.as-top img{width:34px; height:34px;}
.as-top strong{display:block; font-size:0.9rem; color:var(--primary);}
.as-top span{font-size:0.7rem; color:var(--ink-soft);}
.as-pet{display:flex; align-items:center; gap:10px; background:var(--primary); color:#fff; border-radius:14px; padding:12px;}
.as-avatar{width:38px; height:38px; border-radius:50%; background:var(--accent); display:flex; align-items:center; justify-content:center;}
.as-avatar svg{width:22px; height:22px;}
.as-pet strong{display:block; font-size:0.88rem;} .as-pet span{font-size:0.68rem; opacity:0.85;}
.as-card{display:flex; align-items:center; justify-content:space-between; gap:8px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 12px;}
.as-card strong{display:block; font-size:0.78rem;} .as-card span{font-size:0.66rem; color:var(--ink-soft);}
.as-card em{font-style:normal; font-size:0.62rem; font-weight:700; color:var(--c-coral); background:var(--accent-tint); padding:3px 7px; border-radius:6px;}
.as-remind{justify-content:flex-start; border-color:#F6C9B8; background:#FFF6F2;}
.as-dot{width:10px; height:10px; border-radius:50%; background:var(--accent); flex:none;}
.as-book{margin-top:auto; background:var(--accent); color:#fff; text-align:center; font-weight:700; font-size:0.8rem; padding:11px; border-radius:12px;}
.footer-app{display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-m); padding:14px 16px; margin-bottom:28px;}
.footer-app img{width:44px; height:44px;}
.footer-app strong{display:block; font-size:0.95rem; color:var(--primary);}
.footer-app span{font-size:0.8rem; color:var(--ink-soft);}
.footer-app .btn{margin-left:auto;}
@media (max-width:980px){
  .app-grid{grid-template-columns:1fr; gap:44px;}
  .app-phone{width:240px;}
}
@media (max-width:620px){
  .app-section{padding:60px 0;}
  .app-feats{grid-template-columns:1fr;}
  .app-btn{width:100%; justify-content:center;}
  .app-qr{display:none;}
}
.footer-col li{font-size:0.89rem; color:var(--ink-soft); line-height:1.5;}

.founder-img img{object-position:center 20%;}
.founder-pull .founder-img{border:4px solid #fff; box-shadow:0 10px 24px rgba(11,79,108,0.18);}
@media (max-width:980px){ .video-hero{background-position:70% center;} }

/* ==========================================================
   Logo preloader with walking pets
   ========================================================== */
#preloader{position:fixed; inset:0; z-index:9999; background:#fff; display:flex; align-items:center; justify-content:center;
  transition:opacity .5s ease, visibility .5s ease; animation:plFailsafe 0s linear 6s forwards;}
#preloader.done{opacity:0; visibility:hidden; pointer-events:none;}
@keyframes plFailsafe{to{opacity:0; visibility:hidden; pointer-events:none;}}
body.is-loading{overflow:hidden;}
.pl-inner{display:flex; flex-direction:column; align-items:center; gap:18px; padding:24px;}
.pl-logo{position:relative; width:118px; height:118px; display:flex; align-items:center; justify-content:center; animation:plPop .7s cubic-bezier(.2,.9,.3,1.3) both;}
.pl-logo img{width:104px; height:104px; position:relative; z-index:1;}
.pl-ring{position:absolute; inset:0; border-radius:50%; border:3px solid transparent; border-top-color:#00AEEF; border-right-color:#2BBFA4; animation:plSpin 1.1s linear infinite;}
@keyframes plPop{from{transform:scale(.6); opacity:0;} to{transform:scale(1); opacity:1;}}
@keyframes plSpin{to{transform:rotate(360deg);}}
.pl-stage{display:flex; align-items:flex-end; gap:6px; height:84px;}
.pl-dog{animation:plBob .45s ease-in-out infinite alternate;}
.pl-cat{animation:plBob .4s ease-in-out .1s infinite alternate;}
@keyframes plBob{from{transform:translateY(0);} to{transform:translateY(-4px);}}
.pl-stage .leg{transform-box:fill-box; transform-origin:50% 0; animation:plStep .45s ease-in-out infinite alternate;}
.pl-stage .l2, .pl-stage .l3{animation-direction:alternate-reverse;}
@keyframes plStep{from{transform:rotate(22deg);} to{transform:rotate(-22deg);}}
.pl-tail-d{transform-box:fill-box; transform-origin:100% 100%; animation:plWag .25s ease-in-out infinite alternate;}
.pl-tail-c{transform-box:fill-box; transform-origin:100% 100%; animation:plWag .6s ease-in-out infinite alternate;}
@keyframes plWag{from{transform:rotate(-14deg);} to{transform:rotate(14deg);}}
.pl-head-d, .pl-head-c{transform-box:fill-box; transform-origin:30% 80%; animation:plNod .9s ease-in-out infinite alternate;}
@keyframes plNod{from{transform:rotate(-3deg);} to{transform:rotate(4deg);}}
.pl-ground{width:260px; height:16px; overflow:hidden; border-top:2px solid #E1EAF0; position:relative;}
.pl-paws{position:absolute; top:3px; left:0; width:200%; height:10px; animation:plGround 1.4s linear infinite;
  background-image:radial-gradient(circle at 4px 5px, #C3D5E0 3px, transparent 3.5px), radial-gradient(circle at 16px 3px, #C3D5E0 2.5px, transparent 3px);
  background-size:30px 10px;}
@keyframes plGround{to{transform:translateX(-50%);}}
.pl-text{margin:0; font-family:var(--display); font-weight:600; font-size:1rem; color:var(--primary); letter-spacing:.01em;}
.pl-dots i{font-style:normal; animation:plDot 1.2s infinite; opacity:0;}
.pl-dots i:nth-child(2){animation-delay:.2s;} .pl-dots i:nth-child(3){animation-delay:.4s;}
@keyframes plDot{0%,100%{opacity:0;} 40%{opacity:1;}}

/* ==========================================================
   Light scroll-reveal animations
   ========================================================== */
.rv{opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay:var(--rv-delay,0s);}
.rv.rv-left{transform:translateX(-30px);}
.rv.rv-right{transform:translateX(30px);}
.rv.rv-zoom{transform:scale(.95);}
.rv.in{opacity:1; transform:none;}
@media (prefers-reduced-motion: reduce){
  .rv{opacity:1 !important; transform:none !important; transition:none !important;}
  .pl-stage *, .pl-ring, .pl-paws, .pl-logo, .pl-dog, .pl-cat{animation:none !important;}
}

/* ==========================================================
   Gallery v1.3 — uniform landscape tiles + photo popup
   ========================================================== */
.gallery-grid{grid-template-columns:repeat(4,1fr); grid-auto-rows:auto; grid-auto-flow:row; gap:14px;}
.gallery-grid > .img-slot, .gallery-grid .tall, .gallery-grid .wide{grid-row:auto !important; grid-column:auto !important; aspect-ratio:16/10; min-height:0;}
.gallery-grid .img-slot.has-img{cursor:zoom-in; isolation:isolate;}
.gallery-grid .img-slot.has-img img{z-index:1;}
.gallery-grid .img-slot.is-portrait::before{content:""; position:absolute; inset:-20px; z-index:0; background:var(--tile-bg) center/cover no-repeat; filter:blur(16px) brightness(.85); }
.gallery-grid .img-slot.is-portrait img{object-fit:contain !important; object-position:center !important;}
.gallery-grid .img-slot .img-cap{z-index:2;}
.gallery-grid .img-slot.has-img::after{content:""; position:absolute; top:10px; right:10px; z-index:2; width:32px; height:32px; border-radius:50%;
  background:rgba(6,40,58,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/18px no-repeat;
  opacity:0; transform:scale(.8); transition:opacity .2s ease, transform .2s ease;}
.gallery-grid .img-slot.has-img:hover::after, .gallery-grid .img-slot.has-img:focus-visible::after{opacity:1; transform:none;}
.gallery-grid .img-slot.has-img:focus-visible{outline:3px solid var(--accent); outline-offset:3px;}
@media (max-width:1180px){ .gallery-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:760px){ .gallery-grid{grid-template-columns:repeat(2,1fr); gap:10px;} .gallery-grid .img-slot .img-cap{font-size:.68rem; left:8px; bottom:8px; padding:4px 9px;} }
@media (max-width:420px){ .gallery-grid{grid-template-columns:1fr;} }
@media (hover:none){ .gallery-grid .img-slot.has-img::after{opacity:.9; transform:none; width:28px; height:28px; background-size:15px;} }

.lb{position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; background:rgba(4,18,26,.92);
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease; padding:56px 72px 88px;}
.lb.open{opacity:1; visibility:visible;}
.lb-figure{margin:0; display:flex; flex-direction:column; align-items:center; max-width:100%; max-height:100%;}
.lb-img{max-width:min(1200px, 100%); max-height:calc(100vh - 170px); width:auto; height:auto; border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,.5); background:#0b2230;
  transform:scale(.96); transition:transform .25s ease, opacity .2s ease; user-select:none; -webkit-user-drag:none;}
.lb.open .lb-img{transform:none;}
.lb-img.swap{opacity:0;}
.lb-cap{color:#fff; margin-top:14px; font-family:var(--display); font-weight:600; font-size:1.02rem; text-align:center;}
.lb-count{display:block; font-family:var(--sans); font-weight:500; font-size:.8rem; color:rgba(255,255,255,.65); margin-top:3px;}
.lb button{position:absolute; border:none; cursor:pointer; color:#fff; background:rgba(255,255,255,.12); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:background-color .15s ease;}
.lb button:hover{background:rgba(255,255,255,.25);}
.lb button:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}
.lb-close{top:16px; right:16px; width:46px; height:46px;}
.lb-prev, .lb-next{top:50%; transform:translateY(-50%); width:52px; height:52px;}
.lb-prev{left:16px;} .lb-next{right:16px;}
.lb button svg{width:24px; height:24px;}
body.lb-lock{overflow:hidden;}
@media (max-width:760px){
  .lb{padding:64px 12px 110px;}
  .lb-img{max-height:calc(100vh - 210px); border-radius:8px;}
  .lb-prev, .lb-next{top:auto; bottom:22px; transform:none; width:48px; height:48px;}
  .lb-prev{left:calc(50% - 64px);} .lb-next{right:calc(50% - 64px);}
  .lb-cap{font-size:.92rem; padding:0 8px;}
}
@media (prefers-reduced-motion: reduce){ .lb, .lb-img{transition:none;} }

/* ---------- filter chip colours (fix: these were referenced but never defined) ---------- */
:root{ --purple:var(--c-purple); --purple-tint:#EEE8FB; --amber:#B8730A; --amber-tint:#FBF0DC; --green:var(--c-green); --green-tint:#E2F4E9; }
.chip[data-c="4"][aria-pressed="true"]{background:var(--c-amber); border-color:var(--c-amber);}

/* ==========================================================
   v1.5 — More menu, Team, Packages, Testimonials
   ========================================================== */
.navlink.t-packages{--tab:var(--c-green);}
.navlink.t-team{--tab:var(--c-amber);}
.navlink.t-testimonials{--tab:var(--c-pink);}
.navlink.t-more{--tab:var(--c-purple);}
button.navlink{background:none; border:none; font-family:inherit; cursor:pointer; display:inline-flex; align-items:center; gap:4px;}
.nav-more{position:relative; display:inline-block;}
.nav-more-menu{position:absolute; top:calc(100% + 8px); right:0; min-width:170px; background:#fff; border:1px solid var(--line); border-radius:12px;
  box-shadow:0 18px 40px rgba(11,79,108,.14); padding:6px; display:flex; flex-direction:column; gap:2px;
  opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .15s ease, transform .15s ease, visibility .15s; z-index:70;}
.nav-more-menu::before{content:""; position:absolute; top:-10px; left:0; right:0; height:10px;}
.nav-more:hover .nav-more-menu, .nav-more:focus-within .nav-more-menu, .nav-more.open .nav-more-menu{opacity:1; visibility:visible; transform:none;}
.nav-more-menu .navlink{display:block; border-radius:8px; padding:9px 12px;}
.nav-more-menu .navlink::after{display:none;}
.nav-more-menu .navlink:hover{background:color-mix(in srgb, var(--tab) 10%, white);}
.nav-more .t-more svg{transition:transform .15s ease;}
.nav-more:hover .t-more svg, .nav-more.open .t-more svg{transform:rotate(180deg);}
.nav-more .t-more[aria-current="page"] svg{color:#fff;}

.editor-note{margin:24px 0 0; padding:14px 18px; border:1.5px dashed var(--c-amber); border-radius:12px; background:#FFF8EB; color:var(--ink); font-size:.88rem; line-height:1.55;}
.editor-note code{background:#fff; border:1px solid var(--line); padding:2px 6px; border-radius:6px; font-size:.82rem; word-break:break-all;}
.person-hint{color:var(--c-amber) !important; font-style:italic; font-weight:600;}
.cta-band .cta-sub{color:rgba(255,255,255,.82); margin:10px 0 0; max-width:46ch;}

/* ---------- Team page ---------- */
.team-hero{background:linear-gradient(135deg,#06344A 0%,#0B4F6C 55%,#12879A 100%); color:#fff; padding:76px 0 64px;}
.team-hero h1{color:#fff; max-width:18ch;}
.team-hero .lede{color:rgba(255,255,255,.86); margin-top:16px;}
.team-stats{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin-top:40px; background:rgba(255,255,255,.18); border-radius:14px; overflow:hidden;}
.team-stats div{background:rgba(6,40,58,.55); padding:20px 22px;}
.team-stats strong{display:block; font-family:var(--display); font-size:1.9rem; font-weight:700; color:#fff; line-height:1.1;}
.team-stats span{font-size:.84rem; color:rgba(255,255,255,.78);}
.founder-feature{padding:80px 0; scroll-margin-top:90px;}
.founder-grid{display:grid; grid-template-columns:minmax(260px,400px) 1fr; gap:56px; align-items:start;}
.founder-portrait{position:relative; border-radius:18px; overflow:hidden; aspect-ratio:4/5; background:var(--bg-alt); box-shadow:0 24px 50px rgba(11,79,108,.16);}
.founder-portrait img{width:100%; height:100%; object-fit:cover; object-position:center 20%;}
.founder-portrait::after{content:""; position:absolute; left:0; right:0; bottom:0; height:6px; background:linear-gradient(90deg,var(--c-coral),var(--c-amber));}
.founder-label{display:inline-block; font-size:.78rem; font-weight:700; color:var(--accent-dark); background:var(--accent-tint); padding:5px 12px; border-radius:999px; margin-bottom:14px;}
.founder-copy h2{font-size:clamp(2rem,3.6vw,2.8rem); margin-bottom:6px;}
.founder-role{font-weight:600; color:var(--teal); margin:0 0 4px;}
.founder-cred{font-size:.9rem; margin:0 0 18px;}
.founder-copy > p{max-width:60ch;}
.founder-quote{margin:24px 0; padding:4px 0 4px 20px; border-left:4px solid var(--c-amber); font-family:var(--display); font-size:1.25rem; font-weight:600; line-height:1.4; color:var(--primary); max-width:46ch;}
.founder-highlights{list-style:none; padding:0; margin:0 0 26px; display:grid; grid-template-columns:1fr 1fr; gap:10px 22px;}
.founder-highlights li{position:relative; padding-left:28px; font-size:.92rem; color:var(--ink); line-height:1.45;}
.founder-highlights li::before{content:""; position:absolute; left:0; top:1px; width:18px; height:18px; border-radius:50%;
  background:var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;}
.org-section{background:var(--bg-alt);}
.org-flow{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:28px; counter-reset:org;}
.org-flow li{position:relative; background:#fff; border:1px solid var(--line); border-top:4px solid var(--oc); border-radius:12px; padding:20px 20px 22px; counter-increment:org;}
.org-flow li::before{content:counter(org); display:inline-flex; width:28px; height:28px; border-radius:50%; background:var(--oc); color:#fff; font-weight:700; font-size:.85rem; align-items:center; justify-content:center; margin-bottom:10px;}
.org-flow li:not(:last-child)::after{content:""; position:absolute; top:50%; right:-22px; width:16px; height:16px; transform:translateY(-50%);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355697A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;}
.org-flow strong{display:block; font-family:var(--display); font-size:1.05rem; color:var(--ink);}
.org-flow span{font-size:.86rem; color:var(--ink-soft);}
.team-group{scroll-margin-top:90px;}
.people-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:22px;}
.people-grid-lg{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));}
.person{background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column;}
.person-photo{aspect-ratio:1; background:linear-gradient(140deg,var(--primary-tint),var(--teal-tint)); display:flex; align-items:center; justify-content:center; position:relative;}
.person-photo img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 22%;}
.person-initials{font-family:var(--display); font-weight:700; font-size:3rem; color:var(--primary); letter-spacing:.02em;}
.person-add svg{width:56px; height:56px; color:var(--ink-soft); opacity:.45;}
.person-body{padding:16px 18px 20px;}
.person-body h3{font-size:1.06rem; margin:0 0 3px;}
.person-role{font-weight:600; color:var(--teal); font-size:.88rem; margin:0;}
.person-branch{font-size:.8rem; color:var(--accent-dark); font-weight:600; margin:2px 0 0;}
.person-cred{font-size:.82rem; color:var(--ink-soft); margin:6px 0 0;}
.person-bio{font-size:.86rem; margin:10px 0 0;}
.person-lg{flex-direction:row;}
.person-lg .person-photo{width:150px; flex:none; aspect-ratio:auto; min-height:180px;}
.person-lg .person-initials{font-size:2.4rem;}
.person-empty{border:1.5px dashed var(--c-amber); background:#FFFCF5;}
.person-empty .person-photo{background:#FFF3DC;}

/* ---------- Packages page ---------- */
.pkg-section{scroll-margin-top:140px;}
.pkg-section .section-head h2::after{background:var(--pc);}
.pkg-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch;}
.pkg-card{position:relative; background:#fff; border:1px solid var(--line); border-top:5px solid var(--pc); border-radius:16px; padding:28px 26px 26px; display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease;}
.pkg-card:hover{transform:translateY(-4px); box-shadow:0 18px 40px rgba(11,79,108,.12);}
.pkg-card.is-featured{border-color:var(--pc); border-width:2px 2px 2px; border-top-width:5px; box-shadow:0 18px 40px rgba(11,79,108,.12);}
.pkg-badge{position:absolute; top:-14px; right:20px; background:var(--accent); color:#fff; font-size:.74rem; font-weight:700; padding:5px 12px; border-radius:999px; box-shadow:0 6px 14px rgba(228,87,46,.3);}
.pkg-tag{font-size:.78rem; font-weight:700; color:var(--pc); text-transform:none;}
.pkg-card h3{font-size:1.45rem; margin:4px 0 14px; color:var(--ink);}
.pkg-price{display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--line);}
.pkg-price strong{font-family:var(--display); font-size:2rem; font-weight:700; color:var(--primary); line-height:1;}
.pkg-price strong.pkg-ask{font-size:1.25rem; color:var(--pc);}
.pkg-price span{font-size:.84rem; color:var(--ink-soft);}
.pkg-list{list-style:none; margin:0 0 24px; padding:0; display:flex; flex-direction:column; gap:10px; flex:1;}
.pkg-list li{position:relative; padding-left:28px; font-size:.92rem; color:var(--ink); line-height:1.4;}
.pkg-list li::before{content:""; position:absolute; left:0; top:1px; width:18px; height:18px; border-radius:50%; background:color-mix(in srgb, var(--pc) 14%, white)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4F6C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;}
.pkg-actions{display:flex; flex-direction:column; gap:10px; align-items:stretch; text-align:center;}
.pkg-ask-link{font-size:.86rem; font-weight:600; color:var(--teal); text-decoration:none;}
.pkg-ask-link:hover{text-decoration:underline;}
.pkg-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.pkg-steps > div{background:var(--bg-alt); border-radius:14px; padding:22px 22px 18px;}
.pkg-steps span{display:inline-flex; width:32px; height:32px; border-radius:50%; background:var(--primary); color:#fff; font-weight:700; align-items:center; justify-content:center; margin-bottom:10px;}
.pkg-steps h3{font-size:1.02rem; margin:0 0 6px;}
.pkg-steps p{font-size:.88rem; margin:0;}
.pkg-note{font-size:.84rem; margin:22px 0 0; max-width:none;}

/* ---------- Testimonials page ---------- */
.yt-card{background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; display:flex; flex-direction:column;}
.yt-thumb{position:relative; display:block; width:100%; aspect-ratio:16/9; padding:0; border:0; cursor:pointer; background:#0b2230; overflow:hidden;}
.yt-thumb img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .4s ease, opacity .2s;}
.yt-thumb:hover img{transform:scale(1.04);}
.yt-thumb::after{content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(4,18,26,.45), transparent 55%);}
.yt-play{position:absolute; z-index:1; left:50%; top:50%; transform:translate(-50%,-50%); width:68px; height:48px; border-radius:14px; background:#E62117; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 22px rgba(0,0,0,.35); transition:transform .15s ease;}
.yt-thumb:hover .yt-play{transform:translate(-50%,-50%) scale(1.08);}
.yt-play svg{width:26px; height:26px; margin-left:3px;}
.yt-badge{position:absolute; z-index:1; top:12px; left:12px; background:rgba(4,18,26,.75); color:#fff; font-size:.72rem; font-weight:700; padding:3px 9px; border-radius:999px;}
.yt-thumb:focus-visible{outline:3px solid var(--accent); outline-offset:3px;}
.yt-body{padding:16px 18px 20px;}
.yt-body h3{font-size:1.04rem; margin:0 0 4px;}
.yt-body p{font-size:.88rem; margin:0;}
.yt-featured{display:grid; grid-template-columns:1.6fr 1fr; margin-bottom:28px; border-radius:18px;}
.yt-featured .yt-thumb{height:100%; min-height:300px;}
.yt-featured .yt-body{padding:32px; display:flex; flex-direction:column; justify-content:center;}
.yt-featured .yt-body h3{font-size:1.5rem;}
.yt-featured .yt-body p{font-size:1rem;}
.yt-featured .yt-play{width:84px; height:58px;}
.yt-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.yt-empty{text-align:center; padding:56px 24px; border:1px solid var(--line); border-radius:18px; background:var(--bg-alt); margin-top:24px;}
.yt-empty-ico{display:inline-flex; width:72px; height:72px; border-radius:50%; background:#fff; color:#E62117; align-items:center; justify-content:center; margin-bottom:14px;}
.yt-empty-ico svg{width:38px; height:38px;}
.yt-empty p{margin:10px auto 0;}
.yt-modal{position:fixed; inset:0; z-index:10000; background:rgba(4,18,26,.92); display:flex; align-items:center; justify-content:center; padding:64px 24px;}
.yt-modal[hidden]{display:none;}
.yt-frame{width:min(1100px,100%); aspect-ratio:16/9; background:#000; border-radius:12px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.5);}
.yt-frame.is-short{width:auto; height:min(80vh,760px); aspect-ratio:9/16;}
.yt-frame iframe{width:100%; height:100%; border:0; display:block;}
.yt-close{position:absolute; top:16px; right:16px; width:46px; height:46px; border:none; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.yt-close:hover{background:rgba(255,255,255,.26);}
.yt-close svg{width:24px; height:24px;}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .org-flow{grid-template-columns:repeat(2,1fr);}
  .org-flow li:nth-child(2)::after{display:none;}
  .pkg-grid{grid-template-columns:repeat(2,1fr);}
  .yt-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:980px){
  .team-stats{grid-template-columns:repeat(2,1fr);}
  .founder-grid{grid-template-columns:1fr; gap:32px;}
  .founder-portrait{max-width:380px;}
  .yt-featured{grid-template-columns:1fr;}
  .yt-featured .yt-thumb{min-height:0;}
  .yt-featured .yt-body{padding:22px;}
}
@media (max-width:760px){
  .pkg-grid, .pkg-steps, .yt-grid{grid-template-columns:1fr;}
  .founder-highlights{grid-template-columns:1fr;}
  .person-lg{flex-direction:column;}
  .person-lg .person-photo{width:auto; aspect-ratio:1; min-height:0;}
  .people-grid{grid-template-columns:repeat(2,1fr); gap:14px;}
  .people-grid-lg{grid-template-columns:1fr;}
}
@media (max-width:620px){
  .team-hero{padding:52px 0 44px;}
  .org-flow{grid-template-columns:1fr; gap:22px;}
  .org-flow li::after{display:none !important;}
  .person-initials{font-size:2.2rem;}
  .person-body{padding:12px 14px 16px;}
  .yt-modal{padding:64px 10px;}
}
@media (max-width:420px){ .people-grid{grid-template-columns:1fr;} }
.people-grid{grid-template-columns:repeat(4,1fr);}
.people-grid-lg{grid-template-columns:repeat(3,1fr);}
@media (max-width:1180px){ .people-grid{grid-template-columns:repeat(3,1fr);} .people-grid-lg{grid-template-columns:repeat(2,1fr);} }
@media (max-width:760px){ .people-grid{grid-template-columns:repeat(2,1fr);} .people-grid-lg{grid-template-columns:1fr;} }
@media (max-width:420px){ .people-grid{grid-template-columns:1fr;} }
.navlink{white-space:nowrap;}
@media (max-width:1340px){
  nav.primary .navlink{padding:9px 10px; font-size:.9rem;}
  .nav-inner{gap:12px;}
  .brand-sub{display:none;}
}
@media (max-width:1260px){
  .nav-cta .btn-outline{display:none;}
}
.brand, .nav-cta{flex:none;}
.brand-word{white-space:nowrap;}
nav.primary{flex:0 1 auto; min-width:0;}
@media (max-width:1460px){
  nav.primary .navlink{padding:9px 10px; font-size:.9rem;}
  .nav-inner{gap:12px;}
  .brand-sub{display:none;}
}
@media (max-width:1460px){ .nav-cta .btn-outline{display:none;} }

/* ---------- About: story + dated timeline ---------- */
.anchor-target{position:relative; top:-90px; display:block; height:0;}
.about-story{background:#fff;}
.story-grid{display:grid; grid-template-columns:1.15fr 1fr; gap:56px; align-items:center;}
.story-grid p{font-size:1.02rem; line-height:1.7; max-width:60ch;}
.story-grid p strong{color:var(--ink);}
.story-stats{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; border-radius:16px; overflow:hidden; background:rgba(255,255,255,.16);
  background-color:#0B4F6C; background-image:linear-gradient(135deg,#06344A 0%,#0B4F6C 55%,#12879A 100%); box-shadow:0 22px 46px rgba(11,79,108,.2);}
.story-stats div{padding:22px 24px; background:rgba(6,40,58,.35); border:0.5px solid rgba(255,255,255,.08);}
.story-stats strong{display:block; font-family:var(--display); font-size:1.85rem; font-weight:700; color:#fff; line-height:1.1;}
.story-stats span{font-size:.84rem; color:rgba(255,255,255,.8);}
.tl-year{display:inline-block; font-size:.76rem; font-weight:700; color:var(--accent-dark); background:var(--accent-tint); padding:3px 10px; border-radius:999px; margin-bottom:6px;}
@media (max-width:980px){ .story-grid{grid-template-columns:1fr; gap:32px;} }
@media (max-width:420px){ .story-stats strong{font-size:1.5rem;} .story-stats div{padding:16px 16px;} }

/* ---------- Book Appointment popup ---------- */
.nav-cta .btn svg{width:16px; height:16px;}
.bk-modal{position:fixed; inset:0; z-index:10001; background:rgba(4,18,26,.6); display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; transition:opacity .2s ease;}
.bk-modal.open{opacity:1;}
.bk-modal[hidden]{display:none;}
.bk-sheet{position:relative; width:min(560px,100%); max-height:calc(100vh - 48px); overflow-y:auto; background:#fff; border-radius:18px; box-shadow:0 30px 70px rgba(0,0,0,.3);
  transform:translateY(14px); transition:transform .25s ease;}
.bk-modal.open .bk-sheet{transform:none;}
.bk-head{background:linear-gradient(135deg,#06344A,#0B4F6C 60%,#12879A); color:#fff; padding:26px 28px 22px;}
.bk-head h2{color:#fff; font-size:1.5rem; margin:0 0 4px;}
.bk-head p{color:rgba(255,255,255,.85); margin:0; font-size:.92rem;}
.bk-close{position:absolute; top:14px; right:14px; width:38px; height:38px; border:none; border-radius:50%; background:rgba(255,255,255,.16); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:1;}
.bk-close:hover{background:rgba(255,255,255,.3);}
.bk-close svg{width:20px; height:20px;}
.bk-form{padding:22px 28px 24px; display:flex; flex-direction:column; gap:14px;}
.bk-form label{display:flex; flex-direction:column; gap:6px; font-size:.8rem; font-weight:600; color:var(--ink-soft);}
.bk-form input, .bk-form select, .bk-form textarea{font:inherit; font-size:.95rem; font-weight:400; color:var(--ink); padding:11px 13px; border:1px solid var(--line-strong); border-radius:10px; background:#fff; width:100%; min-width:0;}
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus{outline:2px solid var(--teal); outline-offset:1px; border-color:var(--teal);}
.bk-form textarea{resize:vertical; min-height:62px;}
.bk-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.bk-error{margin:0; padding:10px 12px; border-radius:10px; background:#FDECEA; color:#A93222; font-size:.86rem; font-weight:600;}
.bk-submit{background:#25D366; color:#fff; width:100%; font-size:1rem; padding:14px; gap:10px;}
.bk-submit:hover{background:#1DB954;}
.bk-submit svg{width:22px; height:22px;}
.bk-emerg{margin:0; text-align:center; font-size:.82rem; color:var(--ink-soft); max-width:none;}
.bk-emerg a{color:var(--accent-dark); font-weight:700;}
.bk-done{padding:34px 28px 30px; text-align:center;}
.bk-done[hidden]{display:none;}
.bk-done-ico{display:inline-flex; width:64px; height:64px; border-radius:50%; background:#25D366; color:#fff; align-items:center; justify-content:center; margin-bottom:12px;}
.bk-done-ico svg{width:34px; height:34px;}
.bk-done h2{font-size:1.5rem; margin:0 0 8px;}
.bk-done p{margin:0 auto 18px;}
.bk-close-link{display:block; margin:12px auto 0; background:none; border:none; color:var(--ink-soft); font:inherit; font-size:.88rem; cursor:pointer; text-decoration:underline;}
.book-bar{display:none;}
@media (max-width:760px){
  .bk-modal{align-items:flex-end; padding:0;}
  .bk-sheet{width:100%; max-height:92vh; border-radius:18px 18px 0 0; transform:translateY(40px);}
  .bk-head{padding:22px 20px 18px;} .bk-form{padding:18px 20px 22px;}
  .book-bar{display:flex; position:fixed; left:0; right:0; bottom:0; z-index:79; gap:10px; padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
    background:rgba(255,255,255,.97); border-top:1px solid var(--line); box-shadow:0 -6px 18px rgba(11,79,108,.08);}
  .book-bar .btn{flex:1; padding:13px;}
  .book-bar-call{display:inline-flex; align-items:center; gap:6px; padding:0 16px; border:1px solid var(--line-strong); border-radius:8px; color:var(--primary); font-weight:600; text-decoration:none;}
  .book-bar-call svg{width:18px; height:18px;}
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px));}
  .float-stack{bottom:84px !important;}
  .chat-panel{bottom:150px;}
}
@media (max-width:420px){ .bk-row{grid-template-columns:1fr;} }
@media (prefers-reduced-motion: reduce){ .bk-modal, .bk-sheet{transition:none;} }

/* ===== v1.7: department photo slots (Services), real blog, article page ===== */
.svc-photos{grid-column:2; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:22px;}
.svc-photo{margin:0; aspect-ratio:4/3; border-radius:12px; overflow:hidden; position:relative;}
.svc-photos .img-slot.has-img{cursor:zoom-in; border:0;}
.svc-photos .img-slot.has-img img{width:100%; height:100%; object-fit:cover; transition:transform .4s ease;}
.svc-photos .img-slot.has-img:hover img{transform:scale(1.04);}
.svc-photos .img-slot.has-img:focus-visible{outline:3px solid var(--sc); outline-offset:3px;}
.svc-photos .img-cap{opacity:0; transform:translateY(4px); transition:opacity .2s, transform .2s;}
.svc-photos .img-slot:hover .img-cap, .svc-photos .img-slot:focus-visible .img-cap{opacity:1; transform:none;}
.svc-photo-empty{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; text-decoration:none; border:2px dashed color-mix(in srgb, var(--sc) 45%, white); background:color-mix(in srgb, var(--sc) 5%, white); color:var(--sc); font-weight:600; font-size:.88rem;}
.svc-photo-empty svg{width:30px; height:30px;}
.svc-photo-empty small{font-weight:500; font-size:.72rem; color:var(--ink-soft);}
.svc-photo-empty:hover{background:color-mix(in srgb, var(--sc) 11%, white);}
@media (max-width:980px){ .svc-photos{grid-column:auto; margin-top:6px;} }
@media (max-width:640px){ .svc-photos{grid-template-columns:repeat(2,1fr); gap:10px;} .svc-photos .img-cap{opacity:1; transform:none; font-size:.66rem; left:8px; bottom:8px; padding:3px 8px;} }

.post-link{display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none;}
.post .img-slot.has-img{position:relative;}
.post .img-slot.has-img img{width:100%; height:100%; object-fit:cover; transition:transform .4s ease;}
.post:hover .img-slot.has-img img{transform:scale(1.04);}
.post:hover h3{color:var(--teal);}
.blog-pages{display:flex; justify-content:center; gap:8px; margin-top:36px; flex-wrap:wrap;}
.blog-pages .page-numbers{padding:8px 14px; border:1px solid var(--line); border-radius:999px; text-decoration:none; color:var(--ink); font-weight:600; font-size:.88rem;}
.blog-pages .page-numbers.current{background:var(--teal); color:#fff; border-color:var(--teal);}
.yt-empty-ico[style] svg{stroke:currentColor;}

.article-head{max-width:820px;}
.article-back{display:inline-block; margin-bottom:14px; font-weight:600; text-decoration:none; font-size:.9rem;}
.article-cat{position:static; display:inline-block; margin-bottom:12px;}
.article-meta{color:var(--ink-soft); font-size:.9rem;}
.article-wrap{max-width:820px;}
.article-cover{margin:0 0 32px; border-radius:18px; overflow:hidden;}
.article-cover img{width:100%; height:auto; display:block;}
.article-body{font-size:1.04rem; line-height:1.75;}
.article-body h2{font-size:1.5rem; margin:1.6em 0 .5em;} .article-body h3{font-size:1.2rem; margin:1.4em 0 .4em;}
.article-body img{max-width:100%; height:auto; border-radius:12px;}
.article-body ul, .article-body ol{padding-left:1.3em;} .article-body li{margin:.3em 0;}
.article-body blockquote{margin:1.4em 0; padding:14px 20px; border-left:4px solid var(--c-green); background:var(--bg-alt); border-radius:0 12px 12px 0;}
.article-cta{margin-top:48px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:24px 28px; border-radius:18px; background:var(--bg-alt); border:1px solid var(--line);}
.article-cta h3{margin:0 0 4px;} .article-cta p{margin:0;}
/* never allow sideways scrolling on phones (slide-in animations, preloader paws) */
html, body{overflow-x:clip;}
@supports not (overflow:clip){ body{overflow-x:hidden;} }
/* v1.7 services photos: sit directly under the service list; columns follow photo count */
@media (min-width:981px){ .svc-intro{grid-row:span 2;} .svc-photos{grid-row:2;} }
.svc-photos[data-count="4"], .svc-photos[data-count="8"]{grid-template-columns:repeat(4,1fr);}
.svc-photos[data-count="1"]{grid-template-columns:minmax(0,420px);}
.svc-photos[data-count="2"]{grid-template-columns:repeat(2,1fr);}
@media (max-width:640px){ .svc-photos[data-count]{grid-template-columns:repeat(2,1fr);} .svc-photos[data-count="1"]{grid-template-columns:1fr;} }

/* ===== v1.8 preloader: a paw print springs together, merges into the logo, wordmark slides out ===== */
.pl2{flex-direction:column; gap:26px; background:radial-gradient(circle at 50% 45%, #F3FAFC 0%, #fff 60%);}
.pl2-stage{display:flex; align-items:center; justify-content:center;}
.pl2-mark{position:relative; width:132px; height:132px; flex:none;}
.pl2-mark > *{position:absolute; left:50%; top:50%;}
/* toe beans: fly in from four sides, land as a paw, then merge into the centre */
.pl2-bean{width:26px; height:32px; margin:-16px 0 0 -13px; border-radius:50%; opacity:0;
  animation:plBeanIn .5s cubic-bezier(.25,1.6,.45,1) forwards, plBeanOut .32s cubic-bezier(.6,0,.8,.4) .95s forwards;}
.pl2-b1{background:#1D6FD1; --x:-40px; --y:-30px; --r:-28deg; --fx:-160px; --fy:-60px; animation-delay:.05s, .95s;}
.pl2-b2{background:#0F9AA8; --x:-14px; --y:-50px; --r:-8deg;  --fx:-40px;  --fy:-190px; animation-delay:.14s, .98s;}
.pl2-b3{background:#E4572E; --x:14px;  --y:-50px; --r:8deg;   --fx:50px;   --fy:-190px; animation-delay:.23s, 1.01s;}
.pl2-b4{background:#7B5CD6; --x:40px;  --y:-30px; --r:28deg;  --fx:170px;  --fy:-60px; animation-delay:.32s, 1.04s;}
@keyframes plBeanIn{from{opacity:0; transform:translate(var(--fx),var(--fy)) rotate(var(--r)) scale(.4);} to{opacity:1; transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1);}}
@keyframes plBeanOut{from{opacity:1; transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1);} to{opacity:0; transform:translate(0,0) rotate(0) scale(.2);}}
/* main pad: rises from below, then swells into the round badge */
.pl2-pad{width:60px; height:50px; margin:-25px 0 0 -30px; border-radius:46% 46% 40% 40% / 55% 55% 45% 45%; background:linear-gradient(135deg,#0B4F6C,#12879A);
  opacity:0; animation:plPadIn .5s cubic-bezier(.25,1.5,.45,1) .38s forwards, plPadGrow .45s cubic-bezier(.65,0,.25,1.15) 1.05s forwards;}
@keyframes plPadIn{from{opacity:0; transform:translateY(150px) scale(.5);} to{opacity:1; transform:translateY(16px) scale(1);}}
@keyframes plPadGrow{from{opacity:1; transform:translateY(16px) scale(1); border-radius:46% 46% 40% 40% / 55% 55% 45% 45%;}
  to{opacity:1; transform:translateY(0) scale(2.2,2.64); border-radius:50%;}}
/* cat ears pop up on the badge, wiggle, tuck away */
.pl2-ear{width:0; height:0; border-left:17px solid transparent; border-right:17px solid transparent; border-bottom:30px solid #12879A; margin:0; opacity:0;
  transform-origin:50% 100%; animation:plEar 1s ease 1.35s forwards;}
.pl2-ear-l{--ex:-58px; --er:-24deg;} .pl2-ear-r{--ex:24px; --er:24deg; animation-delay:1.42s;}
@keyframes plEar{0%{opacity:0; transform:translate(var(--ex),-50px) rotate(var(--er)) scaleY(0);}
  25%{opacity:1; transform:translate(var(--ex),-86px) rotate(var(--er)) scaleY(1);}
  40%{transform:translate(var(--ex),-86px) rotate(calc(var(--er) * 1.6)) scaleY(1);}
  55%{transform:translate(var(--ex),-86px) rotate(var(--er)) scaleY(1);}
  100%{opacity:0; transform:translate(var(--ex),-60px) rotate(var(--er)) scaleY(.2);}}
/* ring draws around, logo revealed with a circular wipe */
.pl2-ring{width:132px; height:132px; margin:-66px 0 0 -66px; transform:rotate(-90deg); overflow:visible;}
.pl2-ring circle{fill:none; stroke:#E4572E; stroke-width:3; stroke-linecap:round; stroke-dasharray:390; stroke-dashoffset:390; animation:plRing .7s cubic-bezier(.65,0,.35,1) 1.2s forwards;}
@keyframes plRing{to{stroke-dashoffset:0;}}
.pl2-logo{width:116px; height:116px; margin:-58px 0 0 -58px; border-radius:50%; background:#fff; clip-path:circle(0% at 50% 50%);
  animation:plLogo .55s cubic-bezier(.65,0,.35,1) 1.42s forwards;}
@keyframes plLogo{to{clip-path:circle(50% at 50% 50%);}}
/* wordmark slides out from behind the badge */
.pl2-word{display:flex; flex-direction:column; overflow:hidden; max-width:0; white-space:nowrap; animation:plWordW .6s cubic-bezier(.65,0,.35,1) 1.75s forwards;}
@keyframes plWordW{to{max-width:300px; padding-left:20px;}}
.pl2-name, .pl2-sub{transform:translateX(-110%); animation:plWordIn .6s cubic-bezier(.2,.9,.3,1) 1.8s forwards;}
.pl2-name{font-family:"Space Grotesk",system-ui,sans-serif; font-weight:700; font-size:2.3rem; line-height:1; color:#0B4F6C; letter-spacing:-.02em;}
.pl2-sub{font-weight:600; font-size:.78rem; letter-spacing:.32em; text-transform:uppercase; color:#12879A; margin-top:6px; animation-delay:1.9s;}
@keyframes plWordIn{to{transform:none;}}
/* paw-print trail as the progress bar */
.pl2-trail{display:flex; gap:12px;}
.pl2-trail i{width:9px; height:11px; border-radius:50%; background:#12879A; opacity:.15; animation:plStepOn .25s ease forwards;}
.pl2-trail i:nth-child(odd){transform:translateY(-5px) rotate(-12deg);} .pl2-trail i:nth-child(even){transform:translateY(4px) rotate(12deg);}
.pl2-trail i:nth-child(1){animation-delay:.3s} .pl2-trail i:nth-child(2){animation-delay:.6s} .pl2-trail i:nth-child(3){animation-delay:.9s}
.pl2-trail i:nth-child(4){animation-delay:1.2s} .pl2-trail i:nth-child(5){animation-delay:1.5s} .pl2-trail i:nth-child(6){animation-delay:1.8s}
@keyframes plStepOn{to{opacity:.85;}}
.pl2-tag{margin:-14px 0 0; font-size:.85rem; color:#5B7280; opacity:0; animation:plFade .5s ease 2s forwards;}
@keyframes plFade{to{opacity:1;}}
/* repeat visits and reduced motion: show the finished lockup, no choreography */
.pl2.pl2-quick *, .pl2.pl2-quick *::before{animation:none !important;}
.pl2.pl2-quick .pl2-bean, .pl2.pl2-quick .pl2-ear, .pl2.pl2-quick .pl2-trail, .pl2.pl2-quick .pl2-tag, .pl2.pl2-quick .pl2-pad{display:none;}
.pl2.pl2-quick .pl2-logo{clip-path:none;} .pl2.pl2-quick .pl2-ring circle{stroke-dashoffset:0;}
.pl2.pl2-quick .pl2-word{max-width:300px; padding-left:20px;} .pl2.pl2-quick .pl2-name, .pl2.pl2-quick .pl2-sub{transform:none;}
@media (prefers-reduced-motion: reduce){
  .pl2 *{animation:none !important;}
  .pl2 .pl2-bean, .pl2 .pl2-ear, .pl2 .pl2-pad{display:none;} .pl2 .pl2-logo{clip-path:none;} .pl2 .pl2-ring circle{stroke-dashoffset:0;}
  .pl2 .pl2-word{max-width:300px; padding-left:20px;} .pl2 .pl2-name, .pl2 .pl2-sub{transform:none;} .pl2 .pl2-trail i, .pl2 .pl2-tag{opacity:1;}
}
@media (max-width:480px){ .pl2-mark{transform:scale(.8);} .pl2-name{font-size:1.8rem;} .pl2-sub{font-size:.66rem;} @keyframes plWordW{to{max-width:220px; padding-left:6px;}} }

/* v1.8 homepage services: emergency first and wider, 4 columns on desktop */
.services-grid-8{grid-template-columns:repeat(4,1fr);}
.services-grid-8 .service-em{grid-column:span 2; --svc:var(--c-coral); background:linear-gradient(135deg, #FFF4EF, #fff 70%); border-left-color:var(--accent);}
.services-grid-8 .service-em h3{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.svc-live{display:inline-flex; align-items:center; gap:6px; font-size:.7rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#fff; background:var(--accent); padding:3px 10px 3px 8px; border-radius:999px;}
.svc-live::before{content:""; width:7px; height:7px; border-radius:50%; background:#fff; animation:svcPulse 1.4s ease-in-out infinite;}
@keyframes svcPulse{50%{opacity:.3;}}
.services-grid-8 .service:nth-child(n){--svc:var(--c-blue);}
.services-grid-8 .service:nth-child(1){--svc:var(--c-coral);} .services-grid-8 .service:nth-child(2){--svc:var(--c-teal);}
.services-grid-8 .service:nth-child(3){--svc:var(--c-blue);} .services-grid-8 .service:nth-child(4){--svc:var(--c-purple);}
.services-grid-8 .service:nth-child(5){--svc:var(--c-teal);} .services-grid-8 .service:nth-child(6){--svc:var(--c-green);} .services-grid-8 .service:nth-child(7){--svc:var(--c-amber);}
@media (max-width:1100px){ .services-grid-8{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .services-grid-8{grid-template-columns:1fr;} .services-grid-8 .service-em{grid-column:auto;} }

/* v1.8 homepage FAQ */
.faq-wrap{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.8fr); gap:48px; align-items:start;}
.faq-head{position:sticky; top:110px;}
.faq-head h2{margin:8px 0 10px;} .faq-head p{color:var(--ink-soft); margin:0 0 18px;}
.faq-list{display:flex; flex-direction:column; gap:10px;}
.faq-item{background:#fff; border:1px solid var(--line); border-radius:14px; transition:border-color .2s, box-shadow .2s;}
.faq-item[open]{border-color:color-mix(in srgb, var(--teal) 45%, white); box-shadow:0 8px 24px rgba(11,79,108,.07);}
.faq-item summary{list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; font-weight:600; font-size:1rem; color:var(--ink);}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary i{flex:none; width:28px; height:28px; border-radius:50%; background:var(--teal-tint); position:relative; transition:transform .25s, background .25s;}
.faq-item summary i::before, .faq-item summary i::after{content:""; position:absolute; left:50%; top:50%; width:11px; height:2px; margin:-1px 0 0 -5.5px; background:var(--teal); border-radius:2px;}
.faq-item summary i::after{transform:rotate(90deg); transition:transform .25s;}
.faq-item[open] summary i{background:var(--teal); transform:rotate(180deg);}
.faq-item[open] summary i::before{background:#fff;} .faq-item[open] summary i::after{transform:rotate(0); background:#fff;}
.faq-item summary:focus-visible{outline:3px solid var(--teal); outline-offset:2px; border-radius:14px;}
.faq-a{padding:0 22px 18px;} .faq-a p{margin:0; color:var(--ink-soft); line-height:1.65;}
@media (max-width:900px){ .faq-wrap{grid-template-columns:1fr; gap:24px;} .faq-head{position:static;} }
.faq-head .eyebrow{display:inline-block; font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); background:var(--accent-tint); padding:4px 12px; border-radius:999px;}

/* ===== v1.8 About: animated route map ===== */
.story-stats .stat-hero{background:var(--accent) !important;}
.stat-hero strong, .stat-hero span{color:#fff !important;}
.route-section{background:linear-gradient(180deg,#fff, #F4FAFC);}
.route-grid{display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr); gap:48px; align-items:center;}
.route-stops{list-style:none; margin:0 0 22px; padding:0; position:relative;}
.route-stops::before{content:""; position:absolute; left:15px; top:26px; bottom:26px; width:2px; background:repeating-linear-gradient(to bottom, #C9DCE3 0 6px, transparent 6px 12px);}
.route-stop{position:relative; display:flex; align-items:center; gap:14px; padding:12px 14px 12px 6px; border-radius:14px; transition:background .2s;}
.route-stop:hover, .route-stop.is-hot{background:color-mix(in srgb, var(--pc) 9%, white);}
.rs-dot{flex:none; width:20px; height:20px; margin-left:6px; border-radius:50%; background:#fff; border:5px solid var(--pc); position:relative; z-index:1;}
.route-stop div{flex:1; display:flex; flex-direction:column;} .route-stop strong{font-size:1.02rem; color:var(--ink);} .route-stop div span{font-size:.85rem; color:var(--ink-soft);}
.rs-dir{flex:none; display:inline-flex; align-items:center; gap:4px; font-size:.82rem; font-weight:600; color:var(--pc); text-decoration:none; padding:6px 12px; border-radius:999px; border:1px solid color-mix(in srgb, var(--pc) 35%, white);}
.rs-dir svg{width:14px; height:14px;} .rs-dir:hover{background:var(--pc); color:#fff;}
.route-map{position:relative; border-radius:24px; overflow:hidden; background:#FBFDFE; border:1px solid var(--line); box-shadow:0 20px 50px rgba(11,79,108,.08);}
.route-svg{display:block; width:100%; height:auto;}
.route-note{position:absolute; left:16px; bottom:12px; font-size:.7rem; color:#8AA0AA;}
.rm-faint{font-size:13px; fill:#8AA0AA; font-style:italic;}
.rm-minor{fill:none; stroke:#DCE7EC; stroke-width:7; stroke-linecap:round;}
.rm-road-base{fill:none; stroke:#E6EEF1; stroke-width:16; stroke-linecap:round;}
.rm-road{fill:none; stroke:url(#rmRoute); stroke-width:6; stroke-linecap:round; stroke-dasharray:1000; stroke-dashoffset:1000;}
.rm-flow{fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-dasharray:2 14; opacity:0;}
.rm-roadname{font-size:12px; font-weight:700; letter-spacing:.2em; fill:#9DB3BC;}
.rm-place circle{fill:#fff; stroke:#9DB3BC; stroke-width:2;} .rm-place text{font-size:13px; font-weight:600; fill:#6B8590;}
.rm-traveller{opacity:0;}
.rm-pin .rm-drop{transform-box:fill-box; transform-origin:50% 100%; opacity:0; transform:translateY(-40px) scale(.6);}
.rm-pin text{opacity:0;}
.rm-name{font-family:"Space Grotesk",system-ui,sans-serif; font-size:19px; font-weight:700; fill:#102A38;}
.rm-main .rm-name{font-size:22px;}
.rm-hrs{font-size:13px; font-weight:600; fill:var(--pc);}
.rm-pulse{fill:var(--pc); opacity:0; transform-box:fill-box; transform-origin:center;}
.rm-pin{cursor:default;} .rm-pin.is-hot .rm-drop{filter:drop-shadow(0 6px 8px rgba(0,0,0,.25));}
/* play when visible */
.route-map.is-live .rm-road{animation:rmDraw 1.6s cubic-bezier(.65,0,.35,1) .1s forwards;}
.route-map.is-live .rm-flow{animation:rmFlowIn .4s ease 1.6s forwards, rmFlow 1.2s linear 1.6s infinite;}
.route-map.is-live .rm-traveller{animation:rmFlowIn .4s ease 1.6s forwards;}
.route-map.is-live .rm-drop{animation:rmDrop .55s cubic-bezier(.25,1.6,.45,1) var(--d) forwards;}
.route-map.is-live .rm-pin text{animation:rmFlowIn .4s ease calc(var(--d) + .25s) forwards;}
.route-map.is-live .rm-pulse{animation:rmPulse 2.2s ease-out calc(var(--d) + .4s) infinite;}
@keyframes rmDraw{to{stroke-dashoffset:0;}}
@keyframes rmFlowIn{to{opacity:1;}}
@keyframes rmFlow{to{stroke-dashoffset:-16;}}
@keyframes rmDrop{to{opacity:1; transform:none;}}
@keyframes rmPulse{0%{opacity:.45; transform:scale(.6);} 100%{opacity:0; transform:scale(2.6);}}
@media (prefers-reduced-motion: reduce){
  .route-map .rm-road{stroke-dashoffset:0;} .route-map .rm-drop, .route-map .rm-pin text, .route-map .rm-flow{opacity:1; transform:none;}
  .route-map *{animation:none !important;} .rm-traveller{display:none;}
}
@media (max-width:980px){ .route-grid{grid-template-columns:1fr; gap:28px;} .route-map{order:-1;} }
@media (max-width:560px){ .rm-name{font-size:24px;} .rm-main .rm-name{font-size:26px;} .rm-hrs{font-size:16px;} .rm-faint{font-size:15px;} .rs-dir{padding:6px 10px;} }

/* v1.8 APH Pet Membership showcase */
.mem-showcase{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:44px; align-items:center;}
.mem-poster{margin:0; border-radius:22px; overflow:hidden; box-shadow:0 24px 60px rgba(11,79,108,.16); transform:rotate(-1.2deg); transition:transform .4s ease; cursor:default;}
.mem-poster:hover{transform:rotate(0) scale(1.01);}
.mem-poster img{display:block; width:100%; height:auto;}
.mem-count{display:inline-flex; align-items:baseline; gap:10px; padding:10px 18px; border-radius:999px; background:var(--accent-tint); color:var(--accent-dark); margin-bottom:18px;}
.mem-count strong{font-family:var(--display); font-size:1.6rem; line-height:1; color:var(--accent);}
.mem-count span{font-weight:600; font-size:.92rem;}
.mem-price{display:flex; align-items:baseline; gap:12px; margin-bottom:18px;}
.mem-price strong{font-family:var(--display); font-size:3rem; line-height:1; color:var(--primary);}
.mem-price span{font-weight:600; color:var(--ink-soft);}
.mem-benefits{list-style:none; padding:0; margin:0 0 24px; display:grid; grid-template-columns:repeat(2,1fr); gap:12px;}
.mem-benefits li{display:flex; gap:12px; align-items:flex-start; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fff;}
.mem-benefits li:nth-child(1){--mc:var(--c-blue);} .mem-benefits li:nth-child(2){--mc:var(--c-amber);} .mem-benefits li:nth-child(3){--mc:var(--c-coral);}
.mem-benefits li:nth-child(4){--mc:var(--c-green);} .mem-benefits li:nth-child(5){--mc:var(--c-teal);} .mem-benefits li:nth-child(6){--mc:var(--c-purple);}
.mem-ico{flex:none; width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:var(--mc); background:color-mix(in srgb, var(--mc) 13%, white);}
.mem-ico svg{width:20px; height:20px;}
.mem-benefits strong{display:block; font-size:.95rem; color:var(--ink);} .mem-benefits span{font-size:.82rem; color:var(--ink-soft);}
.mem-actions{justify-content:flex-start; gap:18px;}
@media (max-width:980px){ .mem-showcase{grid-template-columns:1fr; gap:28px;} .mem-poster{transform:none;} }
@media (max-width:520px){ .mem-benefits{grid-template-columns:1fr;} .mem-price strong{font-size:2.4rem;} }
.mem-poster{aspect-ratio:1671/935;} .mem-poster img{position:static; width:100%; height:100%; object-fit:cover;}
.mem-count strong{display:inline-flex; align-items:baseline;}
.mem-count .mem-num{font-size:inherit; font-weight:inherit; color:inherit;}

/* ===== v1.9 Videos: Instagram reels + vet tips ===== */
.reel-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.reel-card{display:flex; flex-direction:column; gap:10px;}
.reel-cover{position:relative; aspect-ratio:9/16; border-radius:18px; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:18px; text-decoration:none; color:#fff;
  background:radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--rc) 55%, white) 0%, transparent 55%), linear-gradient(160deg, var(--rc), #0B4F6C 85%); box-shadow:0 14px 34px rgba(11,79,108,.14); transition:transform .3s ease, box-shadow .3s ease;}
.reel-cover::before{content:""; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60' fill='white'%3E%3Cellipse cx='20' cy='26' rx='6' ry='5'/%3E%3Ccircle cx='13' cy='18' r='2.4'/%3E%3Ccircle cx='18' cy='14' r='2.4'/%3E%3Ccircle cx='23' cy='14' r='2.4'/%3E%3Ccircle cx='28' cy='18' r='2.4'/%3E%3Cellipse cx='46' cy='52' rx='5' ry='4'/%3E%3Ccircle cx='40' cy='45' r='2'/%3E%3Ccircle cx='44.5' cy='42' r='2'/%3E%3Ccircle cx='49' cy='42' r='2'/%3E%3Ccircle cx='53' cy='45' r='2'/%3E%3C/svg%3E"); opacity:.14;}
.reel-cover:hover{transform:translateY(-4px); box-shadow:0 20px 44px rgba(11,79,108,.22);}
.reel-cover:focus-visible{outline:3px solid var(--rc); outline-offset:3px;}
.reel-badge{position:absolute; top:14px; left:14px; display:inline-flex; align-items:center; gap:6px; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background:rgba(255,255,255,.2); backdrop-filter:blur(6px); padding:5px 10px; border-radius:999px;}
.reel-badge svg{width:14px; height:14px;}
.reel-title{position:relative; font-family:var(--display); font-size:1.25rem; font-weight:700; line-height:1.2;}
.reel-cover .yt-play{position:absolute; left:50%; top:46%; transform:translate(-50%,-50%);}
.reel-tip{margin:0; font-size:.9rem; color:var(--ink-soft); line-height:1.5;}
.yt-frame.is-ig{width:min(440px,100%); height:min(86vh,800px); aspect-ratio:auto; background:#fff;}

.tip-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.tip-card{background:#fff; border:1px solid var(--line); border-top:4px solid var(--tc); border-radius:16px; padding:22px 20px; display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s;}
.tip-card:hover{transform:translateY(-3px); box-shadow:0 14px 30px rgba(11,79,108,.09);}
.tip-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:14px;}
.tip-ico{width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--tc); background:color-mix(in srgb, var(--tc) 13%, white);}
.tip-ico svg{width:22px; height:22px;}
.tip-cat{font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--tc);}
.tip-card h3{font-size:1.08rem; margin:0 0 10px;}
.tip-card ul{margin:0 0 14px; padding:0; list-style:none; display:flex; flex-direction:column; gap:8px;}
.tip-card li{position:relative; padding-left:18px; font-size:.9rem; line-height:1.45; color:var(--ink);}
.tip-card li::before{content:""; position:absolute; left:2px; top:.5em; width:7px; height:7px; border-radius:50%; background:var(--tc);}
.tip-note{margin:auto 0 0; padding:12px 14px; border-radius:10px; background:color-mix(in srgb, var(--tc) 8%, white); font-size:.84rem; line-height:1.5; color:var(--ink);}
.tip-disclaimer{margin:22px 0 0; font-size:.82rem; color:var(--ink-soft); text-align:center;}

.ig-band{display:flex; align-items:center; gap:24px; padding:30px 34px; border-radius:22px; color:#fff;
  background:linear-gradient(120deg,#833AB4 0%,#C13584 35%,#E1306C 60%,#F77737 100%); box-shadow:0 18px 44px rgba(193,53,132,.25);}
.ig-band-ico{flex:none; width:64px; height:64px; border-radius:18px; background:rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center;}
.ig-band-ico svg{width:34px; height:34px;}
.ig-band div{flex:1;} .ig-band h2{color:#fff; margin:0 0 4px; font-size:1.6rem;} .ig-band p{margin:0; color:rgba(255,255,255,.88);}
.btn-light{background:#fff; color:#C13584; border:0;} .btn-light:hover{background:#FFF0F6; color:#833AB4;}

@media (max-width:1100px){ .reel-grid, .tip-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .tip-grid{grid-template-columns:1fr;} .reel-grid{gap:12px;} .reel-title{font-size:1rem;} .reel-cover{padding:14px; border-radius:14px;}
  .ig-band{flex-direction:column; text-align:center; padding:26px 22px;} .ig-band h2{font-size:1.3rem;} }
.reel-cover .yt-play{background:rgba(255,255,255,.92); color:var(--rc); width:62px; height:62px;}
.reel-cover:hover .yt-play{background:#fff; transform:translate(-50%,-50%) scale(1.08);}
.tip-disclaimer{max-width:620px; margin-left:auto; margin-right:auto;}

/* v1.10 reel slots: real media covers + editor placeholders */
.reel-cover.has-media{background:#0B2A38;}
.reel-media{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.reel-cover.has-media::before{background:linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 30%, transparent 55%, rgba(0,0,0,.7) 100%); opacity:1; z-index:1;}
.reel-cover .reel-badge, .reel-cover .reel-title, .reel-cover .yt-play{z-index:2;}
.reel-empty{aspect-ratio:9/16; border-radius:18px; border:2px dashed #B9D3DC; background:#F6FBFC; color:var(--teal); text-decoration:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; padding:16px; position:relative; transition:background .2s, border-color .2s;}
.reel-empty:hover{background:var(--teal-tint); border-color:var(--teal);}
.reel-empty svg{width:40px; height:40px; margin-bottom:4px;}
.reel-empty strong{font-size:1rem; color:var(--ink);} .reel-empty small{font-size:.8rem; color:var(--ink-soft);}
.reel-empty em{font-style:normal; font-size:.7rem; color:#8AA0AA; margin-top:6px;}
.reel-empty-num{position:absolute; top:12px; left:12px; width:26px; height:26px; border-radius:50%; background:#fff; border:1px solid #B9D3DC; font-size:.78rem; font-weight:700; display:flex; align-items:center; justify-content:center; color:var(--teal);}
.yt-frame video{width:100%; height:100%; display:block; background:#000; object-fit:contain;}
.reel-grid > *{min-width:0;}
.reel-empty{width:100%; box-sizing:border-box;}
.reel-cover .yt-play{border-radius:50%;}
