:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-page: #FBFEFE;
  --color-text: #0F2A33;
  --color-muted: #4A6B75;
  --color-border: rgba(22, 78, 99, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 30px 60px -30px rgba(22, 78, 99, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-page); line-height: 1.6; font-size: 17px; }
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 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.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; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1rem; }

/* === Header === */
.site-header { background: var(--color-page); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.logo--footer img { height: 60px; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-page); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; box-shadow: var(--shadow-card); }
.primary-nav a { padding: 0.75rem 0.25rem; color: var(--color-neutral-dark); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--color-border); }
.primary-nav a:last-child { border-bottom: 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { background: transparent; border: 1px solid var(--color-border); border-radius: 10px; padding: 0.5rem 0.6rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); }

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

/* === Hero card === */
.hero-card { padding-block: 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, var(--color-page) 100%); }
.hero-card__card { max-width: 880px; margin-inline: auto; background: #ffffff; padding: 2rem 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 1px solid var(--color-border); }
.hero-card__card h1 { max-width: 22ch; }
.hero-card__sub { color: var(--color-muted); font-size: 1.125rem; max-width: 52ch; }
.hero-card__cta { margin-top: 1.5rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero-card { padding-block: 5rem; }
  .hero-card__card { padding: 3.5rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); font-size: 1rem; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #073019; }
.btn--accent:hover { background: #16a34a; color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(236, 254, 255, 0.5); }
.btn--ghost:hover { background: rgba(236, 254, 255, 0.12); }

/* === Sections === */
.section { padding-block: 4rem; }
.section--alt { background: var(--color-neutral-light); }
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); max-width: 55ch; margin-inline: auto; }
.section__title-center { text-align: center; }
.section--intro h2 { text-align: center; }
.section--intro p { max-width: 62ch; margin-inline: auto; color: var(--color-text); font-size: 1.06rem; }

/* === Grid + Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .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 var(--color-border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 0.5rem; }
.card h3 { margin-bottom: 0.25rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { text-decoration: none; color: inherit; position: relative; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card__arrow { color: var(--color-primary); font-weight: 700; margin-top: 0.75rem; }

/* === Testimonial === */
.section--testimonial { background: var(--color-neutral-light); }
.testimonial { margin: 0; text-align: center; padding: 1.5rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-style: italic; color: var(--color-neutral-dark); line-height: 1.45; max-width: 40ch; margin-inline: auto; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 55ch; margin-inline: auto; color: rgba(236, 254, 255, 0.9); }
.cta-band__meta { font-size: 0.95rem; }

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

/* === Article detail === */
.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__lede { font-size: 1.2rem; color: var(--color-muted); }
.article__hero { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; }
.article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__body p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.back-link { font-weight: 600; text-decoration: none; color: var(--color-primary); }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; } }
.contact-block { margin-bottom: 1.25rem; font-style: normal; }
.contact-block strong { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.hours { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.hours caption { text-align: left; font-family: var(--font-heading); font-weight: 700; color: var(--color-neutral-dark); font-size: 1rem; margin-bottom: 0.5rem; caption-side: top; }
.hours th, .hours td { padding: 0.6rem 0.25rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours th { color: var(--color-neutral-dark); font-weight: 600; }
.hours td { color: var(--color-muted); }

/* === Form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-page); color: var(--color-text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: transparent; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.65rem !important; font-weight: 400 !important; font-size: 0.9rem !important; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; }
.contact-form button { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer__tag { color: rgba(236, 254, 255, 0.75); max-width: 32ch; }
.site-footer__list, .site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__legal { margin-top: 1.25rem; font-size: 0.9rem; }
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__address { font-style: normal; color: rgba(236, 254, 255, 0.85); line-height: 1.7; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(236, 254, 255, 0.15); text-align: center; font-size: 0.875rem; color: rgba(236, 254, 255, 0.6); }
.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 1.5rem; border-radius: var(--radius); box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; color: rgba(236, 254, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid rgba(236, 254, 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; }
