:root {
  --bg: #f4fbff;
  --surface: #ffffff;
  --surface-soft: #eef8ff;
  --primary: #1177d8;
  --primary-dark: #0b3672;
  --text: #102d58;
  --muted: #58708b;
  --border: #d9ecfb;
  --gold: #f5b400;
  --shadow: 0 18px 48px rgba(16, 45, 88, .11);
  --shadow-card: 0 12px 34px rgba(16, 45, 88, .09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(184, 224, 250, .65) 0 0, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #ffffff 100%);
  line-height: 1.55;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217,236,251,.9);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 205px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-weight: 750; color: var(--primary-dark); }
.main-nav a { position: relative; padding: 31px 0 28px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 3px; border-radius: 999px; background: var(--primary); opacity: 0; transform: scaleX(.35); transition: .2s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 14px; background: #fff; cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--primary-dark); border-radius: 999px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 28px rgba(17,119,216,.22); }
.btn-primary:hover { background: #0d69c4; }
.btn-outline { color: var(--primary); background: rgba(255,255,255,.74); border-color: rgba(17,119,216,.45); }
.btn-outline:hover { box-shadow: 0 10px 24px rgba(17,119,216,.12); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero {
  position: relative;
  min-height: 650px;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #123;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,31,61,.78) 0%, rgba(8,31,61,.64) 32%, rgba(8,31,61,.22) 63%, rgba(8,31,61,.08) 100%),
    url("../img/sauna-hero.jpg") center right / cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 18%;
  width: clamp(220px, 23vw, 380px);
  height: clamp(220px, 23vw, 380px);
  background: url("../img/fenix-symbol.png") center / contain no-repeat;
  opacity: .08;
  pointer-events: none;
  z-index: -1;
  filter: grayscale(100%) brightness(1.9);
}
.hero-inner { padding: 90px 0 120px; }
.hero-content { max-width: 620px; color: #fff; }
.hero-content .eyebrow { color: #bde4ff; }
.hero h1 { margin: 0; font-size: clamp(56px, 8vw, 98px); line-height: .96; letter-spacing: -.055em; font-weight: 900; }
.lead { margin: 24px 0 0; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.2; font-weight: 850; }
.hero-text { margin: 18px 0 0; max-width: 540px; color: rgba(255,255,255,.86); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .btn-outline { color: #fff; background: rgba(9,26,48,.28); border-color: rgba(255,255,255,.52); }

.video-band { position: relative; margin-top: -84px; z-index: 2; }
.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 0;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(217,236,251,.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.video-preview { position: relative; min-height: 360px; background: #07111f; overflow: hidden; }
.video-player {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #07111f;
}
.video-copy { position: relative; padding: clamp(34px, 5vw, 62px); overflow: hidden; }
.video-copy::after {
  content: "";
  position: absolute;
  right: -35px; top: 45px;
  width: 260px; height: 260px;
  background: url("../img/fenix-symbol.png") center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}
.video-copy > * { position: relative; z-index: 1; }
.video-copy h2, .section-heading h2, .panel h2, .contact-card h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.04em; color: var(--primary-dark); }
.video-copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 520px; margin: 18px 0 26px; }

.section { padding: 84px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-heading.align-left { text-align: left; margin-inline: 0; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

.services { padding-top: 78px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(16,45,88,.14); }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-card-body { position: relative; padding: 46px 28px 30px; min-height: 210px; }
.service-icon {
  position: absolute;
  left: 26px; top: -34px;
  width: 68px; height: 68px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: var(--primary);
  border: 7px solid #fff;
  box-shadow: 0 12px 24px rgba(17,119,216,.23);
}
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 10px; font-size: 25px; line-height: 1.1; letter-spacing: -.03em; color: var(--primary-dark); }
.service-card p { margin: 0; color: var(--muted); }

.info-section { padding-top: 18px; }
.info-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 28px; align-items: stretch; }
.panel {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(26px, 4vw, 42px);
}
.panel-title { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.round-icon {
  width: 58px; height: 58px; flex: 0 0 58px;
  display: grid; place-items: center;
  color: var(--primary);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.round-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hours-list { display: grid; gap: 12px; }
.hours-row {
  display: grid;
  grid-template-columns: 90px 120px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.hours-row.highlight { background: linear-gradient(135deg, #eff9ff 0%, #ffffff 100%); }
.hours-row strong { font-size: 18px; color: var(--primary-dark); }
.hours-row span { font-weight: 900; color: var(--primary); }
.hours-row em { font-style: normal; color: var(--muted); }
.note { margin: 22px 0 0; color: var(--muted); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.price-item {
  min-height: 116px;
  padding: 16px 10px;
  display: grid;
  align-content: center;
  gap: 8px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fcff, #fff);
}
.price-item span, .price-lines span, .passes span { color: var(--muted); font-size: 14px; line-height: 1.25; }
.price-item strong { font-size: 25px; color: var(--primary-dark); }
.price-lines { margin-top: 14px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.price-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; background: #fff; }
.price-lines div + div { border-top: 1px solid var(--border); }
.price-lines strong { color: var(--primary-dark); white-space: nowrap; }
.passes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.passes div { padding: 16px 12px; text-align: center; background: #eaf6ff; }
.passes div + div { border-left: 1px solid rgba(17,119,216,.16); }
.passes strong { display: block; margin-top: 6px; color: var(--primary-dark); font-size: 21px; }

.gallery-news { padding-top: 18px; }
.gallery-news-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr); gap: 28px; align-items: start; }
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.photo-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 150px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  background: var(--surface-soft);
}
.photo-gallery img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform .22s ease;
}
.photo-gallery span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 31, 61, .62);
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}
.photo-gallery a:hover img { transform: scale(1.04); }
.news-box {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.news-card { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--border); }
.news-card img { width: 108px; height: 78px; object-fit: cover; border-radius: 14px; }
.news-card h3 { margin: 0 0 4px; color: var(--primary-dark); font-size: 18px; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; }

.contact { padding-top: 36px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 28px; }
.contact-card {
  padding: clamp(28px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
address { font-style: normal; color: var(--muted); margin: 22px 0; }
.contact-links { display: grid; gap: 10px; font-weight: 850; color: var(--primary); }
.map-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  background: #eaf6ff;
}
.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(17,119,216,.22);
}
.map-open:hover { background: #0d69c4; }

.site-footer {
  margin-top: 52px;
  padding: 44px 0 22px;
  background: linear-gradient(180deg, #eaf6ff 0%, #f7fcff 100%);
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .9fr .6fr; gap: 34px; align-items: start; }
.footer-logo { width: 180px; }
.site-footer p { color: var(--muted); }
.site-footer h3 { margin: 0 0 12px; color: var(--primary-dark); font-size: 16px; }
.site-footer a { display: block; color: var(--muted); margin: 6px 0; }
.site-footer a:hover { color: var(--primary); }
.social-link { width: 42px; height: 42px; display: grid !important; place-items: center; border-radius: 50%; background: var(--primary); color: #fff !important; font-weight: 900; font-size: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.footer-bottom a { display: inline; margin: 0; }

@media (max-width: 1050px) {
  .header-inner { min-height: 76px; }
  .brand-logo { width: 175px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 16px; border-radius: 12px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.is-active { background: var(--surface-soft); }
  .video-card, .info-grid, .gallery-news-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { min-height: 620px; }
  .hero-bg { background-position: 62% center; }
  .hero-inner { padding: 72px 0 112px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { flex: 1 1 100%; }
  .video-band { margin-top: -58px; }
  .video-preview, .video-player { min-height: 230px; }
  .video-card { border-radius: 22px; }
  .video-copy { padding: 28px; }
  .section { padding: 58px 0; }
  .services-grid, .photo-gallery, .footer-grid { grid-template-columns: 1fr; }
  .service-card img { height: 190px; }
  .service-card-body { min-height: auto; }
  .hours-row { grid-template-columns: 1fr; gap: 4px; }
  .price-grid, .passes { grid-template-columns: 1fr; }
  .passes div + div { border-left: 0; border-top: 1px solid rgba(17,119,216,.16); }
  .news-card { grid-template-columns: 88px 1fr; }
  .news-card img { width: 88px; height: 70px; }
  .footer-bottom { flex-direction: column; }
}
