:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --border-subtle: rgba(30, 27, 75, 0.12);
}

/* === Base === */
*, *::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: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
  -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);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-alt { background: #fff; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.section-sub { color: var(--color-neutral-dark); opacity: 0.72; margin-top: -0.5rem; margin-bottom: 2rem; font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; font-family: var(--font-body); }
.prose { font-size: 1.05rem; line-height: 1.75; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.98rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); text-decoration: none; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--border-subtle); border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav.is-open { display: flex; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; position: static; }
  .nav-toggle { display: none; }
}
@media (max-width: 767px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--border-subtle); padding: 1rem 1.25rem; }
  .primary-nav:not(.is-open) { display: none; }
  .primary-nav a { padding-block: 0.6rem; border-bottom: 1px solid var(--border-subtle); }
  .primary-nav a:last-child { border-bottom: 0; }
}

/* === Hero (split) === */
.hero { padding-block: 3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy h1 { max-width: 22ch; }
.lede { font-size: 1.15rem; color: var(--color-neutral-dark); opacity: 0.78; max-width: 52ch; margin-bottom: 1.75rem; }
.hero-media img { aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(30, 27, 75, 0.35); }
@media (min-width: 900px) {
  .hero { padding-block: 5.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #6d28d9; box-shadow: 0 12px 24px -12px rgba(124, 58, 237, 0.55); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #0891b2; box-shadow: 0 12px 24px -12px rgba(6, 182, 212, 0.5); }

/* === Grids & cards === */
.grid-2, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 1.75rem; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card .icon { color: var(--color-primary); margin-bottom: 0.85rem; }
.card h3 { margin-bottom: 0.5rem; font-family: var(--font-heading); font-size: 1.25rem; }
.card p { color: var(--color-neutral-dark); opacity: 0.82; font-size: 0.98rem; margin: 0; }
.card-link { color: inherit; display: block; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(30, 27, 75, 0.4); border-color: var(--color-secondary); }

/* === Testimonial === */
.quote {
  margin: 0;
  padding: 2rem 1.25rem;
  border-left: 3px solid var(--color-accent);
  background: #fff;
  border-radius: 8px;
}
.quote p { font-family: var(--font-heading); font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-style: italic; line-height: 1.5; margin-bottom: 1rem; }
.quote cite { font-style: normal; font-weight: 600; font-size: 0.95rem; color: var(--color-primary); }
.testimonial-heading { text-align: center; margin-bottom: 2rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding-block: 4rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.cta-band__meta { font-size: 0.9rem; opacity: 0.75; }

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem 2rem; }
.article-header h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article-sub { font-size: 1.2rem; color: var(--color-neutral-dark); opacity: 0.7; margin-bottom: 1.5rem; }
.article-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: 10px; }
.article h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.article p { font-size: 1.08rem; line-height: 1.75; margin-block: 1.15rem; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); }
.back-link { font-weight: 600; color: var(--color-primary); }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info address, .contact-info p { font-style: normal; margin-bottom: 1rem; }
.contact-info strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--color-primary); }
.hours ul { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.hours li { padding-block: 0.3rem; border-bottom: 1px solid var(--border-subtle); font-size: 0.95rem; }
.contact-form { background: #fff; padding: 2rem; border-radius: 14px; border: 1px solid var(--border-subtle); display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.4rem; font-size: 0.92rem; font-weight: 500; }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--border-subtle); border-radius: 8px; background: var(--color-neutral-light); 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); }
.form-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; font-weight: 400; flex-wrap: wrap; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer .logo img { height: 60px; background: #fff; padding: 6px 10px; border-radius: 6px; }
.footer-tagline { margin-top: 1rem; font-style: italic; color: rgba(250,245,255,0.7); font-size: 0.95rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: 0.88rem; }
.copyright { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(250,245,255,0.6); text-align: center; }

.thank-you-hero { padding-block: 5rem 2rem; }

/* === 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: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250,245,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #0891b2; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); }

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