:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #476b83;
  --color-line: rgba(12, 74, 110, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 20px 50px -30px rgba(12, 74, 110, 0.35);
}

/* === Reset === */
*, *::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: #ffffff; 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; }
button { font-family: inherit; cursor: pointer; }

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

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.primary-nav a { display: block; color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

.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(--color-line); border-radius: 8px; }
.nav-toggle__bar { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-soft); }
.primary-nav.is-open { display: block; }

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

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

@media (min-width: 768px) {
  .hero { padding-block: 6rem 3rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.875rem 1.75rem; border-radius: 999px; font-weight: 600; letter-spacing: 0.01em; transition: transform 0.15s ease, box-shadow 0.2s ease; border: 1px solid transparent; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 12px 25px -12px rgba(14, 165, 233, 0.7); }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 25px -12px rgba(249, 115, 22, 0.7); }
.btn--accent:hover { background: #ea580c; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--alt { background: var(--color-neutral-light); }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.section--intro { text-align: center; }
.section--intro p { max-width: 68ch; margin-inline: auto; color: var(--color-text); }

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

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

.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.75rem; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(14, 165, 233, 0.35); }
.card__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.section--testimonial { background: var(--color-neutral-light); }
.testimonial { margin: 0; text-align: center; }
.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 { display: block; font-style: normal; color: var(--color-muted); font-size: 0.95rem; letter-spacing: 0.02em; }

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

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-line); padding: 1rem 0; }
.faq summary { font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; line-height: 1; color: var(--color-primary); transition: transform 0.2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact card === */
.contact-card { font-style: normal; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; line-height: 1.9; }

/* === Form === */
.contact-form { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-soft); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--color-line); border-radius: 8px; font: inherit; color: var(--color-text); background: #fff; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #cfe4f2; padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer a { color: #cfe4f2; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer__col .logo img { height: 68px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col ul li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.75rem; font-size: 0.9rem; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.85rem; color: rgba(255,255,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 1.25rem; border-radius: var(--radius); box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { padding: 0.55rem 1rem; border: 1px solid rgba(240,249,255,0.3); background: transparent; color: var(--color-neutral-light); border-radius: 999px; font-weight: 500; font-size: 0.9rem; }
.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(240,249,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea580c; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(240,249,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 1rem; background: var(--color-primary); border: none; color: #fff; border-radius: 999px; font-size: 0.9rem; font-weight: 500; }
