:root {
  --color-primary: #4F46E5;
  --color-secondary: #6366F1;
  --color-accent: #F97316;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1F1B4D;
  --color-muted: #55529A;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Cormorant Infant', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 50px -30px rgba(49, 46, 129, 0.35);
}

/* === 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: #fff; 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, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 720px; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }
.primary-nav { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.nav-list.is-open { display: flex; }
.nav-list a { font-family: var(--font-body); color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; display: block; text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; background: transparent; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; flex-direction: row; position: static; padding: 0; background: transparent; border: 0; gap: 2rem; }
  .nav-list a { padding: 0; }
}

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 500; font-size: 1rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; 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-soft); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* === Hero === */
.hero { padding-block: 3.5rem 3rem; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--color-neutral-light) 100%); }
@media (min-width: 768px) { .hero { padding-block: 6rem 4.5rem; } }
.hero--compact { padding-block: 3rem 2rem; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; margin-bottom: 1.25rem; }
.hero__sub { max-width: 48ch; margin-inline: auto; margin-bottom: 2rem; font-size: 1.125rem; color: var(--color-muted); }
.hero__image { margin-top: 3rem; }
.hero__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section--narrow .container { max-width: 720px; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); max-width: 56ch; margin-inline: auto; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@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: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; display: block; }
.card h3 { margin-top: 0.75rem; }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: 0.98rem; }
.card .icon { color: var(--color-primary); }
.card-link { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--color-secondary); text-decoration: none; }
.card-link h3 { color: var(--color-neutral-dark); }

/* === Testimonial === */
.testimonial-section { background: #fff; }
.testimonial { max-width: 720px; margin-inline: auto; text-align: center; font-family: var(--font-heading); }
.testimonial p { font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--color-neutral-dark); font-style: italic; line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: 0.95rem; color: var(--color-muted); letter-spacing: 0.02em; }

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

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem 4rem; }
.article__head { margin-bottom: 2rem; }
.article__head 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); }
.article__hero { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-block: 2rem; border-radius: 8px; box-shadow: var(--shadow-soft); }
.article h2 { margin-top: 2.5rem; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { font-family: var(--font-body); font-weight: 500; color: var(--color-primary); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); }

/* === Hours === */
.hours { margin-top: 3rem; max-width: 480px; margin-inline: auto; }
.hours h3 { text-align: center; margin-bottom: 1rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours-table th { color: var(--color-neutral-dark); font-weight: 500; }
.hours-table td { color: var(--color-muted); text-align: right; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(238, 242, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; font-weight: 600; }
.site-footer a { color: rgba(238, 242, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer__tagline { color: rgba(238, 242, 255, 0.7); font-style: italic; margin-top: 1rem; }
.footer-nav, .footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-legal { margin-top: 1.5rem; font-size: 0.9rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(238, 242, 255, 0.15); font-size: 0.85rem; color: rgba(238, 242, 255, 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: 0 30px 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.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(238, 242, 255, 0.3); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }

.compliance-notice { position: relative; z-index: 1000; background: #fdf7e8; border-bottom: 2px solid #c9a227; color: #4a4335; 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; }
