:root {
  --color-primary: #D946EF;
  --color-secondary: #E879F9;
  --color-accent: #F97316;
  --color-neutral-dark: #86198F;
  --color-neutral-light: #FDF4FF;
  --color-ink: #2A0A32;
  --color-muted: #6B3A72;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 60px -30px rgba(134, 25, 143, 0.35);
}

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

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: .5rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout with sidebar === */
.layout { display: block; }
.sidebar { background: var(--color-neutral-light); border-bottom: 1px solid rgba(134, 25, 143, 0.14); padding: 1rem 1.25rem; }
.sidebar .logo { display: inline-block; }
.sidebar .logo img { height: 72px; width: auto; }
.sidebar__nav { margin-top: .75rem; }
.sidebar__nav ul { list-style: none; padding: 0; margin: 0; display: none; flex-direction: column; gap: .25rem; }
.sidebar__nav ul.is-open { display: flex; }
.sidebar__nav a { display: block; padding: .55rem 0; text-decoration: none; font-weight: 500; color: var(--color-neutral-dark); border-bottom: 1px solid rgba(134,25,143,0.08); }
.sidebar__nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { display: inline-block; margin-top: .5rem; background: transparent; border: 1px solid var(--color-neutral-dark); color: var(--color-neutral-dark); padding: .5rem .9rem; border-radius: 999px; font: inherit; cursor: pointer; }
.sidebar__foot { display: none; font-size: .85rem; color: var(--color-muted); margin: 1.5rem 0 0; }

.main { padding: 2rem 1.25rem 0; max-width: 1100px; margin-inline: auto; }

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: 260px 1fr; align-items: stretch; }
  .sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 2.25rem 1.75rem; border-right: 1px solid rgba(134,25,143,0.12); border-bottom: none; }
  .sidebar .logo img { height: 96px; }
  .sidebar__nav { margin-top: 2.25rem; flex: 1; }
  .sidebar__nav ul { display: flex !important; }
  .sidebar__nav a { border-bottom: none; padding: .35rem 0; }
  .nav-toggle { display: none; }
  .sidebar__foot { display: block; }
  .main { padding: 3rem 3rem 0; max-width: none; }
}

/* === Hero === */
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--color-muted); margin: 0 0 1rem; font-weight: 500; }
.hero { padding-block: 1rem 3rem; }
.hero h1 { max-width: 20ch; }
.hero .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }
.hero__cta { margin-top: 1.5rem; }
.hero__image { margin: 2.5rem 0 0; }
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

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

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .2s ease; cursor: pointer; font: inherit; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #d95c10; color: #fff; }

/* === Sections === */
.section { padding-block: 3rem; border-top: 1px solid rgba(134,25,143,0.08); }
.section--narrow { max-width: 62ch; }
.section__head { margin-bottom: 2rem; max-width: 60ch; }
.section__head p { color: var(--color-muted); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; 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 rgba(134,25,143,0.10); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-top: .25rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card__icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 999px; background: var(--color-neutral-light); color: var(--color-primary); border: 1px solid rgba(134,25,143,0.14); }
a.card-link { display: block; color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(134,25,143,0.2); }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote { max-width: 56ch; margin-inline: auto; }
.testimonial p { font-family: var(--font-heading); font-style: italic; font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 3rem 1.5rem; border-radius: var(--radius); text-align: center; margin-block: 3rem; }
.cta-band h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 48ch; margin-inline: auto; }
.cta-band a:not(.btn) { color: #fff; }

/* === Gallery === */
.gallery__grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }

/* === FAQ === */
.faq details { border-bottom: 1px solid rgba(134,25,143,0.14); padding: 1rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-neutral-dark); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-primary); font-weight: 600; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid rgba(134,25,143,0.25); border-radius: 8px; font: inherit; background: #fff; color: var(--color-ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { border-top: 1px solid rgba(134,25,143,0.14); margin-top: 3rem; padding: 2.5rem 0 2rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer__brand { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-neutral-dark); margin: 0; }
.site-footer nav ul, .site-footer__legal { list-style: none; padding: 0; margin: 0; }
.site-footer nav li, .site-footer__legal li { margin-bottom: .35rem; }
.site-footer__legal { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.site-footer__legal li { margin: 0; }
.site-footer address { font-style: normal; color: var(--color-muted); }
.site-footer address a { color: var(--color-neutral-dark); }
.site-footer__copy { margin: 2rem 0 0; font-size: .85rem; color: var(--color-muted); }

/* === 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); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .75rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner__actions button, .cookie-banner__prefs button { font: inherit; border: 1px solid rgba(253,244,255,0.35); background: transparent; color: var(--color-neutral-light); padding: .5rem .95rem; border-radius: 999px; cursor: pointer; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: .85rem; display: grid; gap: .4rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; }
