:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4a4770;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --max-w: 1180px;
}

/* === Base === */
*, *::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: 17px;
}
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.18; margin: 0 0 .75rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; font-family: var(--font-body); }

/* === Header / Nav === */
.site-header { border-bottom: 1px solid var(--color-border); background: #fff; position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }

.nav-toggle { background: none; border: 1px solid var(--color-border); border-radius: 8px; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: .75rem 0; color: var(--color-neutral-dark); font-weight: 500; border-bottom: 1px solid var(--color-border); }
.primary-nav a:last-child { border-bottom: none; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Buttons === */
.btn { display: inline-block; padding: .95rem 1.6rem; border-radius: 8px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: none; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: #3f37c9; box-shadow: 0 10px 24px -12px rgba(79,70,229,0.5); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #ea6a0d; box-shadow: 0 10px 24px -12px rgba(249,115,22,0.55); }

/* === Hero (centered) === */
.hero { padding-block: 3.5rem 2.5rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin-inline: auto; color: var(--color-muted); font-size: 1.15rem; margin-bottom: 1.75rem; }
.hero__figure { margin: 3rem 0 0; }
.hero__figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
.section--intro { }
.section--intro .container--narrow p { font-size: 1.075rem; color: var(--color-text); }
.section--intro h2 { text-align: center; }
.section--quote { background: var(--color-neutral-light); }

/* === Cards / Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(30,27,75,0.25); }
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }

/* === Project cards === */
.project-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.project-card figure { margin: 0; }
.project-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project-card__body { padding: 1.5rem; }
.project-card__body h3 { font-size: 1.25rem; }
.project-card__body p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }

/* === Split (services) === */
.split { display: grid; gap: 2rem; align-items: center; }
.split__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.split__figure img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* === Quote === */
.quote { margin: 0; text-align: center; }
.quote p { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); margin-bottom: 1.25rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-weight: 500; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; max-width: 32ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 56ch; margin-inline: auto 1.75rem; margin-bottom: 1.75rem; }

/* === FAQ === */
.faq details { border: 1px solid var(--color-border); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: .75rem; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 2rem; }
.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); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; }
.contact-info h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); color: var(--color-primary); margin-top: 1.25rem; margin-bottom: .25rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; margin-top: .25rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.hours th { color: var(--color-muted); font-weight: 500; }
.contact-map img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

.contact-band { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; background: var(--color-neutral-light); padding: 2rem; border-radius: var(--radius); }

/* === Form === */
.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: .8rem 1rem; 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-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: .3rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-top: 3rem; margin-top: 2rem; }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-body); font-weight: 600; margin-bottom: .75rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer .logo img { filter: brightness(0) invert(1); }
.tagline { color: rgba(238,242,255,0.75); font-style: italic; margin-top: .75rem; }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-contact address { font-style: normal; margin-bottom: .5rem; }
.legal-links { font-size: 0.88rem; color: rgba(238,242,255,0.7); margin-top: .75rem; }
.legal-links a { color: rgba(238,242,255,0.85); }
.site-footer__base { border-top: 1px solid rgba(238,242,255,0.15); padding-block: 1.25rem; font-size: 0.88rem; color: rgba(238,242,255,0.65); }
.site-footer__base p { margin: 0; }

/* === 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); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.94rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .6rem 1rem; border-radius: 6px; border: 1px solid rgba(238,242,255,0.25); background: transparent; color: var(--color-neutral-light); font-family: var(--font-body); font-size: 0.9rem; cursor: pointer; font-weight: 500; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { background: rgba(238,242,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a0d; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: 0.92rem; }
.cookie-banner__prefs button { align-self: flex-start; padding: .5rem 1rem; border-radius: 6px; border: none; background: var(--color-primary); color: #fff; cursor: pointer; margin-top: .5rem; }

/* === Responsive === */
@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); }
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; padding: 0; border: none; gap: 1.75rem; background: transparent; }
  .primary-nav a { padding: 0; border: none; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
  .hero { padding-block: 6rem 4rem; }
  .hero__figure { margin-top: 4rem; }
  .section { padding-block: 5rem; }
  .cta-band { padding-block: 5rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .section--split-reverse .split > .split__text { order: 2; }
  .section--split-reverse .split > .split__figure { order: 1; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}
