/* Branding variables and simple button styles */
:root {
  --primary-color: #00a9d6;
  --accent-color: #00cc88;
  --color-bg: #ffffff;
  --color-text: #222222;
  --color-header: #f2f2f2;
  --color-white: #ffffff;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary,
.btn {
  background: var(--primary-color);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 3px solid rgba(0,0,0,0.08);
  outline-offset: 2px;
}

/* Utility */
.hidden { display: none !important; }

/* Make hero title more prominent */
.hero-title { font-size: 2.25rem; line-height: 1.1; }
.hero-subtitle { font-size: 1.125rem; }

/* =========================================================
   MyWave Design Patch v1 (Premium UI)
   Goals:
   - unify buttons
   - unify cards
   - normalize section rhythm
   - make hero premium & selling
   Safe overrides, minimal HTML changes.
========================================================= */

:root{
  /* Brand + UI tokens */
  --mw-brand: #35C0CD;
  --mw-brand-dark: #0E9FB0;

  --mw-bg: #F6F8FA;
  --mw-surface: #FFFFFF;
  --mw-text: #12161B;
  --mw-muted: #56606B;
  --mw-border: rgba(18,22,27,0.08);

  --mw-radius-lg: 16px;
  --mw-radius-md: 12px;

  --mw-shadow-1: 0 8px 24px rgba(18,22,27,0.06);
  --mw-shadow-2: 0 14px 38px rgba(18,22,27,0.10);

  /* Backward-compat with existing vars used across the project */
  --primary-color: var(--mw-brand);
  --color-bg: var(--mw-bg);
  --color-text: var(--mw-text);
  --color-header: rgba(255,255,255,0.86);
  --color-white: #FFFFFF;
}

/* Dark theme alignment */
:root[data-theme="dark"]{
  --mw-bg: #0C0F12;
  --mw-surface: #12161B;
  --mw-text: #EEF2F6;
  --mw-muted: rgba(238,242,246,0.70);
  --mw-border: rgba(238,242,246,0.10);
  --color-bg: var(--mw-bg);
  --color-text: var(--mw-text);
  --color-header: rgba(18,22,27,0.75);
}

/* Global feel: premium clean background + modern UI font */
html, body{
  background: var(--mw-bg) !important;
  color: var(--mw-text) !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important; /* overrides inline Pangolin */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keep brand character only in logo */
.site-header .logo a{
  font-family: "Pangolin", system-ui, sans-serif !important;
  letter-spacing: 0.2px;
}

/* Header: dark gray */
.site-header{
  background: #6d6b6b !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #ffffff !important;
}

/* ---------------------------------------------------------
   Sections rhythm (no wrappers required)
--------------------------------------------------------- */
.mw-section{
  padding: clamp(56px, 6vw, 92px) 0;
}

/* Center and constrain each direct child inside the section */
.mw-section > *{
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* "Surface block" look (centered card behind content) */
.mw-section.mw-surface{
  position: relative;
}
.mw-section.mw-surface::before{
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 24px));
  background: var(--mw-surface);
  border: 1px solid var(--mw-border);
  border-radius: var(--mw-radius-lg);
  box-shadow: var(--mw-shadow-1);
  z-index: 0;
}
.mw-section.mw-surface > *{
  position: relative;
  z-index: 1;
}

/* Headings: clear hierarchy */
.mw-section h2,
.mw-section h3{
  color: var(--mw-text);
  letter-spacing: -0.02em;
}
.mw-section h2{
  font-size: clamp(24px, 2.2vw, 34px);
  margin: 0 0 18px 0;
}
.mw-section h3{
  font-size: clamp(20px, 1.8vw, 28px);
  margin: 0 0 14px 0;
}
.mw-section p{
  color: var(--mw-muted);
  line-height: 1.55;
}

/* ---------------------------------------------------------
   Buttons (unified)
--------------------------------------------------------- */
.btn,
.btn-primary,
.btn-secondary,
button.btn-primary,
button.btn-secondary,
a.btn-primary,
a.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

/* Primary */
.btn-primary{
  background: var(--mw-brand) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(0,0,0,0.0) !important;
  box-shadow: 0 10px 26px rgba(53,192,205,0.22);
}
.btn-primary:hover{
  background: var(--mw-brand-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(53,192,205,0.28);
}
.btn-primary:active{
  transform: translateY(0px) scale(0.99);
}

/* Secondary */
.btn-secondary{
  background: transparent !important;
  color: var(--mw-text) !important;
  border: 1px solid var(--mw-border) !important;
  box-shadow: none !important;
}
.btn-secondary:hover{
  transform: translateY(-1px);
  border-color: rgba(53,192,205,0.35) !important;
  box-shadow: var(--mw-shadow-1);
}

/* Ghost helper for links */
.btn-ghost{
  background: rgba(255,255,255,0.70) !important;
}
:root[data-theme="dark"] .btn-ghost{
  background: rgba(18,22,27,0.55) !important;
}

/* Focus (keyboard) */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
a.btn-primary:focus-visible,
a.btn-secondary:focus-visible,
button.btn-primary:focus-visible,
button.btn-secondary:focus-visible{
  outline: 3px solid rgba(53,192,205,0.35);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Cards (unified)
--------------------------------------------------------- */
.mw-card{
  background: var(--mw-surface) !important;
  border: 1px solid var(--mw-border) !important;
  border-radius: var(--mw-radius-lg) !important;
  box-shadow: var(--mw-shadow-1) !important;
  padding: 22px !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mw-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--mw-shadow-2) !important;
  border-color: rgba(53,192,205,0.30) !important;
}

/* Make service/product cards consistent layout */
.service-card.mw-card,
.product-card.mw-card{
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Media inside service cards: stable premium look */
.service-card-media{
  border-radius: var(--mw-radius-md);
  overflow: hidden;
  border: 1px solid var(--mw-border);
  box-shadow: 0 10px 26px rgba(18,22,27,0.06);
}
.service-card-media-img{
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Product images: same geometry */
.product-card img{
  border-radius: var(--mw-radius-md);
  border: 1px solid var(--mw-border);
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ---------------------------------------------------------
   Grids (fix existing grid/flex conflicts)
--------------------------------------------------------- */
.cards-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  padding: 0 !important;
  align-items: stretch !important;
}

@media (max-width: 700px){
  .cards-grid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .mw-card{
    padding: 18px !important;
  }
}

/* ---------------------------------------------------------
   HERO (premium selling)
--------------------------------------------------------- */

/* Put overlay between background image and text */
.hero-bg-cover{
  z-index: 0 !important;
}
.mw-hero{
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.mw-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none; /* не блокировать клики по кнопкам */
}

:root[data-theme="dark"] .mw-hero::before{
  background: transparent;
}

.hero-content-relative{
  z-index: 2 !important;
  text-align: center !important;
  width: min(980px, calc(100% - 32px));
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding-top: 1px !important;
}

.hero-title{
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: 1.02 !important;
  margin-bottom: 14px !important;
  color: #333333 !important;
  text-shadow: none;
  letter-spacing: -0.03em;
}

.hero-subtitle{
  font-size: clamp(16px, 1.4vw, 20px) !important;
  max-width: 56ch;
  color: #555555 !important;
  margin-bottom: 18px !important;
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px 0;
}
.hero-badge{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  color: #333333;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 650;
  font-size: 13px;
}

.hero-actions{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-microtrust{
  margin-top: 14px;
  color: #666666;
  font-size: 14px;
}

/* Mobile hero alignment */
@media (max-width: 700px){
  .hero-content-relative{
    text-align: left;
  }
  .hero-actions{
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary{
    width: 100%;
  }
}

/* =========================================================
   MyWave Nav Patch (Premium header + active state + mobile)
========================================================= */

/* Correct anchor positioning under fixed header */
#hero, #features, #services, #store, #events, #blog, #reviews, #contacts{
  scroll-margin-top: 92px;
}

/* Header CTA button */
.header-cta{
  margin-left: 14px;
  padding: 10px 14px !important;
  min-height: 40px !important;
  font-size: 14px;
  white-space: nowrap;
}

/* Nav layout: tighter, premium */
.site-nav ul{
  gap: 12px !important;
  flex-wrap: wrap;
}

.site-nav a{
  position: relative;
  background: transparent !important;
  color: var(--mw-text) !important;
  border-radius: 999px;
  padding: 10px 12px !important;
}

/* Active: clean underline + subtle chip */
.site-nav a.active{
  background: rgba(53,192,205,0.10) !important;
  color: var(--mw-brand) !important;
}

.site-nav a.active::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: rgba(53,192,205,0.70);
}

.site-nav a:focus-visible{
  outline: 3px solid rgba(53,192,205,0.35);
  outline-offset: 3px;
}

/* Mobile menu: unify to one behavior + premium surface */
@media (max-width: 900px){
  .header-cta{ display: none; }

  .site-nav ul{
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    left: auto;
    width: min(92vw, 320px);
    background: var(--color-header) !important;
    border: 1px solid var(--mw-border) !important;
    box-shadow: var(--mw-shadow-1) !important;
    border-radius: 14px;
    padding: 12px;
  }

  /* Support both old toggles: .site-nav.open and .site-nav ul.active */
  .site-nav.open ul,
  .site-nav ul.active{
    display: flex !important;
    flex-direction: column;
    gap: 8px !important;
  }

  .site-nav a{
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a.active::after{
    left: 14px;
    right: 14px;
  }
}

/* =========================================================
   Sticky Section Progress (Premium)
   - thin line under header
   - driven by nav-spy.js (section-based)
========================================================= */

.mw-scroll-progress{
  position: fixed !important;
  left: 0; right: 0;
  top: var(--mw-header-h, 60px) !important;
  height: 3px !important;

  z-index: 999; /* ниже header (1000), но выше контента */
  pointer-events: none;

  display: block !important;
  margin: 0 !important;

  background: rgba(18,22,27,0.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* убираем конфликтующие стили .progress-bar::before из style.css */
  border: 0 !important;
  overflow: hidden !important;
}

.mw-scroll-progress::before{
  content: none !important;
}

:root[data-theme="dark"] .mw-scroll-progress{
  background: rgba(238,242,246,0.12) !important;
}

/* ВАЖНО: фиксируем ширину на 100%, чтобы никакой другой JS не "сбивал" width */
#progress-fill.mw-scroll-progress__fill{
  width: 100% !important;
  height: 100% !important;

  background: linear-gradient(90deg, var(--mw-brand, #35C0CD), rgba(53,192,205,0.55)) !important;

  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 160ms ease;
  will-change: transform;
}

/* Если шапка скрывается (site-header.hidden), прячем и линию */
.site-header.hidden ~ .mw-scroll-progress{
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.site-header.visible ~ .mw-scroll-progress{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
WSC 2025 Styles
========================================================= */
.wsc-hero{ padding-top: clamp(84px, 10vw, 110px); padding-bottom: clamp(56px, 7vw, 92px); }
.wsc-hero__inner{ width: min(1120px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 2; }
.wsc-hero__badge{
  display:inline-flex; padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92); font-weight: 750; margin-bottom: 14px;
}
.wsc-hero__title{ font-size: clamp(34px, 4vw, 60px); line-height:1.02; margin:0 0 14px 0; color:#fff; letter-spacing:-0.03em; text-shadow:0 18px 50px rgba(0,0,0,0.38); }
.wsc-hero__subtitle{ font-size: clamp(16px, 1.4vw, 20px); max-width: 64ch; margin:0 0 18px 0; color: rgba(255,255,255,0.88); }

/* sticky subnav */
.wsc-subnav{
  position: sticky; top: var(--mw-header-h, 60px); z-index: 990;
  padding: 10px 0; background: rgba(255,255,255,0.78);
  border-bottom: 1px solid var(--mw-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
:root[data-theme="dark"] .wsc-subnav{ background: rgba(18,22,27,0.72); }

.wsc-subnav__inner{
  width: min(1120px, calc(100% - 32px)); margin: 0 auto;
  display:flex; align-items:center; gap:14px; justify-content:space-between;
}
.wsc-subnav__links{
  display:flex; gap:10px; overflow-x:auto; flex-wrap:nowrap; padding-bottom:2px;
  scrollbar-width:none;
}
.wsc-subnav__links::-webkit-scrollbar{ display:none; }

.wsc-subnav__link{
  display:inline-flex; align-items:center; padding:9px 12px; border-radius:999px;
  text-decoration:none; color: var(--mw-text);
  border:1px solid transparent; white-space:nowrap; font-weight:650; font-size:14px;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.wsc-subnav__link:hover{ background: rgba(53,192,205,0.10); }
.wsc-subnav__link.active{ background: rgba(53,192,205,0.12); color: var(--mw-brand); border-color: rgba(53,192,205,0.24); }

.wsc-subnav__btn{ min-height: 40px !important; padding: 10px 14px !important; }

/* 3 download buttons block */
.wsc-card-downloads{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.wsc-docs__mini{
  margin-top: 14px;
  color: var(--mw-muted);
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
}
.wsc-dot{ opacity: .5; }

.wsc-md h1{ display:none; } /* title is in hero */

/* =========================================================
Wake Surf Safari 2026 Styles
========================================================= */

/* Sticky progress line */
.mw-progress{
  position: sticky;
  top: var(--mw-header-h, 60px);
  z-index: 1000;
  height: 2px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}
:root[data-theme="dark"] .mw-progress{
  background: rgba(238,242,246,0.12);
}
.mw-progress__fill{
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--mw-brand, #35C0CD);
  transition: transform .12s linear;
}

/* Subnav */
.mw-subnav{
  position: sticky;
  top: calc(var(--mw-header-h, 60px) + 2px);
  z-index: 999;
  padding: 10px 0;
  background: rgba(255,255,255,0.76);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(0);
  transition: transform 0.25s ease-out;
}
.mw-subnav.is-hidden{
  transform: translateY(-100%);
  pointer-events: none;
}
:root[data-theme="dark"] .mw-subnav{
  background: rgba(18,22,27,0.72);
  border-bottom-color: rgba(238,242,246,0.10);
}
.mw-subnav__inner{ 
  display:flex; 
  align-items:center; 
  gap:14px; 
  justify-content:space-between; 
}
.mw-subnav__links{ 
  display:flex; 
  gap:10px; 
  overflow-x:auto; 
  scrollbar-width:none; 
  flex-wrap: nowrap;
}
.mw-subnav__links::-webkit-scrollbar{ display:none; }
.mw-subnav__link{
  padding: 9px 12px; 
  border-radius: 999px; 
  text-decoration:none;
  font-weight: 650; 
  font-size: 14px; 
  color: var(--mw-text, #111);
  transition: background .16s ease, color .16s ease;
  white-space: nowrap;
}
.mw-subnav__link:hover{ background: rgba(53,192,205,0.10); }
.mw-subnav__link.active{ 
  background: rgba(53,192,205,0.14); 
  color: var(--mw-brand, #35C0CD); 
}
.mw-subnav__btn{ min-height: 40px; padding: 10px 14px; }

/* Safari hero — цвет шрифта для читаемости в day mode (фон не меняем) */
.safari-hero{ 
  padding-top: clamp(84px, 10vw, 112px); 
  padding-bottom: clamp(56px, 8vw, 96px);
}
.safari-hero__badge{
  display:inline-flex; 
  padding:8px 12px; 
  border-radius:999px;
  background: rgba(53,192,205,0.12); 
  border:1px solid rgba(53,192,205,0.25);
  color: var(--mw-text, #12161B); 
  font-weight: 750; 
  margin-bottom: 14px;
}
.safari-hero__title{
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02; 
  margin: 0 0 14px 0;
  color: var(--mw-text, #12161B); 
  letter-spacing: -0.03em;
  text-shadow: none;
}
.safari-hero__subtitle{ 
  font-size: clamp(16px, 1.4vw, 20px); 
  max-width: 66ch; 
  margin:0 0 18px 0; 
  color: var(--mw-text, #12161B); 
}
.safari-hero__actions{ 
  display:flex; 
  gap:10px; 
  flex-wrap:wrap; 
}

/* Safari package cards */
.safari-package__top{ 
  display:flex; 
  justify-content:space-between; 
  align-items:baseline; 
  gap:12px; 
  margin-bottom: 12px;
}
.safari-package__price{ 
  font-weight: 750; 
  color: var(--mw-brand, #35C0CD); 
  font-size: 1.1em;
}
.safari-package__ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.safari-package__ul li{
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}
.safari-package__ul li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mw-brand, #35C0CD);
  font-weight: bold;
}
.safari-contacts{ 
  margin-top: 14px; 
  color: var(--mw-muted, rgba(0,0,0,0.64)); 
}

/* Safari forms */
.safari-md h1{ display:none; } /* title is in hero */
.mw-form{
  margin-top: 20px;
}
.mw-grid-2{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.mw-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mw-field label{
  font-weight: 650;
  font-size: 14px;
  color: var(--mw-text);
}
.mw-field input,
.mw-field select,
.mw-field textarea{
  padding: 10px 12px;
  border: 1px solid var(--mw-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--mw-surface);
  color: var(--mw-text);
  transition: border-color .16s ease;
}
.mw-field input:focus,
.mw-field select:focus,
.mw-field textarea:focus{
  outline: none;
  border-color: var(--mw-brand, #35C0CD);
}
.mw-field textarea{
  resize: vertical;
  min-height: 100px;
}
.mw-form-message{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.mw-form-message--success{
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}
.mw-form-message--error{
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

/* ------------------------------------------------------------------
   WakeSurf Safari — hero (плотный верхний ритм, без «пустого» центра)
   Базовый .mw-hero задаёт min-height ~78vh и align-items:center —
   для Safari переопределяем: контент от верха, узкая колонка чтения.
------------------------------------------------------------------ */
.safari-page .mw-section.mw-hero.safari-hero {
  min-height: 0;
  align-items: flex-start;
  padding-top: clamp(16px, 3.5vw, 36px);
  padding-bottom: clamp(44px, 6vw, 76px);
  background: linear-gradient(180deg, #ffffff 0%, var(--mw-bg) 70%);
}

:root[data-theme="dark"] .safari-page .mw-section.mw-hero.safari-hero {
  background: linear-gradient(180deg, var(--mw-surface) 0%, var(--mw-bg) 78%);
}

.safari-page .mw-section.mw-hero.safari-hero .mw-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(640px, calc(100% - 32px));
}

.safari-page .safari-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 1.125rem;
  max-width: 100%;
}

.safari-page .safari-hero .safari-hero__badge {
  margin-bottom: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.safari-page .safari-hero__title {
  margin-bottom: 0.625rem;
}

.safari-page .safari-hero__subtitle {
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.38;
  margin-bottom: 0.625rem !important;
  max-width: 38rem;
}

.safari-page .safari-hero__lead {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--mw-muted);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

.safari-page .safari-hero__actions {
  justify-content: center;
  width: 100%;
  margin-top: 0.125rem;
}

@media (max-width: 520px) {
  .safari-page .safari-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .safari-page .safari-hero__actions .btn-primary,
  .safari-page .safari-hero__actions .btn-secondary {
    width: 100%;
  }
}
