/* MB Digital Marketing Agency — website design & development landing page.
   Self-contained stylesheet (site.css is not loaded on this page). site.js still runs the menu,
   consent banner, analytics and form, so the class names and IDs it relies on are styled here. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #060e1d;          /* near-black navy: hero, footer */
  --navy: #0b1a33;         /* brand navy: headings, logo tile */
  --navy-2: #12264a;
  --blue: #1557d6;         /* primary action: 6.1:1 with white */
  --blue-dark: #0f45ad;
  --blue-tint: #eaf1fd;
  --cyan: #2ad4ff;         /* accent on dark only */
  --text: #0b1a33;
  --body: #3a4a63;         /* 9:1 on white */
  --muted: #56657d;        /* 5.8:1 on white */
  --line: #e2e8f0;
  --line-2: #cfd8e5;
  --alt: #f4f7fb;
  --white: #fff;
  --danger: #b42318;
  --success: #067647;
  --wa: #25d366;
  --wa-ink: #04220f;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 104px);
  --radius: 14px;
  --radius-lg: 18px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(11, 26, 51, .06), 0 12px 32px -16px rgba(11, 26, 51, .18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--white); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--text); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.4rem); letter-spacing: -.035em; font-weight: 750; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
li { margin: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 650; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-alt { background: var(--alt); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section-head p + p { margin-top: 10px; }
.section-head-split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; max-width: none; }
.section-head-split > div { max-width: 46rem; }
.eyebrow { margin: 0 0 16px; font: 700 .8rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow-light { color: var(--cyan); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-light::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-tint); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--blue); }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(10px); } }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font: 700 1.08rem/1 var(--display); letter-spacing: -.02em; color: var(--navy); }
.brand-tag { font: 650 .66rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--blue); }
.brand-reverse .brand-name { color: #fff; }
.brand-reverse .brand-tag { color: var(--cyan); }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 2px; }
.primary-nav a { display: block; padding: 10px 13px; border-radius: 8px; font-weight: 600; font-size: .97rem; color: var(--navy); text-decoration: none; }
.primary-nav a:hover { background: var(--alt); color: var(--blue); }
.header-cta { flex: none; }
.cta-short { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; overflow-y: auto;
    background: #fff; padding: 8px var(--gutter) 40px;
    visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility 0s linear .15s;
  }
  .nav-open .mobile-nav { visibility: visible; opacity: 1; transition: opacity .15s ease; }
  .nav-open { overflow: hidden; }
  .mobile-nav li { border-bottom: 1px solid var(--line); }
  .mobile-nav li a { display: block; padding: 16px 2px; font: 700 1.15rem/1.3 var(--display); color: var(--navy); text-decoration: none; }
  .mobile-nav .btn { margin-top: 24px; }
}
@media (max-width: 520px) {
  .site-header .brand-text { display: none; }   /* compact MB monogram in the small mobile header */
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #c9d4e6; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-shots {
  position: absolute; top: 50%; left: 50%; width: 1500px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  transform: translate(-38%, -50%) rotate(-8deg); opacity: .5;
}
.hero-shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 29, .97) 0%, rgba(6, 14, 29, .9) 45%, rgba(6, 14, 29, .8) 100%),
              linear-gradient(0deg, rgba(6, 14, 29, .7), rgba(6, 14, 29, 0) 40%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(40px, 5vw, 72px);
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.65; max-width: 36rem; margin-bottom: 30px; color: #c9d4e6; }

/* ---------- Form card ---------- */
.form-card {
  background: #fff; color: var(--body); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-title { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.65rem); margin-bottom: .3em; }
.form-sub { margin: 0 0 20px; color: var(--muted); font-size: .98rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 650; font-size: .95rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff;
  font: 400 1rem/1.4 var(--sans); color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7a90; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356657d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field select:invalid { color: #6b7a90; }
.field select option { color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 87, 214, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: .88rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn-block { margin-top: 4px; }
.form-privacy { margin: 14px 0 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status[data-state="sending"] { background: var(--alt); color: var(--body); }
.form-status[data-state="success"] { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }
.form-status[data-state="error"] { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 36px 40px; }
  .hero-copy { max-width: 40rem; }
  .hero-shots { width: 1100px; transform: translate(-50%, -50%) rotate(-8deg); }
}
@media (max-width: 520px) {
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn { min-height: 50px; padding: 12px 8px; font-size: .95rem; }
  .hero-lead { margin-bottom: 22px; }
}

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { display: flex; flex-direction: column; padding: 26px 24px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.svc h3 { margin-bottom: .45em; }
.svc > p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.svc-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-tint); color: var(--blue); margin-bottom: 18px; }
.svc-links { margin: auto 0 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.svc-links .plain { font-size: .95rem; color: var(--muted); display: inline-block; padding: 10px 0; }
.svc-links .plain:hover { color: var(--blue); }
.svc-help { background: var(--navy); border-color: var(--navy); color: #c9d4e6; justify-content: center; }
.svc-help h3 { color: #fff; }
.svc-help > p { color: #c9d4e6; }
.svc-help .svc-links { border-top: 0; padding-top: 4px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Selected work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.work-card:has(.work-link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.work-media { padding: 14px 14px 0; background: linear-gradient(180deg, #e9eef6, #f4f7fb); border-bottom: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser-url { flex: 1; min-width: 0; font-size: .74rem; color: var(--muted); background: var(--alt); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); border-bottom: 0; background: var(--alt); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 16px; }
.work-body > p:first-of-type { font-size: .98rem; color: var(--muted); }
.work-svc-label { margin: 0 0 8px !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy) !important; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tags li { font-size: .8rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); }
.work-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-top: 6px; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.work-link::after { content: ""; position: absolute; inset: 0; }
.work-link:focus-visible { outline: none; }
.work-card:hover .work-link { text-decoration: underline; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.currency-note { margin-top: 12px !important; font-size: .95rem !important; font-weight: 600; color: var(--navy) !important; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.price-card.is-popular { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-flag { position: absolute; top: -13px; left: 22px; margin: 0; padding: 4px 11px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.price-card h3 { margin: 0; font-size: 1.15rem; }
.price-tag { margin: 0; font: 800 2rem/1.1 var(--display); color: var(--text); letter-spacing: -.02em; }
.price-tag small { display: block; margin-top: 4px; font: 500 .84rem/1.3 var(--sans); color: var(--muted); letter-spacing: 0; }
.price-facts { display: grid; gap: 6px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); font-size: .92rem; }
.price-facts div { display: flex; justify-content: space-between; gap: 12px; }
.price-facts dt { color: var(--muted); }
.price-facts dd { margin: 0; font-weight: 650; color: var(--text); text-align: right; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231557d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price-cta { margin: auto 0 0; padding-top: 4px; }
.terms { margin-top: clamp(28px, 4vw, 44px); padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--alt); border: 1px solid var(--line); }
.terms h3 { margin-bottom: 18px; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin: 0; }
.terms-grid dt { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.terms-grid dd { margin: 0; font-size: .95rem; color: var(--body); }
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .price-grid, .terms-grid { grid-template-columns: 1fr; } }

/* ---------- Why choose ---------- */
.why-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.why-layout .section-head { margin: 0; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.why-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.why-list h3 { font-size: 1.08rem; margin: 2px 0 .3em; }
.why-list p { margin: 0; font-size: .97rem; color: var(--muted); }
@media (max-width: 960px) { .why-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 24px 22px; border-top: 3px solid var(--blue); background: var(--alt); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; font: 800 1.5rem/1 var(--display); color: var(--blue); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; font-size: .97rem; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-intro p { color: var(--muted); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 0; font: 650 1.08rem/1.35 var(--display); color: var(--text); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; transition: transform .2s ease;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231557d6' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; border: 1px solid var(--line-2); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 0 20px; max-width: 46rem; }
.faq .answer p { margin: 0; color: var(--body); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta-band { background: var(--navy); color: #c9d4e6; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; padding-block: clamp(52px, 7vw, 84px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 40rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-alt { font-size: .97rem !important; }
.cta-alt a { color: #fff; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b6cb; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.site-footer .brand { display: inline-flex; padding: 0; }
.footer-brand p { margin: 16px 0 0; max-width: 24rem; }
.site-footer h2 { font: 700 .8rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #d5deeb; text-decoration: none; display: inline-block; padding: 3px 0; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom li { margin: 0; }
.footer-bottom button { background: none; border: 0; padding: 3px 0; font: inherit; color: #d5deeb; cursor: pointer; }
.footer-bottom button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp (site.js hides it while the form is on screen) ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: opacity .2s ease, transform .2s ease; }
.wa-float:hover { color: var(--wa-ink); }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.has-consent-bar .wa-float { bottom: calc(var(--consent-h, 0px) + 12px); }

/* ---------- Cookie consent (markup and behaviour from site.js) ---------- */
.consent[hidden] { display: none; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; max-width: 1100px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--navy); color: #c9d4e6; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); font-size: .92rem; }
.consent h2 { font: 700 1rem/1.3 var(--display); color: #fff; margin: 0 0 4px; }
.consent p { margin: 0; }
.consent a { color: #fff; margin-right: 10px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-consent, .btn-consent-alt { background: #fff; color: var(--navy); border-color: #fff; }
.btn-consent:hover { background: var(--blue-tint); color: var(--navy); }
.has-consent-bar body { padding-bottom: var(--consent-h, 0px); }
@media (max-width: 860px) { .consent { grid-template-columns: 1fr; } .consent-actions .btn { flex: 1 1 auto; } }
.consent-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--body); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.consent-dialog::backdrop { background: rgba(6, 14, 29, .6); }
.consent-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 0; }
.consent-dialog h2 { font-size: 1.3rem; margin: 0; }
.consent-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); cursor: pointer; }
.consent-intro { padding: 10px 22px 0; font-size: .93rem; color: var(--muted); }
.consent-cats { padding: 0 22px; }
.consent-cat { padding: 14px 0; border-top: 1px solid var(--line); }
.consent-cat p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.consent-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.consent-state { font-size: .82rem; font-weight: 650; color: var(--muted); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 650; color: var(--navy); min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); transition: background-color .15s ease; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s ease; }
.switch input:checked + .switch-ui { background: var(--blue); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:disabled + .switch-ui { opacity: .6; }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px 22px; border-top: 1px solid var(--line); }
.consent-dialog-actions .btn { flex: 1 1 auto; background: #fff; color: var(--navy); border-color: var(--line-2); }
.consent-dialog-actions .btn:hover { border-color: var(--blue); color: var(--blue); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }


/* ---------- Compact hero: text and the full form visible on the first screen (21 Oct 2026) ---------- */
.hero-grid { align-items: start; gap: clamp(28px, 4vw, 56px); padding-block: clamp(22px, 2.6vw, 36px) clamp(26px, 3vw, 40px); }
.hero .eyebrow { margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 2.3vw, 3rem); margin-bottom: .35em; }
.hero-lead { font-size: clamp(1.02rem, .97rem + .25vw, 1.12rem); line-height: 1.6; margin-bottom: 22px; }
.form-card { padding: 20px 24px 18px; }
.form-title { font-size: 1.3rem; margin-bottom: .2em; }
.form-sub { margin-bottom: 12px; font-size: .92rem; }
#quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
#quote-form > * { grid-column: 1 / -1; }
#quote-form > .field:nth-child(1), #quote-form > .field:nth-child(2) { grid-column: auto; }
.form-card .field { gap: 4px; margin-bottom: 10px; }
.form-card .field label { font-size: .88rem; }
.form-card .field input, .form-card .field select, .form-card .field textarea { min-height: 42px; padding: 8px 12px; font-size: .96rem; }
.form-card .field textarea { min-height: 72px; height: 72px; }
.form-card .btn-lg { min-height: 46px; padding: 10px 20px; font-size: 1rem; }
.form-privacy { margin-top: 8px; font-size: .78rem; line-height: 1.4; }
@media (max-width: 520px) {
  #quote-form { grid-template-columns: 1fr; }
  #quote-form > .field:nth-child(1), #quote-form > .field:nth-child(2) { grid-column: 1 / -1; }
}