:root {
  --orange: #f9a03f;
  --teal: #10a5b7;
  --navy: #164e6e;
  --navy-dark: #0f3549;
  --text: #1a2b36;
  --text-muted: #5a6b75;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --border: #e2eaee;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(22, 78, 110, 0.08);
  --max-width: 1120px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(15, 53, 73, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 165, 183, 0.35);
}

.btn--primary:hover {
  background: #0e94a4;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Hero */

.hero {
  padding: 4rem 0 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(16, 165, 183, 0.12);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--teal);
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__figure {
  display: flex;
  justify-content: center;
}

.hero__figure img {
  max-width: 380px;
}

/* Stats */

.stats {
  padding: 3rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.stat__value span {
  color: var(--orange);
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section__header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Services */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: rgba(16, 165, 183, 0.35);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 165, 183, 0.1);
  border-radius: 10px;
  color: var(--teal);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Split section */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split__figure {
  display: flex;
  justify-content: center;
}

.split__figure img {
  max-width: 320px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* Club */

.club {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: calc(var(--radius) * 2);
  color: #fff;
}

.club__figure img {
  max-width: 280px;
  margin-inline: auto;
}

.club h2 {
  color: #fff;
}

.club .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

.club .feature-list li {
  color: rgba(255, 255, 255, 0.9);
}

.club .feature-list li::before {
  background: var(--orange);
}

.club .btn--primary {
  margin-top: 1.5rem;
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(249, 160, 63, 0.35);
}

.club .btn--primary:hover {
  background: #e8902e;
}

/* About */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.badge {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Contact */

.contact {
  text-align: center;
}

.contact__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact__item {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact__item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

/* Footer */

.footer {
  padding: 2.5rem 0;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer img {
  height: 28px;
  opacity: 0.9;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--orange);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

/* Legal pages */

.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page__header {
  max-width: 720px;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.legal-page__updated {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-content h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--navy);
}

/* Responsive */

@media (max-width: 900px) {
  .hero__grid,
  .split,
  .club {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services__grid,
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero__figure,
  .split__figure,
  .club__figure {
    order: -1;
  }

  .hero__lead {
    max-width: none;
  }

  .club {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav .btn {
    margin-top: 0.5rem;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
