:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
  --max-w: 1180px;
  --radius: 20px;
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: #0f172a;
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}

/* === Header === */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo img {
  height: 72px;
  width: auto;
  display: block;
}
.nav-toggle {
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-neutral-dark);
  border-radius: 2px;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  box-shadow: 0 20px 30px -20px rgba(15, 23, 42, 0.15);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  text-decoration: none;
  padding: 0.6rem 0;
  font-size: 1rem;
  font-weight: 500;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    gap: 1.75rem;
  }
}

/* === Hero (card) === */
.hero {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(59, 130, 246, 0.10));
  padding-block: 2.5rem 3.5rem;
}
.hero-card__box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(30, 58, 138, 0.25);
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.hero-card__box h1 { margin-bottom: 1.25rem; }
.hero-card__box .lede {
  font-size: 1.15rem;
  color: #334155;
  max-width: 56ch;
  margin: 0 auto 1.75rem;
}
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: 14px;
  overflow: hidden;
}
.hero-card__figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 768px) {
  .hero { padding-block: 4rem 5rem; }
  .hero-card__box { padding: 3.5rem 3rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-1px); }
.btn-accent {
  background: var(--color-accent);
  color: #1a1a1a;
}
.btn-accent:hover { background: #d97706; color: #fff; transform: translateY(-1px); }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-narrow .container { max-width: 780px; text-align: center; }
.section-narrow p { font-size: 1.08rem; color: #334155; }
.section-tinted { background: rgba(30, 64, 175, 0.04); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section-head p { color: #475569; font-size: 1.05rem; }
.centered { text-align: center; max-width: 720px; margin-inline: auto; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { 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: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid rgba(30, 58, 138, 0.10);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}
.card .icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: #475569; margin: 0; font-size: 0.98rem; }

/* === Split === */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split__figure img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Testimonial === */
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(30, 58, 138, 0.10);
  border-bottom: 1px solid rgba(30, 58, 138, 0.10);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--color-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding-block: 3rem;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.cta-band__meta { font-size: 0.9rem; margin-top: 0.6rem !important; opacity: 0.85; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

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

/* === FAQ === */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid rgba(30, 58, 138, 0.15);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-neutral-dark);
  font-size: 1.05rem;
  list-style: none;
  padding-right: 2rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 0.75rem;
  color: #475569;
}

/* === Form === */
.form-wrapper { max-width: 720px; margin-inline: auto; }
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
}
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(30, 58, 138, 0.2);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.45;
}
.form-consent input { margin-top: 3px; }
.contact-form .btn { justify-self: start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.logo--footer img {
  height: 60px;
  filter: brightness(0) invert(1);
}
.tagline { font-family: var(--font-heading); font-size: 1.2rem; color: #fff; margin-top: 1rem; }
.footer-nav, .legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); font-size: 0.9rem; }
.site-footer address {
  font-style: normal;
  line-height: 1.7;
  font-size: 0.95rem;
}
.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
  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: 14px;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.4);
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-weight: 700;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  color: #1a1a1a;
  border-color: var(--color-accent);
}
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  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);
}
