/* =========================================================
   Virtue Recovery Hospital — Design System
   Brand colors extracted from official logo & letterhead:
   primary blue #0372A3, accent red #D6291F
   ========================================================= */

:root {
  --brand-blue:        #0372A3;
  --brand-blue-dark:   #06405A;
  --brand-blue-darker: #042431;
  --brand-blue-light:  #4FA8CC;
  --brand-blue-tint:   #E9F5FA;
  --brand-blue-tint-2: #F4FAFC;

  --brand-red:      #D6291F;
  --brand-red-dark: #A81E17;
  --brand-red-tint: #FDEDEC;

  --ink:      #14262E;
  --ink-soft: #48626C;
  --ink-mute: #7E97A1;
  --line:     #E1EDF1;
  --cream:    #FBF9F5;
  --white:    #FFFFFF;

  --font-heading: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(6, 64, 90, 0.08);
  --shadow-md: 0 10px 30px rgba(6, 64, 90, 0.10);
  --shadow-lg: 0 20px 50px rgba(6, 64, 90, 0.16);

  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-blue-darker);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--ink-soft); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
::selection { background: var(--brand-blue); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-tint { background: var(--brand-blue-tint-2); }
.section-cream { background: var(--cream); }
.section-dark {
  background: linear-gradient(160deg, var(--brand-blue-darker), var(--brand-blue-dark));
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
}
.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(214, 41, 31, 0.28);
}
.btn-primary:hover { background: var(--brand-red-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(214, 41, 31, 0.34); }
.btn-blue {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(3, 114, 163, 0.28);
}
.btn-blue:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-blue {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}
.btn-outline-blue:hover { background: var(--brand-blue); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 38px; width: auto;
  background: #fff; padding: 6px; border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: height 0.3s ease;
}
.site-header.is-scrolled .brand img { height: 34px; }
.brand-text { font-family: var(--font-heading); line-height: 1.15; }
.brand-text strong { display: block; font-size: 1.05rem; color: #fff; font-weight: 800; transition: color 0.3s ease; }
.brand-text span { display: block; font-size: 0.68rem; letter-spacing: 0.05em; color: #FF9E97; font-weight: 700; text-transform: uppercase; transition: color 0.3s ease; }
.site-header.is-scrolled .brand-text strong { color: var(--brand-blue-darker); }
.site-header.is-scrolled .brand-text span { color: var(--brand-red); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.14); color: #fff; }
.site-header.is-scrolled .main-nav a { color: var(--brand-blue-darker); }
.site-header.is-scrolled .main-nav a:hover, .site-header.is-scrolled .main-nav a.active { background: var(--brand-blue-tint); color: var(--brand-blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  transition: color 0.3s ease;
}
.header-phone svg { width: 18px; height: 18px; color: #FF9E97; }
.header-phone span { display: block; font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; }
.site-header.is-scrolled .header-phone { color: var(--brand-blue-darker); }
.site-header.is-scrolled .header-phone svg { color: var(--brand-red); }
.site-header.is-scrolled .header-phone span { color: var(--ink-mute); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.14);
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-header.is-scrolled .nav-toggle { background: var(--brand-blue-tint); color: var(--brand-blue-darker); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 110px;
  background: linear-gradient(155deg, var(--brand-blue-darker) 0%, var(--brand-blue-dark) 46%, var(--brand-blue) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.10), transparent 70%);
  top: -140px; right: -120px;
}
.hero::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(214,41,31,0.16), transparent 70%);
  bottom: -160px; left: -100px;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero-eyebrow svg { width: 15px; height: 15px; color: #FF9E97; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #FFB3AC; }
.hero-lede { font-size: 1.12rem; color: rgba(255,255,255,0.86); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 600; font-size: 0.86rem; color: rgba(255,255,255,0.9); }
.hero-trust svg { width: 20px; height: 20px; color: #7FD6C6; flex-shrink: 0; }

.hero-card {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.hero-card-inner {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hero-card-inner .quote-icon { width: 34px; height: 34px; color: var(--brand-blue-tint); margin-bottom: 14px; }
.hero-card-inner h3 { font-size: 1.05rem; margin-bottom: 10px; }
.hero-card-inner p { font-size: 0.92rem; margin-bottom: 18px; }
.hero-mini-list { display: grid; gap: 12px; }
.hero-mini-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--brand-blue-darker); }
.hero-mini-list svg { width: 18px; height: 18px; color: var(--brand-red); flex-shrink: 0; margin-top: 1px; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: linear-gradient(155deg, var(--brand-blue-darker), var(--brand-blue-dark));
  color: #fff;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(214,41,31,0.18), transparent 70%);
  top: -180px; right: -120px;
}
.page-header .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header p { color: rgba(255,255,255,0.82); max-width: 620px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-blue-tint);
  color: var(--brand-blue);
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--brand-blue); }
.card-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.card.card-alt { background: var(--brand-blue-tint-2); border-color: transparent; }
.card.card-flush { padding: 0; overflow: hidden; }

/* value / feature row */
.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row .card-icon { flex-shrink: 0; margin-bottom: 0; width: 50px; height: 50px; }
.feature-row .card-icon svg { width: 24px; height: 24px; }
.feature-row h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.92rem; }

/* ---------- Steps (Admissions process) ---------- */
.steps { position: relative; }
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Stats / trust strip ---------- */
.trust-strip { background: var(--brand-blue-darker); padding: 22px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.trust-strip div { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; }
.trust-strip svg { width: 20px; height: 20px; color: #7FD6C6; flex-shrink: 0; }

/* ---------- Quote / philosophy block ---------- */
.quote-block {
  position: relative;
  border-left: 4px solid var(--brand-red);
  padding: 8px 0 8px 28px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-blue-darker);
  font-style: normal;
}
.quote-block cite { display: block; margin-top: 14px; font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; color: var(--ink-mute); font-style: normal; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--brand-blue-dark), var(--brand-blue));
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,41,31,0.28), transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 460px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 24px;
  margin-bottom: 14px;
  background: #fff;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-blue-darker);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-blue-tint); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.25s ease, background 0.25s ease; }
.faq-item summary .plus svg { width: 14px; height: 14px; }
.faq-item[open] summary .plus { background: var(--brand-red); color: #fff; transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; font-size: 0.94rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-heading); font-weight: 700; font-size: 0.84rem; color: var(--brand-blue-darker); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--brand-blue-tint-2);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand-blue); background: #fff;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-mute); margin-top: 4px; }
.confidential-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--brand-blue-tint-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 22px;
}
.confidential-note svg { width: 22px; height: 22px; color: var(--brand-blue); flex-shrink: 0; margin-top: 2px; }
.confidential-note p { font-size: 0.88rem; margin: 0; }

/* ---------- Contact info blocks ---------- */
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .card-icon { margin-bottom: 0; }
.contact-info-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.92rem; margin: 0; }
.contact-info-card a:hover { color: var(--brand-blue); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 340px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Team / values list page-specific ---------- */
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-red-tint); color: var(--brand-red-dark);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--line); display: grid; gap: 34px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -39px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-red); border: 3px solid var(--brand-blue-tint-2);
}
.timeline-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-blue-darker);
  color: rgba(255,255,255,0.72);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 34px; background: #fff; padding: 6px; border-radius: 10px; }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.02rem; }
.footer-brand span { display: block; font-size: 0.7rem; color: var(--brand-red); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col h4 { color: #fff; font-family: var(--font-heading); font-size: 0.92rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 14px; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--brand-red); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating actions ---------- */
.floating-actions {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 600;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab-whatsapp { background: #25D366; color: #fff; }
.fab-call { background: var(--brand-red); color: #fff; }
.fab-top {
  width: 46px; height: 46px;
  background: #fff;
  color: var(--brand-blue);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.fab-top svg { width: 20px; height: 20px; }
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.15s; }
.reveal-3 { transition-delay: 0.25s; }
.reveal-4 { transition-delay: 0.35s; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--brand-blue-darker);
  z-index: 900;
  display: flex; flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav .btn { margin-top: 30px; }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-close svg { width: 22px; height: 22px; }
.mobile-nav-phone { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-heading); font-weight: 700; margin-top: 20px; }
.mobile-nav-phone svg { width: 20px; height: 20px; color: var(--brand-red); }

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: linear-gradient(155deg, var(--brand-blue-darker), var(--brand-blue-dark));
  color: #fff;
  padding: 40px 24px;
}
.not-found img { height: 60px; margin: 0 auto 28px; }
.not-found h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 5rem); margin-bottom: 10px; }
.not-found p { color: rgba(255,255,255,0.78); margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 72px 0; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: calc(var(--header-h) + 56px) 0 72px; }
  .hero-actions .btn, .cta-banner-actions .btn { width: 100%; }
  .hero-actions, .cta-banner-actions { flex-direction: column; }
  .trust-strip .container { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
