:root {
  --teal: #0e5a77;
  --teal-2: #1387a0;
  --teal-bright: #1aa6bd;
  --teal-deep: #073f56;
  --coral: #fe6d64;
  --coral-deep: #ef5648;

  --ink: #12333d;
  --body: #45565d;
  --muted: #7c9099;

  --bg: #ffffff;
  --bg-soft: #eef7f9;
  --line: #d7e7ec;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --shadow: 0 22px 60px -28px rgba(14, 90, 119, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p { color: var(--body); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--coral); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--head);
  font-weight: 700; font-size: .98rem;
  letter-spacing: 0.01em;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: var(--coral);
  color: #12333d;
  border-color: var(--coral);
  box-shadow: 0 12px 28px -12px rgba(254, 109, 100, 0.85);
}
.btn-join:hover { background: var(--coral-deep); border-color: var(--coral-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-ghost:hover { background: #fff; color: var(--teal); }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.site-header {
  position: relative; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px -8px rgba(14, 90, 119, 0.2);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand img { width: clamp(180px, 22vw, 260px); height: auto; }
.header-right { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.login-link { font-family: var(--head); font-size: .92rem; font-weight: 600; color: var(--teal); }
.login-link:hover { color: var(--teal-bright); }
.header-right .btn { padding: 11px 24px; font-size: .92rem; }

.country-select {
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 34px 9px 12px;
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%);
  background-position: calc(100% - 16px) 53%, calc(100% - 11px) 53%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  min-width: 170px;
}
.country-select:hover { border-color: var(--teal-2); }
.hnav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.menu-toggle {
  display: none;
  width: 46px; height: 42px;
  align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--teal);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}

.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(76vh, 660px);
  padding: clamp(48px, 8vw, 96px) 0;
  background:
    url('/images/swingingseniorcouples-splash-new-img1.jpg?v=2') right center / cover no-repeat,
    var(--teal-deep);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 620px; }
.hero h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.hero h1 .accent { color: var(--coral); }
.hero-sub { color: #fff; font-size: 1.18rem; margin-bottom: 30px; max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.steps { background: var(--bg-soft); padding: clamp(28px, 4vw, 48px) 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 16px 40px -28px rgba(14, 90, 119, 0.35);
}
.step-ico {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(180deg, var(--teal-2), var(--teal));
  color: #fff; margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; font-size: 1.25rem; }
.step p { font-size: 1rem; color: var(--body); }

.editorial { padding: clamp(56px, 8vw, 110px) 0; }
.editorial .container { max-width: 920px; }
.prose-block { margin-bottom: clamp(40px, 6vw, 64px); }
.prose-block:last-child { margin-bottom: 0; }
.prose-block h2, .prose-block h3 { margin-bottom: 16px; }
.prose-block h2 { color: var(--teal); }
.prose-block h3 { color: var(--teal-2); }
.prose-block p { font-size: 1.12rem; line-height: 1.85; margin-bottom: 16px; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block.alt { background: var(--bg-soft); border-left: 4px solid var(--coral); border-radius: 0 14px 14px 0; padding: clamp(24px, 3vw, 36px); }

.cta-band {
  text-align: center;
  padding: clamp(56px, 8vw, 104px) 0;
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 48ch; margin: 0 auto 28px; font-size: 1.12rem; }

.site-footer { background: var(--teal); color: #fff; padding: 52px 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.footer-logo img { width: 240px; height: auto; }
.footer-regions { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-regions a { font-family: var(--head); font-size: .9rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.footer-regions a:hover { color: var(--coral); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.2); }
.footer-links a { font-size: .95rem; color: rgba(255,255,255,0.9); text-decoration: underline; }
.footer-links a:hover { color: var(--coral); }
.footer-copy { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,0.75); }

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--teal-deep); color: #fff;
  padding: 16px var(--gutter);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.92); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--coral); text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--coral); color: #12333d; border-color: var(--coral); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero {
    min-height: 78vh;
    align-items: flex-end;
    padding: 0 0 clamp(34px, 8vw, 52px);
    background:
      url('/images/swingingseniorcouples-splash-new-mob1.jpg?v=2') center top / cover no-repeat,
      var(--teal-deep);
  }
  .hero-inner { max-width: 100%; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 8px; font-size: .9rem; }
  .header-right { gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .hnav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px -16px rgba(14, 90, 119, 0.3);
    padding: 18px var(--gutter); z-index: 50;
  }
  .hnav.open { display: flex; }
  .country-select { width: 100%; min-width: 0; font-size: 1rem; padding: 12px 34px 12px 14px; }
  .login-link { display: block; font-size: 1.05rem; padding: 4px 2px; }
}
@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-ctas { width: 100%; }
}
