/* ==========================================================================
   GNM Conseil — stylesheet
   1. Variables          6. Service pages        11. Footer
   2. Base               7. Legal notice         12. Reveal animations
   3. Components         8. Contact              13. Loading
   4. Header             9. FAQ & areas          14. Responsive
   5. Hero & home       10. Call to action       15. Reduced motion
   ========================================================================== */

/* 1. Variables
   ========================================================================== */
:root {
  --navy: #122142;
  --navy-deep: #0b1630;
  --navy-soft: #1c2f58;
  --ivory: #f7f4ee;
  --paper: #fffdf9;
  --line: #e4ddd0;
  --ink: #1b2233;
  --muted: #5d6475;
  --gold: #b0935e;
  --gold-dark: #9c7f4c;
  --gold-light: #d4bd8f;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1.1;
  letter-spacing: -.005em;
}
h2 { font-size: clamp(36px, 4.6vw, 58px); color: var(--navy); margin: 20px 0 24px; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); }

section { padding: 130px 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 3. Components
   ========================================================================== */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }

.lead { font-size: 19px; color: var(--muted); max-width: 620px; }
.lead a { color: var(--navy); border-bottom: 1px solid var(--gold); transition: color .3s; }
.lead a:hover { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 70px; }
.sec-head .lead { max-width: 440px; }

/* Cards (services, engagements) */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.card {
  position: relative; overflow: hidden;
  padding: 48px 40px 52px;
  background: var(--paper);
  transition: background .45s ease, color .45s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .5s ease;
}
.card:hover { background: var(--navy); color: #fff; }
.card:hover::before { width: 100%; }
.card .num { display: block; margin-bottom: 34px; font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--gold); }
.card .ico { width: 44px; height: 44px; margin-bottom: 28px; color: var(--navy); transition: color .45s; }
.card h3 { font-size: 29px; color: var(--navy); margin-bottom: 14px; transition: color .45s; }
.card p { font-size: 15.5px; color: var(--muted); transition: color .45s; }
.card ul { list-style: none; margin-top: 22px; font-size: 14px; }
.card li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); transition: color .45s, border-color .45s; }
.card-link {
  display: inline-block; margin-top: 22px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); transition: color .45s;
}
.card:hover .ico { color: var(--gold-light); }
.card:hover h3 { color: #fff; }
.card:hover p { color: rgba(255, 255, 255, .72); }
.card:hover li { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .12); }
.card:hover .card-link { color: var(--gold-light); }

/* Steps (navy block) */
.approach { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.approach h2 { color: #fff; }
.approach .lead { color: rgba(255, 255, 255, .66); }
.approach .mark-bg { position: absolute; left: -10%; bottom: -30%; width: 620px; color: rgba(255, 255, 255, .03); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; counter-reset: step; }
.steps.six { grid-template-columns: repeat(3, 1fr); row-gap: 64px; }
.step { position: relative; padding-right: 34px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 26px;
  font-family: var(--serif); font-size: 62px; font-weight: 400; line-height: 1; color: var(--gold);
}
.step::after { content: ""; position: absolute; top: 31px; left: 92px; right: 22px; height: 1px; background: rgba(255, 255, 255, .14); }
.step:last-child::after,
.steps.six .step::after { display: none; }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { font-size: 15px; color: rgba(255, 255, 255, .64); }

/* 4. Header
   ========================================================================== */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 26px 0;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
header.scrolled {
  padding: 14px 0;
  background: rgba(255, 253, 249, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; transition: color .4s; }
.brand svg { width: auto; height: 38px; }
.brand span { font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: .3em; }
header.scrolled .brand { color: var(--navy); }

.menu { display: flex; align-items: center; gap: 38px; list-style: none; }
.menu a {
  position: relative; white-space: nowrap;
  font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82); transition: color .3s;
}
.menu a:hover { color: #fff; }
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .35s;
}
.menu a:not(.btn):hover::after { width: 100%; }
.menu .btn { padding: 12px 22px; font-size: 12px; }
header.scrolled .menu a:not(.btn) { color: var(--ink); }

.burger { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
header.scrolled .burger { color: var(--navy); }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 5. Hero & home
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding: 0;
  background: var(--navy-deep); color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(40, 66, 120, .55), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
}
.hero-content { flex: 1; display: flex; align-items: center; width: 100%; }
.hero-inner { max-width: 980px; padding: 140px 0 40px; }
.hero .hero-title {
  max-width: none; margin: 28px 0 30px;
  font-family: var(--serif); font-size: clamp(44px, 6.4vw, 88px); font-weight: 400;
  line-height: 1.1; letter-spacing: -.005em; color: #fff;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero p { max-width: 580px; margin-bottom: 46px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Arènes de Nîmes in the background, faded behind the text */
.hero-arenes {
  --arenes-mask-v: linear-gradient(to top, transparent 0%, #000 30%, #000 70%, transparent 100%);
  --arenes-mask-text: radial-gradient(ellipse 34% 42% at 29% 40%, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .45) 55%, #000 100%);
  position: absolute; left: 50%; bottom: -2%; z-index: -1;
  width: 100%; max-width: none; height: auto;
  transform: translateX(-50%);
  color: var(--gold-light);
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: var(--arenes-mask-v), var(--arenes-mask-text);
  -webkit-mask-composite: source-in;
  mask-image: var(--arenes-mask-v), var(--arenes-mask-text);
  mask-composite: intersect;
  animation: arenes-in 2.4s ease .3s forwards;
}
.hero-arenes path { vector-effect: non-scaling-stroke; }

.hero-foot { position: relative; border-top: 1px solid rgba(176, 147, 94, .35); }
.hero-foot .wrap {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 22px; padding-bottom: 22px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.hero-foot b { font-weight: 400; color: var(--gold-light); }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { display: block; width: 1px; height: 28px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; }

/* The firm */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.about p + p { margin-top: 18px; }
.about .lead { margin-bottom: 24px; }
.about-visual {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; padding: 48px;
  background: var(--navy); color: #fff;
}
.about-visual::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(176, 147, 94, .45); pointer-events: none; }
.about-visual .mono { position: relative; z-index: 1; width: 68%; margin: auto; color: #fff; }
.about-visual .cap {
  position: relative; z-index: 1; display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light);
}
.about-visual .glow { position: absolute; left: -20%; bottom: -35%; width: 140%; height: 70%; background: radial-gradient(ellipse, rgba(176, 147, 94, .22), transparent 65%); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.values div { padding: 26px 20px 0 0; }
.values div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.values strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--navy); }
.values span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }

.expertises { background: var(--ivory); }

/* Partners */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 70px; }
.member {
  display: flex; flex-direction: column; gap: 30px;
  padding: 36px; background: #fff; border: 1px solid var(--line);
  transition: box-shadow .4s, transform .4s;
}
.member:hover { box-shadow: 0 30px 60px -30px rgba(18, 33, 66, .35); transform: translateY(-3px); }
.portrait {
  position: relative; flex-shrink: 0; display: grid; place-items: center;
  width: 120px; aspect-ratio: 1;
  background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
  font-family: var(--serif); font-size: 44px; color: var(--gold-light);
}
.portrait::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(212, 189, 143, .35); }
.member h3 { font-size: 31px; color: var(--navy); }
.member .role { display: block; margin: 6px 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.member .exp {
  display: inline-block; margin: -4px 0 16px; padding: 5px 12px;
  font-size: 12px; letter-spacing: .08em; color: var(--navy);
  background: var(--ivory); border: 1px solid var(--line);
}
.member p { font-size: 15px; color: var(--muted); }

/* 6. Service pages
   ========================================================================== */
.hero-sub { min-height: auto; }
.hero-sub .hero-inner { max-width: 900px; padding: 170px 0 120px; }
.hero-sub .hero-title { margin: 22px 0 26px; font-size: clamp(40px, 5.6vw, 76px); }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.crumbs a { color: rgba(255, 255, 255, .75); transition: color .3s; }
.crumbs a:hover { color: var(--gold-light); }

.prose-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 80px; align-items: start; }
.prose-grid p + p { margin-top: 18px; }
.prose-grid .lead { margin-bottom: 24px; }

/* "L'essentiel" key points box */
.keybox { position: relative; padding: 44px 40px; background: var(--navy); color: #fff; }
.keybox::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(176, 147, 94, .4); pointer-events: none; }
.keybox ul { list-style: none; margin-top: 22px; }
.keybox li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.keybox li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 1px; background: var(--gold); }

/* Comparison tables */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--line); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th,
.compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; background: var(--navy); color: #fff; }
.compare tbody th { font-family: var(--serif); font-size: 20px; font-weight: 500; white-space: nowrap; color: var(--navy); }
.compare td { color: var(--muted); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: var(--ivory); }
.table-note { max-width: 820px; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Mandatory audit cases (statutory auditor page) */
.cases { list-style: none; border-top: 1px solid var(--line); }
.cases li { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cases strong { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--navy); }
.cases span { font-size: 15.5px; color: var(--muted); }

.related { margin-top: 40px; font-size: 14px; color: var(--muted); }
.related a { color: var(--navy); border-bottom: 1px solid var(--gold); }

/* 7. Legal notice
   ========================================================================== */
.prose { max-width: 860px; }
.prose h2 { margin: 44px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 26px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.prose .back {
  display: inline-block; margin-top: 50px; border: 0;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}

/* 8. Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.info { list-style: none; margin-top: 44px; }
.info li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.info li:last-child { border-bottom: 1px solid var(--line); }
.info small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.info a,
.info address {
  font-family: var(--serif); font-size: 24px; font-style: normal; font-variant-numeric: lining-nums;
  line-height: 1.35; color: var(--navy);
}
.info a:hover { color: var(--gold); }
.info a.itin {
  display: inline-block; margin-top: 6px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.info-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); color: var(--gold); }
.info-icon svg { width: 20px; height: 20px; }

.hours {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; margin-top: 4px;
  font-family: var(--serif); font-size: 20px; font-variant-numeric: lining-nums; line-height: 1.35; color: var(--navy);
}
.hours dd { margin: 0; }
.hours dt:last-of-type,
.hours dd:last-of-type { color: var(--muted); }

.map { width: 100%; aspect-ratio: 16 / 8; margin-top: 40px; border: 1px solid var(--line); filter: grayscale(1) contrast(1.05); }

.contact-form { position: relative; padding: 54px; background: var(--navy); color: #fff; }
.contact-form h3 { font-size: 34px; margin-bottom: 8px; }
.contact-form > p { margin-bottom: 34px; font-size: 15px; color: rgba(255, 255, 255, .62); }
.contact-form .btn { margin-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field label { margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); border-radius: 0;
  font: inherit; font-size: 16px; color: #fff;
  outline: none; transition: border-color .3s;
}
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d4bd8f' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 12px;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-status { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.contact-form .form-status:empty { display: none; }
.contact-form .form-status.ok { color: var(--gold-light); }
.contact-form .form-status.err { color: #f2b8ab; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.contact-form .form-note { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .45); }

/* 9. FAQ & areas
   ========================================================================== */
.local { border-top: 1px solid var(--line); }
.local-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.local .btn { margin-top: 30px; }
.zones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; list-style: none; }
.zones li { padding: 8px 16px; font-size: 13px; letter-spacing: .06em; color: var(--navy); background: #fff; border: 1px solid var(--line); }
.zones li:first-child { background: var(--navy); color: #fff; border-color: var(--navy); }

.faq-title { margin: 0 0 18px; font-size: clamp(28px, 3vw, 38px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: 22px; line-height: 1.3; color: var(--navy); transition: color .3s; }
.faq-item summary:hover h3 { color: var(--gold); }
.faq-item p { padding: 0 40px 26px 0; font-size: 16px; color: var(--muted); }
.faq-item p a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.faq-ico { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.faq-ico::before,
.faq-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .3s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico::after { transform: rotate(0); }

/* 10. Call to action
   ========================================================================== */
.cta { padding: 110px 0; text-align: center; background: var(--ivory); border-top: 1px solid var(--line); }
.cta h2 { max-width: 820px; margin: 18px auto 22px; }
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.cta .lead { margin: 0 auto 40px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* 11. Footer
   ========================================================================== */
footer { padding: 90px 0 36px; font-size: 14px; background: var(--navy-deep); color: rgba(255, 255, 255, .62); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot .logo { width: 92px; margin-bottom: 22px; color: #fff; }
.foot .brandname { display: block; margin-bottom: 16px; font-size: 14px; letter-spacing: .32em; color: #fff; }
.foot h4 { margin-bottom: 20px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.foot ul { list-style: none; }
.foot li { margin-bottom: 10px; }
.foot a:hover { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 30px; font-size: 12px; color: rgba(255, 255, 255, .42); }

/* 12. Reveal animations
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
/* The top of the page animates on load, without waiting for scroll */
.js .hero .reveal { animation: rise 1.1s var(--ease-out) forwards; }
.js .hero .d1 { animation-delay: .15s; }
.js .hero .d2 { animation-delay: .3s; }
.js .hero .d3 { animation-delay: .45s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes arenes-in { to { opacity: var(--arenes-op, .22); } }
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 13. Loading
   ========================================================================== */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.loader-inner { display: flex; flex-direction: column; align-items: center; }
.loader-mark { width: 150px; color: #fff; stroke: transparent; }
.loader-line { display: block; width: 0; height: 1px; margin-top: 26px; background: var(--gold); }
.loader-name { margin-top: 18px; padding-left: .5em; font-size: 12px; letter-spacing: .5em; color: #fff; opacity: 0; }

/* First page of the visit: monogram drawing, then curtain lift */
.intro .loader { opacity: 1; visibility: visible; animation: loader-out .85s cubic-bezier(.76, 0, .24, 1) 1.75s forwards; }
.intro .loader-mark {
  color: transparent; stroke: var(--gold); stroke-width: 2.6;
  stroke-dasharray: 1500; stroke-dashoffset: 1500;
  animation: mark-draw 1.3s cubic-bezier(.65, 0, .35, 1) .1s forwards, mark-fill .6s ease 1.05s forwards;
}
.intro .loader-line { animation: line-grow .7s cubic-bezier(.65, 0, .35, 1) .8s forwards; }
.intro .loader-name { animation: name-in .6s ease 1s forwards; }
/* The top-of-page content appears after the curtain */
.intro .hero .reveal { animation-delay: 2s; }
.intro .hero .d1 { animation-delay: 2.15s; }
.intro .hero .d2 { animation-delay: 2.3s; }
.intro .hero .d3 { animation-delay: 2.45s; }
.intro .hero-arenes { animation-delay: 2.1s; }

/* Following pages: short fade */
.intro-short .loader { opacity: 1; visibility: visible; animation: loader-fade .45s ease .05s forwards; }

/* Leaving for another page of the site */
.leaving .loader { opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; pointer-events: auto; transition: opacity .3s ease; }
.leaving .loader-mark { animation: none !important; color: #fff !important; stroke: transparent !important; }
.leaving .loader-line,
.leaving .loader-name { animation: none !important; opacity: 0 !important; }

@keyframes mark-draw { to { stroke-dashoffset: 0; } }
@keyframes mark-fill { to { color: #fff; stroke: rgba(176, 147, 94, 0); } }
@keyframes line-grow { to { width: 120px; } }
@keyframes name-in { to { opacity: 1; } }
@keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes loader-fade { to { opacity: 0; visibility: hidden; } }

/* 14. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--navy-deep); opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .menu a,
  header.scrolled .menu a:not(.btn) { color: #fff; font-size: 15px; }
  body.menu-open .menu { opacity: 1; pointer-events: auto; }
  body.menu-open .brand,
  body.menu-open .burger { position: relative; z-index: 2; color: #fff; }
  body.menu-open header { background: transparent; box-shadow: none; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 50px; }
}

@media (max-width: 1024px) {
  .hero-arenes {
    --arenes-op: .17;
    width: 260%; bottom: 5%;
    -webkit-mask-image: var(--arenes-mask-v);
    mask-image: var(--arenes-mask-v);
  }
  .about,
  .contact,
  .local-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { aspect-ratio: 16 / 10; max-height: 460px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 60px; }
  .steps.six { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
  .team-grid { grid-template-columns: 1fr; max-width: 560px; }
  .member { flex-direction: row; align-items: center; }
  .prose-grid { grid-template-columns: 1fr; gap: 50px; }
  .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 90px 0; }
  .wrap { padding: 0 20px; }
  .brand span { display: none; }

  .hero-inner { padding: 120px 0 30px; }
  .hero-sub .hero-inner { padding: 130px 0 90px; }
  .hero-foot .wrap { justify-content: center; }
  .hero-foot .loc { display: none; }

  .about-visual { padding: 32px; }
  .values { grid-template-columns: 1fr; }
  .values div,
  .values div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 40px 28px; }
  .steps,
  .steps.six { grid-template-columns: 1fr; }
  .steps.six { row-gap: 44px; }
  .step::after { display: none; }
  .member { flex-direction: column; align-items: flex-start; padding: 28px; }

  .keybox { padding: 34px 26px; }
  .cases li { grid-template-columns: 1fr; gap: 6px; }

  /* Comparison tables stacked as cards */
  .compare-wrap { overflow: visible; background: none; border: 0; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; width: 100%; }
  .compare tr { margin-bottom: 14px; background: #fff; border: 1px solid var(--line); }
  .compare tbody th { padding: 14px 18px; font-size: 20px; white-space: normal; background: var(--navy); color: #fff; border: 0; }
  .compare td { padding: 12px 18px; border-bottom: 1px solid var(--line); }
  .compare td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  }
  .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare tr td:last-child,
  .compare tbody tr:last-child td:last-child { border-bottom: 0; }
  .compare tbody tr:hover { background: #fff; }

  .info a,
  .info address { font-size: 20px; word-break: break-word; }
  .hours { font-size: 17px; gap: 4px 14px; }
  .map { aspect-ratio: 4 / 3; }
  .contact-form { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .foot { grid-template-columns: 1fr; }
}

/* 15. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .scroll-cue i { animation: none; }
  .hero-arenes { opacity: var(--arenes-op, .22); animation: none; }
}
