/* =========================================================================
   Morrigan & Forseti Ltd — styles.css  (v3 — photo hero, motion, editorial)
   Brand palette:
     #45278B primary | #7784CC secondary | #B9CBEA tertiary
     #EEF1F8 alt bg   | #1C1C1C text (never pure black)
   Type: body Calibri/Carlito ; headings Arial/Arimo
   ========================================================================= */

:root {
  --purple: #45278B;
  --purple-2: #7784CC;
  --purple-3: #B9CBEA;
  --wash: #EEF1F8;
  --ink: #1C1C1C;
  --line: #e2e6f2;
  --purple-deep: #2c1860;
  --purple-ink: #1a0f3a;
  --maxw: 1180px;
  --sans-head: 'Arial', 'Arimo', 'Helvetica', sans-serif;
  --sans-body: 'Calibri', 'Carlito', sans-serif;
  --header-h: 78px;
}

/* ------------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
h1, h2, h3 { font-family: var(--sans-head); color: var(--purple); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* -------------------------- Scroll reveal ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

/* Line-mask reveal (text slides up from behind a clip edge) */
.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(115%); transition: transform 1s cubic-bezier(.16,1,.3,1); transition-delay: inherit; }
.mask.in > span { transform: none; }
.reveal.mask { opacity: 1; transform: none; }

/* Progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--purple), var(--purple-2), var(--purple-3));
  transform: scaleX(0); transform-origin: 0 50%;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mask > span { transform: none; transition: none; }
  .hero-media { animation: none !important; }
  .hero-inner { transform: none !important; opacity: 1 !important; }
}

/* ------------------------------- Buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans-head); font-size: 15px; font-weight: 700; letter-spacing: 0.03em;
  padding: 14px 30px; border-radius: 999px; border: 1.5px solid var(--purple); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-solid { background: var(--purple); color: #FFFFFF; box-shadow: 0 10px 24px -10px rgba(69,39,139,.6); }
.btn-solid:hover { background: var(--purple-2); border-color: var(--purple-2); }
.btn-line { background: transparent; color: var(--purple); }
.btn-line:hover { background: var(--purple); color: #FFFFFF; }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-arrow::after { content: "\2192"; margin-left: .6em; transition: transform .28s cubic-bezier(.16,1,.3,1); }
.btn-arrow:hover::after { transform: translateX(5px); }
/* On the photo hero */
.hero .btn-solid { background: #FFFFFF; color: var(--purple); border-color: #FFFFFF; }
.hero .btn-solid:hover { background: var(--purple-3); border-color: var(--purple-3); color: var(--purple-deep); }
.hero .btn-line { color: #FFFFFF; border-color: rgba(255,255,255,.65); }
.hero .btn-line:hover { background: #FFFFFF; color: var(--purple); border-color: #FFFFFF; }
/* On dark services section */
.section-dark .btn-line { color: #FFFFFF; border-color: rgba(255,255,255,.6); }
.section-dark .btn-line:hover { background: #FFFFFF; color: var(--purple); border-color: #FFFFFF; }

/* ------------------------------- Header ------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  background: transparent;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px; min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo-link { display: inline-flex; }
.logo-full { height: 40px; width: auto; transition: filter .3s ease; }
.logo-icon-link { display: none; }
.logo-icon { height: 38px; width: auto; transition: filter .3s ease; }

.site-nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav-menu a {
  font-family: var(--sans-head); font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #FFFFFF; padding: 6px 0; position: relative;
  transition: color .25s ease;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--purple-2); transition: right .22s ease;
}
.nav-menu a:hover { text-decoration: none; }
.nav-menu a:hover::after { right: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; height: 2.5px; width: 26px; background: #FFFFFF; border-radius: 2px; transition: background-color .3s ease; }

/* Scrolled state — solid white bar */
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -18px rgba(28,28,28,.4);
}
.site-header.scrolled .nav-menu a { color: var(--ink); }
.site-header.scrolled .nav-toggle span { background: var(--purple); }
/* Logo is purple/black artwork: white it out over the dark hero, restore when solid */
.site-header:not(.scrolled) .logo-full,
.site-header:not(.scrolled) .logo-icon { filter: brightness(0) invert(1); }

/* ------------------------------- Hero --------------------------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; color: #FFFFFF;
  padding-top: var(--header-h);
}
.hero-media {
  position: absolute; inset: 0;
  background: #1a0f3a url('assets/hero.jpg') center/cover no-repeat;
  transform: scale(1.08);
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.16) translate(-1.5%, -2%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,15,58,.55) 0%, rgba(44,24,96,.35) 42%, rgba(26,15,58,.82) 100%),
    linear-gradient(105deg, rgba(69,39,139,.78) 0%, rgba(69,39,139,.28) 55%, rgba(69,39,139,0) 85%);
}
.hero-inner { position: relative; z-index: 2; max-width: 980px; padding-top: 40px; padding-bottom: 40px; will-change: transform, opacity; }
.eyebrow {
  font-family: var(--sans-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 13px; margin: 0 0 26px; color: var(--purple-2); display: inline-flex; align-items: center;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; background: currentColor; opacity: .8; margin-right: 14px;
}
.eyebrow-light { color: var(--purple-3); }
.hero-title {
  color: #FFFFFF; font-size: clamp(38px, 6vw, 76px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.0; text-shadow: 0 2px 40px rgba(0,0,0,.28);
}
.hero-title .mask { padding-bottom: .1em; margin-bottom: -.1em; }
.hero-sub {
  font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; max-width: 58ch; margin: 30px 0 36px; color: rgba(255,255,255,.9);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 40px; z-index: 2; transform: translateX(-50%);
  width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.55); border-radius: 12px;
}
.scroll-cue::before {
  content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px;
  background: #FFFFFF; border-radius: 2px; transform: translateX(-50%);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100%{opacity:0;transform:translate(-50%,0);} 50%{opacity:1;transform:translate(-50%,8px);} }

/* ------------------------------ Sections ------------------------------ */
.section { padding: 100px 0; }
.section-alt { background: var(--wash); }
.section-dark { background: linear-gradient(165deg, var(--purple) 0%, var(--purple-ink) 100%); color: #FFFFFF; }

.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; position: relative; padding-bottom: 20px; }
.section-head::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--purple-2), var(--purple-3));
  transition: width 1s cubic-bezier(.16,1,.3,1) .25s;
}
.section-head.in::after { width: 72px; }
.section-index { font-family: var(--sans-head); font-weight: 700; font-size: 15px; color: var(--purple-2); letter-spacing: .04em; }
.section-index-light { color: var(--purple-3); }
.section-heading { font-size: clamp(27px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; color: var(--purple); }
.section-heading-light { color: #FFFFFF; }
.section-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 68ch; margin: 0 0 52px; color: var(--ink); }
.section-lead-light { color: rgba(255,255,255,.85); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; margin-top: 40px; }
.lead-statement { font-family: var(--sans-head); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.32; color: var(--purple); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 24px; }
.about-lead p { max-width: 56ch; }
.about-media { position: relative; }
.about-media img {
  width: 100%; height: 100%; max-height: 520px; min-height: 380px; object-fit: cover;
  border-radius: 10px; box-shadow: 0 34px 70px -34px rgba(69,39,139,.6);
}
.about-media::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px;
  border-right: 3px solid var(--purple-2); border-bottom: 3px solid var(--purple-2);
  border-radius: 0 0 10px 0; z-index: -1;
}

/* Placeholder notes */
.placeholder-note {
  background: var(--wash); border-left: 3px solid var(--purple-2); border-radius: 0 4px 4px 0;
  padding: 12px 16px; font-style: italic; font-size: 14px; color: var(--purple); margin: 8px 0 0;
}
.section-dark .placeholder-note { color: var(--purple-deep); }

/* What We Do — refined rows (no boxy cards) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 34px 30px 34px 32px; border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden; transition: transform .28s ease, background-color .28s ease, border-color .28s ease;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--purple-3); transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.service:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.service:hover::before { transform: scaleY(1); }
.service-num {
  font-family: var(--sans-head); font-weight: 700; font-size: 15px; letter-spacing: 0.06em;
  color: var(--purple-3); padding-top: 4px;
}
.service-body h3 { font-size: 21px; color: #FFFFFF; margin-bottom: 10px; }
.service-body p { margin: 0; color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.6; }

/* How We Work — two-column: intro + image / connected stepper */
.approach-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: start; }
.approach-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.approach-intro .section-head { margin-bottom: 16px; }
.approach-intro .section-lead { margin-bottom: 30px; }
.approach-media img {
  width: 100%; height: 300px; object-fit: cover; border-radius: 10px;
  box-shadow: 0 30px 60px -34px rgba(69,39,139,.6);
}
.approach-steps { list-style: none; margin: 6px 0 0; padding: 0; position: relative; }
.approach-steps::before {
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--purple-2), var(--purple-3));
}
.approach-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 0 0 40px; }
.approach-step:last-child { padding-bottom: 0; }
.approach-num {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; border: 2px solid var(--purple-2);
  font-family: var(--sans-head); font-weight: 700; font-size: 18px; color: var(--purple);
  box-shadow: 0 8px 20px -10px rgba(69,39,139,.5);
}
.approach-body { padding-top: 12px; }
.approach-body h3 { font-size: 21px; margin-bottom: 8px; }
.approach-body p { margin: 0; max-width: 60ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; margin-top: 8px; }
.contact-panel {
  background: linear-gradient(165deg, var(--purple) 0%, var(--purple-ink) 100%);
  color: #FFFFFF; border-radius: 12px; padding: 42px 40px;
  display: flex; flex-direction: column; gap: 28px;
  box-shadow: 0 34px 70px -40px rgba(69,39,139,.8); position: relative; overflow: hidden;
}
.contact-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 100% 0%, rgba(119,132,204,.4) 0%, rgba(119,132,204,0) 60%);
  pointer-events: none;
}
.cp-block { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.cp-label { font-family: var(--sans-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; color: var(--purple-3); }
.cp-email { color: #FFFFFF; font-family: var(--sans-head); font-weight: 700; font-size: 18px; word-break: break-word; border-bottom: 1px solid rgba(255,255,255,.4); align-self: flex-start; padding-bottom: 2px; transition: border-color .2s ease; }
.cp-email:hover { text-decoration: none; border-color: #FFFFFF; }
.cp-address { font-style: normal; line-height: 1.7; font-size: 16px; color: rgba(255,255,255,.92); }
.cp-value { font-size: 16px; color: rgba(255,255,255,.92); }
.cp-note { position: relative; z-index: 1; margin-top: auto; font-size: 13px; color: var(--purple-3); border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; }
.contact-form {
  display: grid; gap: 18px; align-content: start;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px;
  padding: 40px; box-shadow: 0 24px 50px -38px rgba(28,28,28,.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--sans-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--purple); }
.field input, .field textarea {
  font-family: inherit; font-size: 16px; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 6px; background: #FFFFFF; color: var(--ink); width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(119,132,204,.25); }
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: #a12b2b; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #2b7a4b; }
.form-status.err { color: #a12b2b; }

/* ---------------------- Reasons (Why appoint us) ---------------------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.reason {
  position: relative; padding: 32px 32px 32px 34px; background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.reason::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 3px;
  background: var(--purple-2); border-radius: 0 3px 3px 0; opacity: .5; transition: opacity .25s ease, top .25s ease, bottom .25s ease;
}
.reason:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(69,39,139,.5); border-color: var(--purple-3); }
.reason:hover::before { opacity: 1; top: 20px; bottom: 20px; }
.reason h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.25; }
.reason p { margin: 0; font-size: 15.5px; line-height: 1.6; }

/* ---------------- Experience applied to secured structures ------------ */
.exp-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.exp-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.exp-intro .section-head { margin-bottom: 16px; }
.exp-intro .section-lead { margin-bottom: 0; }
.exp-list { display: grid; margin-top: 4px; }
.exp-item { display: grid; grid-template-columns: 22px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.exp-item:last-child { border-bottom: 1px solid var(--line); }
.exp-mark { width: 10px; height: 10px; margin-top: 8px; background: var(--purple-2); transform: rotate(45deg); border-radius: 2px; }
.exp-item p { margin: 0; font-size: 16.5px; line-height: 1.55; }

/* ------------------------- Governance standards ----------------------- */
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.standard {
  display: flex; flex-direction: column; gap: 14px; padding: 26px 24px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.standard:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); transform: translateY(-3px); }
.std-mark {
  width: 28px; height: 28px; border: 1.5px solid var(--purple-3); border-radius: 50%; position: relative; flex: none;
}
.std-mark::before {
  content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px;
  border-right: 2px solid var(--purple-3); border-bottom: 2px solid var(--purple-3); transform: rotate(45deg);
}
.standard .txt { font-family: var(--sans-head); font-weight: 700; font-size: 15px; line-height: 1.3; color: #FFFFFF; }

/* ------------------------------- Footer ------------------------------- */
.site-footer { position: relative; background: linear-gradient(165deg, var(--purple-deep) 0%, var(--purple-ink) 100%); color: var(--wash); padding: 68px 0 46px; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 85% 0%, rgba(119,132,204,.28) 0%, rgba(119,132,204,0) 60%);
  pointer-events: none;
}
.footer-facts {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px; overflow: hidden;
  margin-bottom: 52px;
}
.ff-item { background: transparent; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.ff-label { font-family: var(--sans-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; color: var(--purple-3); }
.ff-value { font-size: 14.5px; line-height: 1.5; color: #FFFFFF; }
.footer-inner { position: relative; z-index: 1; text-align: center; }
.footer-logo { height: 40px; width: auto; margin: 0 auto 24px; filter: brightness(0) invert(1); opacity: .95; }
.footer-company { font-size: 14px; line-height: 1.8; margin: 0 auto 18px; max-width: 62ch; color: rgba(255,255,255,.78); }
.footer-disclaimer { position: relative; z-index: 1; max-width: 74ch; margin: 0 auto 22px; font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,.6); }
.footer-links { margin: 0 0 16px; }
.footer-links a { color: #FFFFFF; font-weight: 700; font-family: var(--sans-head); font-size: 14px; }
.footer-links a:hover { color: var(--purple-3); text-decoration: none; }
.footer-links .sep { margin: 0 12px; color: var(--purple-2); }
.footer-copyright { font-size: 13px; color: var(--purple-3); margin: 0; }

/* ------------------------------- Modal -------------------------------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,15,58,.66); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 100; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-overlay[hidden] { display: none; }
.modal { background: #FFFFFF; max-width: 740px; width: 100%; max-height: 86vh; overflow-y: auto; border-radius: 8px; border-top: 4px solid var(--purple); padding: 40px 44px 44px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 20px; background: transparent; border: 0; font-size: 30px; line-height: 1; color: var(--purple); cursor: pointer; }
.modal-title { font-size: 24px; letter-spacing: 0.01em; margin-bottom: 8px; }
.modal-body h3 { font-size: 16px; margin-top: 24px; margin-bottom: 6px; }
.modal-body p { margin: 0 0 12px; font-size: 15px; }
.modal-body ul { margin: 0 0 12px; padding-left: 20px; font-size: 15px; }

/* --------------------------- Cookie banner ---------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 20px 50px rgba(26,15,58,.28); padding: 20px 24px;
  display: flex; align-items: center; gap: 22px; z-index: 90;
  animation: slideup .4s cubic-bezier(.22,.61,.36,1);
}
@keyframes slideup { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie-banner[hidden] { display: none; }
.cookie-text { margin: 0; font-size: 14px; flex: 1; line-height: 1.55; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ------------------------------ Tables -------------------------------- */
table.mf-table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.mf-table thead th { background: var(--purple-2); color: #FFFFFF; text-align: left; font-family: var(--sans-head); padding: 10px 14px; }
table.mf-table td, table.mf-table th { border: 1px solid #AAAAAA; padding: 10px 14px; }
table.mf-table tbody tr:nth-child(odd) { background: var(--wash); }
table.mf-table tbody tr:nth-child(even) { background: #FFFFFF; }

/* ============================ RESPONSIVE ============================== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order: -1; }
  .about-media img { max-height: 360px; min-height: 260px; }
  .about-media::after { display: none; }
  .reasons { grid-template-columns: 1fr; }
  .exp-layout { grid-template-columns: 1fr; gap: 32px; }
  .exp-intro { position: static; }
  .standards { grid-template-columns: repeat(2, 1fr); }
  .approach-layout { grid-template-columns: 1fr; gap: 44px; }
  .approach-intro { position: static; }
  .approach-media img { height: 240px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .services { grid-template-columns: 1fr; }
  .footer-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF;
    border-bottom: 1px solid var(--line); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease; z-index: 40;
  }
  .nav-menu.open { max-height: 340px; box-shadow: 0 20px 30px -18px rgba(28,28,28,.4); }
  .nav-menu li { border-top: 1px solid var(--wash); }
  .nav-menu a { display: block; padding: 15px 32px; color: var(--ink); }
  .scroll-cue { display: none; }
}

@media (max-width: 600px) {
  .container, .header-inner { padding-left: 22px; padding-right: 22px; }
  .logo-full-link { display: none; }
  .logo-icon-link { display: inline-flex; }
  .hero { min-height: 88vh; }
  .hero-sub { font-size: 17px; }
  .section { padding: 64px 0; }
  .section-heading { font-size: 26px; }
  .section-lead { font-size: 17px; margin-bottom: 36px; }
  .lead-statement { font-size: 20px; }
  .service { padding: 26px 24px; }
  .approach-step { grid-template-columns: 46px 1fr; gap: 18px; padding-bottom: 34px; }
  .approach-steps::before { left: 22px; }
  .approach-num { width: 46px; height: 46px; font-size: 16px; }
  .contact-panel { padding: 32px 26px; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-facts { grid-template-columns: 1fr; }
  .standards { grid-template-columns: 1fr; }
  .modal { padding: 32px 24px 34px; }
}
