:root {
  --primary: #1a3a5c;
  --primary-dark: #122840;
  --primary-light: #2c5278;
  --accent: #c9a961;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --white: #ffffff;
  --danger: #c92a2a;
  --success: #2b8a3e;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
  --max-width: 1200px;
  --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-dark); line-height: 1.25; font-weight: 600; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section--alt { background: var(--gray-50); }

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 12px;
}
.section__subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  color: var(--primary-dark);
}
.logo__mark {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -1px;
}
.logo__text { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.logo__text small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--gray-600); letter-spacing: 0.5px; }

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
.main-nav a {
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--primary-dark);
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero__title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero__title span { color: var(--accent); }
.hero__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 540px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-light); color: var(--white); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--primary-dark); }
.btn--accent:hover { background: #b89448; color: var(--primary-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--white); }

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px; }
.card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.card__title { font-size: 1.25rem; margin-bottom: 8px; }
.card__text { color: var(--gray-600); font-size: 0.95rem; }

/* ===== Features / Values ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.feature__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 1.6rem;
}
.feature__title { font-size: 1.1rem; margin-bottom: 6px; }
.feature__text { color: var(--gray-600); font-size: 0.9rem; }

/* ===== Split content ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__title { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 14px; }
.split__text { color: var(--gray-700); margin-bottom: 18px; }
.split__list { list-style: none; margin-top: 18px; }
.split__list li { padding: 8px 0 8px 28px; position: relative; color: var(--gray-700); }
.split__list li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  color: var(--success); font-weight: 700;
}

/* ===== Service detail ===== */
.service {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}
.service:last-child { border-bottom: none; }
.service:nth-child(even) { direction: rtl; }
.service:nth-child(even) > * { direction: ltr; }
.service__media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__title { font-size: 1.6rem; margin-bottom: 12px; }
.service__text { color: var(--gray-700); margin-bottom: 16px; }
.service__list { list-style: none; }
.service__list li { padding: 6px 0 6px 24px; position: relative; color: var(--gray-700); }
.service__list li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--accent);
}

/* ===== Forms ===== */
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-width: 720px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; color: var(--gray-800); }
input, textarea, select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.12);
}
textarea { resize: vertical; min-height: 130px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}
.form-consent input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.form-consent label { font-weight: 400; font-size: 0.88rem; color: var(--gray-600); }
.form-consent a { color: var(--primary); }
.form-note { text-align: center; margin-top: 14px; font-size: 0.85rem; color: var(--gray-600); }
.form-note a { color: var(--primary); }
.form-submit { margin-top: 20px; }

/* ===== Page header ===== */
.page-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-header__title { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 8px; }
.page-header__subtitle { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; }

/* ===== Contact info ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item__title { font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.contact-item__text { color: var(--gray-600); font-size: 0.95rem; }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== Hours ===== */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--gray-200); }
.hours-table th { color: var(--gray-700); font-weight: 600; }
.hours-table td { color: var(--gray-600); text-align: right; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark);
  color: var(--gray-300);
  padding: 56px 0 24px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: var(--gray-300); font-size: 0.9rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand { color: var(--white); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; font-family: var(--font-heading); }
.site-footer__addr { font-size: 0.88rem; line-height: 1.6; margin-bottom: 14px; }
.site-footer__bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.site-footer__disclaimer {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 10px;
  text-align: center;
}
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-500);
}
.site-footer__legal-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Cookie banner ===== */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.cookie-overlay.is-open { display: flex; }
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal__header {
  padding: 24px 28px 8px;
  border-bottom: 1px solid var(--gray-200);
}
.cookie-modal__title { font-size: 1.3rem; }
.cookie-modal__body { padding: 20px 28px; }
.cookie-modal__text { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 18px; }
.cookie-modal__text a { color: var(--primary); }
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.cookie-option:last-child { border-bottom: none; }
.cookie-option__toggle {
  position: relative;
  width: 42px; height: 24px;
  flex-shrink: 0;
}
.cookie-option__toggle input { opacity: 0; width: 0; height: 0; }
.cookie-option__toggle__slider {
  position: absolute; inset: 0;
  background: var(--gray-400);
  border-radius: 999px;
  transition: var(--transition);
  cursor: pointer;
}
.cookie-option__toggle__slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}
.cookie-option__toggle input:checked + .cookie-option__toggle__slider { background: var(--success); }
.cookie-option__toggle input:checked + .cookie-option__toggle__slider::before { transform: translateX(18px); }
.cookie-option__toggle input:disabled + .cookie-option__toggle__slider { background: var(--gray-300); cursor: not-allowed; }
.cookie-option__toggle input:disabled + .cookie-option__toggle__slider::before { background: var(--gray-500); }
.cookie-option__info { flex: 1; }
.cookie-option__title { font-weight: 600; font-size: 0.95rem; color: var(--gray-900); }
.cookie-option__desc { font-size: 0.82rem; color: var(--gray-600); }
.cookie-modal__footer {
  display: flex;
  gap: 10px;
  padding: 16px 28px 24px;
  flex-wrap: wrap;
}
.cookie-modal__footer .btn { flex: 1; min-width: 140px; }

/* ===== Privacy banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 9998;
  display: none;
  padding: 20px 0;
}
.cookie-banner.is-open { display: block; }
.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 280px; font-size: 0.92rem; color: var(--gray-700); }
.cookie-banner__text a { color: var(--primary); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.lead { font-size: 1.1rem; color: var(--gray-700); }
.tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 4px 4px 0 0;
}
.callout {
  background: var(--gray-50);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}
.callout__title { font-size: 1.05rem; margin-bottom: 6px; color: var(--primary-dark); }
.callout__text { font-size: 0.92rem; color: var(--gray-700); }

/* ===== Legal/prose pages ===== */
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
  color: var(--primary-dark);
}
.prose h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--gray-700); }
.prose ul { margin: 0 0 16px 22px; }
.prose ul li { margin-bottom: 6px; color: var(--gray-700); }
.prose ul li strong { color: var(--gray-900); }
.prose a { color: var(--primary); }
.prose__updated { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__image { max-width: 480px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .service { grid-template-columns: 1fr; gap: 24px; direction: ltr !important; }
  .service:nth-child(even) { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    padding: 16px 24px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 12px; }
  .section { padding: 44px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrapper { padding: 24px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__legal { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .site-header__inner { padding: 0 16px; }
  .hero { padding: 56px 0 48px; }
  .card__body { padding: 18px; }
  .form-wrapper { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
