/* ==========================================================================
   BookworX Service Ltd — site styles
   Modern, responsive, accessible. No external dependencies (CSP-friendly).
   ========================================================================== */

:root {
  /* Brand palette (sampled from the BookworX logo) */
  --cyan: #4fc2d6;
  --brand: #2e8fc4;
  --brand-deep: #1e6fb3;
  --brand-darker: #155a96;

  --ink: #0f2540;          /* primary text / navy */
  --ink-soft: #41526b;     /* body text */
  --muted: #6b7a90;        /* secondary text */

  --bg: #ffffff;
  --bg-soft: #f3f9fc;
  --bg-tint: #eaf4fa;
  --line: #e2ecf3;
  --white: #ffffff;

  --grad: linear-gradient(135deg, #4fc2d6 0%, #2e8fc4 55%, #1e6fb3 100%);
  --grad-soft: linear-gradient(135deg, #eaf7fb 0%, #e3f0fa 100%);

  --shadow-sm: 0 1px 3px rgba(15, 37, 64, .06), 0 1px 2px rgba(15, 37, 64, .04);
  --shadow: 0 10px 30px -12px rgba(15, 37, 64, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 37, 64, .28);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 48px);

  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --t: .35s cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--grad-soft); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  padding: .35em .9em; border-radius: 999px; background: var(--bg-tint); margin-bottom: 1rem;
}
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: .92em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  background: var(--bg); color: var(--fg); white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(30, 111, 179, .7); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(30, 111, 179, .8); }
.btn--ghost { background: transparent; color: var(--brand-deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { color: var(--brand-darker); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--white-outline:hover { background: rgba(255,255,255,.12); color:#fff; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .7rem 0; }
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 42px; width: auto; transition: height var(--t); }
.site-header.scrolled .nav__brand img { height: 38px; }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav__links > li { position: relative; }
.nav__links a {
  display: inline-flex; align-items: center; gap: .35em;
  color: var(--ink); font-weight: 500; padding: .6rem .85rem; border-radius: 10px;
  transition: color var(--t), background var(--t);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--brand-deep); background: var(--bg-tint); }
.nav__links a[aria-current="page"] { font-weight: 600; }

/* dropdown */
.has-sub > a svg { width: .7em; height: .7em; transition: transform var(--t); }
.has-sub:hover > a svg, .has-sub:focus-within > a svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  list-style: none; padding: .5rem; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--t);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .65rem .8rem; border-radius: 8px; color: var(--ink-soft); font-weight: 500; }
.submenu a:hover { background: var(--bg-soft); color: var(--brand-deep); }

.nav__cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* burger */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; border-radius: 10px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: flex; }
  .nav__cta .btn--primary { display: none; }
  .nav__brand { padding-left: 8px; }
  .nav__menu {
    position: fixed; inset: 64px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height var(--t);
  }
  .nav__menu.open { max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: .15rem; padding: 1rem var(--gut) 1.4rem; }
  .nav__links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: .2rem 0 .4rem 1rem; min-width: 0;
  }
  .has-sub > a svg { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #eaf2fb; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 120% at 80% -10%, #2e8fc4 0%, #16345a 45%, #0f2540 100%);
}
.hero__blob {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); opacity: .55;
  background: var(--grad); mix-blend-mode: screen; animation: float 14s ease-in-out infinite;
}
.hero__blob.b1 { width: 460px; height: 460px; top: -160px; right: -120px; }
.hero__blob.b2 { width: 360px; height: 360px; bottom: -160px; left: -120px; animation-delay: -5s; opacity: .4; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1);} 50% { transform: translateY(28px) scale(1.06);} }
.hero__grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%); }

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg, #7fe0f0, #bfe8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #c4d6ea; font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 2.6rem; flex-wrap: wrap; }
.hero__stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; font-weight: 700; letter-spacing: -.02em; }
.hero__stat span { font-size: .9rem; color: #9fb6d1; }

/* hero visual card */
.hero__visual { position: relative; }
.hero__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3, .hero__card .hero__card-title { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.mini-list li { display: flex; align-items: center; gap: .7rem; color: #d7e6f5; font-size: .98rem; }
.mini-list svg { width: 22px; height: 22px; flex-shrink: 0; color: #7fe0f0; }
@media (max-width: 880px) { .hero__inner { grid-template-columns: 1fr; } .hero__visual { order: -1; max-width: 460px; } }

/* ---------- Trust bar ---------- */
.trust { padding: 1.6rem 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px,4vw,52px); }
.trust__row span { color: #55657a; font-weight: 600; font-size: .92rem; letter-spacing: .02em; display: inline-flex; gap: .5em; align-items: center; }
.trust__row svg { width: 20px; height: 20px; color: var(--brand); }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden; height: 100%;
}
.card::after { content:""; position:absolute; left:0; top:0; height:3px; width:100%; background:var(--grad); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand-deep); margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3, .card .card__title { margin-bottom: .5rem; }
/* .card__title keeps the h3 visual size regardless of the actual heading tag used */
.card__title { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.card p { color: var(--ink-soft); margin-bottom: 1rem; font-size: .98rem; }
.card__link { font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.card__link svg { width: 1em; height: 1em; transition: transform var(--t); }
.card__link:hover svg { transform: translateX(4px); }
/* Centered icon on all cards; service cards also align title + link rows across the grid */
.card__icon { margin-left: auto; margin-right: auto; }
.card--service { display: flex; flex-direction: column; }
.card--service h3, .card--service .card__title { min-height: 2.3em; }
.card--service .card__link { margin-top: auto; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { position: relative; }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .85rem; }
.feature-list .ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--grad-soft); color: var(--brand-deep); display: grid; place-items: center; }
.feature-list .ico svg { width: 18px; height: 18px; }
.feature-list strong { display: block; color: var(--ink); }
.feature-list p { margin: .15rem 0 0; font-size: .95rem; }

/* illustrative gradient panel (replaces stock photos) */
.illus {
  border-radius: var(--radius-lg); aspect-ratio: 4 / 3.2; position: relative; overflow: hidden;
  background: var(--grad); box-shadow: var(--shadow-lg); display: grid; place-items: center;
}
.illus svg { width: 64%; height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.18)); }
.illus::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,.28), transparent 55%); }
.illus__badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(255,255,255,.92);
  border-radius: 14px; padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem; box-shadow: var(--shadow);
}
.illus__badge .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color:#fff; display:grid; place-items:center; flex-shrink:0; }
.illus__badge .ico svg { width: 22px; height: 22px; }
.illus__badge strong { color: var(--ink); display: block; font-size: .95rem; }
.illus__badge span { font-size: .82rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: block; }
.step__head { display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.step__head h3 { margin: 0; }
.step__num { counter-increment: step; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow-sm); }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step > p { font-size: .97rem; margin: 0; padding-left: calc(46px + 1rem); }

/* ---------- Page banner ---------- */
.page-banner { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.page-banner::before { content:""; position:absolute; inset:0; z-index:-2;
  background: radial-gradient(120% 140% at 85% -20%, #2e8fc4 0%, #16345a 50%, #0f2540 100%); }
.page-banner .hero__grid-lines { opacity: .12; }
.page-banner__inner { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px); max-width: 760px; }
.page-banner h1 { color: #fff; }
.page-banner p { color: #c4d6ea; max-width: 56ch; margin-top: .8rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: #9fb6d1; margin-bottom: 1.1rem; flex-wrap: wrap; }
.crumbs a { color: #cfe0f2; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .6; }

/* prose */
.prose { max-width: 760px; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .5rem; color: var(--brand-darker); }
.prose ul { margin: 0 0 1.2rem; padding-left: 0; list-style: none; display: grid; gap: .65rem; }
.prose ul li { position: relative; padding-left: 1.9rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px;
  background: var(--grad-soft); border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6fb3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px 13px, cover;
}

/* aside service nav */
.service-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 880px) { .service-layout { grid-template-columns: 1fr; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 92px; }
.side-card h4, .side-card .side-card-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .8rem; }
.side-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.side-nav a { display: block; padding: .7rem .9rem; border-radius: 10px; color: var(--ink-soft); font-weight: 500; }
.side-nav a:hover { background: var(--bg-soft); color: var(--brand-deep); }
.side-nav a[aria-current="page"] { background: var(--grad); color: #fff; }
.side-cta { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.side-cta p { font-size: .9rem; color: var(--muted); }
@media (max-width: 880px) { .side-card { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); isolation: isolate; }
.cta-band::before { content:""; position:absolute; inset:0; z-index:-1; background: var(--grad); opacity: .96; }
.cta-band::after { content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; border-radius:50%; background: rgba(255,255,255,.12); z-index:-1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; }
.cta-band .hero__actions { margin-top: 1.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,3vw,32px); }
.info-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: var(--brand-deep); display: grid; place-items: center; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item strong { color: var(--ink); display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.info-item a, .info-item p { color: var(--ink-soft); margin: .15rem 0 0; }

/* form */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem 1rem; transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(46,143,196,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }
/* Moat honeypot — hidden via class (never display:none), per Moat integration spec */
.moat-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Moat widget theming (reads CSS custom props inside its Shadow DOM) */
.moat { --moat-accent: #2e8fc4; --moat-radius: 12px; --moat-max-width: 100%; margin: .4rem 0 1.2rem; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }
.form__status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; display: none; }
.form__status.is-ok { display: block; background: #e7f7ee; color: #1b7a45; border: 1px solid #b6e6c9; }
.form__status.is-err { display: block; background: #fdeaea; color: #b42323; border: 1px solid #f3c2c2; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.4rem; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; transition: box-shadow var(--t); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); transition: transform var(--t); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8c8dd; padding: clamp(48px, 7vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: #8ea4bf; font-size: .95rem; max-width: 34ch; }
.site-footer h5, .site-footer .footer-col-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; font-weight: 700; line-height: 1.15; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { color: #b8c8dd; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: .8rem; font-size: .95rem; }
.footer-contact a { color: #cfe0f2; }
.footer-contact .row { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: .2em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; color: #9fb6d1; }
.footer-bottom a { color: #cfe0f2; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation (progressive enhancement) ----------
   Content is visible by default; only when JS is active (html.js) do we hide
   then animate it in. This keeps all content visible with JavaScript disabled. */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .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; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* utilities */
.eyebrow--light { background: rgba(255,255,255,.12); color: #bfe8ff; }
.btn--block { width: 100%; justify-content: center; }
.banner-center { min-height: 60vh; display: grid; align-items: center; }
.map-link { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem;
  background: var(--grad-soft); color: var(--brand-darker); font-weight: 600; }
.map-link:hover { color: var(--brand-darker); }
.map-link svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.map-link svg:last-child { margin-left: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.maxw-prose { max-width: 64ch; }
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 200;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 999px; cursor: pointer;
  background: var(--brand); color: #fff; border: none;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t);
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--brand-deep); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
