:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1A2A;
  --color-muted: #4A6577;
  --color-surface: #FFFFFF;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --shadow-card: 0 30px 60px -30px rgba(6, 45, 80, 0.25);
  --shadow-soft: 0 8px 24px -12px rgba(6, 45, 80, 0.18);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* === Layout === */
.container { max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }

/* === Header === */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  max-width: 1160px;
  margin-inline: auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.75rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  padding: 0.5rem 0;
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); border-bottom: 2px solid var(--color-accent); }

@media (min-width: 768px) {
  .site-header__inner { padding: 1rem 1.5rem; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    width: auto;
    padding: 0;
  }
}

/* === Hero card === */
.hero-card-section {
  padding: 2.5rem 1rem 3rem;
  background:
    radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.14), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(249, 115, 22, 0.08), transparent 60%),
    var(--color-neutral-light);
}
.hero-card {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.25rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero-card h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.hero-card__sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}
.hero-card__cta { margin-bottom: 1.75rem; }
.hero-card__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-card__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-card-section { padding: 4rem 1.5rem 5rem; }
  .hero-card { padding: 3.5rem 3.5rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #e0620e; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(240, 249, 255, 0.35); }
.btn--ghost:hover { background: rgba(240, 249, 255, 0.1); }
.btn--small { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

/* === Sections === */
.section { padding: 3rem 0; }
.section--alt { background: var(--color-surface); }
.section__header { text-align: center; margin-bottom: 2rem; }
.section__sub {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.section--intro h2 { text-align: center; }
.section--intro .section__sub { text-align: center; }
.prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
}
.section--intro .prose { max-width: 62ch; margin-inline: auto; }

@media (min-width: 768px) {
  .section { padding: 4.5rem 0; }
}

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.card p {
  color: var(--color-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -18px rgba(6, 45, 80, 0.35);
}
.card-link h3 { color: var(--color-neutral-dark); }
.card__more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
}

/* === Testimonial === */
.section--testimonial { background: var(--color-surface); }
.testimonial {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  background: var(--color-neutral-light);
  border-radius: var(--radius-md);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: 3rem 0;
  text-align: center;
}
.cta-band--inline { border-radius: var(--radius-md); margin: 2.5rem 0; padding: 2.5rem 1rem; }
.cta-band__inner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band__inner p { color: rgba(240, 249, 255, 0.85); max-width: 55ch; margin: 0 auto 1.5rem; }

/* === Split section === */
.section--split { background: var(--color-surface); }
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.split__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.split__figure img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; }
}

/* === Contact band === */
.section--contact-band { background: var(--color-neutral-light); text-align: center; }
.section--contact-band .prose { max-width: 60ch; margin-inline: auto; color: var(--color-neutral-dark); font-weight: 500; }

/* === Form === */
.section--form { background: var(--color-surface); }
.contact-form { display: block; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin: 3rem auto;
  padding: 0 1rem;
}
.article-detail__header { margin-bottom: 1.5rem; }
.article-detail__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.article-detail__sub {
  font-size: 1.2rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.article-detail__hero {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}
.article-detail__hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.article-detail__body p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-block: 1.25rem;
  color: var(--color-text);
}
.article-detail__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { color: var(--color-primary); font-weight: 600; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding: 3rem 0 1.25rem;
  margin-top: 2rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.site-footer__heading {
  font-family: var(--font-body);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; }
.site-footer__legal li::after { content: '·'; margin-left: 0.75rem; color: rgba(240, 249, 255, 0.4); }
.site-footer__legal li:last-child::after { content: ''; }
.site-footer__tagline { color: rgba(240, 249, 255, 0.7); margin-top: 0.5rem; font-size: 0.95rem; }
.site-footer__copy {
  max-width: 1160px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid rgba(240, 249, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(240, 249, 255, 0.6);
}
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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.1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  max-width: 640px;
  margin-inline: auto;
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(240, 249, 255, 0.15);
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; }
