/* =========================================================
   EverRise Care Solutions — Theme Stylesheet
   Fonts: Lora (headings) + Quicksand (body)
   ========================================================= */

:root {
  --navy: #22344b;
  --navy-2: #283d5c;
  --navy-3: #1b2a3d;
  --ink: #0f1826;
  --teal: #2789a6;
  --teal-2: #1f6b86;
  --teal-grad: linear-gradient(180deg, #2a8ca9 0%, #1f6a84 100%);
  --text: #333a44;
  --muted: #6b7380;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --white: #ffffff;
  --radius: 30px;
  --radius-sm: 18px;
  --shadow: 0 20px 45px rgba(20, 35, 55, .10);
  --shadow-lg: 0 30px 70px rgba(20, 35, 55, .18);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Quicksand", "Segoe UI", Arial, sans-serif;
  --container: 1400px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --fs-scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: calc(17px * var(--fs-scale));
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .3s; }
a:hover { color: var(--teal-2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: inherit; margin: 0 0 .4em; line-height: 1.15; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 9999; background: #fff; padding: 10px 16px; border-radius: 8px; clip: auto; width: auto; height: auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: calc(24px * var(--fs-scale));
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.on-dark .eyebrow, .eyebrow.light { color: #fff; }
.h-xl { font-size: clamp(38px, 5vw, 64px); }
.h-lg { font-size: clamp(34px, 4.2vw, 58px); }
.h-md { font-size: clamp(28px, 3vw, 40px); }
.lead { font-size: 18px; max-width: 640px; }
.on-dark { color: #fff; }
.on-dark p { color: rgba(255,255,255,.85); }
.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 46px;
  border-radius: 999px;
  border: 0;
  background: var(--teal-grad);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 10px 24px rgba(31, 107, 134, .25);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--navy);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: -1;
}
.btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 107, 134, .35); }
.btn:hover::before { transform: translateY(0); }
.btn.upper { text-transform: uppercase; }
.btn.sm { min-height: 50px; padding: 0 32px; font-size: 16px; }
.btn.ghost { background: transparent; border: 2px solid #fff; box-shadow: none; }
.btn.ghost::before { background: #fff; }
.btn.ghost:hover { color: var(--navy); }
.btn.light::before { background: #fff; }
.btn.light:hover { color: var(--teal-2); }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .7s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #fff; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.main-nav ul { display: flex; gap: clamp(28px, 6.5vw, 130px); }
.main-nav a, .footer-nav a {
  position: relative;
  color: #fff;
  font-size: 18px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 14px 0;
}
.main-nav a::after, .footer-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 4px; border-radius: 4px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.main-nav a:hover::after, .main-nav .current a::after, .main-nav a[aria-current="page"]::after,
.footer-nav a:hover::after, .footer-nav a[aria-current="page"]::after, .footer-nav .current a::after { transform: scaleX(1); transform-origin: left; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--navy);
  border-radius: 4px; padding: 3px 7px; font-size: 11px; font-weight: 700; border: 0; cursor: pointer;
}
.lang svg { width: 22px; height: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  transition: box-shadow .4s, padding .4s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 128px; transition: height .4s var(--ease); }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(20,35,55,.10); }
.site-header.scrolled .container { height: 90px; }
.brand img { height: 112px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 76px; }
.header-contact { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--text); line-height: 1.45; }
.header-contact .ico { flex: none; }
.header-contact a { color: var(--text); }
.header-contact a:hover { color: var(--teal); }
.header-divider { width: 2px; height: 56px; background: var(--navy); opacity: .9; }
.header-ctas { display: flex; gap: 14px; }

.ico {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--teal-grad); color: #fff;
}
.ico svg { width: 24px; height: 24px; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; border-radius: 12px; border: 0;
  background: var(--navy); color: #fff; cursor: pointer;
  position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .35s var(--ease), opacity .3s;
}
.menu-toggle span { top: 23px; }
.menu-toggle span::before { top: -7px; left: 0; right: 0; }
.menu-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
  clip-path: circle(0 at calc(100% - 48px) 48px);
  transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.nav-open .mobile-panel { clip-path: circle(150% at calc(100% - 48px) 48px); visibility: visible; }
.mobile-panel ul { text-align: center; display: grid; gap: 18px; }
.mobile-panel ul a { color: #fff; font-family: var(--serif); font-size: 34px; }
.mobile-panel li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
.nav-open .mobile-panel li { opacity: 1; transform: none; }
.nav-open .mobile-panel li:nth-child(1) { transition-delay: .15s }
.nav-open .mobile-panel li:nth-child(2) { transition-delay: .2s }
.nav-open .mobile-panel li:nth-child(3) { transition-delay: .25s }
.nav-open .mobile-panel li:nth-child(4) { transition-delay: .3s }
.nav-open .mobile-panel li:nth-child(5) { transition-delay: .35s }
.nav-open .mobile-panel li:nth-child(6) { transition-delay: .4s }
.nav-open .mobile-panel li:nth-child(7) { transition-delay: .45s }
.mobile-close { position: absolute; top: 24px; right: 24px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 810px;
  color: #fff;
  overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--navy-3);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,15,26,.55) 0%, rgba(8,15,26,.25) 45%, rgba(8,15,26,0) 70%),
              linear-gradient(0deg, rgba(8,15,26,.55) 0%, rgba(8,15,26,0) 45%);
}
.hero .container { position: relative; z-index: 2; padding-bottom: 210px; }
.hero-kicker { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.hero-areas { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 58px); margin-bottom: 18px; max-width: 1300px; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-row p { margin: 0; font-size: 17px; font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* split-word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.split.in .w > span { transform: none; }

/* ---------- Service cards strip ---------- */
.service-strip { position: relative; z-index: 5; margin-top: -170px; }
.service-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.svc-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 50px 40px 46px 70px;
  box-shadow: var(--shadow);
  min-height: 300px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
  overflow: hidden;
  color: var(--text);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--teal-grad);
  opacity: 0; transition: opacity .5s var(--ease);
}
.svc-card > * { position: relative; }
.svc-card .num { font-family: var(--sans); font-weight: 700; font-size: 34px; color: #d9dbe0; margin-bottom: 20px; transition: color .4s; }
.svc-card .t1 { font-size: 24px; margin: 0; }
.svc-card .t2 { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
.svc-card p { font-size: 16px; margin: 0; max-width: 220px; }
.svc-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); color: #fff; }
.svc-card:hover::before, .svc-card.featured::before { opacity: 1; }
.svc-card.featured { color: #fff; }
.svc-card.featured .num, .svc-card:hover .num { color: #fff; }
.svc-card .arrow { position: absolute; right: 30px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); opacity: 0; transform: translateX(-10px); transition: .5s var(--ease); }
.svc-card:hover .arrow, .svc-card.featured .arrow { opacity: 1; transform: none; }

/* ---------- Welcome ---------- */
.section { padding: 120px 0; position: relative; }
.welcome .grid { display: grid; grid-template-columns: 300px 1fr 310px; gap: 60px; align-items: center; }
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-card:hover img { transform: scale(1.06); }
.welcome .photo-card { height: 510px; }
.welcome h2 { font-size: clamp(38px, 4vw, 56px); color: var(--text); }
.ride-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px 34px; text-align: center; }
.ride-card .photo-card { height: 265px; box-shadow: none; }
.ride-card h3 { font-size: 34px; margin: 26px 0 8px; color: var(--text); }
.ride-card p { margin-bottom: 26px; }
.referral-box {
  display: flex; align-items: center; gap: 30px;
  max-width: 530px; margin: 34px 0 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 36px; color: var(--text);
  transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.referral-box:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-4px); }
.referral-box svg { flex: none; width: 76px; height: 76px; color: var(--navy); transition: transform .6s var(--ease); }
.referral-box:hover svg { transform: translate(8px, -8px) rotate(-8deg); }
.referral-box h3 { font-size: 32px; margin-bottom: 4px; color: var(--text); }
.referral-box p { margin: 0; }

/* ---------- Founder + steps (dark) ---------- */
.dark-band { background: var(--navy); color: #fff; }
.founder.grid { display: grid; grid-template-columns: 1fr 553px; gap: 70px; align-items: center; }
.founder h2 { font-size: clamp(36px, 4vw, 58px); }
.founder h3 { font-size: 28px; margin-top: 30px; }
.founder .photo-card { box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.steps { margin-top: 110px; }
.steps h2 { font-size: clamp(36px, 4vw, 62px); max-width: 860px; margin-bottom: 60px; }
.steps .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; }
.step {
  position: relative; background: #fff; color: var(--text);
  border-radius: var(--radius-sm); padding: 38px 150px 36px 64px; min-height: 160px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.step:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,.25); }
.step h3 { font-size: 27px; margin-bottom: 6px; }
.step p, .on-dark .step p { margin: 0; font-size: 16px; color: var(--text); }
.step .n { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 96px; color: #e1e1e1; line-height: 1; transition: color .5s, transform .5s var(--ease); }
.step:hover .n { color: var(--teal); transform: translateY(-50%) scale(1.1); }

/* ---------- Pricing band ---------- */
.pricing-band { padding: 0 0 120px; }
.pricing-panel { display: grid; grid-template-columns: 637px 1fr; background: var(--navy-2); border-radius: var(--radius); overflow: hidden; min-height: 454px; }
.pricing-panel .photo-card { border-radius: var(--radius); box-shadow: none; }
.pricing-panel .body { padding: 56px 70px; display: flex; flex-direction: column; justify-content: center; }
.pricing-panel .sub { font-family: var(--serif); font-size: 30px; margin-bottom: 0; }
.pricing-panel .price { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1.1; margin-bottom: 14px; }
.pricing-panel .note { font-weight: 700; color: #fff; }
.checks li { display: flex; align-items: center; gap: 14px; margin: 14px 0; font-size: 17px; }
.checks svg { flex: none; width: 26px; height: 26px; }
.on-dark .checks li { color: rgba(255,255,255,.9); }

/* ---------- Mission / staff ----------
   Desktop: photo fills the left side; the two boxes take the right 70%
   of the screen, with the staff card overlapping the mission card. */
.mission { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.mission .bg { position: absolute; top: 0; bottom: 0; left: 0; width: 48%; overflow: hidden; }
.mission .bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 12% center; }
.mission .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,24,38,0) 55%, rgba(15,24,38,.55) 85%, var(--ink) 100%); }
.mission .cards {
  position: relative; z-index: 1;
  width: 70%; margin-left: 30%;
  display: grid; grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 720px;
}
.staff-card {
  position: relative; z-index: 1;   /* sits behind the mission card */
  align-self: end;                  /* flush with the section's bottom edge */
  margin-right: -90px;              /* tucks under the mission card */
  background: var(--navy);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 64px 146px 64px 56px;    /* extra right padding keeps content clear of the overlap */
  transition: transform .6s var(--ease);
}
.staff-card svg { width: 80px; height: 80px; margin-bottom: 26px; }
.staff-card h3 { font-size: 34px; }
.mission-card {
  position: relative; z-index: 2;   /* in front of the staff card */
  box-shadow: -30px 0 60px rgba(0,0,0,.35);
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: var(--navy-2);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 110px 9% 110px 90px;
}
.mission-card h2 { font-size: clamp(40px, 4vw, 58px); }

/* ---------- Facilities ---------- */
.facilities .grid { display: grid; grid-template-columns: 1fr 632px; gap: 40px; align-items: center; }
.facilities h2 { font-size: clamp(36px, 4vw, 54px); color: var(--text); }
.feature-list { margin-top: 36px; display: grid; gap: 26px; }
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: 22px; }
.feature-list svg { width: 34px; height: 34px; margin-top: 4px; }
.feature-list h3 { font-size: 26px; color: var(--text); margin-bottom: 6px; }
.feature-list p { margin: 0; max-width: 470px; }
.facilities .photo-card { height: 685px; }

/* ---------- Contact form + footer ---------- */
.contact-band { background: var(--bg-soft); padding: 120px 0; }
.contact-band .grid { display: grid; grid-template-columns: 260px 1fr; gap: 50px; }
.contact-band h2 { font-size: 56px; color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; height: 60px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; padding: 0 34px; font-size: 17px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { height: 140px; border-radius: 30px; padding-top: 18px; resize: vertical; }
.field.short textarea { height: 60px; border-radius: 999px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2322344b' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 28px center; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 5px rgba(39,137,166,.12); }
.field label { position: absolute; left: 34px; top: 18px; color: var(--muted); pointer-events: none; transition: .3s var(--ease); background: #fff; padding: 0 6px; margin-left: -6px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: -10px; font-size: 13px; color: var(--teal); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.form-foot { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; margin-top: 20px; }
.consent { display: flex; gap: 14px; font-size: 16px; line-height: 1.35; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--teal); }
.captcha { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 16px; background: #f9f9f9; border: 1px solid #d3d3d3; border-radius: 3px; font-size: 13px; color: #555; }
.captcha span.box { width: 24px; height: 24px; border: 2px solid #c1c1c1; border-radius: 2px; background: #fff; }
.form-msg { grid-column: 1 / -1; display: none; padding: 14px 22px; border-radius: 14px; background: #e8f5f0; color: #1d6b52; }
.form-msg.show { display: block; animation: fadeIn .5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

.site-footer { background: var(--navy); color: #fff; }
.site-footer .main { display: grid; grid-template-columns: 540px 1fr; gap: 40px; padding: 90px 24px 70px; }
.site-footer .logo-white { width: 260px; }
.site-footer .copy { margin-top: 40px; font-size: 17px; color: rgba(255,255,255,.9); }
.site-footer .copy a { color: #fff; }
.site-footer h2 { font-size: 58px; margin-bottom: 26px; }
.footer-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.social { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.social span { margin-right: 18px; }
.social a { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; color: #fff; transition: transform .4s var(--ease); }
.social a:hover { transform: translateY(-4px) rotate(-6deg); color: #fff; }
.social .fb { background: #3b5998; }
.social .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social svg { width: 22px; height: 22px; }
.contact-items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 22px; line-height: 1.4; }
.contact-items > div { display: flex; gap: 20px; align-items: center; }
.contact-items a { color: #fff; }
.dnsl { display: inline-block; margin-top: 30px; color: #fff; font-size: 22px; text-decoration: underline; text-underline-offset: 4px; }
.dnsl:hover { color: #9fd6e6; }
.footer-nav { background: var(--navy-2); }
.footer-nav ul { display: flex; justify-content: center; gap: clamp(28px, 6.5vw, 130px); height: 56px; align-items: center; flex-wrap: wrap; }

/* ---------- Accessibility dock ---------- */
.a11y-dock { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 70; display: grid; gap: 8px; }
.a11y-dock button { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--teal-grad); color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.15); transition: transform .3s var(--ease); }
.a11y-dock button:hover { transform: scale(1.12); }
.a11y-dock button svg { width: 20px; height: 20px; }
.a11y-dock button[aria-pressed="true"] { background: var(--navy); }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--teal-grad); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(20px); transition: .4s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--teal), #6fc6dd); z-index: 100; }

/* high contrast */
body.hc { --text: #000; --muted: #222; --teal: #005f7a; }
body.hc .hero::after { background: rgba(0,0,0,.6); }
body.hc .svc-card, body.hc .step, body.hc .referral-box { outline: 2px solid #000; }

/* ---------- Inner page banner ---------- */
.page-banner { position: relative; min-height: 460px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-3); }
.page-banner .bg { position: absolute; inset: 0; }
.page-banner .bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,24,38,.92) 0%, rgba(15,24,38,.65) 50%, rgba(15,24,38,.25) 100%); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(44px, 5.4vw, 72px); margin-bottom: 14px; }
.page-banner p { max-width: 620px; font-size: 19px; color: rgba(255,255,255,.88); }
.crumbs { display: flex; gap: 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.crumbs a { color: #fff; }

/* generic layouts */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.flip > :first-child { order: 2; }
.two-col .photo-card { aspect-ratio: 4 / 4.2; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 44px 40px; box-shadow: var(--shadow); border: 1px solid #eef0f3;
  transition: transform .5s var(--ease), box-shadow .5s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card .ico { margin-bottom: 26px; width: 66px; height: 66px; transition: transform .6s var(--ease); }
.card .ico svg { width: 30px; height: 30px; }
.card:hover .ico { transform: rotate(-10deg) scale(1.08); }
.card h3 { font-size: 28px; color: var(--text); }
.card p:last-child { margin-bottom: 0; }
.card .more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; margin-top: 8px; }
.card .more svg { transition: transform .4s var(--ease); }
.card:hover .more svg { transform: translateX(6px); }
.card.dark { background: var(--navy); color: #fff; }
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255,255,255,.85); }
.card.teal { background: var(--teal-grad); color: #fff; }
.card.teal h3 { color: #fff; }
.card.teal .ico { background: rgba(255,255,255,.2); }
.section-head { margin-bottom: 60px; }
.section-head h2 { font-size: clamp(36px, 4vw, 56px); color: var(--text); }
.on-dark .section-head h2 { color: #fff; }
.bg-soft { background: var(--bg-soft); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .v { font-family: var(--serif); font-size: 64px; line-height: 1; color: #fff; }
.stat .l { margin-top: 10px; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }

.cta-band { background: var(--teal-grad); color: #fff; border-radius: var(--radius); padding: 70px 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 0; max-width: 700px; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: rgba(255,255,255,.08); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-30px, 30px); } }

/* timeline (about) */
.values { counter-reset: v; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline .line-fill { position: absolute; left: 30px; top: 0; width: 2px; height: 0; background: var(--teal); }
.timeline li { position: relative; padding: 0 0 50px 100px; }
.timeline li .dot { position: absolute; left: 10px; top: 0; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); display: grid; place-items: center; font-weight: 700; color: var(--teal); }
.timeline h3 { font-size: 28px; color: var(--text); }

/* pricing tables */
.price-card { text-align: center; padding: 56px 40px; }
.price-card .tag { display: inline-block; padding: 6px 18px; border-radius: 999px; background: #e8f3f6; color: var(--teal-2); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.price-card .amount { font-family: var(--serif); font-size: 64px; color: var(--text); line-height: 1; }
.price-card .amount small { font-size: 18px; font-family: var(--sans); color: var(--muted); }
.price-card .checks { text-align: left; margin: 30px 0 34px; }
.price-card .checks li { color: var(--text); }
.price-card.popular { background: var(--navy); color: #fff; transform: scale(1.04); }
.price-card.popular:hover { transform: scale(1.04) translateY(-10px); }
.price-card.popular .amount, .price-card.popular h3 { color: #fff; }
.price-card.popular .checks li { color: rgba(255,255,255,.9); }
.price-card.popular .tag { background: rgba(255,255,255,.15); color: #fff; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 20px 28px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background .3s; }
.price-table tbody tr:hover { background: #f2f8fa; }

/* FAQ accordion */
.faq-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.faq-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 26px; cursor: pointer; transition: .3s; }
.faq-tabs button.active, .faq-tabs button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.accordion { max-width: 980px; margin: 0 auto; display: grid; gap: 16px; }
.acc-item { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 8px 26px rgba(20,35,55,.07); overflow: hidden; border: 1px solid transparent; transition: border-color .3s; }
.acc-item.open { border-color: var(--teal); }
.acc-item.hide { display: none; }
.acc-q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 34px; border: 0; background: none; cursor: pointer; font-family: var(--serif); font-size: 22px; color: var(--text); }
.acc-q .pm { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-grad); position: relative; transition: transform .45s var(--ease); }
.acc-q .pm::before, .acc-q .pm::after { content: ""; position: absolute; left: 11px; right: 11px; top: 18px; height: 2px; background: #fff; }
.acc-q .pm::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.acc-item.open .pm { transform: rotate(180deg); }
.acc-item.open .pm::after { transform: rotate(0); }
.acc-a { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.acc-a > div { padding: 0 34px 28px; color: var(--muted); }

/* Jobs */
.job { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 34px 40px; box-shadow: 0 8px 26px rgba(20,35,55,.07); transition: transform .4s var(--ease), box-shadow .4s; }
.job:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.job h3 { font-size: 26px; color: var(--text); margin-bottom: 6px; }
.job .meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.job .meta span { display: inline-flex; gap: 6px; align-items: center; }
.jobs-list { display: grid; gap: 18px; }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 56px; }
.form-card h2 { font-size: 42px; color: var(--text); }
.file-field { border: 2px dashed var(--line); border-radius: 22px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .3s, background .3s; }
.file-field:hover { border-color: var(--teal); background: #f4fafc; }
.file-field input { display: none; }

/* Request tabs */
.seg { display: inline-flex; padding: 6px; background: #eef1f4; border-radius: 999px; margin-bottom: 36px; position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 14px 30px; border-radius: 999px; cursor: pointer; font-weight: 600; transition: color .3s; }
.seg button.active { color: #fff; }
.seg .pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--teal-grad); transition: transform .5s var(--ease), width .5s var(--ease); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn .5s; }

.map { border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 380px; background: #dde6ec; position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Blog ---------- */
.blog-filter a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 26px; color: var(--text); transition: .3s; }
.blog-filter a.active, .blog-filter a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tag-chip { position: absolute; left: 20px; top: 20px; z-index: 1; padding: 6px 16px; border-radius: 999px; background: var(--teal-grad); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.tag-chip.static { position: static; display: inline-block; margin-bottom: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { color: var(--teal); }
.post-meta.light { color: rgba(255,255,255,.85); }
.post-meta.light svg { color: #9fd6e6; }

.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #eef0f3; margin-bottom: 50px; }
.featured-post .thumb { position: relative; display: block; overflow: hidden; min-height: 440px; }
.featured-post .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured-post:hover .thumb img { transform: scale(1.06); }
.featured-post .body { padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-post .eyebrow { font-size: 17px; }
.featured-post h2 { font-size: clamp(30px, 3vw, 42px); }
.featured-post h2 a, .post-card h3 a { color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.featured-post h2 a:hover, .post-card h3 a:hover { color: var(--teal-2); background-size: 100% 1px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #eef0f3; transition: transform .5s var(--ease), box-shadow .5s; }
.post-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.post-card.hide { display: none; }
.post-card .thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.08); }
.post-card .body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 24px; margin-bottom: 12px; }
.post-card p { font-size: 16px; color: var(--muted); flex: 1; }
.post-card .more, .featured-post .more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.post-card .more svg { transition: transform .4s var(--ease); }
.post-card:hover .more svg { transform: translateX(6px); }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 50px; height: 50px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); color: var(--text); font-weight: 600; transition: .3s; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--teal-grad); border-color: transparent; color: #fff; }

.post-banner h1 { max-width: 980px; font-size: clamp(38px, 4.6vw, 62px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: start; }
.article { font-size: 18px; line-height: 1.8; }
.article .lead-in { font-size: 22px; line-height: 1.6; color: var(--text); font-family: var(--serif); }
.article h2 { font-size: 34px; color: var(--text); margin: 44px 0 14px; }
.article h3 { font-size: 26px; color: var(--text); margin: 34px 0 12px; }
.article ul, .article ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.article li { position: relative; padding-left: 34px; margin: 10px 0; }
.article li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal-grad); }
.article img { border-radius: var(--radius-sm); margin: 30px 0; height: auto; }
.article blockquote { margin: 40px 0; padding: 36px 44px; border-left: 5px solid var(--teal); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--navy); }
.article blockquote cite { display: block; margin-top: 14px; font-family: var(--sans); font-size: 15px; font-style: normal; color: var(--muted); }
.share { display: flex; align-items: center; gap: 10px; padding: 26px 0; margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; }
.share span { margin-right: auto; font-weight: 700; color: var(--text); }
.share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .4s var(--ease); }
.share a:hover { color: #fff; transform: translateY(-4px); }
.share .fb { background: #3b5998; }
.share .mail { background: var(--teal-grad); }
.share svg { width: 20px; height: 20px; }
.author-box { display: flex; gap: 24px; align-items: center; margin-top: 40px; padding: 30px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.author-box img { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; margin: 0; flex: none; }
.author-box strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--text); }
.author-box p { margin: 4px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.sidebar { position: sticky; top: 120px; display: grid; gap: 30px; }
.widget { background: #fff; border: 1px solid #eef0f3; border-radius: var(--radius); padding: 34px; box-shadow: 0 8px 26px rgba(20,35,55,.06); }
.widget h3 { font-size: 24px; color: var(--text); margin-bottom: 18px; }
.widget-cta { background: var(--navy); color: #fff; border: 0; }
.widget-cta h3 { color: #fff; }
.widget-cta p { color: rgba(255,255,255,.85); font-size: 16px; }
.widget-cta .ico { margin-bottom: 20px; }
.recent-list { display: grid; gap: 18px; }
.recent-list a { display: flex; gap: 16px; align-items: center; color: var(--text); }
.recent-list img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; flex: none; transition: transform .5s var(--ease); }
.recent-list a:hover img { transform: scale(1.06); }
.recent-list strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; transition: color .3s; }
.recent-list a:hover strong { color: var(--teal); }
.recent-list small { color: var(--muted); }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 12px 0; color: var(--text); transition: color .3s, padding .3s; }
.cat-list a::after { content: "\2192"; color: var(--teal); }
.cat-list a:hover { color: var(--teal); padding-left: 6px; }

/* ---------- Reveal animations ---------- */
[data-anim] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease), clip-path 1.2s var(--ease); will-change: opacity, transform; }
[data-anim="fade-up"] { transform: translateY(60px); }
[data-anim="fade-down"] { transform: translateY(-40px); }
[data-anim="fade-left"] { transform: translateX(80px); }
[data-anim="fade-right"] { transform: translateX(-80px); }
[data-anim="zoom"] { transform: scale(.88); }
[data-anim="reveal"] { opacity: 1; clip-path: inset(0 100% 0 0 round var(--radius)); }
[data-anim="reveal-up"] { opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius)); }
[data-anim].in { opacity: 1; transform: none; }
[data-anim="reveal"].in, [data-anim="reveal-up"].in { clip-path: inset(0 0 0 0 round var(--radius)); }
.no-js [data-anim] { opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split .w > span { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .header-contact .txt-email { display: none; }
  .welcome .grid { grid-template-columns: 300px 1fr 300px; gap: 40px; }
  .founder.grid { grid-template-columns: 1fr 460px; }
  .pricing-panel { grid-template-columns: 1fr 1fr; }
  .facilities .grid { grid-template-columns: 1fr 1fr; }
  .staff-card { padding: 54px 124px 54px 44px; }
  .mission-card { padding: 90px 7% 90px 70px; }
}
@media (max-width: 1180px) {
  .main-nav, .header-ctas, .header-divider, .topbar .lang { display: none; }
  .menu-toggle { display: block; }
  .topbar { display: none; }
  .service-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .welcome .grid { grid-template-columns: 1fr 1fr; }
  .welcome .grid > .intro { grid-column: 1 / -1; order: -1; }
  .founder.grid, .facilities .grid, .two-col, .contact-band .grid { grid-template-columns: 1fr; }
  .two-col.flip > :first-child { order: 0; }
  .pricing-panel { grid-template-columns: 1fr; }
  .pricing-panel .photo-card { height: 380px; }
  .mission .bg { position: relative; width: 100%; height: 420px; }
  .mission .bg::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(15,24,38,0) 45%); }
  .mission .cards { width: auto; margin: -140px 24px 0; grid-template-columns: 1fr; min-height: 0; padding-bottom: 80px; }
  .staff-card { align-self: auto; margin: 0 7% -60px; border-radius: var(--radius); padding: 54px 44px 114px; }
  .mission-card { border-radius: var(--radius); padding: 70px 60px; }
  .site-footer .main { grid-template-columns: 1fr; }
  .cards-3, .stats { grid-template-columns: 1fr 1fr; }
  .form-foot { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .featured-post, .post-layout { grid-template-columns: 1fr; }
  .featured-post .thumb { min-height: 320px; }
  .sidebar { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .header-contact { display: none; }
  .site-header .container { height: 84px; }
  .brand img { height: 70px; }
  .site-header.scrolled .brand img { height: 60px; }
  .hero { min-height: 680px; }
  .hero::after { background: linear-gradient(0deg, rgba(8,15,26,.8) 0%, rgba(8,15,26,.35) 100%); }
  .hero .container { padding-bottom: 60px; }
  .hero-areas { font-size: 20px; }
  .service-strip { margin-top: 40px; }
  .service-strip .grid, .welcome .grid, .steps .grid, .cards-3, .cards-2, .stats, .form-grid, .contact-items { grid-template-columns: 1fr; }
  .svc-card { padding: 40px 34px; min-height: 0; }
  .step { padding: 30px 110px 30px 30px; }
  .step .n { right: 26px; font-size: 72px; }
  .welcome .photo-card { height: 420px; }
  .facilities .photo-card { height: 420px; }
  .pricing-panel .body, .staff-card, .form-card { padding: 40px 26px; }
  .mission-card { padding: 50px 26px; }
  .mission .cards { margin: -120px 16px 0; }
  .mission .bg { height: 340px; }
  .staff-card { margin: 0 12px -60px; padding-bottom: 100px; }
  .mission-card { box-shadow: 0 -20px 40px rgba(0,0,0,.3); }
  .cta-band { padding: 50px 30px; }
  .contact-band h2, .site-footer h2 { font-size: 42px; }
  .contact-items, .dnsl { font-size: 18px; }
  .referral-box { flex-direction: column; text-align: center; padding: 26px; }
  .footer-nav ul { gap: 18px 28px; height: auto; padding: 18px 0; }
  .footer-nav a { font-size: 15px; }
  .job { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .a11y-dock { right: 8px; top: auto; bottom: 90px; transform: none; }
  .timeline li { padding-left: 76px; }
  .eyebrow { font-size: 19px; }
  .post-grid { grid-template-columns: 1fr; }
  .featured-post .body, .widget { padding: 30px 26px; }
  .featured-post .thumb { min-height: 240px; }
  .article { font-size: 17px; }
  .article blockquote { padding: 26px; font-size: 21px; }
  .author-box { flex-direction: column; text-align: center; }
}

/* Form feedback + spam honeypot */
.form-msg.error { background: #fdecea; color: #a12b22; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
