:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.14);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #ffffff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 8px; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: .5rem 0; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; padding: 0; background: transparent; border: none; gap: 1.75rem; }
  .primary-nav a { padding: 0; }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(30,64,175,0.5); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }

/* === Hero (centered) === */
.hero { padding-block: 3.5rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 22ch; margin-inline: auto; letter-spacing: -0.01em; }
.hero-sub { max-width: 48ch; margin: 0 auto 1.75rem; font-size: 1.15rem; color: var(--color-muted); }
.hero-cta { margin-block: 1.5rem; }
.hero-figure { margin: 3rem auto 0; max-width: 1040px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(30,58,138,0.35); }
.hero-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-compact { padding-block: 3rem 2rem; }

@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-intro { background: #fff; }
.section-intro.alt { background: var(--color-neutral-light); }
.section-intro h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section-intro p { font-size: 1.08rem; color: var(--color-text); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-sub { color: var(--color-muted); max-width: 52ch; margin-inline: auto; }

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

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .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: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }
a.card-link { color: inherit; display: block; }
a.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(30,58,138,0.35); border-color: var(--color-secondary); }

/* === Testimonial === */
.section-testimonial { background: var(--color-neutral-light); }
.testimonial { margin: 0 auto; max-width: 62ch; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 56ch; margin-inline: auto; }
.cta-band a { color: #fff; }
.cta-band .contact-line a { text-decoration: underline; }

/* === Feature split === */
.feature-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .feature-split { grid-template-columns: 1fr 1fr; } }
.feature-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(30,58,138,0.4); }
.feature-figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem; }
.article-detail .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--color-secondary); margin-bottom: 1rem; font-weight: 600; }
.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: 2rem; }
.article-hero { margin-block: 2rem; border-radius: var(--radius); overflow: hidden; }
.article-hero img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-back { margin-top: 3rem; }
.back-link { font-weight: 500; }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--color-border); font-weight: normal; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.map-block { background: var(--color-neutral-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 2rem; }
.map-block img { max-width: 200px; }

/* === Form === */
.section-form { background: var(--color-neutral-light); }
.section-form form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 8px; font-family: inherit; font-size: 1rem; 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: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 60px; filter: brightness(0) invert(1); margin-bottom: .75rem; }
.footer-tag { color: rgba(239,246,255,0.75); font-size: .95rem; }
.footer-legal { margin-top: 1rem; font-size: .9rem; }
.footer-copy { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(239,246,255,0.15); font-size: .85rem; color: rgba(239,246,255,0.7); }

/* === 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: var(--radius); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.35); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .93rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { flex: 1 1 auto; padding: .55rem .9rem; border-radius: 6px; border: 1px solid rgba(239,246,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-family: inherit; font-size: .9rem; 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(255,255,255,0.08); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(239,246,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; padding: .5rem .9rem; border-radius: 6px; border: none; background: var(--color-secondary); color: #fff; cursor: pointer; font-family: inherit; font-weight: 500; margin-top: .5rem; }

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