:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-body: #2D2B55;
  --color-muted: #6B6795;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-card: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
}

/* === Base === */
*, *::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-body);
  background: var(--color-neutral-light);
}
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);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* === Header === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
.site-nav { display: flex; align-items: center; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  right: 1rem; top: calc(100% + 0.5rem);
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  min-width: 200px;
  box-shadow: var(--shadow-card);
}
.nav-list.is-open { display: flex; }
.nav-list a {
  display: block; padding: 0.5rem 0.75rem;
  color: var(--color-neutral-dark);
  border-radius: 6px;
  font-weight: 600;
}
.nav-list a:hover { background: rgba(124, 58, 237, 0.08); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .site-header { padding: 1.25rem 2rem; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .nav-list {
    display: flex; flex-direction: row; position: static;
    background: transparent; border: 0; box-shadow: none;
    padding: 0; min-width: 0; gap: 0.25rem;
  }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #6d28d9; text-decoration: none; transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn-accent:hover { background: #22d3ee; text-decoration: none; transform: translateY(-1px); }

/* === Hero card === */
.hero-card-wrap {
  padding: 2.5rem 1rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.15), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(6, 182, 212, 0.12), transparent 55%),
    var(--color-neutral-light);
}
.hero-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}
.hero-card h1 { max-width: 22ch; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}
.hero-cta { margin: 0; }
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.hero-card__figure img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .hero-card-wrap { padding: 4rem 2rem; }
  .hero-card { padding: 4rem; }
}

/* === Sections === */
.section {
  padding: 3.5rem 1.25rem;
}
.section-alt {
  background: #fff;
  border-block: 1px solid var(--color-border);
}
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.section-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 2rem;
  text-align: center;
}
.section-sub {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

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

/* === Split section === */
.section-split {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  gap: 2rem;
}
.split-figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split-figure img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .section-split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 5rem 2rem;
  }
}

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

/* === Card === */
.card {
  background: var(--color-neutral-light);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-body); margin-bottom: 0; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-primary);
}
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -25px rgba(30, 27, 75, 0.35);
  text-decoration: none;
}
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  margin: 0;
  padding: 2rem 1rem;
  font-family: var(--font-heading);
}
.testimonial p {
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 3.5rem 1.25rem;
  text-align: center;
}
.cta-band--inline {
  margin: 2.5rem 0;
  border-radius: var(--radius-lg);
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); }
.cta-band .contact-line { font-size: 0.95rem; }

@media (min-width: 768px) {
  .cta-band { padding: 5rem 2rem; }
}

/* === Article === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 2.5rem 1rem 3.5rem;
}
.article__header { margin-bottom: 1.75rem; }
.article__sub {
  font-size: 1.2rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.article__figure {
  margin: 0 0 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.article__figure img { width: 100%; height: 100%; object-fit: cover; }
.article h2 {
  font-size: 1.55rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article p {
  font-size: 1.1rem;
  line-height: 1.75;
}
.article__footer { margin-top: 2.5rem; }
.back-link {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
}

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-card { font-style: normal; }
.contact-card h3 { margin: 1rem 0 0.25rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); }
.contact-card h3:first-child { margin-top: 0; }
.contact-card p { margin: 0; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hours-table caption {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-neutral-dark);
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(124, 58, 237, 0.06);
  caption-side: top;
}
.hours-table th, .hours-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-top: 1px solid var(--color-border);
  font-weight: 500;
}
.hours-table th { color: var(--color-neutral-dark); }

/* === Form === */
.contact-form {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-neutral-dark);
}
.field input, .field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--color-body);
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--color-muted);
  margin: 0.5rem 0 1.25rem;
  line-height: 1.45;
}
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; }
  .site-footer { padding: 4rem 2rem 1.75rem; }
}
.footer-logo img { height: 72px; }
.footer-tagline { color: rgba(250, 245, 255, 0.7); font-size: 0.95rem; }
.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}
.footer-nav, .footer-legal {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.footer-nav a, .footer-legal a, .footer-address a {
  color: rgba(250, 245, 255, 0.85);
}
.footer-nav a:hover, .footer-legal a:hover, .footer-address a:hover { color: #fff; }
.footer-address { font-style: normal; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-legal { margin-top: 1rem; font-size: 0.9rem; }
.footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(250, 245, 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;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  max-width: 560px;
  margin-inline: auto;
  font-size: 0.95rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; }
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-banner__actions button {
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(250, 245, 255, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent);
  color: var(--color-neutral-dark);
  border-color: var(--color-accent);
  font-weight: 700;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cookie-banner__prefs label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.cookie-banner__prefs [data-cookie-save] {
  margin-top: 0.5rem;
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

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