/* Crafts Software UI 3: corporate. White and cool greys, deep charcoal-navy, one solid corporate blue. No gradients.
   Loads last (after site.css, premium.css and ui2.css). Same class names as before, so every page re-themes at once.
   Order: tokens, base, buttons, top bar, header, phone menu, heroes, strips, sections and cards, panels, final call to action,
   footer, phone tab bar, forms and small accents. */

:root {
  --acc: #0f3d7a; --acc-2: #0b3166; --acc-3: #08254d; --acc-rgb: 15, 61, 122;
  --acc-light: #a9c1e6; --acc-light-2: #7fa2d6; --acc-light-rgb: 169, 193, 230;
  --warm: #0f3d7a; --warm-2: #a9c1e6; --warm-rgb: 15, 61, 122;
  --mid-rgb: 12, 22, 38; --mid-2: #08101c;
  --ink: #0d1726;
  --midnight: #0c1626;
  --navy: #0d1726;
  --navy-2: #152236;
  --panel: #1b2a42;
  --bg: #ffffff;
  --pearl: #f4f6f9;
  --paper: #ffffff;
  --line: rgba(13, 23, 38, .1);
  --line-strong: rgba(13, 23, 38, .18);
  --muted: #5b6475;
  --body: #39424f;

  /* Accent: sapphire. The legacy names (gold, blue) resolve to it so older rules follow. */
  --gold: var(--acc-light);                 /* on dark surfaces */
  --gold-deep: var(--acc);            /* fills on light surfaces (white text 4.9:1) */
  --gold-text: var(--acc-2);            /* text on light surfaces */
  --blue: var(--acc);
  --blue-text: var(--acc-2);
  --cyan: #7cc4ff;
  --electric: var(--acc-light-2);
  --on-dark: #eef1f5;
  --on-dark-dim: #aab3c2;
  --line-dark: rgba(255, 255, 255, .12);

  --radius: 18px;
  --sh-card: 0 1px 2px rgba(13, 23, 38, .04), 0 10px 30px -18px rgba(13, 23, 38, .22);
  --sh-lift: 0 2px 6px rgba(13, 23, 38, .06), 0 28px 50px -24px rgba(var(--acc-rgb), .38);
  --sh-float: 0 40px 80px -34px rgba(6, 12, 22, .6);
  --grad-brand: var(--acc);
}

/* ---------- Base ---------- */
html { scrollbar-color: var(--acc) #f4f6fb; }
body { background: var(--bg); color: var(--ink); }
::selection { background: rgba(var(--acc-rgb), .2); color: var(--ink); }
:focus-visible { outline-color: var(--gold-deep); }
.site-header :focus-visible, .site-footer :focus-visible, .section.dark :focus-visible, .search-overlay :focus-visible, .contact-aside :focus-visible, .hero :focus-visible { outline-color: var(--gold); }
.site-header :focus-visible { outline-color: var(--gold-deep); }

h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
p, li { color: var(--body); }
.lead { color: var(--body); }
.eyebrow { color: var(--gold-text); font-weight: 650; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { width: 8px !important; height: 8px !important; border-radius: 50%; background: var(--warm) !important; }
.dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.on-dark p, .on-dark li, .section.dark p, .section.dark li { color: var(--on-dark-dim); }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; padding: 13px 22px; font-weight: 600; letter-spacing: -.005em; }
.btn-primary { background: var(--gold-deep); color: #fff; box-shadow: 0 1px 2px rgba(13, 23, 38, .15), 0 12px 26px -12px rgba(var(--acc-rgb), .7); }
.btn-primary:hover { background: var(--acc-2); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(var(--acc-rgb), .75); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.on-dark .btn-primary, .section.dark .btn-primary { background: var(--gold-deep); color: #fff; }
.on-dark .btn-primary:hover, .section.dark .btn-primary:hover { background: #fff; color: var(--ink); }
.on-dark .btn-ghost, .section.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.on-dark .btn-ghost:hover, .section.dark .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Top contact bar ---------- */
.topbar { background: var(--midnight); color: #b6becb; font-size: .8rem; }
.topbar-in { min-height: 36px; }
.tb-lead { color: #8f99aa; }
.tb-links a { color: #e8ebf0; }
.tb-links a:hover { color: var(--gold); }
.tb-hours { color: #7f8a9c; }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); border-bottom: 1px solid var(--line); color: var(--ink); }
.site-header::after { display: none !important; }
.site-header .bar { min-height: 76px; gap: 20px; }
.site-header .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; flex: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark rect { stroke: none; fill: var(--ink); }
.brand-mark path { stroke: #fff; }
.site-footer .brand-mark rect { fill: var(--gold-deep); }

.site-header .nav { flex: 1; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-head, .sub-toggle, .nav-scrim { display: none; }
.site-header .nav a { color: var(--body); font-weight: 550; font-size: .95rem; padding: 9px 14px; border-radius: 10px; background: none; }
.site-header .nav a:hover { color: var(--ink); background: var(--pearl); }
.site-header .nav-links > a[aria-current="page"], .site-header .has-menu > a[aria-current="page"] { color: var(--gold-text); background: rgba(var(--acc-rgb), .08); }
.has-menu > a { display: inline-flex; align-items: center; gap: 4px; }
.has-menu .caret { opacity: .6; transition: transform var(--fast); }
.has-menu:hover .caret { transform: rotate(180deg); }
.nav .nav-cta { display: none; }
.bar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.site-header .search-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--pearl); color: var(--ink); }
.site-header .search-btn:hover { border-color: var(--line-strong); background: #fff; }
.bar-cta { padding: 11px 18px; font-size: .95rem; white-space: nowrap; }
.bar-cta .arrow { transition: transform var(--fast); }
.bar-cta:hover .arrow { transform: translateX(3px); }

.menu-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(13, 23, 38, .35); backdrop-filter: none; }
.site-header .menu-panel a { color: var(--body); font-weight: 500; }
.site-header .menu-panel a:hover { background: var(--pearl); color: var(--gold-text); }
.site-header .menu-panel .menu-all { color: var(--gold-text); font-weight: 650; border-top: 1px solid var(--line); }

/* Burger */
.site-header .menu-btn { display: none; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--ink); color: #fff; place-items: center; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.burger i:nth-child(2) { width: 70%; justify-self: end; }

@media (min-width: 1041px) {
  .site-header .nav-more, .site-header .nav-contact { display: none !important; }
}
@media (max-width: 1240px) and (min-width: 1041px) {
  .site-header .nav a { padding: 9px 10px; font-size: .92rem; }
  .bar-cta .arrow { display: none; }
}

/* ---------- Phone and tablet menu: a sheet that slides in from the right ---------- */
@media (max-width: 1040px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-header .bar { min-height: 64px; }
  .site-header .menu-btn { display: grid; }
  .bar-cta { display: none; }
  .site-header .nav {
    display: flex !important; position: fixed !important; top: 0 !important; right: 0; bottom: 0; left: auto !important;
    width: min(100%, 420px); max-height: none !important; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 0 20px calc(28px + env(safe-area-inset-bottom)) !important; margin: 0;
    background: #fff !important; border: 0 !important; box-shadow: -30px 0 80px -30px rgba(6, 12, 22, .5) !important;
    overflow-y: auto; overscroll-behavior: contain; z-index: 80;
    clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .34s var(--ease), visibility 0s linear .34s; animation: none !important;
  }
  .site-header .nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .34s var(--ease), visibility 0s; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; min-height: 64px; margin: 0 -20px 6px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-head-title { font: 700 .78rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .nav-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--pearl); color: var(--ink); cursor: pointer; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .nav .nav-links > a, .site-header .nav .has-menu > a {
    display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 4px; margin: 0;
    border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none !important;
    font: 600 1.12rem var(--display); letter-spacing: -.01em; color: var(--ink); background: none;
  }
  .site-header .nav .nav-links > a::after, .site-header .nav .has-menu > a::after { display: none !important; }
  .site-header .nav .nav-links > a[aria-current="page"], .site-header .nav .has-menu > a[aria-current="page"] { color: var(--gold-text); background: none; padding-left: 4px; }
  .site-header .nav .nav-links > a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); order: 2; margin-left: auto; }
  .has-menu { position: relative; }
  .has-menu > a { padding-right: 56px !important; }
  .has-menu .caret { display: none; }
  .sub-toggle { z-index: 2; display: grid; place-items: center; position: absolute; right: 0; top: 7px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--pearl); color: var(--ink); cursor: pointer; }
  .sub-toggle svg { transition: transform var(--fast); }
  .has-menu.is-open .sub-toggle svg { transform: rotate(180deg); }
  .site-header .has-menu .menu-panel, .site-header .has-menu:hover .menu-panel, .site-header .has-menu:focus-within .menu-panel { display: none; position: static; min-width: 0; padding: 6px 0 10px; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; transform: none; opacity: 1; visibility: visible; grid-template-columns: 1fr; }
  .site-header .has-menu.is-open .menu-panel { display: grid !important; }
  .site-header .nav .menu-panel a { display: block; min-height: 0; padding: 10px 12px; border: 0; border-radius: 10px; font: 500 .98rem var(--font); color: var(--body); white-space: normal; }
  .site-header .nav .menu-panel a:hover { background: var(--pearl); }
  .site-header .nav .menu-panel .menu-all { border-top: 0; margin: 0; color: var(--gold-text); font-weight: 650; }
  .site-header .nav .nav-cta { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 54px; margin: 22px 0 0; border-radius: 14px; font-size: 1.05rem; color: #fff; background: var(--gold-deep); }
  .site-header .nav-more { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px 14px; margin-top: 24px; padding: 18px; border: 0 !important; border-radius: 16px; background: var(--pearl) !important; }
  .site-header .nav .nav-more a { display: block; padding: 6px 0; min-height: 0; border: 0; font: 450 .92rem/1.35 var(--font); color: var(--body); background: none; white-space: normal; }
  .site-header .nav .nav-more a:hover { color: var(--gold-text); }
  .site-header .nav-more-title { margin: 0 0 6px; padding: 0; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted) !important; }
  .site-header .nav-contact { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 18px 0 0; }
  .site-header .nav .nav-contact a { padding: 4px 0; min-height: 0; border: 0; color: var(--gold-text) !important; font: 600 .9rem var(--font); background: none; }
  .nav-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 49; background: rgba(6, 12, 22, .55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { transform: none !important; z-index: 60; }
}
@media (max-width: 760px) {
  .site-header .nav { width: 100%; }
  .site-header .brand { font-size: 1.06rem; }
  .brand-mark { width: 30px; height: 30px; }
  .bar-actions { gap: 8px; }
}

/* ---------- Heroes: deep navy with a sapphire glow (home and every page) ---------- */
.hero, .hero.on-dark {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--midnight);
  background-image:
    radial-gradient(760px 460px at 82% -10%, rgba(var(--acc-rgb), .45), transparent 65%),
    radial-gradient(520px 360px at 105% 85%, rgba(var(--warm-rgb), .16), transparent 65%),
    radial-gradient(640px 420px at -10% 110%, rgba(var(--acc-rgb), .22), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, auto, auto, 56px 56px, 56px 56px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
  color: #fff; border-bottom: 0;
  padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 100px);
}
.hero h1, .hero.on-dark h1 { color: #fff; -webkit-text-fill-color: #fff; background: none; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 .h1-accent, .hero .h1-accent { color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(90deg, var(--acc-light) 0%, var(--acc-light-2) 45%, var(--warm-2) 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lead, .hero.on-dark .lead { color: #c4cbd6; }
.hero .eyebrow, .hero.on-dark .eyebrow { color: var(--gold); display: inline-flex; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); letter-spacing: .04em; text-transform: none; font-size: .86rem; }
.hero .eyebrow::before { margin-right: 2px; }
.hero-note { color: #aab3c2; }
.hero-note span::before { background: var(--warm); }
.hero .breadcrumb, .hero.on-dark .breadcrumb { color: #8f99aa; }
.hero .breadcrumb a { color: #fff; }
.hero .btn-primary, .hero.on-dark .btn-primary { background: var(--gold-deep); color: #fff; box-shadow: 0 16px 34px -14px rgba(var(--acc-rgb), .9); }
.hero .btn-primary:hover, .hero.on-dark .btn-primary:hover { background: #fff; color: var(--ink); }
.hero .btn-ghost, .hero.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); }
.hero .btn-ghost:hover, .hero.on-dark .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.hero-wa { color: #fff; }
.hero-wa svg { color: #35d27a; }
.hero-wa:hover { color: var(--gold); }
.hero p, .hero li { color: #c4cbd6; }
.hero a:not(.btn):not(.hero-wa) { color: #fff; }

/* The illustrated product stage sits on the dark hero as light cards */
.st-card { border-color: rgba(255, 255, 255, .5); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.st-top .live { color: #0f8a4b; background: rgba(53, 210, 122, .14); }
.st-kpi { background: var(--pearl); }
.st-kpi em, .st-tag { color: var(--gold-text); }
.st-tag { background: rgba(var(--acc-rgb), .1); }
.st-bars i { background: linear-gradient(180deg, var(--acc-light), var(--acc)); }
.st-bars i:nth-child(odd) { background: linear-gradient(180deg, #e3e7ed, #c7cdd7); }
.st-lead { background: var(--pearl); }
.st-lead.won { background: rgba(var(--acc-rgb), .08); border-color: rgba(var(--acc-rgb), .3); }
.st-site .hero-s b + b { background: var(--gold-deep); }
.st-chip { background: var(--gold-deep); }
.st-chip svg { color: #fff; }
.st-caption { color: #7f8a9c; }

/* ---------- Strips under the hero ---------- */
.marquee { background: #fff; border-bottom: 1px solid var(--line); }
.marquee span { color: var(--body); background: var(--pearl); border-color: var(--line); }
.marquee span:nth-child(3n) { color: var(--gold-text); background: rgba(var(--acc-rgb), .06); border-color: rgba(var(--acc-rgb), .22); }
.marquee::before { background: linear-gradient(90deg, #fff, transparent) !important; }
.marquee::after { background: linear-gradient(270deg, #fff, transparent) !important; }
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--sh-card); overflow: hidden; }
.proof-grid li { color: var(--muted); }
.proof-grid strong { color: var(--ink); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.proof-grid li:first-child strong { color: var(--gold-text); }

/* ---------- Sections and cards ---------- */
.section { background: transparent; }
.section.alt { background: var(--pearl); }
.section-head h2 { max-width: 22ch; }
.section-head p.lead { color: var(--body); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-card); }
.card::after { background: radial-gradient(360px 220px at var(--mx, 85%) var(--my, -20%), rgba(var(--acc-rgb), .1), transparent 65%); }
.card:hover { border-color: rgba(var(--acc-rgb), .45); transform: translateY(-4px); box-shadow: var(--sh-lift); }
.card h3 { color: var(--ink); }
.card .more, .more { color: var(--gold-text); font-weight: 600; }
.card.dark { background: var(--ink); border-color: transparent; }
.tag { background: var(--pearl); color: var(--body); border-radius: 8px; }
.tag.cat { background: rgba(var(--acc-rgb), .09); color: var(--gold-text); }
.glyph { background: rgba(var(--acc-rgb), .08); color: var(--gold-deep); border: 1px solid rgba(var(--acc-rgb), .16); border-radius: 12px; box-shadow: none; }
.bento .card:nth-child(1) { background: var(--grad-brand); border-color: transparent; color: #fff; }
.bento .card:nth-child(1) h3 { color: #fff; }
.bento .card:nth-child(1) p { color: #dde2ea; }
.bento .card:nth-child(1) .more { color: #fff; }
.bento .card:nth-child(1) .glyph { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); }
.bento .card:nth-child(4) { background: var(--midnight); border-color: transparent; }
.bento .card:nth-child(4) h3 { color: #fff; }
.bento .card:nth-child(4) p { color: var(--on-dark-dim); }
.bento .card:nth-child(4) .more { color: var(--gold); }
.bento .card:nth-child(4) .glyph { background: rgba(var(--acc-light-rgb), .12); color: var(--gold); border-color: rgba(var(--acc-light-rgb), .25); }
.shot { background: linear-gradient(135deg, var(--ink), var(--acc-3)); border-radius: 12px; }
.ind, .ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-card); }
.ind svg, .ind-card svg { color: var(--gold-deep); }
.ind-card svg { padding: 8px; width: 42px !important; height: 42px !important; border-radius: 12px; background: rgba(var(--acc-rgb), .08); }
.ind:hover { background: var(--grad-brand); color: #fff; border-color: transparent; }
.ind:hover svg { color: #fff; }
.ind::after { background: radial-gradient(circle, rgba(var(--acc-rgb), .28), transparent 70%); }
.ind-card em { color: var(--gold-text); }
.ind-card:hover { border-color: rgba(var(--acc-rgb), .45); box-shadow: var(--sh-lift); transform: translateY(-3px); }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-card); }
.why .glyph { background: var(--ink); color: #fff; border-color: transparent; }

/* Delivery steps */
.deliver li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-card); }
.deliver .d-n { background: rgba(var(--acc-rgb), .08); color: var(--gold-text); border: 1px solid rgba(var(--acc-rgb), .25); }
.deliver li:nth-child(5) .d-n { background: var(--gold-deep); color: #fff; border-color: transparent; }
@media (min-width: 1041px) { .deliver li:not(:last-child)::after { background: linear-gradient(90deg, rgba(var(--acc-rgb), .45), rgba(var(--acc-rgb), .1)); } }

/* FAQ */
.faq details, details.reveal { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
.faq details[open] { border-color: rgba(var(--acc-rgb), .35); box-shadow: var(--sh-card); }
.faq summary { color: var(--ink); font-weight: 600; }
.faq summary::after { color: var(--gold-deep) !important; border-color: var(--gold-deep) !important; }

/* Coverage panel */
.uae-panel { background: var(--midnight); background-image: radial-gradient(600px 360px at 100% 0%, rgba(var(--acc-rgb), .45), transparent 65%), radial-gradient(420px 300px at 0% 120%, rgba(var(--warm-rgb), .14), transparent 65%); border-radius: 24px; }
.uae-panel .lead { color: #c4cbd6; }
.uae-chips a { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); border-radius: 12px; }
.uae-chips a:hover { background: #fff; color: var(--ink); }

/* Side panels used on inner pages */
.side-cta, .contact-aside { background: var(--midnight); background-image: radial-gradient(420px 260px at 100% 0%, rgba(var(--acc-rgb), .4), transparent 65%); border: 0; }

/* ---------- Final call to action: one bold sapphire band ---------- */
.section.dark { background-color: var(--midnight); background-image: radial-gradient(900px 480px at 88% 0%, rgba(var(--acc-rgb), .35), transparent 62%); }
.section.dark:last-of-type { background: #fff; padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.section.dark:last-of-type .wrap {
  position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: 28px;
  background: var(--grad-brand); background-image: radial-gradient(520px 320px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), radial-gradient(420px 300px at 0% 120%, rgba(var(--warm-rgb), .35), transparent 60%), var(--grad-brand);
  box-shadow: 0 40px 80px -40px rgba(var(--acc-rgb), .8);
}
.section.dark:last-of-type .wrap::before { display: none; }
.section.dark:last-of-type h2 { color: #fff; max-width: 20ch; }
.section.dark:last-of-type .lead { color: #e1e6ee; }
.section.dark:last-of-type .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.section.dark:last-of-type .btn-primary:hover { background: var(--ink); color: #fff; }
.section.dark:last-of-type .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); border-top: 0; padding: clamp(48px, 6vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); color: var(--on-dark-dim); }
.site-footer .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 32px 48px; align-items: end; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.foot-tagline { margin: 14px 0 0; max-width: 36ch; font-size: 1.05rem; color: #c4cbd6; }
.foot-follow { margin-top: 20px; }
.foot-follow .foot-title { margin: 0 0 8px; }
.site-footer .foot-sub { margin: 0; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.site-footer .foot-sub .foot-title { display: block; margin: 0 0 10px; color: #fff; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.foot-sub-row { display: flex; gap: 8px; }
.foot-sub-row input { flex: 1; min-width: 0; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 14px; }
.foot-sub-row input::placeholder { color: #8a94a6; }
.foot-sub-row button { height: 48px; padding: 0 20px; border-radius: 12px; background: var(--gold-deep); color: #fff; border: 0; font-weight: 650; }
.foot-sub-row button:hover { background: #fff; color: var(--ink); }
.foot-sub-note { margin: 10px 0 0; font-size: .8rem; color: #8a94a6; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); gap: 32px; }
.site-footer .foot-title { margin: 0 0 14px; font: 700 .74rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-footer summary { list-style: none; cursor: default; pointer-events: none; }
.site-footer summary::-webkit-details-marker { display: none; }
.site-footer .foot-grid ul { list-style: none; margin: 0; padding: 0; }
.site-footer .foot-grid li { margin: 0 0 10px; color: var(--on-dark-dim); font-size: .93rem; }
.site-footer a { color: #c4cbd6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-contact li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.foot-contact li > span:first-child { color: #7f8a9c; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.foot-contact a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: #7f8a9c; }
.foot-bottom a { color: #aab3c2; }
@media (max-width: 1040px) {
  .site-footer .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-col-contact { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-footer { padding-top: 44px; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; margin-bottom: 8px; }
  .foot-top > * { min-width: 0; }
  .site-footer .foot-grid { grid-template-columns: 1fr; gap: 0; }
  .site-footer .foot-grid > * { display: block !important; }
  .foot-col-contact { padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
  .site-footer details.foot-col { border-bottom: 1px solid var(--line-dark); }
  .site-footer summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
  .site-footer summary .foot-title { margin: 0; }
  .site-footer summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #aab3c2; border-bottom: 2px solid #aab3c2; transform: rotate(45deg) translateY(-3px); transition: transform var(--fast); }
  .site-footer details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
  .site-footer details.foot-col ul { padding: 0 0 16px; }
  .foot-bottom { flex-direction: column; margin-top: 24px; }
}

/* ---------- Phone tab bar and the floating WhatsApp button ---------- */
@media (max-width: 760px) {
  .tabbar { background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 44px -16px rgba(6, 12, 22, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .tabbar a { color: var(--muted); font-weight: 600; }
  .tabbar a[aria-current="page"] { color: var(--gold-text); background: rgba(var(--acc-rgb), .08); }
  .tabbar a.go { color: #fff; background: var(--gold-deep); box-shadow: 0 10px 22px -10px rgba(var(--acc-rgb), .9); }
  .tabbar a.wa { color: #12924a; }
  body.menu-open .tabbar, body.menu-open .wa-float { display: none; }
}

/* ---------- Forms, chips and small accents ---------- */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .15); }
.choice input:checked + span, .method input:checked + span { border-color: var(--gold-deep); background: rgba(var(--acc-rgb), .08); }
.mk-chips a.is-on, .cat-chips a:hover { background: var(--ink); color: #fff; border-color: transparent; }
.cat-chips a { border-radius: 10px; }
.steps-3 li::before { background: var(--gold-deep); color: #fff; }
.social-row a:hover { background: var(--gold-deep); color: #fff; }
.search-results [role="option"][aria-selected="true"] a, .search-results [role="option"] a:hover { background: rgba(var(--acc-rgb), .1); }
.cat-badge { background: rgba(var(--acc-rgb), .09); color: var(--gold-text); }
.sw-feats li span { background: var(--gold-deep); color: #fff; }
.prose ol > li::before, .article-body ol > li::before { background: var(--gold-deep); color: #fff; }
.prose h2::before, .article-body h2::before, .prose ul li::before, .article-body ul li::before { background: var(--gold-deep); }
.prose h3, .article-body h3, .prose h3 + p, .article-body h3 + p { border-left-color: var(--gold-deep); background: var(--pearl); }
.prose a, .article-body a { color: var(--gold-text); text-decoration-color: rgba(var(--acc-rgb), .4); }
.read-progress i { background: var(--gold-deep); }
.mk-top { background-color: var(--pearl); background-image: radial-gradient(800px 360px at 88% -30%, rgba(var(--acc-rgb), .14), transparent 66%); }
.mk-stat strong, .sw-crumb a, .mk-top .sw-crumb a:hover { color: var(--gold-text); }
.lp-hero { background-color: var(--pearl); background-image: radial-gradient(800px 360px at 90% -20%, rgba(var(--acc-rgb), .14), transparent 66%); }
.lp-call, .leadbar .lb-call { background: var(--ink); }
.lp ul li::before { background-color: var(--gold-deep); }
.lp ol li::before { background: var(--gold-deep); }
.pagination a[aria-current="page"] { background: var(--gold-deep); color: #fff; border-color: transparent; }

/* ---------- Fixes for older rules ---------- */
.site-footer::before { display: none; }
.site-footer .foot-title { font-family: var(--font); }
.site-footer .foot-grid li a { display: inline; padding: 0; }
.site-footer .foot-grid li { line-height: 1.45; margin-bottom: 12px; }
.foot-top { align-items: center; }
.site-footer .foot-sub { max-width: none; width: 100%; }
.foot-contact { margin: 0; max-width: none; }
@media (min-width: 1041px) { .site-footer .foot-grid { grid-template-columns: 1.9fr repeat(5, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 760px) {
  .site-footer { display: block !important; }
  .foot-grid { margin-bottom: 0; }
}
.cat-chips a small, .mk-chips a small { background: rgba(var(--acc-rgb), .1); color: var(--gold-text); }

/* Phones: hero buttons stack full width, the label pill stays on one or two short lines */
@media (max-width: 760px) {
  .hero .eyebrow, .hero.on-dark .eyebrow { font-size: .78rem; padding: 6px 12px 6px 10px; border-radius: 12px; }
  .hero .cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero .cta-row .btn { justify-content: center; width: 100%; min-height: 52px; }
  .hero-wa { justify-content: center; min-height: 44px; }
  .hero h1, .hero.on-dark h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .section.dark:last-of-type .wrap { border-radius: 22px; }
  .section.dark:last-of-type .wrap > div[style] { display: grid !important; }
  .section.dark:last-of-type .btn { justify-content: center; }
}
