/* ============================================================
   TRIPLEGLOW HOUSEKEEPING SERVICES — SHARED STYLESHEET
   Design tokens, layout system, components, animations.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root{
  --blue: #143C96;
  --blue-dark: #0C2A6E;
  --blue-tint: #EAF0FB;
  --orange: #F47C20;
  --orange-dark: #D9640D;
  --orange-tint: #FFF1E6;
  --white: #FFFFFF;
  --bg: #F6F8FB;
  --ink: #10203D;
  --grey: #5C6779;
  --grey-light: #90999E;
  --border: #E4E9F2;

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 8px rgba(16, 32, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 32, 61, 0.10);
  --shadow-lg: 0 16px 40px rgba(16, 32, 61, 0.14);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1180px;
  --header-h: 76px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-bg-slide, .banner-bg-slide{ animation: none !important; opacity: 0; transform: none !important; }
  .hero-bg-slide:first-child, .banner-bg-slide:first-child{ opacity: 1 !important; }
}
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: opacity .28s var(--ease-smooth);
}
body.page-exit{ opacity: 0; }

/* ---------- Page gate (entrance/exit reveal) ---------- */
.page-gate{
  position: fixed; inset: 0; z-index: 600; display: flex;
  pointer-events: none;
}
.gate-panel{
  width: 50%; height: 100%; pointer-events: auto;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.gate-left{ animation: gate-open-left .85s var(--ease-out-expo) .32s both; }
.gate-right{ animation: gate-open-right .85s var(--ease-out-expo) .32s both; }
@keyframes gate-open-left{ from{ transform: translateX(0); } to{ transform: translateX(-100%); } }
@keyframes gate-open-right{ from{ transform: translateX(0); } to{ transform: translateX(100%); } }

.gate-mark{
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 62px; height: 62px; border-radius: 16px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  animation: gate-mark-pop .45s var(--ease-spring) .05s both, gate-mark-fade .3s ease .5s both;
}
.gate-mark svg{ width: 28px; height: 28px; }
@keyframes gate-mark-pop{
  from{ transform: translate(-50%,-50%) scale(0.3); opacity: 0; }
  to{ transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
@keyframes gate-mark-fade{
  from{ transform: translate(-50%,-50%) scale(1); opacity: 1; }
  to{ transform: translate(-50%,-50%) scale(0.7); opacity: 0; }
}

/* Gate-close, played briefly before navigating to another page (see js/main.js) */
.page-gate.closing .gate-mark{ display: none; }
.page-gate.closing .gate-left{ animation: gate-close-left .5s var(--ease-smooth) both; }
.page-gate.closing .gate-right{ animation: gate-close-right .5s var(--ease-smooth) both; }
@keyframes gate-close-left{ from{ transform: translateX(-100%); } to{ transform: translateX(0); } }
@keyframes gate-close-right{ from{ transform: translateX(100%); } to{ transform: translateX(0); } }

/* Top-of-viewport scroll progress indicator */
.scroll-progress{
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  z-index: 400; transition: width .12s linear;
  pointer-events: none;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea{ font-family: inherit; }
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--ink); line-height: 1.2; font-weight: 600; }
.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 380px){
  .container{ padding: 0 16px; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--blue); color: var(--white);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px;
}
.eyebrow::before{
  content: ""; width: 22px; height: 2px; background: var(--orange); display: inline-block; border-radius: 2px;
}
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.section-head p{ color: var(--grey); font-size: 1.02rem; }

section{ padding: 80px 0; }
.section-alt{ background: var(--white); }
.section-tint{ background: var(--blue-tint); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.96rem;
  padding: 15px 28px; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::before{
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease-out-expo); pointer-events: none;
}
.btn:hover::before{ left: 130%; }
.btn svg{ width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary{ background: var(--orange); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary{ background: var(--white); color: var(--blue); border: 1.5px solid var(--border); }
.btn-secondary:hover{ border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost-light{ background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(4px); }
.btn-ghost-light:hover{ background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-block{ width: 100%; }
.btn-lg{ padding: 19px 36px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow .35s var(--ease-smooth);
}
.site-header.scrolled{ box-shadow: 0 4px 18px rgba(16,32,61,0.08); }
.nav{ height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand{ display: flex; align-items: center; gap: 11px; font-family: var(--font-display); }
.brand-mark{
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-mark img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong{ font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.brand-name span{ font-size: 0.66rem; letter-spacing: 0.08em; color: var(--orange); font-weight: 600; text-transform: uppercase; }

.nav-links{ display: flex; align-items: center; gap: 34px; }
.nav-links a{
  font-family: var(--font-display); font-weight: 500; font-size: 0.94rem; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--orange);
  transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width: 100%; }
.nav-links a.active{ color: var(--blue); }
.nav-cta{ display: flex; align-items: center; gap: 12px; }
.nav-call{
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; transition: border-color .18s, background .18s;
}
.nav-call svg{ width: 19px; height: 19px; color: var(--blue); }
.nav-call:hover{ border-color: var(--blue); background: var(--blue-tint); }

.hamburger{
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--border);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.hamburger span{ width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-panel{
  display: block; position: fixed; top: var(--header-h); right: 0; bottom: 0;
  width: min(84vw, 360px); background: var(--white); z-index: 99;
  padding: 30px 26px 32px; overflow-y: auto;
  box-shadow: -20px 0 50px rgba(16,32,61,0.2);
  transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--ease-out-expo), visibility 0s linear .5s;
}
.mobile-panel.open{
  transform: translateX(0); visibility: visible;
  transition: transform .5s var(--ease-out-expo), visibility 0s linear 0s;
}
.mobile-panel a{
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  padding: 16px 4px; border-bottom: 1px solid var(--border); color: var(--ink);
  opacity: 0; transform: translateX(28px);
  transition: opacity .45s var(--ease-out-expo), transform .45s var(--ease-out-expo), color .18s ease;
}
.mobile-panel.open a{ opacity: 1; transform: translateX(0); }
.mobile-panel a:nth-child(1){ transition-delay: .08s; }
.mobile-panel a:nth-child(2){ transition-delay: .14s; }
.mobile-panel a:nth-child(3){ transition-delay: .20s; }
.mobile-panel a:nth-child(4){ transition-delay: .26s; }
.mobile-panel a:nth-child(5){ transition-delay: .32s; }
.mobile-panel a.active{ color: var(--blue); }
.mobile-panel .btn{
  margin-top: 24px; opacity: 0; transform: translateX(28px);
  transition: opacity .45s var(--ease-out-expo) .38s, transform .45s var(--ease-out-expo) .38s;
}
.mobile-panel.open .btn{ opacity: 1; transform: translateX(0); }

/* Dimmed, blurred backdrop behind the drawer (toggled via body.nav-open in js/main.js) */
body.nav-open::after{
  content: ""; position: fixed; inset: 0; z-index: 98;
  background: rgba(12,42,110,0.38); backdrop-filter: blur(3px);
  animation: fadeIn .35s ease;
}

@media (max-width: 900px){
  .nav-links{ display: none; }
  .hamburger{ display: flex; }
  .nav-call{ display: none; }
  .nav-cta .btn-primary{ display: none; } /* the mobile drawer below has its own full-width "Book on WhatsApp" button */
}

/* Very small phones: a touch more breathing room in the header row */
@media (max-width: 380px){
  .brand-name span{ display: none; } /* drop the "Housekeeping Services" subline, keep "Tripleglow" */
}

/* ---------- Hero ---------- */
.hero{
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 60px 0 80px; overflow: hidden;
  background: #0c2a6e; /* fallback shown while the background photos load */
}

/* 5-image alternating background slideshow (Ken Burns crossfade) */
.hero-bg{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-slide{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1);
  animation: hero-kenburns 22s infinite;
  will-change: opacity, transform;
}
.hero-bg-slide:nth-child(1){ animation-delay: 0s; }
.hero-bg-slide:nth-child(2){ animation-delay: -4.4s; }
.hero-bg-slide:nth-child(3){ animation-delay: -8.8s; }
.hero-bg-slide:nth-child(4){ animation-delay: -13.2s; }
.hero-bg-slide:nth-child(5){ animation-delay: -17.6s; }
@keyframes hero-kenburns{
  0%    { opacity: 0; transform: scale(1); }
  3%    { opacity: 1; }
  17%   { opacity: 1; transform: scale(1.11); }
  20%   { opacity: 0; transform: scale(1.13); }
  100%  { opacity: 0; }
}

/* Brand-colour wash so headline/text stay legible over any photo */
.hero-overlay{
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(120deg, rgba(12,42,110,0.55) 0%, rgba(20,60,150,0.42) 55%, rgba(20,60,150,0.28) 100%),
    repeating-linear-gradient(115deg, rgba(27,75,176,0.18) 0px, rgba(27,75,176,0.18) 2px, rgba(22,62,147,0.18) 2px, rgba(22,62,147,0.18) 90px);
}
.hero::before{
  content:""; position: absolute; width: 60%; height: 220%; top: -60%; left: -20%; z-index: 2;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,0.10) 50%, transparent 58%);
  animation: sweep 9s ease-in-out infinite;
}
.hero::after{
  content:""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,124,32,0.28), transparent 70%);
  top: -140px; right: -110px; z-index: 2; pointer-events: none;
  animation: float-orb 11s ease-in-out infinite;
}
@keyframes sweep{
  0%, 100%{ transform: translateX(0) rotate(8deg); }
  50%{ transform: translateX(30%) rotate(8deg); }
}
@keyframes float-orb{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-34px, 38px) scale(1.06); }
}
.hero-inner{ position: relative; z-index: 3; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; max-width: 720px; }

/* Orchestrated hero + banner entrance (played once on load via JS toggling .in) */
.hero-badge, .hero h1, .hero p.lead, .hero-actions, .hero-stats, .hero-float-card,
.page-banner .breadcrumb, .page-banner h1, .page-banner p{
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}
.hero-badge.in, .hero h1.in, .hero p.lead.in, .hero-actions.in, .hero-stats.in, .hero-float-card.in,
.page-banner .breadcrumb.in, .page-banner h1.in, .page-banner p.in{
  opacity: 1; transform: translateY(0);
}
.hero-photo{ opacity: 0; transform: scale(0.94); transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo); }
.hero-photo.in{ opacity: 1; transform: scale(1); }
.hero-badge{
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3); color: var(--white); font-size: 0.82rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(6px);
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero-badge svg{ width: 15px; height: 15px; color: var(--orange); }
.hero h1{
  color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 20px; letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(8,20,50,0.55);
}
.hero h1 em{ font-style: normal; color: var(--orange); }
.hero p.lead{ color: rgba(255,255,255,0.92); font-size: 1.12rem; max-width: 540px; margin-bottom: 34px; text-shadow: 0 1px 10px rgba(8,20,50,0.4); }
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats{ display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong{ display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--white); text-shadow: 0 1px 8px rgba(8,20,50,0.4); }
.hero-stats div span{ color: rgba(255,255,255,0.8); font-size: 0.84rem; text-shadow: 0 1px 6px rgba(8,20,50,0.35); }

.hero-art{ position: relative; }
.hero-photo{
  aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(155deg, #E7EDFB 0%, #CFDAF3 100%);
  box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,0.5);
}
.hero-photo .ph-icon{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color: var(--blue); opacity:0.35; }
.hero-photo .ph-icon svg{ width: 96px; height: 96px; }
.hero-photo .ph-label{
  position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.78rem; color: var(--grey); font-weight: 500;
}
.hero-float-card{
  position: absolute; bottom: -22px; left: -22px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero-float-card .icon-wrap{ width: 42px; height: 42px; border-radius: 10px; background: var(--orange-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float-card .icon-wrap svg{ width: 22px; height: 22px; color: var(--orange); }
.hero-float-card strong{ display: block; font-size: 0.92rem; font-family: var(--font-display); }
.hero-float-card span{ font-size: 0.78rem; color: var(--grey); }

@media (max-width: 940px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; max-width: 320px; margin: 0 auto 20px; }
  .hero{ min-height: auto; padding-top: 40px; }
  .hero-float-card{ display: none; }
}
@media (max-width: 480px){
  .hero-stats{ gap: 20px 28px; }
  .hero-actions .btn{ flex: 1 1 auto; }
}

/* ---------- Page Banner (inner pages) ---------- */
.page-banner{
  position: relative; padding: 64px 0 70px; overflow: hidden;
  background: var(--blue-dark); /* fallback shown while the background photos load */
}

/* 2-image alternating background slideshow (Ken Burns crossfade) */
.page-banner-bg{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.banner-bg-slide{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1);
  animation: banner-kenburns 16s infinite;
  will-change: opacity, transform;
}
.banner-bg-slide:nth-child(1){ animation-delay: 0s; }
.banner-bg-slide:nth-child(2){ animation-delay: -8s; }
@keyframes banner-kenburns{
  0%    { opacity: 0; transform: scale(1); }
  4%    { opacity: 1; }
  46%   { opacity: 1; transform: scale(1.09); }
  50%   { opacity: 0; transform: scale(1.11); }
  100%  { opacity: 0; }
}

.page-banner-overlay{
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(120deg, rgba(12,42,110,0.55) 0%, rgba(20,60,150,0.42) 55%, rgba(20,60,150,0.28) 100%),
    repeating-linear-gradient(115deg, rgba(27,75,176,0.18) 0px, rgba(27,75,176,0.18) 2px, rgba(22,62,147,0.18) 2px, rgba(22,62,147,0.18) 90px);
}
.page-banner::before{
  content:""; position: absolute; width: 50%; height: 200%; top: -50%; right: -10%; z-index: 2;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,0.09) 50%, transparent 58%);
  animation: sweep 10s ease-in-out infinite;
}
.page-banner::after{
  content:""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,124,32,0.22), transparent 70%);
  bottom: -160px; left: -80px; z-index: 2; pointer-events: none;
  animation: float-orb 12s ease-in-out infinite reverse;
}
.page-banner .container{ position: relative; z-index: 3; }
.breadcrumb{ color: rgba(255,255,255,0.72); font-size: 0.86rem; margin-bottom: 14px; }
.breadcrumb a:hover{ text-decoration: underline; }
.page-banner h1{ color: var(--white); font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 12px; }
.page-banner p{ color: rgba(255,255,255,0.82); max-width: 560px; font-size: 1.02rem; }

/* ---------- Feature / Value cards ---------- */
.grid{ display: grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-3{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-out-expo), border-color .4s ease;
  position: relative; overflow: hidden;
}
.card:hover{ transform: translateY(-8px); box-shadow: 0 24px 48px -14px rgba(20,60,150,0.26), 0 10px 22px rgba(16,32,61,0.08); border-color: rgba(20,60,150,0.16); }
.card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease-out-expo);
}
.card:hover::before{ transform: scaleX(1); }
.card::after{
  content:""; position:absolute; width:60%; height:260%; top:-80%; left:-70%;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  transition: transform .7s ease; transform: translateX(0);
}
.card:hover::after{ transform: translateX(220%); }
.card-icon{
  width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: transform .4s var(--ease-spring);
}
.card-icon svg{ width: 27px; height: 27px; color: var(--blue); }
.card:hover .card-icon{ transform: scale(1.08) rotate(-6deg); }
.card h3{ font-size: 1.12rem; margin-bottom: 10px; }
.card p{ color: var(--grey); font-size: 0.94rem; }

/* Why choose us — number strip variant */
.why-card{ text-align: left; }
.why-card .card-icon{ background: var(--orange-tint); }
.why-card .card-icon svg{ color: var(--orange); }

/* ---------- Services ---------- */
.service-card{ display: flex; flex-direction: column; height: 100%; }
.service-card .card-icon{ background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.service-card .card-icon svg{ color: var(--white); }
.service-card .benefits{ margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.service-card .benefits li{ display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: var(--grey); }
.service-card .benefits svg{ width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.service-card .card-cta{
  margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--blue);
}
.service-card .card-cta svg{ width: 15px; height: 15px; transition: transform .18s ease; }
.service-card:hover .card-cta svg{ transform: translateX(4px); }

/* ---------- Process ---------- */
.process-strip{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step{ text-align: center; padding: 0 18px; position: relative; }
.process-step .num{
  width: 58px; height: 58px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue);
  color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 2;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease, background .35s ease, color .35s ease;
}
.process-step:hover .num{
  transform: scale(1.1); background: var(--blue); color: var(--white);
  box-shadow: 0 10px 24px rgba(20,60,150,0.28);
}
.process-step h3{ font-size: 1rem; margin-bottom: 8px; }
.process-step p{ color: var(--grey); font-size: 0.88rem; }
.process-strip::before{
  content: ""; position: absolute; top: 29px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); z-index: 1;
}
@media (max-width: 800px){
  .process-strip{ grid-template-columns: 1fr; gap: 34px; }
  .process-strip::before{ display: none; }
}

/* ---------- Testimonials ---------- */
.testi-card{
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-out-expo), border-color .4s ease;
  position: relative; overflow: hidden;
}
.testi-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease-out-expo);
}
.testi-card:hover::before{ transform: scaleX(1); }
.testi-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 42px -14px rgba(20,60,150,0.22), 0 8px 18px rgba(16,32,61,0.07); border-color: rgba(20,60,150,0.14); }
.stars{ display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg{ width: 16px; height: 16px; color: var(--orange); transition: transform .25s var(--ease-spring); }
.testi-card:hover .stars svg:nth-child(1){ transition-delay: .02s; }
.testi-card:hover .stars svg:nth-child(2){ transition-delay: .06s; }
.testi-card:hover .stars svg:nth-child(3){ transition-delay: .10s; }
.testi-card:hover .stars svg:nth-child(4){ transition-delay: .14s; }
.testi-card:hover .stars svg:nth-child(5){ transition-delay: .18s; }
.testi-card:hover .stars svg{ transform: scale(1.18); }
.testi-card p{ color: var(--ink); font-size: 0.95rem; margin-bottom: 18px; }
.testi-person{ display: flex; align-items: center; gap: 12px; }
.testi-avatar{
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.testi-person strong{ display: block; font-size: 0.9rem; }
.testi-person span{ font-size: 0.78rem; color: var(--grey); }

/* ---------- Gallery ---------- */
.gallery-filters{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn{
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--border); font-family: var(--font-display);
  font-weight: 600; font-size: 0.86rem; color: var(--grey); transition: all .18s ease; background: var(--white);
}
.filter-btn:hover{ border-color: var(--blue); color: var(--blue); }
.filter-btn.active{ background: var(--blue); border-color: var(--blue); color: var(--white); }

.gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }

.gallery-item{
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.gallery-item:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(20,60,150,0.24); }
.ba-slider{ position: absolute; inset: 0; }
.ba-frame{
  position: absolute; inset: 0; overflow: hidden; cursor: ew-resize;
  touch-action: pan-y; -webkit-user-select: none; user-select: none;
  --ba-pos: 50%;
}
.ba-frame:focus-visible{ outline: 2px solid var(--blue); outline-offset: -2px; }
.ba-img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  display: block; pointer-events: none; -webkit-user-drag: none;
  transition: transform .6s var(--ease-out-expo);
}
.gallery-item:hover .ba-img{ transform: scale(1.06); }
.ba-after-wrap{ position: absolute; inset: 0; clip-path: inset(0 0 0 var(--ba-pos)); }
.ba-divider{
  position: absolute; top: 0; bottom: 0; left: var(--ba-pos); width: 0;
  transform: translateX(-1px); pointer-events: none;
}
.ba-divider::before{
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px;
  background: var(--white); box-shadow: 0 0 0 1px rgba(16,32,61,0.15), 0 0 10px rgba(0,0,0,0.25);
}
.ba-handle{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--blue);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  pointer-events: none;
}
.ba-handle svg{ width: 17px; height: 17px; }
.ba-handle{ transition: transform .18s ease; }
.ba-frame:hover .ba-handle{ transform: translate(-50%, -50%) scale(1.1); }
.ba-slider .tag{
  position: absolute; top: 10px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px; font-family: var(--font-display); color: var(--white);
  z-index: 2; pointer-events: none;
}
.ba-tag-before{ left: 10px; background: rgba(16,32,61,0.75); }
.ba-tag-after{ right: 10px; background: var(--orange); }
.gallery-caption{
  position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px;
  background: linear-gradient(0deg, rgba(16,32,61,0.82), transparent);
  color: var(--white); font-family: var(--font-display); font-size: 0.86rem; font-weight: 600;
}

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; background: rgba(10,16,32,0.92); z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open{ display: flex; animation: fadeIn .25s ease; }
.lightbox-inner{
  max-width: 720px; width: 100%; background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  transform: scale(0.92); opacity: 0; transition: transform .4s var(--ease-out-expo), opacity .4s var(--ease-out-expo);
}
.lightbox.open .lightbox-inner{ transform: scale(1); opacity: 1; }
.lightbox-visual{ aspect-ratio: 16/10; position: relative; transition: opacity .2s ease, transform .2s ease; }
.lightbox-visual.switching{ opacity: 0; transform: translateX(10px); }
.lightbox-visual .ba-handle{ width: 44px; height: 44px; }
.lightbox-visual .ba-handle svg{ width: 20px; height: 20px; }
.lightbox-visual .tag{ top: 14px; font-size: 0.72rem; padding: 5px 12px; }
.lightbox-visual .ba-tag-before{ left: 14px; }
.lightbox-visual .ba-tag-after{ right: 14px; }
.lightbox-caption{ padding: 20px 24px; }
.lightbox-caption h3{ font-size: 1.1rem; margin-bottom: 6px; }
.lightbox-caption p{ color: var(--grey); font-size: 0.9rem; }
.lightbox-close{
  position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg{ width: 20px; height: 20px; color: var(--white); }
.lightbox-close:hover{ background: rgba(255,255,255,0.22); }
.lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center;
}
.lightbox-nav svg{ width: 20px; height: 20px; color: var(--white); }
.lightbox-nav:hover{ background: rgba(255,255,255,0.22); }
.lightbox-prev{ left: 22px; } .lightbox-next{ right: 22px; }
@media (max-width: 640px){ .lightbox-nav, .lightbox-close{ width: 40px; height: 40px; } .lightbox-prev{ left: 8px;} .lightbox-next{ right:8px;} .lightbox-close{ top: 10px; right: 10px; } }

/* ---------- CTA band ---------- */
.cta-band{
  position: relative; overflow: hidden; border-radius: var(--radius-lg); margin: 0 auto;
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 56px 44px; text-align: center; color: var(--white);
}
@media (max-width: 560px){
  .cta-band{ padding: 40px 24px; }
}
.cta-band::before{
  content:""; position:absolute; width: 55%; height: 220%; top: -60%; left: -15%;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,0.10) 50%, transparent 58%);
  animation: sweep 8s ease-in-out infinite;
}
.cta-band .inner{ position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.cta-band h2{ color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.cta-band p{ color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-band .actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact page ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-card{ background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-row{ display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child{ border-bottom: none; }
.contact-row .icon-wrap{
  width: 46px; height: 46px; border-radius: 10px; background: var(--blue-tint); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.contact-row .icon-wrap svg{ width: 22px; height: 22px; color: var(--blue); }
.contact-row strong{ display: block; font-family: var(--font-display); font-size: 0.94rem; margin-bottom: 3px; }
.contact-row span, .contact-row a{ color: var(--grey); font-size: 0.9rem; }
.contact-row a:hover{ color: var(--blue); text-decoration: underline; }

.map-frame{
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3;
  background: linear-gradient(155deg, #E7EDFB 0%, #CFDAF3 100%); position: relative; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .pin{ display: flex; flex-direction: column; align-items: center; color: var(--blue); }
.map-frame svg{ width: 46px; height: 46px; }
.map-frame span{ margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--blue-dark); }
.map-frame::after{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(20,60,150,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,60,150,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.whatsapp-panel{
  background: linear-gradient(120deg, #1F8E4D 0%, #17A64B 100%); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; color: var(--white); position: relative; overflow: hidden;
}
@media (max-width: 560px){
  .whatsapp-panel{ padding: 28px 22px; }
}
.whatsapp-panel::before{
  content:""; position:absolute; width: 55%; height: 220%; top:-60%; left:-15%;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,0.12) 50%, transparent 58%);
  animation: sweep 8s ease-in-out infinite;
}
.whatsapp-panel .inner{ position: relative; z-index: 2; }
.whatsapp-panel .wa-icon{
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.16); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px;
}
.whatsapp-panel .wa-icon svg{ width: 32px; height: 32px; }
.whatsapp-panel h2{ color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.whatsapp-panel p{ color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.whatsapp-panel .btn{ background: var(--white); color: #17A64B; }
.whatsapp-panel .btn:hover{ background: rgba(255,255,255,0.9); }

.hours-list{ margin-top: 20px; }
.hours-row{ display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.hours-row:last-child{ border-bottom: none; }
.hours-row span:first-child{ color: var(--ink); font-weight: 500; }
.hours-row span:last-child{ color: var(--grey); }

/* ---------- About page ---------- */
.story-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px){ .story-grid{ grid-template-columns: 1fr; } }
.story-photo{
  aspect-ratio: 4/3.4; border-radius: var(--radius-lg); background: linear-gradient(155deg, #E7EDFB 0%, #CFDAF3 100%);
  position: relative; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
}
.story-photo svg{ width: 84px; height: 84px; color: var(--blue); opacity: 0.35; }
.story-photo .ph-label{ position:absolute; bottom:16px; left:16px; right:16px; background: rgba(255,255,255,0.92); border-radius: var(--radius-sm); padding: 9px 13px; font-size: 0.76rem; color: var(--grey); }
.mv-card{ display: flex; gap: 16px; align-items: flex-start; }
.mv-card .icon-wrap{
  width: 48px; height: 48px; border-radius: 10px; background: var(--orange-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mv-card .icon-wrap svg{ width: 24px; height: 24px; color: var(--orange); }
.mv-card h3{ font-size: 1.05rem; margin-bottom: 6px; }
.mv-card p{ color: var(--grey); font-size: 0.92rem; }

.values-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 800px){ .values-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .values-grid{ grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer{ background: var(--blue-dark); color: rgba(255,255,255,0.78); padding: 64px 0 0; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand .brand{ margin-bottom: 16px; }
.footer-brand .brand-name strong{ color: var(--white); }
.site-footer p.desc{ font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-social{ display: flex; gap: 10px; margin-top: 20px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center;
  justify-content: center; transition: background .3s ease, transform .3s var(--ease-spring);
}
.footer-social a:hover{ background: var(--orange); transform: translateY(-4px) rotate(-8deg); }
.footer-social svg{ width: 17px; height: 17px; color: var(--white); }
.site-footer h4{ color: var(--white); font-size: 0.94rem; margin-bottom: 20px; letter-spacing: 0.02em; }
.footer-links li{ margin-bottom: 12px; }
.footer-links a{ font-size: 0.9rem; transition: color .18s ease, transform .18s ease; display: inline-block; }
.footer-links a:hover{ color: var(--orange); transform: translateX(4px); }
.footer-contact li{ display: flex; gap: 10px; margin-bottom: 16px; font-size: 0.88rem; align-items: flex-start; }
.footer-contact svg{ width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; margin-top: 2px; transition: transform .3s var(--ease-spring); }
.footer-contact li:hover svg{ transform: scale(1.15); }
.footer-contact a:hover{ color: var(--orange); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a:hover{ color: var(--orange); }

@media (max-width: 560px){
  .footer-grid{ text-align: center; justify-items: center; }
  .footer-brand .brand{ justify-content: center; }
  .site-footer p.desc{ margin-left: auto; margin-right: auto; }
  .footer-social{ justify-content: center; }
  .footer-links, .footer-contact{ display: inline-block; }
  .footer-contact li{ justify-content: center; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}

/* WhatsApp floating button */
.wa-float{
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%;
  background: #17A64B; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 150; opacity: 0; transform: scale(0.4);
  transition: opacity .5s var(--ease-spring) .2s, transform .5s var(--ease-spring) .2s;
}
.wa-float.in{ opacity: 1; transform: scale(1); }
.wa-float.in:hover{ transform: scale(1.08); transition: transform .18s ease; }
.wa-float svg{ width: 28px; height: 28px; color: var(--white); }
.wa-float::before{
  content:""; position:absolute; inset:0; border-radius: 50%; background: #17A64B; opacity: 0.5;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse{ 0%{ transform: scale(1); opacity: 0.5; } 100%{ transform: scale(1.7); opacity: 0; } }

/* ---------- Animations ---------- */
.reveal{
  opacity: 0; transform: translateY(28px) scale(0.98); filter: blur(6px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo), filter .8s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes fadeDown{ from{ opacity:0; transform: translateY(-10px);} to{ opacity:1; transform: translateY(0);} }

/* Process line draws in once its section is scrolled into view */
.process-strip{ position: relative; }
.process-strip::after{
  content: ""; position: absolute; top: 29px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue)); z-index: 1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.1s var(--ease-out-expo);
}
.process-strip.in::after{ transform: scaleX(1); }
@media (max-width: 800px){ .process-strip::after{ display: none; } }

/* ---------- Utility ---------- */
.text-center{ text-align: center; }
.mt-40{ margin-top: 40px; }
.mt-12{ margin-top: 12px; }
.mb-0{ margin-bottom: 0; }
/* ---------- FAQ accordion ---------- */
.faq-list{ max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item{
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s ease, border-color .3s ease, transform .3s var(--ease-spring);
}
.faq-item:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-item.open{ border-color: var(--blue); box-shadow: var(--shadow-md); }
.faq-question{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--ink);
}
.faq-question:hover{ color: var(--blue); }
.faq-icon{ width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); transition: transform .28s var(--ease-out-expo); }
.faq-item.open .faq-icon{ transform: rotate(180deg); }
.faq-answer{
  max-height: 0; overflow: hidden; transition: max-height .32s var(--ease-out-expo);
}
.faq-answer p{ padding: 0 22px 20px; color: var(--grey); font-size: 0.92rem; line-height: 1.6; }
