:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: rgba(30, 41, 59, 0.65);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 8px 24px -12px rgba(30, 41, 59, 0.15);
  --shadow-lg: 0 30px 60px -30px rgba(30, 41, 59, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; color: var(--color-neutral-dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section--muted { background: #EEF4FB; }
.section--testimonial { padding-block: 4rem; background: var(--color-neutral-light); }
.section__header { text-align: center; margin-bottom: 3rem; max-width: 640px; margin-inline: auto; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 8px; padding: 0.5rem; color: var(--color-neutral-dark); }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 0; width: 100%; }
.primary-nav a { display: block; padding: 0.75rem 0.5rem; font-weight: 500; color: var(--color-neutral-dark); border-radius: 6px; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a:hover { background: rgba(37, 99, 235, 0.08); text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 0.5rem; padding: 0; width: auto; }
  .primary-nav a { padding: 0.5rem 0.9rem; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: #1D4FCF; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #E15E0A; }

/* === Hero (fullscreen) === */
.hero { position: relative; overflow: hidden; }
.hero--fullscreen { min-height: 82vh; display: flex; align-items: center; color: var(--color-neutral-light); padding-block: 5rem; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(37, 99, 235, 0.55)); z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__content h1 { color: var(--color-neutral-light); }
.hero__content .eyebrow { color: #FDBA74; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; max-width: 56ch; }
.hero--compact { min-height: auto; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); padding-block: 6rem; }
.hero__content--dark h1, .hero__content--dark .hero__sub { color: var(--color-neutral-light); }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(37, 99, 235, 0.1); color: var(--color-primary); margin-bottom: 1rem; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(37, 99, 235, 0.3); text-decoration: none; }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { margin: 0; text-align: center; padding: 2rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; margin-bottom: 1.5rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 60ch; }
@media (min-width: 800px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
}

/* === Split === */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.split__image img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact-info h3 { margin-top: 1.5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); }
.contact-info h3:first-child { margin-top: 0; }
.contact-info address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }

/* === Forms === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-row label { font-weight: 500; margin-bottom: 0.4rem; font-size: 0.95rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.form-consent { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.88rem; color: var(--color-muted); margin-bottom: 1.5rem; flex-wrap: wrap; }
.form-consent input { margin-top: 0.2rem; }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
.faq summary { font-family: var(--font-heading); font-size: 1.15rem; cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem; }
.article__header { margin-bottom: 2rem; }
.article__sub { font-size: 1.2rem; color: var(--color-muted); line-height: 1.5; }
.article__hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: 8px; }
.article__body p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.back-link { font-weight: 600; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding-top: 3.5rem; padding-bottom: 1.5rem; margin-top: 4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.site-footer__tagline { margin-top: 0.5rem; color: rgba(248, 250, 252, 0.7); font-size: 0.95rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.site-footer__base { border-top: 1px solid rgba(248, 250, 252, 0.12); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.6); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button { padding: 0.55rem 1rem; border-radius: 6px; border: 1px solid rgba(248, 250, 252, 0.25); background: transparent; color: var(--color-neutral-light); font-size: 0.88rem; font-weight: 500; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { background: rgba(248, 250, 252, 0.12); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #E15E0A; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 0.9rem; border-radius: 6px; background: var(--color-primary); color: #fff; border: none; font-weight: 500; }

.risk-disclaimer { position: relative; z-index: 1000; background: #fdf7e8; border-bottom: 2px solid #c9a227; color: #4a4335; padding: 0.875rem 1.5rem; }
.risk-disclaimer p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.risk-disclaimer strong { text-transform: uppercase; letter-spacing: 0.04em; }
.risk-disclaimer__icon { font-size: 1rem; }
