/*
Theme Name: Arce Aircraft Management
Theme URI: https://arceaircraftmanagement.com
Author: Arce Aircraft Management
Author URI: https://arceaircraftmanagement.com
Description: Custom marketing theme for Arce Aircraft Management: Home, Contact Us (Turnstile-ready form), and Privacy Policy. Crew Login links to the separate crew web app.
Version: 0.1.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arce-aircraft-management
Tags: one-column, custom-menu, translation-ready
*/

/* ==========================================================================
   Font (self-hosted Inter, SIL OFL 1.1; see assets/fonts/OFL.txt)
   ========================================================================== */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --blue: #3342b5;          /* brand */
  --blue-600: #2b389c;
  --blue-700: #232e80;
  --blue-50: #eef0fb;
  --blue-100: #dde1f6;
  --navy-950: #090c26;
  --navy-900: #0f1440;
  --navy-800: #161c55;
  --gray: #666666;          /* brand */
  --ink: #141729;
  --text: #3b3f51;
  --muted: #666666;
  --line: #e3e6ef;
  --surface: #f6f7fb;
  --white: #ffffff;
  --success: #17794a;
  --danger: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 41, 0.06), 0 2px 8px rgba(20, 23, 41, 0.04);
  --shadow: 0 10px 30px rgba(20, 23, 41, 0.08), 0 2px 6px rgba(20, 23, 41, 0.04);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --header-h: 76px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover { color: var(--blue-700); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(51, 66, 181, .45);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin: 0 0 .75rem;
}

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
  left: 12px; top: 12px; z-index: 1000; padding: .6rem 1rem;
  background: var(--white); color: var(--blue); border-radius: 8px; box-shadow: var(--shadow);
}

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.eyebrow, .section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.section-label { color: var(--blue); }
.section-title { font-size: clamp(1.85rem, 3.4vw, 2.6rem); text-wrap: balance; }
.section-lead { font-size: 1.16rem; color: var(--text); max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.fine-print { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--blue-100); padding-left: .9rem; margin: 1.5rem 0; }
.text-link { font-weight: 600; white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem;
  font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-icon { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(51, 66, 181, .28); }
.btn-primary:hover { background: var(--blue-600); color: var(--white); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--blue-700); }
.btn-light:hover { background: var(--blue-50); color: var(--blue-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue-100); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-50); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: auto; flex: none; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.42rem; font-weight: 750; letter-spacing: .01em; color: var(--blue); }
.brand-sub { white-space: nowrap; margin-top: .3rem; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .25rem; }
.primary-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  font-size: .95rem; font-weight: 550; color: var(--ink);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .header-inner { gap: .75rem; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; }
  .primary-nav a { padding: .85rem .5rem; border-radius: 8px; font-size: 1.05rem; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand { gap: .55rem; }
  .brand-mark { width: 38px; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .52rem; letter-spacing: .1em; }
  .header-actions { gap: .4rem; }
  .btn-crew { padding: .55rem .8rem; font-size: .86rem; gap: .35rem; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 350px) {
  .btn-crew .btn-icon { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(1100px 520px at 85% 0%, rgba(92, 108, 230, .45), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(51, 66, 181, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
}
.hero::after {
  /* subtle horizon lines */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-mark { position: absolute; right: -8%; top: 50%; width: min(58vw, 820px); transform: translateY(-46%); opacity: .85; }
.hero-inner { padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem); max-width: var(--max); }
.hero .eyebrow { color: #aab3ff; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.6vw, 4.5rem); max-width: 20ch; text-wrap: balance; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 44rem; color: rgba(255, 255, 255, .82); margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-services {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 3.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .14); max-width: 44rem;
}
.hero-services a { color: rgba(255, 255, 255, .78); font-size: .92rem; font-weight: 550; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .6rem; }
.hero-services a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8f9bff; }
.hero-services a:hover { color: var(--white); }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro .section-title { max-width: 16ch; }
.pillars { display: grid; gap: 1rem; margin-top: 2rem; }
.pillars li { display: grid; gap: .15rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); border-left: 3px solid var(--blue); }
.pillars strong { color: var(--ink); font-weight: 650; }
.pillars span { color: var(--muted); font-size: .97rem; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.75rem 1.75rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-100); }
.service-card h3 { font-size: 1.3rem; margin-top: 1.25rem; }
.service-card p { color: var(--text); flex: 1; }
.card-link { font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-700) 100%); color: var(--white);
  box-shadow: 0 8px 18px rgba(51, 66, 181, .25);
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon--lg { width: 56px; height: 56px; }
.service-icon--lg svg { width: 30px; height: 30px; }

.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.service-detail-head { max-width: 34rem; }
.service-detail-head .section-lead { margin-bottom: 1.75rem; }
.service-kicker { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.service-kicker .section-label { margin: 0; color: var(--gray); letter-spacing: .2em; }
.service-detail--alt { background: var(--surface); }
.service-detail--alt .service-detail-head { order: 2; }
.service-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.service-detail--alt .service-panel { background: var(--white); box-shadow: var(--shadow-sm); }
.service-panel-label { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }
.check-list { display: grid; gap: 0; margin: 0; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink); font-weight: 500; padding: .85rem 0; border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: 0; padding-top: 0; }
.check-list li:last-child { padding-bottom: 0; }
.service-panel .fine-print { margin: 1.5rem 0 0; }
.check { flex: none; display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue); align-items: center; justify-content: center; margin-top: .1rem; }
.check svg { width: 14px; height: 14px; }

/* ==========================================================================
   CTA + crew strip
   ========================================================================== */
.cta { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); color: rgba(255, 255, 255, .85); padding: clamp(3.5rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 70px rgba(255, 255, 255, .03), 0 0 0 140px rgba(255, 255, 255, .02); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 22ch; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

.crew-strip { background: var(--navy-950); color: rgba(255, 255, 255, .75); }
.crew-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; flex-wrap: wrap; }
.crew-strip p { margin: 0; font-size: .95rem; }
.crew-strip strong { color: var(--white); font-weight: 600; }
.crew-strip .text-link { color: #aab3ff; }
.crew-strip .text-link:hover { color: var(--white); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  color: rgba(255, 255, 255, .84);
  background:
    radial-gradient(800px 340px at 90% 0%, rgba(92, 108, 230, .4), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero--compact { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .eyebrow { color: #aab3ff; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.page-hero-lead { max-width: 40rem; font-size: 1.15rem; }
.page-hero-lead p:last-child { margin-bottom: 0; }
.page-hero-meta { margin: 0; color: rgba(255, 255, 255, .65); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(18rem, .8fr) 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-details, .contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-details h2, .contact-form-wrap h2 { font-size: 1.35rem; }
.contact-details dl { margin: 1.25rem 0 0; display: grid; gap: 1.25rem; }
.contact-details dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-bottom: .2rem; }
.contact-details dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contact-details dd a { color: var(--blue); }
.contact-crew { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-crew p { margin-bottom: .4rem; font-size: .97rem; }
.contact-crew strong { color: var(--ink); }
.form-intro { color: var(--muted); font-size: .92rem; }

.contact-form { display: grid; gap: 1.15rem; margin-top: 1rem; }
.form-row { display: grid; gap: 1.15rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.req { color: var(--blue); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23666' d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51, 66, 181, .12); outline: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-size: .88rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .88rem; color: var(--muted); margin: 0; }
.contact-form .btn { justify-self: start; }
.form-notice { padding: 1rem 1.15rem; border-radius: var(--radius-sm); font-size: .97rem; margin: 1rem 0; }
.form-notice--success { background: #ecf8f1; color: var(--success); border: 1px solid #bfe5cf; }
.form-notice--error { background: #fdf0ef; color: var(--danger); border: 1px solid #f4c7c3; }
.cf-turnstile { min-height: 0; }

/* Legal / prose */
.legal-wrap { max-width: 50rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 50rem) 15rem; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); border-left: 1px solid var(--line); padding-left: 1.5rem; }
.legal-toc-title { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); margin-bottom: .9rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; counter-reset: toc; }
.legal-toc li { counter-increment: toc; font-size: .92rem; line-height: 1.4; display: grid; grid-template-columns: 1.7rem 1fr; }
.legal-toc li::before { content: counter(toc) "."; color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.legal-toc a { color: var(--text); }
.legal-toc a:hover { color: var(--blue); }
.draft-banner {
  margin-bottom: 2.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm);
  background: #fff8e6; border: 1px solid #f2d27a; color: #6b4e00; font-size: .97rem;
}
.draft-banner strong { display: block; color: #4d3800; margin-bottom: .2rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.08rem; margin-top: 1.5rem; margin-bottom: .4rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--blue); }
mark.placeholder { background: #fff1c2; color: #5c4400; padding: 0 .25em; border-radius: 4px; font-weight: 600; }
.prose address { padding: 1rem 1.25rem; background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 3.25rem; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; padding-bottom: 2.25rem; }
.brand--footer .brand-mark { width: 40px; }
.footer-address { margin-top: 1.25rem; color: var(--muted); line-height: 1.7; }
.footer-address a { color: var(--ink); font-weight: 550; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-nav a { color: var(--ink); font-weight: 550; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.25rem 0 1.5rem; }
.footer-copy { margin: 0; color: var(--muted); font-size: .88rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1000px) and (max-width: 1199px) {
  .service-card { padding: 1.75rem 1.4rem 1.5rem; }
}
@media (max-width: 1100px) {
  .legal-layout { grid-template-columns: minmax(0, 50rem); }
  .legal-toc { display: none; }
}
/* Tablet: services become horizontal rows instead of squeezed 3-up cards. */
@media (max-width: 999px) {
  .service-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; padding: 1.5rem; }
  .service-card .service-icon { grid-row: 1 / span 3; }
  .service-card h3 { margin-top: 0; }
  .service-card p { margin-bottom: .6rem; }
}
@media (max-width: 960px) {
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro .section-title { max-width: 22ch; }
  .contact-details dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Stack: kicker, title, lead, "What it includes" panel, then the CTA button last. */
  .service-detail-grid { grid-template-columns: minmax(0, 40rem); gap: 0; }
  .service-detail-head { display: contents; }
  .service-detail-head .section-lead { margin-bottom: 1.5rem; }
  .service-panel { order: 1; margin-bottom: 1.75rem; }
  .service-detail-head .btn { order: 2; justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-inner { padding-top: 3.5rem; }
  .hero-mark { width: 95vw; right: -38%; top: auto; bottom: -6%; transform: none; opacity: .45; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .hero-services { flex-direction: column; gap: .75rem; margin-top: 2.5rem; }
  .service-card { grid-template-columns: 1fr; }
  .service-card .service-icon { grid-row: auto; margin-bottom: 1rem; }
  .service-detail-head .btn { justify-self: stretch; }
  .form-row--2 { grid-template-columns: 1fr; }
  .contact-details dl { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .footer-nav ul { flex-direction: column; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
