:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0B1B4D;
  --color-muted: #4B5A83;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-card: 0 30px 60px -30px rgba(30, 64, 175, 0.35);
  --radius-card: 16px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0.02em; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.section { padding-block: 3.5rem; }
.section--muted { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }
.eyebrow { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; }

/* === Header === */
.site-header { background: #ffffff; border-bottom: 1px solid rgba(30, 64, 175, 0.1); position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(30, 64, 175, 0.2); color: var(--color-neutral-dark); border-radius: 8px; padding: 0.5rem; cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; width: 100%; }
.primary-nav.is-open { display: flex; }
.primary-nav a { display: block; padding: 0.85rem 0.25rem; text-decoration: none; color: var(--color-ink); font-weight: 500; border-bottom: 1px solid rgba(30, 64, 175, 0.08); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .site-header__inner { padding-block: 1rem; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 2rem; width: auto; }
  .primary-nav a { border-bottom: none; padding: 0.25rem 0; font-weight: 500; }
  .primary-nav a:hover { color: var(--color-primary); }
}

/* === Hero card === */
.hero { padding-block: 3rem 4rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero-card__card {
  max-width: 880px;
  margin-inline: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(37, 99, 235, 0.08);
}
.hero-card__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 1.75rem; }
.hero-card__image { margin-top: 2rem; border-radius: 14px; overflow: hidden; }
.hero-card__image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-card__card { padding: 3.5rem 3rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 10px; font-weight: 600; text-decoration: none; font-family: var(--font-body); cursor: pointer; border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-primary { background: var(--color-primary); color: #ffffff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #ffffff; transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); color: #ffffff; }
.btn-accent:hover { background: #EA6410; color: #ffffff; transform: translateY(-1px); }

/* === Grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* === Cards === */
.card {
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.1);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card .icon { color: var(--color-accent); margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }
.card h3 { color: var(--color-neutral-dark); }
a.card-link { text-decoration: none; color: inherit; }
a.card-link:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -25px rgba(30, 64, 175, 0.4); border-color: rgba(37, 99, 235, 0.35); }
.read-more { color: var(--color-primary); font-weight: 600; margin-top: 0.5rem; font-size: 0.95rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.5rem 1.5rem; text-align: center; border-left: 4px solid var(--color-accent); background: #ffffff; border-radius: 12px; box-shadow: 0 15px 40px -25px rgba(30, 64, 175, 0.3); }
.testimonial p { font-family: var(--font-heading); font-size: 1.35rem; font-style: italic; color: var(--color-neutral-dark); margin-bottom: 1rem; line-height: 1.5; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%); color: #ffffff; padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #ffffff; max-width: 26ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 3rem 1rem 2rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article-sub { font-size: 1.2rem; color: var(--color-muted); margin-bottom: 1rem; }
.article-hero-img { aspect-ratio: 16 / 9; object-fit: cover; margin-block: 2rem; border-radius: 10px; width: 100%; }
.article-detail h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; color: #1F2A44; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(30, 64, 175, 0.15); }
.back-link { font-weight: 600; text-decoration: none; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #ffffff; padding: 1.5rem; border-radius: 14px; border: 1px solid rgba(30, 64, 175, 0.1); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: 0.7rem 0.85rem; border: 1px solid rgba(30, 64, 175, 0.25); border-radius: 8px; background: #F8FAFF; color: var(--color-ink); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.6rem; }
.faq details { background: #ffffff; border: 1px solid rgba(30, 64, 175, 0.12); border-radius: 10px; padding: 1rem 1.25rem; }
.faq summary { font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; font-family: var(--font-heading); font-size: 1.05rem; }
.faq details[open] { border-color: var(--color-primary); }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #DDE7FF; margin-top: 3rem; padding-block: 3rem 1.5rem; }
.site-footer h4 { color: #ffffff; margin-bottom: 0.75rem; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer a { color: #DDE7FF; text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.footer-grid .logo img { height: 64px; filter: brightness(0) invert(1); }
.tagline { margin-top: 0.75rem; color: #DDE7FF; opacity: 0.85; font-size: 0.95rem; }
.legal-links { margin-top: 1rem; flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; font-size: 0.85rem; }
address { font-style: normal; line-height: 1.6; font-size: 0.95rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.85rem; opacity: 0.85; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

/* === 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;
  border-radius: 14px;
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.4);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font: inherit; padding: 0.55rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-weight: 600; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.cookie-banner [data-cookie-accept]:hover { background: #EA6410; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); }
