/* =====================================================================
   ÉTUDE CAROLINE CHRISTMANN — Notaire à Déols
   Feuille de style principale — design professionnel & responsive
   ===================================================================== */

/* ----------  TOKENS  ---------- */
:root {
  --navy-900: #0b2238;
  --navy-800: #0f2e4d;
  --navy-700: #14395c;
  --navy-600: #1d4e7a;
  --gold: #c8a24a;
  --gold-soft: #e6d29a;
  --cream: #f8f5ef;
  --cream-2: #efe9dd;
  --white: #ffffff;
  --ink: #1c2630;
  --muted: #5d6873;
  --line: rgba(15, 46, 77, 0.12);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 18px rgba(11, 34, 56, 0.08);
  --shadow: 0 18px 44px rgba(11, 34, 56, 0.12);
  --shadow-lg: 0 30px 70px rgba(11, 34, 56, 0.18);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------  RESET / BASE  ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-800);
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

p { margin: 0 0 1rem; }

::selection { background: var(--gold); color: var(--navy-900); }

/* ----------  LAYOUT  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-800); color: #e8eef5; }
.section--tight { padding: 72px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}
.section--navy .section-title { color: #fff; }
.section-sub {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.section--navy .section-sub { color: #bccadb; }

/* ----------  BUTTONS  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 12px 26px rgba(200, 162, 74, 0.35);
}
.btn-gold:hover { background: #d4b15f; box-shadow: 0 18px 34px rgba(200, 162, 74, 0.45); }

.btn-navy {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover { background: var(--navy-700); }

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--gold); color: var(--navy-800); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

/* ----------  HEADER / NAV  ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 16px 0;
}
.site-header.solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(11, 34, 56, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { width: 52px; height: 52px; object-fit: contain; transition: filter var(--transition); }
/* logo blanc tant que l'en-tête est transparent (sur le hero / les bandeaux sombres) */
.site-header:not(.solid) .brand img { filter: brightness(0) invert(1); }
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-800);
  transition: color var(--transition);
}
.brand-role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
/* état transparent au-dessus du hero */
.site-header:not(.solid) .brand-name { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-800);
  transition: color var(--transition);
}
.site-header:not(.solid) .nav-links a { color: rgba(255, 255, 255, 0.92); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 12px 22px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.site-header:not(.solid) .burger span { background: #fff; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* le menu mobile est masqué sur ordinateur ; il devient un panneau plein écran ≤ 900px */
.mobile-menu { display: none; }

/* ----------  HERO  ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 26, 43, 0.92) 0%, rgba(12, 40, 66, 0.78) 45%, rgba(13, 47, 78, 0.55) 100%),
    url("../img/salle.jpg") center/cover no-repeat;
  z-index: -1;
}
.hero-inner { max-width: 720px; padding: 130px 0 90px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero-lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: #d7e1ee;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll .line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold-soft), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ----------  STAT / TRUST BAR  ---------- */
.trust {
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trust-item {
  padding: 32px 26px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item .num {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--navy-800);
  font-weight: 600;
}
.trust-item .num span { color: var(--gold); }
.trust-item .label { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ----------  ABOUT  ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-media .badge {
  position: absolute;
  right: -22px;
  bottom: -22px;
  background: var(--navy-800);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 220px;
}
.about-media .badge strong {
  font-family: var(--serif);
  display: block;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 4px;
}
.about-media .badge span { font-size: 13.5px; color: #c6d3e3; }

.about-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.about-list li { position: relative; padding-left: 34px; color: var(--ink); }
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--navy-700);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* ----------  SERVICES  ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card-service {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card-service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-service .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-service .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.card-service:hover .media img { transform: scale(1.07); }
.card-service .media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 34, 56, 0.5), transparent 55%);
}
.card-service .body { padding: 28px 28px 32px; }
.card-service h3 { font-size: 23px; margin-bottom: 10px; }
.card-service p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-700);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 14px; color: var(--gold); }

/* ----------  COMPÉTENCES (grille)  ---------- */
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.skill:hover { transform: translateY(-6px); border-top-color: var(--gold); box-shadow: var(--shadow); }
.skill .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--cream);
  color: var(--navy-700);
  margin-bottom: 18px;
}
.skill .ico svg { width: 26px; height: 26px; }
.skill h3 { font-size: 20px; margin-bottom: 8px; }
.skill p { color: var(--muted); font-size: 15px; margin: 0; }

/* ----------  ÉQUIPE  ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
}
.team-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card .avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  padding: 3px;
  background: #fff;
  flex: 0 0 auto;
}
.team-card h3 { font-size: 20px; margin-bottom: 2px; }
.team-card .post { color: var(--gold); font-weight: 600; font-size: 13.5px; letter-spacing: 0.4px; margin-bottom: 10px; }
.team-card a { display: block; font-size: 14px; color: var(--muted); transition: color var(--transition); }
.team-card a:hover { color: var(--navy-700); }

/* ----------  POURQUOI NOUS (navy)  ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature {
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform var(--transition), background var(--transition);
}
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.07); }
.feature .ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(200, 162, 74, 0.16);
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { color: #fff; font-size: 20px; }
.feature p { color: #b8c6d8; font-size: 15px; margin: 0; }

/* ----------  CONTACT  ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}
.contact-info { display: grid; gap: 18px; align-content: start; }
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.info-row .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy-700);
  flex: 0 0 auto;
}
.info-row .ico svg { width: 22px; height: 22px; }
.info-row h4 { font-family: var(--sans); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.info-row p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.55; }
.info-row a { color: var(--navy-700); font-weight: 500; }
.info-row a:hover { color: var(--gold); }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contact-form-wrap h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form-wrap .muted { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy-800); }
.field label span { color: #c0392b; }
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 78, 122, 0.12);
}
.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
}
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--navy-700); }
.consent a { color: var(--navy-700); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-wrap {
  margin-top: 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; }

/* ----------  CTA BANNER  ---------- */
.cta-banner {
  position: relative;
  text-align: center;
  color: #fff;
  isolation: isolate;
  padding: 90px 0;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(11, 34, 56, 0.9), rgba(11, 34, 56, 0.9)), url("../img/de.jpg") center/cover fixed no-repeat;
}
.cta-banner h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-banner p { color: #cdd9e8; max-width: 560px; margin: 0 auto 30px; }
.cta-banner .hero-actions { justify-content: center; }

/* ----------  FOOTER  ---------- */
.footer {
  background: var(--navy-900);
  color: #aebdcf;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer .brand-name { color: #fff; }
.footer-about p { margin: 18px 0 0; font-size: 14.5px; color: #93a4ba; max-width: 280px; }
.footer h4 {
  font-family: var(--sans);
  color: #fff;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: #aebdcf; transition: color var(--transition), padding-left var(--transition); }
.footer ul a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact li { font-size: 14.5px; display: flex; gap: 10px; }
.footer-contact .lbl { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  color: #7e90a7;
}
.footer-bottom a { color: #aebdcf; }
.footer-bottom a:hover { color: var(--gold); }

/* ----------  COOKIE BANNER  ---------- */
.cookie {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  z-index: 1200;
  transform: translateY(140%);
  transition: transform 0.5s var(--transition);
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.cookie p a { color: var(--navy-700); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: 14px; }

/* ----------  REVEAL ANIMATION  ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------  LEGAL PAGES  ---------- */
.page-hero {
  background: var(--navy-800);
  color: #fff;
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 48px); }
.page-hero p { color: #bccadb; max-width: 620px; margin: 12px auto 0; }
.breadcrumb { font-size: 13.5px; color: #93a4ba; margin-top: 18px; }
.breadcrumb a { color: var(--gold-soft); }

.legal { padding: 70px 0 90px; }
.legal .container { max-width: 860px; }
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 48px;
}
.legal h2 {
  font-size: 24px;
  margin: 38px 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 19px; margin: 24px 0 10px; }
.legal p { color: #3c4651; }
.legal a { color: var(--navy-700); text-decoration: underline; }
.legal a:hover { color: var(--gold); }
.legal ul { padding-left: 22px; color: #3c4651; }
.legal ul li { margin-bottom: 8px; }
.legal .updated { margin-top: 40px; font-style: italic; color: var(--muted); font-size: 14px; }
.legal strong { color: var(--navy-800); }

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 1024px) {
  .about-grid { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-item .num { font-size: 26px; }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta .btn { display: none; }
  .burger { display: flex; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 90px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a {
    font-family: var(--serif);
    font-size: 26px;
    color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 520px; }
  .about-media .badge { right: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .trust { margin-top: 28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal-card { padding: 28px 22px; }
  .team-card { flex-direction: column; text-align: center; }
  .cta-banner::before { background-attachment: scroll; }
  .container { padding: 0 20px; }
}

@media (max-width: 420px) {
  .team-card { align-items: center; }
  .hero-inner { padding-top: 120px; }
}
