/* ============================================
   Provision Adult Family Home Care
   Premium custom stylesheet
   ============================================ */

:root {
  --primary: #0F3A4A;
  --primary-deep: #0A2A36;
  --secondary: #5E8B7E;
  --secondary-soft: #7AA396;
  --accent: #C8922E;
  --accent-soft: #E8C47A;
  --bg: #F8FAF8;
  --bg-section: #FFFFFF;
  --light-accent: #EEF5F2;
  --text: #243746;
  --text-muted: #6C7A86;
  --white: #FFFFFF;
  --border: rgba(15, 58, 74, 0.08);
  --shadow-sm: 0 4px 20px rgba(15, 58, 74, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 58, 74, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 58, 74, 0.14);
  --shadow-btn: 0 8px 24px rgba(94, 139, 126, 0.35);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --container: 1280px;
  --section-space: clamp(100px, 12vw, 140px);
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 80px;
  --topbar-h: 42px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

@media (max-width: 768px) {
  :root {
    --section-space: 3.5rem;
  }
}

@media (max-width: 560px) {
  :root {
    --section-space: 2.75rem;
  }
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 54ch;
  line-height: 1.65;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-label {
  justify-content: center;
}

.section-header--center .section-label::before {
  display: none;
}

.section-header--center .section-title {
  max-width: none;
  margin-inline: auto;
}

.section-header--center .section-lead {
  margin-inline: auto;
  max-width: 48rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn i,
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: #527a6e;
  box-shadow: 0 12px 32px rgba(94, 139, 126, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(15, 58, 74, 0.2);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(200, 146, 46, 0.35);
}

.btn--accent:hover {
  background: #b58228;
}

.btn--light {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn--light:hover {
  box-shadow: var(--shadow-lg);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Fade-up animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   1. TOP BAR
   ============================================ */
.topbar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  width: 100%;
}

.topbar__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__item i,
.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-soft);
  flex-shrink: 0;
}

.topbar__item a:hover {
  color: var(--white);
}

.topbar__tag {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
}

@media (max-width: 768px) {
  .topbar {
    height: auto;
    padding: 0.65rem 0;
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__tag {
    display: none;
  }

  .topbar__contacts {
    justify-content: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.75rem;
  }
}

/* ============================================
   2. HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
  height: var(--header-h);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--secondary), var(--primary));
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(94, 139, 126, 0.35);
}

.logo__mark i,
.logo__mark svg {
  width: 22px;
  height: 22px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}

.logo__sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--primary);
}

.nav__link.is-active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--border);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: calc(var(--topbar-h) + var(--header-h)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__mobile-cta {
    display: flex;
    margin-top: 1rem;
  }
}

@media (min-width: 961px) {
  .nav__mobile-cta {
    display: none;
  }
}

/* ============================================
   3. HERO — asymmetric editorial
   ============================================ */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(7rem, 12vw, 9rem);
  background: var(--bg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.hero__orb--1 {
  width: 420px;
  height: 420px;
  background: var(--light-accent);
  top: -80px;
  right: 10%;
}

.hero__orb--2 {
  width: 280px;
  height: 280px;
  background: rgba(200, 146, 46, 0.18);
  bottom: 10%;
  left: -60px;
}

.hero__shape {
  position: absolute;
  right: -5%;
  top: 8%;
  width: min(52vw, 620px);
  height: min(70vw, 720px);
  background: linear-gradient(160deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 58% 42% 38% 62% / 48% 55% 45% 52%;
  opacity: 0.12;
  animation: morph 18s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 58% 42% 38% 62% / 48% 55% 45% 52%; }
  50% { border-radius: 42% 58% 62% 38% / 55% 42% 58% 48%; }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--light-accent);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 10ch;
}

.hero__title em {
  font-style: italic;
  color: var(--secondary);
  font-weight: 500;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 34rem;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.hero__trust-item i,
.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
  perspective: 1000px;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 80px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6;
  max-height: 680px;
  width: 100%;
  transform: translateZ(0);
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  will-change: transform;
}

.hero__image-wrap:hover img {
  transform: scale(1.06);
}

.hero__float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatY 5s ease-in-out infinite;
}

.hero__float--rating {
  bottom: 12%;
  left: -8%;
}

.hero__float--care {
  top: 14%;
  right: -6%;
  animation-delay: -2s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__float-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--light-accent);
  display: grid;
  place-items: center;
  color: var(--secondary);
}

.hero__float-icon svg {
  width: 20px;
  height: 20px;
}

.hero__float strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--primary);
  font-weight: 600;
}

.hero__float span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero__accent-ring {
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px;
  height: 120px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 0;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__title {
    max-width: none;
  }

  .hero__image-wrap {
    max-height: 480px;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-xl);
  }

  .hero__float--rating {
    left: 4%;
    bottom: 8%;
  }

  .hero__float--care {
    right: 4%;
  }
}

@media (max-width: 560px) {
  .hero__trust {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero__trust-item {
    white-space: normal;
  }

  .hero__float {
    padding: 0.75rem 1rem;
  }

  .hero__float--care {
    display: none;
  }
}

/* ============================================
   4. FEATURE HIGHLIGHTS
   ============================================ */
.features {
  position: relative;
  z-index: 2;
  margin-top: -4.5rem;
  padding-bottom: var(--section-space);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  background: var(--light-accent);
  color: var(--secondary);
}

.feature-card:nth-child(2) .feature-card__icon {
  background: rgba(15, 58, 74, 0.08);
  color: var(--primary);
}

.feature-card:nth-child(3) .feature-card__icon {
  background: rgba(200, 146, 46, 0.12);
  color: var(--accent);
}

.feature-card:nth-child(4) .feature-card__icon {
  background: var(--light-accent);
  color: var(--secondary);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .features {
    margin-top: -2rem;
    padding-bottom: 2.25rem;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .features {
    margin-top: -1.25rem;
    padding-bottom: 1.5rem;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem 1.35rem;
  }

  .about {
    padding-top: 1.75rem;
  }
}

/* ============================================
   5. ABOUT
   ============================================ */
.about {
  padding: var(--section-space) 0;
  background: var(--bg-section);
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__image {
  border-radius: 32px 32px 32px 100px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.about__image:hover img {
  transform: scale(1.05);
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 200px;
}

.about__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-soft);
  margin-bottom: 0.35rem;
}

.about__badge span {
  font-size: 0.8125rem;
  opacity: 0.85;
  line-height: 1.4;
}

.about__deco {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 140px;
  height: 140px;
  border: 1.5px solid var(--accent);
  border-radius: 32px;
  opacity: 0.5;
  z-index: -1;
}

.about__content .section-title {
  max-width: 14ch;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.about__content p + .btn {
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about__image {
    aspect-ratio: 16 / 11;
    border-radius: var(--radius-xl);
    max-width: 640px;
  }

  .about__badge {
    right: 1rem;
    bottom: -1rem;
  }

  .about__deco {
    display: none;
  }
}

/* ============================================
   6. MISSION & VISION
   ============================================ */
.mission {
  padding: var(--section-space) 0;
  background: var(--light-accent);
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-section);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.mv-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.75rem;
}

.mv-card--mission .mv-card__icon {
  background: linear-gradient(145deg, var(--secondary), #4a7368);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(94, 139, 126, 0.4);
}

.mv-card--vision .mv-card__icon {
  background: linear-gradient(145deg, var(--primary), #1a4d5e);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(15, 58, 74, 0.35);
}

.mv-card__icon svg {
  width: 32px;
  height: 32px;
}

.mv-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.mv-card p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .mission__grid {
    grid-template-columns: 1fr;
  }

  .mission::before {
    height: 40px;
  }
}

/* ============================================
   7. WHY CHOOSE US
   ============================================ */
.why {
  padding: var(--section-space) 0;
  background: var(--bg-section);
}

.why__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 4rem;
}

.why__copy .section-title {
  max-width: 14ch;
}

.why__copy .section-lead {
  max-width: 42ch;
}

.why__media {
  position: relative;
}

.why__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}

.why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.why__image:hover img {
  transform: scale(1.05);
}

.why__badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.why__badge strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent-soft);
  font-weight: 600;
}

.why__badge span {
  font-size: 0.8125rem;
  opacity: 0.85;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.75rem;
}

.why-item {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.why-item:hover {
  transform: translateX(4px);
}

.why-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--light-accent);
  color: var(--secondary);
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  transition: background var(--transition), color var(--transition);
}

.why-item:hover .why-item__icon {
  background: var(--secondary);
  color: var(--white);
}

.why-item__icon svg {
  width: 22px;
  height: 22px;
}

.why-item h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  min-height: 0;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  min-height: 0;
}

@media (max-width: 960px) {
  .why__intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why__image {
    max-width: 560px;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   8. SERVICES
   ============================================ */
.services {
  padding: var(--section-space) 0;
  background: var(--bg);
}

.services__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 4rem;
}

.services__copy .section-title {
  max-width: 16ch;
}

.services__copy .section-lead {
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.services__media {
  position: relative;
}

.services__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}

.services__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.services__image:hover img {
  transform: scale(1.05);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(94, 139, 126, 0.25);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  background: var(--light-accent);
  color: var(--secondary);
}

.service-card:nth-child(odd) .service-card__icon {
  background: rgba(15, 58, 74, 0.07);
  color: var(--primary);
}

.service-card:nth-child(3n) .service-card__icon {
  background: rgba(200, 146, 46, 0.12);
  color: var(--accent);
}

.service-card__icon svg,
.service-card__icon i,
.feature-card__icon svg,
.feature-card__icon i,
.why-item__icon svg,
.mv-card__icon svg,
.cred-card__icon svg,
.extra-care__icon svg,
.contact__info-icon svg,
.hero__float-icon svg,
.hero__trust-item svg,
.logo__mark svg,
.btn svg,
.topbar__item svg,
.footer__contact-item svg,
.footer__social svg,
.timeline__node svg,
.gallery__overlay svg,
.testimonials__btn svg,
.testimonials__stars svg,
.nav-toggle svg,
.lightbox__close svg,
.lightbox__nav svg,
.toast svg {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.service-card__icon svg,
.feature-card__icon svg,
.why-item__icon svg,
.extra-care__icon svg,
.cred-card__icon svg {
  width: 24px;
  height: 24px;
}

.mv-card__icon svg {
  width: 32px;
  height: 32px;
}

.logo__mark svg {
  width: 22px;
  height: 22px;
}

.service-card__icon .service-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .services__intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services__image {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   9. GALLERY
   ============================================ */
.gallery {
  padding: var(--section-space) 0;
  background: var(--bg-section);
}

.gallery__masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  min-height: 0;
}

/* Reset old masonry spans — equal tiles on home */
.gallery__item:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
  display: block;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 58, 74, 0.5), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  color: var(--white);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay svg {
  width: 22px;
  height: 22px;
}

.gallery__cta {
  text-align: center;
}

@media (max-width: 900px) {
  .gallery__masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 560px) {
  .gallery__masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .gallery__item {
    aspect-ratio: 1 / 1;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 42, 54, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(100%, 1000px);
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  transition: background var(--transition);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox__close svg,
.lightbox__nav svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   10. HOW IT WORKS
   ============================================ */
.how {
  padding: var(--section-space) 0;
  background: var(--bg);
  overflow: hidden;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.timeline__line {
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary) 0%,
    var(--accent) 50%,
    var(--secondary) 100%
  );
  opacity: 0.35;
  z-index: 0;
}

.timeline__line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--secondary);
  transition: width 1.4s var(--ease);
  border-radius: 2px;
}

.timeline.is-animated .timeline__line-progress {
  width: 100%;
}

.timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.75rem;
}

.timeline__node {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--light-accent);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  color: var(--secondary);
  position: relative;
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.timeline__step:hover .timeline__node {
  transform: scale(1.08);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.timeline__node svg {
  width: 28px;
  height: 28px;
}

.timeline__num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(200, 146, 46, 0.4);
}

.timeline__step h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.timeline__step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 22ch;
  margin-inline: auto;
}

@media (max-width: 800px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
    margin-inline: 0;
    padding-left: 0.25rem;
  }

  .timeline__line {
    top: 0;
    bottom: 0;
    left: 35px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline__line-progress {
    width: 100%;
    height: 0;
  }

  .timeline.is-animated .timeline__line-progress {
    width: 100%;
    height: 100%;
  }

  .timeline__step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "node title"
      "node desc";
    column-gap: 1.15rem;
    row-gap: 0.35rem;
    text-align: left;
    padding: 1.35rem 0;
    align-items: start;
  }

  .timeline__node {
    grid-area: node;
    margin: 0;
  }

  .timeline__step h3 {
    grid-area: title;
    margin-bottom: 0;
    align-self: center;
  }

  .timeline__step p {
    grid-area: desc;
    margin-inline: 0;
    max-width: none;
    padding-right: 0.25rem;
  }
}

/* ============================================
   11. TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-space) 0;
  background: var(--bg-section);
}

.testimonials__slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testimonial {
  flex: 0 0 100%;
  padding: 0.5rem 1rem;
}

.testimonial__card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.testimonial__stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.55;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--primary);
  text-align: left;
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: left;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 58, 74, 0.15);
  transition: background var(--transition), transform var(--transition);
}

.testimonials__dot.is-active {
  background: var(--secondary);
  transform: scale(1.2);
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: background var(--transition), border-color var(--transition),
    color var(--transition);
}

.testimonials__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.testimonials__btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   12. STATISTICS
   ============================================ */
.stats {
  padding: calc(var(--section-space) * 0.75) 0;
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(94, 139, 126, 0.35), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(200, 146, 46, 0.2), transparent 35%);
  pointer-events: none;
}

.stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  padding: 1rem;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat__number span {
  color: var(--accent-soft);
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
  }
}

/* ============================================
   13. CTA
   ============================================ */
.cta {
  padding: var(--section-space) 0;
  background: var(--bg);
  position: relative;
}

.cta__panel {
  position: relative;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, #1a5568 100%);
  border-radius: var(--radius-xl);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta__panel::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(94, 139, 126, 0.25);
  top: -160px;
  right: -100px;
}

.cta__panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(200, 146, 46, 0.15);
  bottom: -120px;
  left: -60px;
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.cta__content h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1rem;
  max-width: none;
}

.cta__content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  margin-bottom: 2.25rem;
}

.cta__content .btn-group {
  justify-content: center;
}

/* ============================================
   14. CONTACT
   ============================================ */
.contact {
  padding: var(--section-space) 0 0;
  background: var(--bg-section);
}

.contact.section-pad {
  padding-bottom: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.contact__info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0 0;
  flex: 1;
}

.contact__info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--light-accent);
  color: var(--secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 20px;
  height: 20px;
}

.contact__info-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.contact__info-item a,
.contact__info-item span {
  color: var(--text-muted);
  font-size: 0.975rem;
}

.contact__info-item a:hover {
  color: var(--secondary);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact__map--full {
  width: 100%;
  height: clamp(320px, 42vw, 420px);
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--border);
  box-shadow: none;
  margin: 0;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.contact__form-wrap {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact__form-wrap h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.contact__form-wrap > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.975rem;
}

.contact__form-wrap .contact-form {
  margin-top: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(94, 139, 126, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: var(--light-accent);
  color: var(--secondary);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   15. FOOTER
   ============================================ */
.footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: clamp(4rem, 8vw, 5.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem 2rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo__name {
  color: var(--white);
}

.footer .logo__sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer .logo__mark {
  box-shadow: none;
}

.footer__brand p {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 32ch;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition),
    color var(--transition);
}

.footer__social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.35rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__col a {
  font-size: 0.9375rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer__col a:hover {
  color: var(--accent-soft);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-soft);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
  color: var(--white);
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   INNER PAGES
   ============================================ */
.section-pad {
  padding: var(--section-space) 0;
}

.section-alt {
  background: var(--bg);
}

.page-hero {
  position: relative;
  min-height: clamp(220px, 32vw, 340px);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 2.75rem;
  overflow: hidden;
  background: var(--primary);
}

.page-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 36ch;
}

.gallery.section-pad {
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: clamp(4rem, 6vw, 5.5rem);
}

.gallery .section-header {
  margin-bottom: 2.5rem;
}

.philosophy .section-header {
  margin-bottom: 2.5rem;
}

.philosophy .section-lead {
  max-width: 40rem;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.04);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 54, 0.55) 0%, rgba(10, 42, 54, 0.85) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 40rem;
}

.page-hero__crumb {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 16ch;
}

.about__image--wide {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
}

.about__grid--reverse {
  direction: rtl;
}

.about__grid--reverse > * {
  direction: ltr;
}

.credentials-band {
  padding: var(--section-space) 0;
  background: var(--light-accent);
}

.credentials-band__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.role-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 0.9rem;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}

.cred-pills {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
}

.credentials-band__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cred-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.cred-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light-accent);
  color: var(--secondary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.cred-card__icon svg { width: 20px; height: 20px; }

.cred-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cred-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.credentials-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.975rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.philosophy__card {
  padding: 2rem 1.75rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--secondary);
}

.philosophy__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.philosophy__card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.philosophy__card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.approach__item {
  display: flex;
  gap: 1.15rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.approach__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.approach__item h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.approach__item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.extra-care__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.extra-care__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.extra-care__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light-accent);
  color: var(--secondary);
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
}

.extra-care__icon svg { width: 24px; height: 24px; }

.extra-care__card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.extra-care__card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gallery__masonry--page {
  margin-bottom: 2rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery__masonry--page .gallery__item {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

@media (max-width: 900px) {
  .gallery__masonry--page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery__masonry--page {
    grid-template-columns: 1fr;
  }

  .gallery__masonry--page .gallery__item {
    aspect-ratio: 4 / 3;
  }
}

.gallery__cap {
  display: none;
}

.gallery-footer-note {
  text-align: center;
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1rem;
}

.gallery-videos {
  background: var(--surface, #f7f5f1);
  border-top: 1px solid var(--border);
}

.gallery-videos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .gallery-videos__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

.gallery-videos__item {
  margin: 0;
}

.gallery-videos__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 28px rgba(20, 40, 60, 0.1);
}

.gallery-videos__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-videos__cap {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

.faq__item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.faq__item[open] summary::after { content: "−"; }

.faq__item p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
}

.logo__img {
  max-height: 56px;
  width: auto;
  display: block;
}

.logo__img--footer {
  max-height: 52px;
  filter: none;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  max-width: min(90vw, 360px);
  font-size: 0.9rem;
  font-weight: 500;
}

.toast.is-shown {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--accent-soft);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .credentials-band__grid,
  .approach__grid {
    grid-template-columns: 1fr;
  }

  .philosophy__grid {
    grid-template-columns: 1fr;
  }

  .extra-care__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid--reverse {
    direction: ltr;
  }
}

@media (max-width: 560px) {
  .credentials-band__cards,
  .extra-care__grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
