/* fitnessvarna.com — static site stylesheet
   Palette: near-black background, off-white text, signature red from the logo. */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --panel: #19191c;
  --panel-2: #202024;
  --rule: #2b2b30;
  --ink: #f3f1ed;
  --muted: #a8a6a1;
  --red: #dc1f26;
  --red-2: #b4161c;
  --red-soft: rgba(220, 31, 38, 0.14);
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --gutter: 16px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }
strong { color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
  color: #fff;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
.eyebrow {
  font-family: var(--head);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 52px; height: 52px; }
.brand-text { font-family: var(--head); text-transform: uppercase; line-height: 1.05; }
.brand-text small { display: block; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--red); }
.brand-text span { font-size: 1.05rem; letter-spacing: 0.06em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem;
  color: var(--muted); padding: 0.4rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
.nav .btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; border-bottom: 0; color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule); color: #fff;
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer; font-size: 1.3rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 0.8rem; justify-content: center; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: #000 url("/images/bg-gym.jpg") center / cover no-repeat;
  padding: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.85) 60%, var(--bg) 100%);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: end;
  min-height: 560px; padding-top: 4rem;
}
.hero-copy { padding-bottom: 4rem; }
.hero-copy h1 span { color: var(--red); }
.hero-figure { position: relative; align-self: end; }
.hero-figure img {
  width: min(100%, 460px); margin-inline: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.hero-figure.hero-figure-cut img {
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.hero-badge {
  position: absolute; left: 0; bottom: 3rem;
  background: rgba(11, 11, 12, 0.85); border: 1px solid var(--rule); border-left: 3px solid var(--red);
  padding: 0.6rem 0.9rem; font-family: var(--head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem;
  line-height: 1.3;
}
.hero-badge small { display: block; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.15em; }

.hero-simple { min-height: 0; }
.hero-simple .wrap { min-height: 0; grid-template-columns: 1fr; padding: 4rem 0 3rem; }
.hero-simple .hero-copy { padding-bottom: 0; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 3rem; }
  .hero-copy { padding-bottom: 1rem; order: 1; }
  .hero-figure { order: 2; }
  .hero-figure img { width: min(100%, 340px); }
  .hero-badge { position: static; display: inline-block; margin-top: 1rem; }
}

/* Trust strip */
.strip { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.4rem 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip div { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; }
.strip div small { display: block; color: var(--red); font-size: 0.7rem; letter-spacing: 0.18em; }
@media (max-width: 860px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }

/* Cards */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.6rem; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.card h3 { margin-top: 0.2rem; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--head); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--red); }

/* Trainers */
.trainer {
  display: grid; grid-template-columns: 200px 1fr; gap: 1.4rem; align-items: center;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.trainer img { width: 100%; height: 100%; object-fit: cover; object-position: top; background: #000; }
.trainer-body { padding: 1.4rem 1.4rem 1.4rem 0; }
.trainer-body h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 0.2rem; }
.trainer-body .role { color: var(--red); font-family: var(--head); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.8rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin: 0.8rem 0 1rem; padding: 0; list-style: none; }
.contact-links a { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; font-weight: 500; }
.contact-links svg { width: 18px; height: 18px; fill: var(--red); flex: none; }
.contact-links a:hover svg { fill: #fff; }
@media (max-width: 600px) {
  .trainer { grid-template-columns: 1fr; }
  .trainer img { height: 300px; }
  .trainer-body { padding: 0 1.4rem 1.4rem; }
}

/* Testimonials */
.quote {
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.quote blockquote { margin: 0; color: var(--ink); font-size: 1rem; }
.quote blockquote::before { content: "\201E"; display: block; color: var(--red); font-family: Georgia, serif; font-size: 2.8rem; line-height: 0.5; margin-bottom: 0.6rem; }
.quote footer { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rule); }
.quote footer b { display: block; color: #fff; font-family: var(--head); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.95rem; }
.quote footer small { color: var(--muted); }
.stars { color: var(--red); letter-spacing: 0.1em; font-size: 0.9rem; }

/* Pricing */
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--rule); margin: 0;
}
.price-list li:last-child { border-bottom: 0; }
.price-list li span { color: var(--ink); }
.price-list li small { display: block; color: var(--muted); font-size: 0.85rem; }
.price { font-family: var(--head); font-size: 1.5rem; color: #fff; white-space: nowrap; }
.price em { font-style: normal; font-size: 0.9rem; color: var(--muted); }
.callout {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  background: var(--red-soft); border: 1px solid rgba(220, 31, 38, 0.4); border-radius: var(--radius); padding: 1.2rem 1.5rem;
}
.callout strong { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.2rem; }

/* Achievements timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 1.1rem 1.4rem; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--bg); }
.timeline .year { font-family: var(--head); color: var(--red); letter-spacing: 0.1em; font-size: 0.9rem; margin-right: 0.5rem; }
.timeline.on-panel li::before { box-shadow: 0 0 0 4px var(--panel); }

/* Two-column prose with figure */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.6rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before { content: "✓"; color: var(--red); position: absolute; left: 0; font-weight: 700; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
form { display: grid; gap: 1rem; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--muted); }
label > span:first-child { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
input, textarea {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; color: #fff;
  background: var(--panel-2); border: 1px solid var(--rule); border-radius: 10px;
}
input:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { resize: vertical; min-height: 130px; }
fieldset { border: 1px solid var(--rule); border-radius: 10px; padding: 0.8rem 1rem 0.5rem; margin: 0; }
legend { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--muted); padding: 0 0.4rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-size: 0.95rem; }
.choices input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.status { margin: 0; font-size: 0.95rem; color: var(--muted); }
.status.ok { color: #7bd88f; }
.status.err { color: #ff6b6b; }
.req { color: var(--red); }

.contact-side h3 { text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.08em; margin-top: 1.4rem; }
.contact-side h3:first-child { margin-top: 0; }
.contact-side .big { font-family: var(--head); font-size: 1.6rem; color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--bg-2); padding: 3rem 0 1.5rem; color: var(--muted); font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--red); }
.site-footer .bottom { border-top: 1px solid var(--rule); padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; }

/* Utilities */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
