:root {
  --ink: #17201d;
  --muted: #52615c;
  --brand: #174b43;
  --brand-2: #21685d;
  --accent: #bf4f2f;
  --soft: #f3f0e8;
  --paper: #fffdf8;
  --line: #d9ded6;
  --focus: #f5b84b;
  --danger: #a2321c;
  --ok: #17633f;
  --shadow: 0 18px 46px rgba(23, 32, 29, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); }
a:hover { color: var(--accent); }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 30; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; min-width: 0; }
.brand small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.brand-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 900; font-size: .82rem; line-height: .9; letter-spacing: 0; }
.brand-mark span { display: block; }
.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a { padding: .68rem .72rem; color: var(--ink); text-decoration: none; border-radius: 8px; font-weight: 750; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); color: var(--brand); }
.menu-button { display: none; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .8rem; background: #fff; color: var(--ink); font: inherit; font-weight: 800; }

.hero { position: relative; min-height: 690px; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/images/hero-senior-digital.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 31, 27, .93), rgba(13, 31, 27, .70) 46%, rgba(13, 31, 27, .18)); }
.hero-content { padding: 112px 0 54px; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent); font-size: .82rem; text-transform: uppercase; font-weight: 900; letter-spacing: 0; }
.hero .eyebrow { color: #ffd79a; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.12; letter-spacing: 0; }
h1 { max-width: 880px; font-size: clamp(2.35rem, 8vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: 1.25rem; }
.hero-text { max-width: 750px; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .78rem 1rem; border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 900; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--brand); color: #fff; }
.button.secondary { background: #fff; color: var(--brand); border-color: var(--line); }
.button.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.button:hover { transform: translateY(-1px); }
.scope-note { max-width: 860px; padding: 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; background: rgba(255, 253, 248, .14); }

.notice { padding: 1rem 0; background: var(--brand); color: #fff; }
.section { padding: 64px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 800px; margin-bottom: 1.5rem; }
.lead { font-size: 1.25rem; color: var(--brand); font-weight: 800; }
.two-col, .split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 2rem; align-items: start; }
.split { grid-template-columns: 1fr 1fr; align-items: center; }
.narrow { max-width: 820px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card, .panel, .contact-form, .info-list > div, .steps article, .price-box, .digicheck-card, details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(23, 32, 29, .06);
}
.card p, .panel p, .steps p { color: var(--muted); margin-bottom: 0; }
.panel { border-left: 6px solid var(--accent); }
.section .scope-note { background: #fff; color: var(--ink); border-color: var(--line); }
.hero .scope-note { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255, 253, 248, .14); }
.occasion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.occasion-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 132px;
  padding: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 32, 29, .06);
}
.occasion-card:hover { transform: translateY(-2px); border-color: var(--brand-2); color: var(--ink); }
.occasion-card strong, .occasion-card small { display: block; }
.occasion-card strong { margin-bottom: .25rem; font-size: 1.1rem; line-height: 1.2; }
.occasion-card small { color: var(--muted); font-size: .98rem; line-height: 1.35; }
.card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--soft);
}
.topic-svg { width: 58px; height: 52px; fill: #fff; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.topic-svg.large { width: min(100%, 260px); height: auto; }
.topic-svg .fill-soft { fill: var(--soft); stroke: none; }
.topic-svg .fill-accent { fill: var(--accent); stroke: none; }
.topic-svg .stroke-accent { fill: none; stroke: var(--accent); }
.topic-svg .stroke-light { fill: none; stroke: #fff; }
.occasion-intro {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 2rem;
  align-items: center;
}
.visual-card {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 2rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33,104,93,.13), rgba(191,79,47,.09)),
    #fff;
  border: 1px solid var(--line);
}
.reassurance {
  display: inline-block;
  margin-top: .75rem;
  padding: .65rem .8rem;
  border-left: 5px solid var(--accent);
  background: #fff;
  font-weight: 800;
}
.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.signal-list article {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: .75rem;
  align-items: start;
  padding: 1.1rem;
  border-right: 1px solid var(--line);
}
.signal-list article:last-child {
  border-right: 0;
}
.signal-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.signal-list p { margin: 0; }
.tip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tip-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 8px 22px rgba(23, 32, 29, .045);
}
.tip-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: .75rem;
  border-radius: 8px;
  background: var(--brand-2);
  color: #fff;
  font-weight: 900;
}
.tip-card p { margin: 0; color: var(--muted); }
.why-panel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand-2);
  border-radius: 8px;
  background: #fffdf8;
}
.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
}
.cta-panel .eyebrow { color: #ffd79a; }
.cta-panel h2, .cta-panel p { color: #fff; }
.cta-panel .button.secondary { border-color: rgba(255,255,255,.55); }
.check-list { padding-left: 1.25rem; }
.check-list li { margin: .45rem 0; }
.info-list { display: grid; gap: 1rem; }
.info-list strong, .info-list span { display: block; }
.info-list span { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 1rem; background: var(--brand); color: #fff; font-weight: 900; }
.price-box { margin-top: 1rem; border-left: 6px solid var(--brand-2); }
.iframe-holder { margin-top: 1rem; height: 520px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.iframe-holder iframe { width: 100%; height: 100%; border: 0; }
details { margin-top: .8rem; }
summary { cursor: pointer; font-weight: 900; }
.contact-links { display: grid; gap: .5rem; margin-top: 1.5rem; }
.contact-links a { font-weight: 900; }
.contact-form { display: grid; gap: .85rem; }
label { display: grid; gap: .35rem; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid #c8d2cb;
  border-radius: 8px;
  padding: .75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
.consent { grid-template-columns: 24px 1fr; align-items: start; font-weight: 500; }
.consent input { min-height: 24px; }
.hp { position: absolute; left: -10000px; }
.form-status { min-height: 1.5rem; font-weight: 900; }
.form-status.success { color: var(--ok); }
.form-status.error { color: var(--danger); }
.legal-text h2 { font-size: 1.6rem; margin-top: 2rem; }
.legal-text p { margin-bottom: 1rem; }
.legal-text, .card, .panel, .contact-form, .digicheck-card { overflow-wrap: anywhere; }

.site-footer { padding: 2rem 0 5rem; background: #101815; color: #fff; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: #fff; margin-right: 1rem; }
.mobile-call { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 25; display: none; justify-content: center; padding: .85rem 1rem; border-radius: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 900; box-shadow: var(--shadow); }
.back-to-top { position: fixed; right: 18px; bottom: 82px; z-index: 24; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font-size: 1.2rem; display: none; cursor: pointer; }
.back-to-top.is-visible { display: block; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .header-inner { min-height: 66px; }
  .menu-button { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; inset: 66px 0 auto 0; display: none; flex-direction: column; align-items: stretch; padding: .5rem 16px 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem; }
  .hero { min-height: 660px; }
  .hero::before { background-position: 58% center; }
  .hero-content { padding-top: 96px; }
  .actions, .button { width: 100%; }
  .two-col, .split, .steps, .card-grid, .occasion-grid, .occasion-intro, .signal-list, .tip-grid, .cta-panel { grid-template-columns: 1fr; }
  .brand strong { font-size: .95rem; }
  .brand small { font-size: .72rem; }
  .brand-mark { width: 44px; height: 44px; font-size: .76rem; }
  .occasion-card { grid-template-columns: 58px 1fr; min-height: auto; }
  .card-icon { width: 54px; height: 54px; }
  .topic-svg { width: 50px; height: 46px; }
  .visual-card { min-height: 220px; padding: 1.25rem; }
  .signal-list article { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-list article:last-child { border-bottom: 0; }
  .cta-panel .actions { margin-bottom: 0; }
  .section { padding: 54px 0; }
  .mobile-call { display: flex; }
}

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