:root{
  --black:#111111;
  --red:#E10600;
  --white:#ffffff;
  --gray:#F2F2F2;
  --text:#1b1b1b;
  --muted:#666;
  --radius:18px;
  --shadow: 0 12px 30px rgba(17,17,17,.12);
  --shadow-soft: 0 10px 22px rgba(17,17,17,.08);
  --max: 1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}
img{max-width:100%; display:block}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--black); color:var(--white);
  padding:10px 14px; border-radius:12px; z-index:9999;
}
.skip-link:focus{left:16px; top:16px}

.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid #0000000f;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px; text-decoration:none;
}
.logo{
  width:34px; height:34px; border-radius:12px;
  background:linear-gradient(135deg, var(--red), var(--black));
  box-shadow: var(--shadow-soft);
}
.brand span{
  font-weight:800; letter-spacing:.5px;
}
.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{
  text-decoration:none; color:var(--text);
  font-weight:600; font-size:14px;
  padding:10px 10px; border-radius:12px;
}
.nav a:hover{background:#00000008}
.header-cta{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:var(--red);
  color:var(--white);
  box-shadow:0 14px 26px rgba(225,6,0,.24);
}
.btn-primary:hover{box-shadow:0 18px 34px rgba(225,6,0,.28)}
.btn-ghost{
  background:transparent;
  border-color:#00000018;
  color:var(--text);
}
.btn-ghost:hover{background:#00000006}
.icon{
  width:18px; height:18px; display:inline-block;
}
.burger{
  display:none;
  background:transparent;
  border:1px solid #0000001a;
  border-radius:14px;
  padding:10px 12px;
}
.burger svg{width:22px; height:22px}

.mobile-drawer{
  display:none;
  padding:10px 0 18px;
}
.mobile-drawer a{
  display:block;
  text-decoration:none;
  padding:12px 12px;
  border-radius:14px;
  font-weight:700;
}
.mobile-drawer a:hover{background:#00000008}

.hero{
  position:relative;
  overflow:hidden;
  background:var(--black);
  color:var(--white);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:url("../img/hero-bg.svg") center/cover no-repeat;
  opacity:.9;
  transform:scale(1.04);
}
.hero::after{
  content:"";
  position:absolute; inset:-80px -80px auto auto;
  width:360px; height:360px;
  background:radial-gradient(circle at 30% 30%, rgba(225,6,0,.55), transparent 55%);
  filter:blur(0);
}
.hero-inner{
  position:relative;
  padding:84px 0 62px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:end;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:#ffffff14;
  border:1px solid #ffffff22;
  font-weight:700;
  width:fit-content;
  margin-bottom:14px;
}
.kicker b{color:var(--red); background:#fff; padding:2px 8px; border-radius:999px}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.08;
  letter-spacing:-.6px;
}
.hero p{
  margin:0 0 22px;
  color:#ffffffcc;
  font-size: clamp(15px, 1.2vw, 18px);
  max-width:56ch;
}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.hero-badges{
  display:grid; gap:12px;
}
.badge{
  background:#ffffff12;
  border:1px solid #ffffff22;
  border-radius:var(--radius);
  padding:16px 16px;
  display:grid;
  gap:8px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.badge strong{font-size:18px}
.badge small{color:#ffffffcc}
.badge .stat{
  display:flex; align-items:baseline; gap:10px;
}
.badge .stat span{
  font-weight:900; font-size:30px; letter-spacing:-.6px;
}
.section{padding:76px 0}
.section.alt{background:var(--gray)}
.section h2{
  margin:0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing:-.4px;
}
.section .sub{
  margin:0 0 26px;
  color:var(--muted);
  max-width:70ch;
}
.grid{
  display:grid;
  gap:18px;
}
.grid.cols-3{grid-template-columns:repeat(3, 1fr)}
.grid.cols-2{grid-template-columns:repeat(2, 1fr)}
.card{
  background:var(--white);
  border:1px solid #00000010;
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow-soft);
}
.card.dark{
  background:var(--black);
  color:var(--white);
  border-color:#ffffff14;
}
.card h3{margin:0 0 8px; font-size:18px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  background:#00000007;
  border:1px solid #00000010;
  color:var(--muted);
  width:fit-content;
}
.pill.red{
  background:rgba(225,6,0,.08);
  border-color:rgba(225,6,0,.18);
  color:#b50500;
}
.list{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:grid; gap:8px;
}
.list li{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--muted);
}
.check{
  width:18px; height:18px; flex:0 0 18px;
  border-radius:6px;
  background:rgba(225,6,0,.12);
  border:1px solid rgba(225,6,0,.22);
  display:grid; place-items:center;
  margin-top:2px;
}
.check svg{width:12px; height:12px}
.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:18px 0 14px;
  flex-wrap:wrap;
}
.select{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid #0000001a;
  background:var(--white);
  font-weight:600;
}
.table-wrap{
  overflow:auto;
  border-radius:var(--radius);
  border:1px solid #00000012;
  background:var(--white);
}
table{
  width:100%;
  border-collapse:collapse;
  min-width:780px;
}
th, td{
  padding:14px 14px;
  border-bottom:1px solid #00000010;
  text-align:left;
  font-size:14px;
}
th{
  background:#00000006;
  font-weight:800;
}
td .type{font-weight:800}
td .tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:#00000007;
  border:1px solid #00000010;
  display:inline-flex;
  margin-left:10px;
  color:var(--muted);
}
.tag.red{
  background:rgba(225,6,0,.08);
  border-color:rgba(225,6,0,.18);
  color:#b50500;
}
.trainer{
  display:flex; gap:16px;
}
.avatar{
  width:60px; height:60px;
  border-radius:18px;
  background:linear-gradient(135deg, #111111, #333);
  border:1px solid #00000015;
  display:grid; place-items:center;
  color:var(--white);
  font-weight:900;
  letter-spacing:.5px;
}
.trainer .meta{display:grid; gap:6px}
.trainer .meta small{color:var(--muted)}
.price-grid .card{position:relative}
.price{
  font-size:36px;
  font-weight:900;
  letter-spacing:-.8px;
  margin:6px 0 8px;
}
.price small{font-size:14px; color:var(--muted); font-weight:700}
.ribbon{
  position:absolute; top:14px; right:14px;
  background:var(--red);
  color:var(--white);
  font-weight:900;
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  box-shadow:0 14px 26px rgba(225,6,0,.22);
}
.quote{
  display:grid; gap:10px;
}
.stars{letter-spacing:2px}
.carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns: minmax(260px, 1fr);
  gap:16px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:6px;
}
.carousel > .card{
  scroll-snap-align:start;
}
.gallery{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:12px;
}
.gallery button{
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
  border-radius:16px;
  overflow:hidden;
  outline:1px solid #00000010;
  box-shadow: var(--shadow-soft);
}
.gallery img{width:100%; height:160px; object-fit:cover}
.form{
  display:grid; gap:14px;
}
.form-row{
  display:grid; gap:12px;
  grid-template-columns:1fr 1fr;
}
label{
  font-weight:800;
  font-size:13px;
  display:grid; gap:8px;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid #0000001a;
  font-family:inherit;
  font-size:14px;
}
textarea{min-height:110px; resize:vertical}
.helper{color:var(--muted); font-size:13px; margin-top: 5px}
.notice{
  font-size:12px;
  color:var(--muted);
}
.footer{
  background:var(--black);
  color:var(--white);
  padding:46px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:20px;
  align-items:start;
}
.footer a{color:#ffffffcc; text-decoration:none}
.footer a:hover{color:#fff; text-decoration:underline}
.footer .fine{color:#ffffffaa; font-size:12px; margin-top:14px}
.footer .links{display:flex; gap:16px; flex-wrap:wrap; margin-top:10px}
hr.sep{
  border:0; height:1px; background:#ffffff14;
  margin:18px 0;
}

.modal{
  position:fixed; inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:100;
}
.modal.open{display:flex}
.modal-content{
  width:min(920px, 100%);
  background:var(--white);
  border-radius:22px;
  box-shadow: var(--shadow);
  overflow:hidden;
  border:1px solid #00000014;
}
.modal-body{
  display:grid;
  grid-template-columns: 1fr;
  gap:0;
}
.modal-header{
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #00000010;
}
.modal-header strong{font-size:16px}
.modal-inner{
  padding:18px;
}
.modal-inner img{border-radius:18px; border:1px solid #00000010}

.cookie{
  position:fixed;
  left:16px; right:16px; bottom:16px;
  max-width: var(--max);
  margin:0 auto;
  background:var(--white);
  border:1px solid #00000014;
  border-radius:22px;
  box-shadow: var(--shadow);
  padding:14px 14px;
  display:none;
  z-index:80;
}
.cookie.open{display:block}
.cookie-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.cookie p{margin:6px 0 0; color:var(--muted); font-size:13px}
.cookie-actions{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:12px;
}
.cookie small{color:var(--muted)}

.legal-page{
  padding:56px 0;
}
.legal-page h1{margin:0 0 12px}
.legal-page h2{margin:26px 0 10px}
.legal-page p, .legal-page li{color:var(--muted)}
.legal-page ul{padding-left:18px}
.breadcrumbs{color:var(--muted); font-size:13px; margin-bottom:10px}
.breadcrumbs a{color:inherit}

@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr; align-items:start}
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2, 1fr)}
  .nav{display:none}
  .burger{display:inline-flex}
  .mobile-drawer{display:block}
  .form-row{grid-template-columns:1fr}
  table{min-width: 680px}
  .btn-primary {display: none;}
}

.logo{
  width:34px;
  height:34px;
  border-radius:12px;
  overflow:hidden;          /* щоб SVG не вилітав за радіус */
  box-shadow: var(--shadow-soft);
  background: transparent;  /* або залиш як є, якщо хочеш градієнт */
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.logo img{
  width:100%;
  height:100%;
  display:block;
}

.media-card{
  padding:0;
  overflow:hidden;
  position:relative;
  border-radius:var(--radius);
}

.media-card img{
  width:100%;
  height:720px;
  object-fit:cover;
  display:block;
}

.media-overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:16px;
  background:linear-gradient(180deg, transparent 0%, rgba(17,17,17,.82) 70%);
  color:#fff;
}

.media-overlay h3{
  margin:10px 0 6px;
  font-size:18px;
}

.media-overlay p{
  margin:0;
  color:#ffffffcc;
}

@media (max-width: 980px){
  .media-card img{ height:240px; }
}