:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #F5F3FF;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
  --sidebar-w: 240px;
  --radius: 12px;
  --shadow-soft: 0 20px 50px -30px rgba(30, 27, 75, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-neutral-dark); background: #fff; line-height: 1.6; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* === Utilities === */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: .75rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.375rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: .75rem; font-weight: 700; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: #4b4870; max-width: 55ch; margin-bottom: 1.75rem; }
.prose { max-width: 65ch; font-size: 1.05rem; }

/* === Layout — sidebar + content === */
.layout { display: block; }

.sidebar { padding: 1.25rem 1.25rem 1rem; background: var(--color-neutral-light); border-bottom: 1px solid rgba(30, 27, 75, 0.08); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.sidebar .logo img { height: 72px; width: auto; display: block; }
.sidebar__nav { display: none; width: 100%; flex-direction: column; gap: .25rem; padding-top: 1rem; border-top: 1px solid rgba(30, 27, 75, 0.08); }
.sidebar__nav.is-open { display: flex; }
.sidebar__nav a { display: block; padding: .75rem .5rem; font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-neutral-dark); border-radius: 6px; text-decoration: none; }
.sidebar__nav a:hover { background: rgba(99, 102, 241, 0.08); color: var(--color-primary); }
.sidebar__nav a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
.sidebar__foot { display: none; font-size: .8rem; color: #6c688f; margin: 0; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid rgba(30, 27, 75, 0.15); border-radius: 8px; }
.nav-toggle__bar { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 1px; }

.content { padding: 1.5rem 1.25rem 3rem; max-width: 1120px; }

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
  .sidebar { position: sticky; top: 0; height: 100vh; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 2rem 1.5rem; border-right: 1px solid rgba(30, 27, 75, 0.08); border-bottom: none; }
  .sidebar .logo img { height: 96px; margin-bottom: 2rem; }
  .sidebar__nav { display: flex; flex-direction: column; gap: .25rem; padding: 0; border: none; margin-top: 0; }
  .sidebar__foot { display: block; margin-top: auto; padding-top: 2rem; }
  .nav-toggle { display: none; }
  .content { padding: 3rem 3rem 4rem; }
}

/* === Hero === */
.hero--sidebar { padding: 1rem 0 3rem; max-width: 900px; }
.hero h1 { max-width: 20ch; }
.hero__cta { margin: 0 0 2rem; }
.hero__figure { margin: 2rem 0 0; }
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

@media (min-width: 900px) {
  .hero--sidebar { padding: 2rem 0 4rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; letter-spacing: 0.01em; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #0e9e73; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(245, 243, 255, 0.4); }
.btn--ghost:hover { background: rgba(245, 243, 255, 0.1); }

/* === Sections === */
.section { padding: 3rem 0; }
.section__head { max-width: 60ch; margin: 0 0 2rem; }
.section__sub { color: #4b4870; margin: 0 0 1rem; font-size: 1.05rem; }

.section--split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) {
  .section--split { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
}
.split__figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

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

.card { background: var(--color-neutral-light); border: 1px solid rgba(30, 27, 75, 0.06); border-radius: var(--radius); padding: 1.75rem; }
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: #3d3a63; margin: 0; }

/* === Testimonial === */
.testimonial-block { display: flex; justify-content: center; }
.quote { max-width: 60ch; margin: 0 auto; padding: 2rem 1rem; text-align: center; border-top: 1px solid rgba(30, 27, 75, 0.08); border-bottom: 1px solid rgba(30, 27, 75, 0.08); }
.quote p { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.35; color: var(--color-neutral-dark); margin: 0 0 1rem; font-style: italic; }
.quote cite { font-style: normal; font-size: .95rem; color: var(--color-primary); font-weight: 700; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding: 3rem 1.5rem; border-radius: var(--radius); text-align: center; margin: 3rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin-left: auto; margin-right: auto; }

/* === FAQ === */
.faq details { border-bottom: 1px solid rgba(30, 27, 75, 0.1); padding: 1rem 0; }
.faq summary { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; color: var(--color-neutral-dark); }
.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); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding-top: .75rem; color: #3d3a63; margin: 0; }

/* === Contact === */
.contact-band { padding-top: 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
address { font-style: normal; line-height: 1.8; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours caption { text-align: left; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; padding-bottom: .75rem; }
.hours th, .hours td { padding: .5rem .75rem; border-bottom: 1px solid rgba(30, 27, 75, 0.08); text-align: left; }
.hours th { font-weight: 400; color: #3d3a63; }

.map-block { background: var(--color-neutral-light); border-radius: var(--radius); padding: 3rem 1rem; text-align: center; color: var(--color-primary); border: 1px dashed rgba(99, 102, 241, 0.25); }
.map-block p { margin: .75rem 0 0; color: var(--color-neutral-dark); font-weight: 700; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: .35rem; }
.contact-form label { font-size: .9rem; font-weight: 700; color: var(--color-neutral-dark); margin-top: .75rem; }
.contact-form input, .contact-form textarea { padding: .75rem .85rem; border: 1px solid rgba(30, 27, 75, 0.18); border-radius: 8px; font: inherit; background: #fff; color: var(--color-neutral-dark); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.contact-form button { margin-top: 1.25rem; align-self: flex-start; }
.form-consent { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .55rem; margin-top: 1rem; font-size: .85rem; font-weight: 400; color: #3d3a63; line-height: 1.5; }
.form-consent input { flex: 0 0 auto; margin-top: .2rem; }
.form-consent span { flex: 1; min-width: 0; }

/* === Footer === */
.site-footer { margin-top: 4rem; padding: 3rem 0 1.5rem; border-top: 1px solid rgba(30, 27, 75, 0.1); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
.site-footer__brand { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; margin: 0 0 .25rem; }
.site-footer__title { font-weight: 700; margin: 0 0 .75rem; }
.site-footer nav ul, .site-footer__legal { list-style: none; padding: 0; margin: 0; }
.site-footer nav li, .site-footer__legal li { margin-bottom: .5rem; }
.site-footer a { color: var(--color-neutral-dark); }
.site-footer a:hover { color: var(--color-primary); }
.site-footer__legal { margin-top: 1rem; font-size: .9rem; }
.site-footer__copy { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(30, 27, 75, 0.08); font-size: .85rem; color: #6c688f; text-align: center; }

/* === 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 30px 60px -20px rgba(0,0,0,0.35); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(245, 243, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }
