/* ============================================================
   Krav With Pav — design system
   Aesthetic: editorial-meets-combat. Black + electric yellow,
   confident type, generous whitespace, just enough motion.
   ============================================================ */

:root {
  /* Palette */
  --bg:        #f5f3ee;        /* warm off-white */
  --bg-soft:   #ebe7df;
  --ink:       #0c0c0c;        /* near-black */
  --ink-soft:  #2a2a2a;
  --muted:     #6b6b6b;
  --rule:      #1a1a1a14;
  --accent:    #ffd400;        /* electric Krav yellow */
  --accent-deep: #f0b800;
  --on-dark:   #f5f3ee;
  --paper:     #ffffff;

  /* Type */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-serif:   'Fraunces', 'Georgia', serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--ink); }
.section--accent ::selection { background: var(--ink); color: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3 { margin: 0; font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: currentColor;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--on-accent { color: var(--ink); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic;
  color: var(--accent-deep);
}
.section-title--big  { font-size: clamp(40px, 6.5vw, 80px); }
.section-title--xl   { font-size: clamp(48px, 8vw, 110px); line-height: 0.95; }
.section-title--sm   { font-size: clamp(28px, 3.5vw, 52px); }

.hl {
  background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
  padding: 0 4px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--ink);
  color: var(--on-dark);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--on-dark);
}
.btn--small {
  padding: 10px 16px;
  font-size: 13px;
}
.btn--block { display: flex; width: 100%; }
.btn--big {
  padding: 18px 28px;
  font-size: 15px;
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav__logo-img {
  width: 44px; height: 44px;
  display: block;
  border-radius: 50%;
}
.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 0;
  overflow: hidden;
}
.hero::before {
  /* big background K */
  content: "K";
  position: absolute;
  top: -10%;
  right: -8%;
  font-family: var(--font-display);
  font-size: clamp(400px, 60vw, 900px);
  line-height: 1;
  color: var(--bg-soft);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
}
.hero__copy { animation: fadeUp .8s var(--ease) both; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 12px 0 24px;
}
.hero__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__media {
  position: relative;
  animation: fadeUp 1s var(--ease) .15s both;
}
.hero__photo-frame {
  position: relative;
  background: var(--accent);
  border-radius: 6px;
  padding: 14px;
  transform: rotate(2deg);
  box-shadow: 12px 12px 0 var(--ink);
  transition: transform .5s var(--ease);
}
.hero__photo-frame:hover { transform: rotate(0deg) translateY(-4px); }
.hero__photo {
  border-radius: 4px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--ink);
}
.hero__sticker {
  position: absolute;
  bottom: -28px; left: -28px;
  width: 124px; height: 124px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1;
  padding: 10px;
  transform: rotate(-12deg);
  animation: pulse 4s var(--ease) infinite;
}
.hero__sticker span { display: block; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 48px; }
  .hero__media { max-width: 420px; margin: 0 auto; }
}

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--accent);
  overflow: hidden;
  border-block: 1px solid var(--ink);
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
}
.marquee__track {
  display: flex; gap: 36px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__track span {
  display: inline-block;
}

/* ============================================================
   Section primitives
   ============================================================ */

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section--dark .section-title em { color: var(--accent); }
.section--dark .eyebrow { color: var(--muted); }

.section--accent {
  background: var(--accent);
  color: var(--ink);
}
.section--accent .section-title em { color: var(--paper); -webkit-text-stroke: 1px var(--ink); }

.split {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  padding: 56px 0;
}
.split--top-rule { border-top: 1px solid #ffffff20; }
.section--dark .split__body p { color: #d4d4d4; }
.split__body p { font-size: 17px; margin: 0 0 16px; }
.split__body p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Qualifications & trust
   ============================================================ */

.qual-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media (max-width: 600px) { .qual-grid { grid-template-columns: 1fr; } }
.qual {
  padding: 28px;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: var(--radius);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.qual:hover { transform: translateY(-4px); background: #ffffff10; }
.qual__icon {
  margin-bottom: 20px;
  height: 56px;
  display: flex;
  align-items: center;
}
.qual__icon img { height: 56px; width: auto; display: block; }
.qual h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--on-dark);
  margin-bottom: 10px;
}
.qual p { color: #c8c8c8; margin: 0; }

.trust {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .trust { grid-template-columns: 1fr; } }
.trust li {
  padding: 24px;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 130px;
}
.trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.trust__logo {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
  align-self: flex-start;
}
.trust__logo--padded {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  height: 40px;
}
.trust__logo--square {
  height: 56px;
  width: 56px;
  border-radius: 4px;
}
.trust span { color: #c8c8c8; font-size: 14px; }

/* ============================================================
   Testimonials
   ============================================================ */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  margin: 0;
  padding: 32px;
  background: var(--paper);
  border-radius: 6px;
  border: 1px solid var(--rule);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink);
}
.quote::before {
  content: "“";
  position: absolute;
  top: -8px; left: 20px;
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
}
.quote blockquote { margin: 0 0 20px; padding: 0; }
.quote blockquote p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.45;
  margin: 0;
}
.quote blockquote em {
  background: var(--accent);
  font-style: normal;
  padding: 1px 4px;
}
.quote figcaption { display: flex; flex-direction: column; gap: 4px; }
.quote__stars { color: var(--accent-deep); font-size: 14px; }
.quote__by { font-size: 13px; color: var(--muted); }

/* ============================================================
   Why Krav Maga (accent section)
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-top: 32px;
}
.why-body p { font-size: 17px; margin: 0 0 16px; }
.why-body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   Pricing
   ============================================================ */

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 1000px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .pricing { grid-template-columns: 1fr; } }

.price-card {
  background: var(--paper);
  padding: 28px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  box-shadow: 8px 8px 0 var(--accent);
}
.price-card--featured::before {
  content: "Best to start";
  position: absolute;
  top: -12px; right: 16px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.price-card__head h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.price-card__head p { margin: 0; font-size: 13px; color: var(--muted); }
.price-card--featured .price-card__head p { color: #b8b8b8; }
.price-card__price {
  margin: 0;
  display: flex; align-items: baseline; gap: 10px;
}
.price-card__strike {
  font-family: var(--font-serif);
  text-decoration: line-through;
  font-size: 20px;
  color: var(--muted);
}
.price-card--featured .price-card__strike { color: #888; }
.price-card__big {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.price-card--featured .price-card__big { color: var(--accent); }
.price-card__note { font-size: 13px; color: var(--muted); margin: 0; flex: 1; }
.price-card--featured .price-card__note { color: #c8c8c8; }
.price-card--featured .btn--primary {
  background: var(--accent); color: var(--ink); border-color: var(--accent);
}
.price-card--featured .btn--primary:hover {
  background: var(--on-dark); color: var(--ink); border-color: var(--on-dark);
  box-shadow: 6px 6px 0 var(--accent);
}
.price-card--mini { background: var(--bg-soft); border-style: dashed; }

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  margin-top: 56px;
  max-width: 820px;
}
.faq details {
  border-top: 1px solid #ffffff20;
  padding: 24px 0;
  cursor: pointer;
}
.faq details:last-child { border-bottom: 1px solid #ffffff20; }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--on-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  transition: transform .3s var(--ease);
  margin-left: 16px;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 16px 0 0;
  color: #c8c8c8;
  max-width: 70ch;
  animation: fadeUp .4s var(--ease);
}

/* ============================================================
   Booking
   ============================================================ */

.section--book {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.section--book::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.book__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .book__inner { grid-template-columns: 1fr; gap: 40px; } }

.book__lede { font-size: 18px; margin: 24px 0; }
.book__bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.book__bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}
.book__bullets li::before {
  content: "✓";
  position: absolute; left: 0;
  width: 20px; height: 20px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  top: 2px;
}

.book__form {
  background: var(--paper);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.15);
  display: flex; flex-direction: column; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 80px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.book__small {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
.book__confirm {
  padding: 48px 32px;
  text-align: center;
}
.book__confirm p:first-child {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent-deep);
  margin: 0 0 12px;
}
.book__confirm p:last-child {
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   KMUR section
   ============================================================ */

.kmur {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px;
  background: var(--bg-soft);
  border-radius: 8px;
}
@media (max-width: 760px) { .kmur { grid-template-columns: 1fr; padding: 40px; } }
.kmur__copy p { margin: 16px 0 24px; color: var(--ink-soft); }
.link-arrow {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: gap .2s var(--ease);
}
.link-arrow:hover { border-bottom-color: var(--ink); }
.kmur__logo img {
  max-width: 200px;
  margin: 0 auto;
  display: block;
}

/* ============================================================
   Instagram CTA
   ============================================================ */

.section--ig {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,212,0,0.15), transparent 50%),
    var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.section--ig .section-title em { color: var(--accent); }
.ig__title { margin: 0 auto 16px; }
.ig__sub { color: #c8c8c8; font-size: 18px; margin: 0 0 32px; }
.ig__btn { gap: 12px; }
.ig__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding: 48px 0 32px;
  background: var(--ink);
  color: #888;
  font-size: 13px;
}
.footer__seo {
  max-width: 900px;
  margin: 0 auto 24px;
  text-align: center;
  line-height: 1.7;
}
.footer__copy {
  text-align: center;
  margin: 0;
  border-top: 1px solid #ffffff14;
  padding-top: 24px;
}

/* ============================================================
   Animations
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(-8deg) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
