/* ============================================================
   PARKER & VALE LAW — bright modern law firm demo
   Soft white · royal blue · deep navy · teal · gold · amber CTA
   ============================================================ */

/* ---------- 0. Design tokens ---------- */
:root {
  /* Colors */
  --white: #ffffff;
  --soft: #f7f9fc;
  --ivory: #fbf7ef;
  --gray: #e6ebf2;
  --navy: #0e2a55;
  --navy-deep: #081c3c;
  --blue: #1a56c4;
  --blue-bright: #2e6fe8;
  --teal: #14b8a6;
  --gold: #c9a227;
  --amber: #f59e0b;
  --amber-deep: #d97706;
  --text: #22314a;
  --muted: #5d6b82;

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape & shadow */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 30px rgba(14, 42, 85, 0.08);
  --shadow-card: 0 18px 50px rgba(14, 42, 85, 0.14);
  --shadow-amber: 0 10px 28px rgba(245, 158, 11, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Spacing */
  --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem;
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--navy); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -0.005em; }
h2 em { font-style: italic; font-weight: 500; color: var(--blue); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy h2 em { color: var(--teal); }
.section--blue h2 { color: #fff; }
.section--blue h2 em { color: #9fe8dd; }
.cta h2 { color: #fff; }
.cta h2 em { color: #ffd889; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: #ffd889; }
.eyebrow--teal { color: var(--teal); }

/* ---------- 2. Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.9em 2em;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  min-width: max-content;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s, color 0.35s, border-color 0.35s;
  text-align: center;
}
.btn--lg { padding: 1.05em 2.4em; font-size: 0.88rem; }
.btn--amber {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #fbbf24, var(--amber) 55%, var(--amber-deep));
  color: #3b2503;
  box-shadow: var(--shadow-amber);
}
.btn--amber::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn--amber:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(245,158,11,0.45); }
.btn--amber:hover::before { left: 130%; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(26,86,196,0.3); }
.btn--blue:hover { background: var(--blue-bright); transform: translateY(-3px); }
.btn--ghost {
  border-color: rgba(255,255,255,0.65); color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }

/* ---------- 3. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 22px rgba(14,42,85,0.10);
}
.nav__inner { display: flex; align-items: center; gap: var(--s3); }
.nav__logo { display: flex; align-items: center; gap: 0.65rem; }
.nav__logo-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: #fff; letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(26,86,196,0.35);
}
.nav__logo-mark em { font-style: italic; color: #ffd889; }
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; color: #fff;
  transition: color 0.3s;
}
.nav__logo-text em { font-style: italic; color: var(--gold); }
.nav__logo-text span { font-weight: 500; color: var(--teal); letter-spacing: 0.2em; }
.nav.is-scrolled .nav__logo-text { color: var(--navy); }
.nav__menu { display: flex; gap: 1.3rem; margin-left: auto; }
.nav__menu a {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  position: relative; padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav.is-scrolled .nav__menu a { color: var(--muted); }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transition: width 0.35s var(--ease);
}
.nav__menu a:hover { color: #fff; }
.nav.is-scrolled .nav__menu a:hover { color: var(--blue); }
.nav__menu a:hover::after { width: 100%; }
.nav__cta { margin-left: 0.4rem; flex-shrink: 0; }
.nav__cta-mobile { display: none; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto;
}
.nav__burger span {
  width: 25px; height: 2.5px; border-radius: 3px; background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.3s;
}
.nav.is-scrolled .nav__burger span { background: var(--navy); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; color: #fff;
}
.hero__bg { position: absolute; inset: -6% 0; will-change: transform; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,28,60,0.88) 15%, rgba(8,28,60,0.55) 55%, rgba(8,28,60,0.28)),
    linear-gradient(to top, rgba(8,28,60,0.6), transparent 45%);
}
.hero__content { position: relative; z-index: 2; padding: 9rem 0 6.5rem; max-width: 720px; }
.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 700; color: #fff;
  text-shadow: 0 4px 34px rgba(0,0,0,0.4);
}
.hero__title em { font-style: italic; font-weight: 500; color: #8ee6d8; }
.hero__sub {
  max-width: 560px; margin-top: var(--s3);
  font-size: clamp(1rem, 1.6vw, 1.14rem); font-weight: 300;
  color: #dbe7f8;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin-top: var(--s4); }
.hero__badges li {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #bcd2f2; display: flex; align-items: center; gap: 0.55rem;
}
.hero__badges li::before { content: "◆"; font-size: 0.5rem; color: var(--teal); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.55); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__scroll span {
  width: 4px; height: 9px; border-radius: 4px; background: var(--teal);
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel { 0%,100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } }

/* ---------- 5. Trust bar ---------- */
.trustbar {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  padding: 1.4rem 0;
}
.trustbar__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 1.6rem;
}
.tbadge {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  color: #dbe7f8;
}
.tbadge span { font-size: 1.15rem; }

/* ---------- 6. Sections ---------- */
.section { padding: var(--s6) 0; }
.section--tint { background: var(--soft); }
.section--navy {
  background:
    radial-gradient(1000px 460px at 85% -10%, rgba(20,184,166,0.14), transparent),
    var(--navy-deep);
  color: #e6eefb;
}
.section--blue {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(20,184,166,0.25), transparent),
    linear-gradient(140deg, var(--blue), var(--navy) 80%);
  color: #e6eefb;
}
.section__head { max-width: 700px; margin-bottom: var(--s5); }
.section__head--light { color: #fff; }
.section__lede { margin-top: var(--s2); color: var(--muted); font-size: 1.02rem; }
.section__head--light .section__lede { color: #b9cbe8; }

/* ---------- 7. Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- 8. Practice area cards ---------- */
.pcard {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-card), 0 0 0 3px rgba(20,184,166,0.22); border-color: rgba(20,184,166,0.4); }
.pcard__media { aspect-ratio: 3/2; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__body { padding: 1.3rem 1.4rem 1.5rem; }
.pcard__icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.pcard__body h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.pcard__body p { font-size: 0.85rem; color: var(--muted); }
.pcard__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.pcard__cta::after { content: "→"; }
.pcard__cta:hover { color: var(--teal); gap: 0.85rem; }

/* ---------- 9. Service & why cards ---------- */
.svc {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.svc:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); border-top-color: var(--teal); }
.svc__icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,86,196,0.1), rgba(20,184,166,0.12));
  font-size: 1.4rem; margin-bottom: 1rem;
}
.svc h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.svc p { font-size: 0.88rem; color: var(--muted); }

/* ---------- 10. Attorney profile ---------- */
.profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s5); align-items: center; }
.profile__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.profile__photo::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(255,255,255,0.55); border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.profile__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.profile__body h2 { margin-bottom: var(--s3); }
.profile__body > p { color: var(--muted); margin-bottom: var(--s2); max-width: 58ch; }
.profile__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; margin: var(--s3) 0; }
.profile__meta h4 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.25rem;
}
.profile__meta p { font-size: 0.9rem; color: var(--text); }
.profile__focus { font-size: 0.92rem; color: var(--muted); margin-bottom: var(--s4); }
.profile__focus b { color: var(--navy); }

/* ---------- 11. Timeline ---------- */
.timeline {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 1.8rem;
  counter-reset: none;
  position: relative;
}
.timeline li {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.6rem 1.8rem;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
}
.timeline li:hover { transform: translateY(-6px); border-color: rgba(20,184,166,0.55); background: rgba(20,184,166,0.07); }
.timeline li span {
  position: absolute; top: -1.15rem; left: 1.5rem;
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(20,184,166,0.4);
}
.timeline h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.timeline p { font-size: 0.86rem; color: #b9cbe8; }

/* ---------- 12. Marketing demo ---------- */
.feature-img {
  margin-bottom: var(--s5);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); position: relative;
}
.feature-img img { width: 100%; aspect-ratio: 16/7.5; object-fit: cover; }
.feature-img figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 2rem 1.2rem;
  background: linear-gradient(to top, rgba(8,28,60,0.82), transparent);
  color: #dbe7f8; font-size: 0.85rem; letter-spacing: 0.04em;
}
.gcard {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: rgba(26,86,196,0.35); }
.gcard__icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.gcard h3 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.gcard p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* ---------- 13. Scenarios ---------- */
.scen {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.scen:hover { transform: translateX(5px); border-left-color: var(--teal); box-shadow: var(--shadow-card); }
.scen h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.scen p { font-size: 0.84rem; color: var(--muted); }

/* ---------- 14. Consultation ---------- */
.consult { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s5); align-items: start; }
.consult__body h2 { margin-bottom: var(--s3); }
.consult__body p { color: #cfdef5; max-width: 46ch; }
.consult__points { margin-top: var(--s3); display: grid; gap: 0.7rem; }
.consult__points li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.92rem; font-weight: 600; color: #e6eefb;
}
.consult__points li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.consult__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: 0 30px 70px rgba(4,16,38,0.35);
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1.5px solid var(--gray);
  border-radius: 10px;
  font-family: var(--font-body); font-size: 0.92rem; color: var(--text);
  background: var(--soft);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}
.consult__submit { width: 100%; }
.consult__note { margin-top: 1rem; font-size: 0.74rem; color: var(--muted); line-height: 1.6; }

/* ---------- 15. Testimonials ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.quote__stars { color: var(--gold); letter-spacing: 0.2em; font-size: 1.02rem; }
.quote p { font-size: 0.94rem; color: var(--text); font-style: italic; }
.quote footer { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.quote footer span { color: var(--muted); font-weight: 500; }

/* ---------- 16. Insights ---------- */
.icard {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.icard:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.icard__media { aspect-ratio: 3/2; overflow: hidden; }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.icard:hover .icard__media img { transform: scale(1.06); }
.icard__body { padding: 1.4rem 1.5rem 1.6rem; }
.icard__body h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; margin-bottom: 0.45rem; }
.icard__body p { font-size: 0.86rem; color: var(--muted); }

/* ---------- 17. Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; cursor: zoom-in;
  box-shadow: var(--shadow-soft);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item::after {
  content: "＋"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2rem; color: #fff;
  background: linear-gradient(to top, rgba(26,86,196,0.55), rgba(26,86,196,0.12));
  opacity: 0; transition: opacity 0.4s;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover img { transform: scale(1.08); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 14, 30, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.6rem;
  font-size: 2.4rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1;
}

/* ---------- 18. Final CTA ---------- */
.cta { position: relative; padding: calc(var(--s6) * 1.3) 0; overflow: hidden; color: #fff; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,28,60,0.72), rgba(8,28,60,0.82));
}
.cta__content { position: relative; z-index: 2; text-align: center; }
.cta__content h2 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); text-shadow: 0 4px 34px rgba(0,0,0,0.45); }
.cta__content p { max-width: 520px; margin: var(--s3) auto var(--s4); color: #dbe7f8; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--navy-deep); color: #a9bdd9; padding: var(--s5) 0 var(--s3); }
.footer .nav__logo-text { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 0.9fr 0.9fr 1.2fr; gap: var(--s4); }
.footer h4 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.8rem;
}
.footer p, .footer a { font-size: 0.85rem; line-height: 2; }
.footer a:hover { color: var(--teal); }
.footer__tag { margin-top: 0.8rem; max-width: 38ch; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer__social a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 50%;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.footer__social a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }
.footer__form { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.footer__form input {
  flex: 1; min-width: 0;
  padding: 0.75em 1.1em;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06); color: #fff;
  font-family: var(--font-body); font-size: 0.85rem;
}
.footer__form input::placeholder { color: #7d92b3; }
.footer__form input:focus { outline: none; border-color: var(--teal); }
.footer__legal {
  margin-top: var(--s4); padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid; gap: 0.5rem;
}
.footer__legal p { font-size: 0.74rem; color: #6d84a6; line-height: 1.7; }

/* ---------- 20. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .hero__scroll span { animation: none; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1220px) {
  .nav__menu { gap: 0.9rem; }
  .nav__menu a { font-size: 0.7rem; }
  .nav__cta { padding: 0.8em 1.4em; font-size: 0.76rem; }
}
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .profile, .consult { grid-template-columns: 1fr; }
  .profile__photo { max-width: 420px; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    flex-direction: column; gap: 0.3rem;
    background: rgba(8, 28, 60, 0.97);
    backdrop-filter: blur(18px);
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav__menu.is-open { transform: none; }
  .nav__menu a { font-size: 0.95rem; padding: 0.65rem 0; color: #dbe7f8 !important; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-block; margin-top: 1rem; }
  .nav__burger { display: flex; z-index: 110; }
  .trustbar__inner { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 2.6rem; }
  .frow { grid-template-columns: 1fr; gap: 0; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s3); }
  .profile__meta { grid-template-columns: 1fr; }
}
