:root {
  --font-display: "Sora", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  --color-bg: #f4f6fb;
  --color-surface: #ffffff;
  --color-surface-alt: #ecf0f8;
  --color-ink: #10203a;
  --color-muted: #53617a;
  --color-brand: #103f73;
  --color-brand-strong: #082a50;
  --color-brand-soft: #dbe8f7;
  --color-accent: #ca9a43;
  --color-accent-soft: #f6ebd6;
  --color-border: #d4deec;
  --color-success: #1f8a63;
  --color-danger: #9e2f2f;

  --radius-xs: 0.45rem;
  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --shadow-soft: 0 14px 30px rgba(9, 28, 57, 0.09);
  --shadow-card: 0 18px 36px rgba(16, 63, 115, 0.1);

  --container: min(1140px, 92vw);
  --header-height: 4.4rem;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.75rem;
  --space-6: 2.5rem;
  --space-7: 3.5rem;
  --space-8: 5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(1300px 450px at 12% -12%, rgba(16, 63, 115, 0.14), transparent 70%),
    radial-gradient(1100px 500px at 100% 0%, rgba(202, 154, 67, 0.12), transparent 65%),
    var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

main {
  overflow: clip;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 0.8rem);
}

.section {
  padding: var(--space-8) 0;
}

.section.alt {
  background: linear-gradient(160deg, rgba(219, 232, 247, 0.5), rgba(255, 255, 255, 0.9));
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.kicker {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 100vmax;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--color-brand-soft);
  color: var(--color-brand-strong);
  margin-bottom: var(--space-3);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.65rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

p {
  margin: 0 0 var(--space-3);
  color: var(--color-muted);
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.topbar {
  background: var(--color-brand-strong);
  color: #dce8f8;
  font-size: 0.86rem;
}

.topbar .container {
  min-height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.topbar a {
  color: #eff5ff;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 248, 252, 0.88);
  border-bottom: 1px solid rgba(212, 222, 236, 0.8);
}

.site-header .container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: min(200px, 52vw);
  height: auto;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--color-brand-soft);
  color: var(--color-brand-strong);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-links a {
  font-size: 0.93rem;
  color: var(--color-ink);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--color-brand-soft);
  color: var(--color-brand-strong);
}

.hero {
  padding: 0;
}

.hero-shell {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  color: #f4f8ff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-bg img,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(4, 17, 35, 0.78), rgba(8, 39, 74, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-content: center;
  gap: var(--space-4);
  padding: clamp(2rem, 7vh, 4.5rem) 0;
  max-width: 760px;
}

.hero-content h1 {
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(6, 19, 37, 0.32);
}

.hero-content p {
  color: #d3deef;
  max-width: 62ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-accent);
  color: #1f1811;
  box-shadow: 0 8px 22px rgba(202, 154, 67, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #f5f9ff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-quiet {
  background: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-border);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card h3,
.card h4 {
  margin-bottom: 0.6rem;
}

.card p,
.card li {
  font-size: 0.98rem;
}

.card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.stat-card {
  text-align: center;
  padding: var(--space-4);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--color-brand);
  line-height: 1;
}

.stat-label {
  font-weight: 700;
  color: var(--color-muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.pill-list li {
  font-size: 0.82rem;
  background: var(--color-surface-alt);
  color: var(--color-brand-strong);
  padding: 0.35rem 0.6rem;
  border-radius: 100vmax;
  font-weight: 600;
}

.value-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-item {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}

.quote {
  position: relative;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.quote p {
  color: var(--color-ink);
}

.quote small {
  color: var(--color-muted);
  font-weight: 600;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.carousel-item {
  padding: var(--space-2);
}

.carousel-controls {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.carousel-controls button {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-brand);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-weight: 700;
  cursor: pointer;
}

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-3);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.92rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(var(--color-brand-soft), var(--color-brand));
}

.timeline-step {
  position: relative;
  padding-left: 2.6rem;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 0.58rem;
  top: 0.52rem;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(202, 154, 67, 0.15);
}

.form-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 0.28rem;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 0.62rem;
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: var(--color-ink);
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(16, 63, 115, 0.26);
  outline-offset: 1px;
  border-color: var(--color-brand);
}

.checklist {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink);
}

.check-option input[type="checkbox"],
.check-option input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.24rem;
  flex: 0 0 auto;
  accent-color: var(--color-brand);
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.form-message {
  display: none;
  border-radius: 0.62rem;
  padding: 0.7rem 0.8rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-message.ok {
  display: block;
  background: rgba(31, 138, 99, 0.12);
  color: var(--color-success);
}

.form-message.error {
  display: block;
  background: rgba(158, 47, 47, 0.12);
  color: var(--color-danger);
}

.contact-meta {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-meta li {
  color: var(--color-muted);
}

.contact-meta strong {
  color: var(--color-ink);
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background: #081a31;
  color: #ccdaef;
  margin-top: var(--space-7);
}

.site-footer .container {
  padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer h4 {
  color: #f3f8ff;
  margin-bottom: 0.5rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #c7d5eb;
  font-size: 0.94rem;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.footer-bottom {
  border-top: 1px solid rgba(220, 232, 248, 0.2);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.split {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.accordion {
  display: grid;
  gap: var(--space-2);
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  overflow: clip;
}

.accordion-head {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-ink);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
}

.accordion-panel {
  display: none;
  padding: 0 var(--space-4) var(--space-3);
}

.accordion-item.open .accordion-panel {
  display: block;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: var(--space-4);
}

.filter-btn {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-brand);
  font-weight: 700;
  padding: 0.45rem 0.68rem;
  border-radius: 100vmax;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #eff5ff;
}

.gallery-grid {
  columns: 3 240px;
  column-gap: var(--space-3);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-3);
  position: relative;
  border-radius: var(--radius-sm);
  overflow: clip;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item span {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: rgba(11, 27, 47, 0.74);
  color: #ebf2ff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.18rem 0.42rem;
  border-radius: 0.35rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 24, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 110;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius-sm);
}

.lightbox button {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  background: #fff;
  color: #18243b;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

th,
td {
  padding: 0.72rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: var(--color-brand-soft);
  color: var(--color-brand-strong);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider .hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slider .hero-slide.active {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.slider-dots button {
  border: 0;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 100vmax;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--color-accent);
}

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

@media (max-width: 980px) {
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .footer-grid,
  .grid.two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    flex-wrap: wrap;
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    width: 100%;
    display: none;
    padding-bottom: 0.55rem;
  }

  .nav-links.open {
    display: flex;
  }

  .brand img {
    width: min(170px, 48vw);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.6rem 0;
  }

  .grid.four,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .cta-row .btn {
    width: 100%;
  }

  .topbar .container {
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.4rem 0;
    text-align: center;
  }
}
