/* =========================================================
   TPSL — site stylesheet
   Palette follows the BillDesk reference: white canvas,
   near-black text, burnt-orange CTAs, amber/peach accents.
   Fonts are self-hosted (no third-party font requests).
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #c14c23;          /* primary CTA (burnt orange) */
  --brand-dark: #9e3c1a;
  --accent: #f15a22;         /* bright orange */
  --amber: #ffb23f;          /* amber shape */
  --amber-soft: #ffd38a;
  --peach: #fdeee4;          /* footer / soft sections */
  --cream: #fff7f0;
  --ink: #1a1a1a;
  --ink-2: #344154;
  --muted: #5f6b7a;
  --line: #ece7e2;
  --white: #ffffff;
  --dark: #1c1916;           /* warm near-black band */
  --focus: #0f3893;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(26, 26, 26, .07);
  --max: 1200px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.a11y-large { font-size: 112.5%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font: 600 1rem/1 var(--font-body); padding: .95em 1.6em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--amber); color: var(--ink); }
.btn-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.btn-link::after { content: "→"; transition: transform .2s; }
.btn-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a.nav-link, .nav button.nav-link {
  font: 500 .98rem var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0;
  padding: 10px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav a.nav-link[aria-current="page"] { color: var(--brand); }
.nav a.nav-link[aria-current="page"] { font-weight: 600; }
.has-sub { position: relative; }
.chev { width: 10px; height: 10px; transition: transform .2s; }
.has-sub[data-open="true"] .chev { transform: rotate(180deg); }
.submenu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.has-sub[data-open="true"] .submenu { display: block; }
.submenu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.submenu a span { display: block; color: var(--muted); font-size: .82rem; }
.submenu a:hover { background: var(--cream); color: var(--brand); }
.header-cta { margin-left: 10px; padding: .75em 1.3em; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--accent); }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px; overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.nav-link, .nav button.nav-link { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .header-cta { margin: 20px 0 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 span { color: var(--brand); }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-shapes { position: absolute; right: -120px; top: 40px; width: 640px; height: 640px; z-index: 0; pointer-events: none; }
.hero-art { position: relative; z-index: 1; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font: 700 2rem var(--font-head); color: var(--ink); }
.hero-stats div span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shapes { width: 420px; height: 420px; right: -200px; top: auto; bottom: -120px; opacity: .6; }
}

/* page hero (inner pages) */
.page-hero { background: var(--cream); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle at 30% 30%, var(--amber-soft), var(--amber)); opacity: .5;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section.alt { background: var(--cream); }
.section.peach { background: var(--peach); }
.section.dark { background: var(--dark); color: #eee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .section { padding: 60px 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }

/* cards */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #f3d6c4; }
.card p { color: var(--ink-2); flex: 1; }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--peach); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card .icon svg { width: 28px; height: 28px; }
.card .btn-link { margin-top: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.feature strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.feature span { color: var(--muted); font-size: .95rem; }
.alt .feature, .peach .feature { border-color: #f3e2d6; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c14c23' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.check-list li strong { color: var(--ink); }
.check-list.cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .check-list.cols { grid-template-columns: 1fr; } }

.tagline {
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--brand);
  border-left: 4px solid var(--amber); padding-left: 14px; margin: 8px 0 24px;
}
.sub-head { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink-2); margin-top: -.2em; }

.product-block { padding: 88px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.product-block:nth-of-type(even) { background: var(--cream); }
.product-block:last-of-type { border-bottom: 0; }
.art-frame {
  background: linear-gradient(145deg, var(--peach), #fff 70%); border-radius: 28px; padding: 32px;
  border: 1px solid #f3e2d6; position: relative; overflow: hidden;
}
.product-block:nth-of-type(even) .art-frame { background: linear-gradient(145deg, #fff, var(--peach)); }

/* in-page sub nav */
.subnav { position: sticky; top: 76px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px; white-space: nowrap; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* carousel */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin;
}
.carousel-track > * { scroll-snap-align: start; }
@media (max-width: 900px) { .carousel-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 560px) { .carousel-track { grid-auto-columns: 85%; } }
.device-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.device-card .device-art { background: var(--cream); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.device-card .device-art img { max-height: 100%; width: auto; }
.device-card h4 { margin-bottom: 4px; }
.device-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.carousel-controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; display: grid; place-items: center; font-size: 1.2rem;
}
.carousel-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.stat-strip div { padding: 28px; background: #fff; border-right: 1px solid var(--line); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { display: block; font: 700 1.5rem var(--font-head); color: var(--brand); margin-bottom: 6px; }
.stat-strip span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } .stat-strip div:nth-child(2) { border-right: 0; } .stat-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .stat-strip { grid-template-columns: 1fr; } .stat-strip div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pills li { background: #fff; border: 1px solid #f0d9ca; color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 500; }

/* CTA band */
.cta-band { background: var(--dark); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; bottom: -90px; width: 280px; height: 280px; border-radius: 48px; transform: rotate(28deg); background: var(--accent); opacity: .9; }
.cta-band::after { content: ""; position: absolute; right: 120px; bottom: -140px; width: 220px; height: 220px; border-radius: 40px; transform: rotate(18deg); background: var(--amber); opacity: .85; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d9d4cf; margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-wrap { padding: 24px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #d9d2cb; border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(193, 76, 35, .15); }
.field .error { display: none; color: #b42318; font-size: .85rem; margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b42318; }
.field.invalid .error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--brand); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-status.ok { display: block; background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.form-status.err { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ---------- Support / grievance ---------- */
.entity { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: #fff; }
.entity + .entity { margin-top: 28px; }
.entity h3 { display: flex; align-items: center; gap: 10px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.levels.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .levels, .levels.two { grid-template-columns: 1fr; } }
.level { background: var(--cream); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--amber); }
.level:nth-child(2) { border-top-color: var(--accent); }
.level:nth-child(3) { border-top-color: var(--brand); }
.level .lvl { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.level h4 { margin: 4px 0 10px; }
.level p { margin: 0 0 6px; font-size: .95rem; color: var(--ink-2); overflow-wrap: anywhere; }
.level a { font-weight: 600; }

.steps { counter-reset: step; display: grid; gap: 18px; }
.step { position: relative; padding: 24px 24px 24px 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 22px; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand); color: #fff; display: grid; place-items: center; font: 700 1.1rem var(--font-head);
}
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.notice { background: #fff8e6; border: 1px solid #ffe3a3; border-radius: var(--radius); padding: 18px 20px; color: #5c4400; }
.notice strong { color: #3d2e00; }

/* ---------- Resources ---------- */
.doc-group + .doc-group { margin-top: 48px; }
.doc-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list .doc-title { display: flex; gap: 14px; align-items: center; }
.doc-list .doc-title svg { width: 28px; height: 28px; color: var(--brand); flex: 0 0 auto; }
.doc-list .doc-meta { font-size: .85rem; color: var(--muted); }
.doc-list a.btn { padding: .6em 1.1em; font-size: .88rem; white-space: nowrap; }
@media (max-width: 560px) { .doc-list li { flex-direction: column; align-items: flex-start; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: .4em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-2); }
.legal li { margin-bottom: .45em; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.toc { background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0 8px; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--cream); }
.table-wrap { overflow-x: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 18px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { margin: 0 0 6px; color: var(--ink-2); overflow-wrap: anywhere; }
.placeholder { background: #fff3cd; color: #6b4f00; padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--peach); color: var(--ink); padding: 72px 0 0; margin-top: 0; border-top: 1px solid #f0d9ca; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand .tag { font-family: var(--font-head); font-weight: 600; margin-bottom: 14px; }
.footer-phone { font-size: .95rem; color: var(--ink-2); margin: 0; }
.footer-phone a { color: var(--ink); font-weight: 600; }
.footer-entities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; border: 1px solid #f0d9ca; border-radius: var(--radius); background: rgba(255,255,255,.55); }
.entity-card { font-style: normal; text-align: center; padding: 28px 24px; color: var(--ink-2); font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }
.entity-card + .entity-card { border-left: 1px solid #f0d9ca; }
.entity-card strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); letter-spacing: .01em; }
.entity-card .formerly { display: block; font-size: .78rem; color: var(--muted); margin: 2px 0 12px; }
.entity-card .ids { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0d9ca; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .footer-entities { grid-template-columns: 1fr; } .entity-card + .entity-card { border-left: 0; border-top: 1px solid #f0d9ca; } }
.footer-brand address { font-style: normal; color: var(--ink-2); font-size: .92rem; margin-bottom: 14px; }
.footer-brand address strong { color: var(--ink); display: block; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.social { display: flex; gap: 12px; margin-top: 6px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid #f0d9ca; }
.social a:hover { background: var(--brand); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid #f0d9ca; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); }
.footer-bottom .safety { max-width: 640px; }

/* ---------- Cookie notice ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0,0,0,.15);
  padding: 22px 24px; display: none; gap: 18px; align-items: center;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.cookie-banner .btn { padding: .7em 1.3em; font-size: .9rem; flex: 0 0 auto; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; } }

/* ---------- Accessibility tools ---------- */
.a11y-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 150; width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 4px solid #fde1d4; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(241, 90, 34, .35);
}
.a11y-btn svg { width: 26px; height: 26px; }
.a11y-panel {
  position: fixed; right: 20px; bottom: 86px; z-index: 150; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px; width: 230px; display: none;
}
.a11y-panel.show { display: block; }
.a11y-panel h4 { font-size: .95rem; margin-bottom: 10px; }
.a11y-panel button { width: 100%; text-align: left; background: var(--cream); border: 0; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font: 500 .9rem var(--font-body); cursor: pointer; color: var(--ink); }
.a11y-panel button[aria-pressed="true"] { background: var(--brand); color: #fff; }
html.a11y-contrast { --ink-2: #111; --muted: #222; --line: #555; }
html.a11y-contrast body { color: #000; }
html.a11y-contrast a { text-decoration: underline; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }

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

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media print {
  .site-header, .site-footer, .cookie-banner, .a11y-btn, .a11y-panel, .subnav { display: none !important; }
}
