:root {
  --red: #c4161c;
  --red-dark: #9e1015;
  --ink: #262626;
  --char: #2f2f2f;
  --cream: #fbf6f1;
  --paper: #ffffff;
  --blush: #f6e9e3;
  --muted: #6b6461;
  --line: #ece2db;
  --radius: 18px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Kaushan Script", cursive;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.brand img { width: 128px; height: auto; }
.nav { display: none; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--red); }
@media (min-width: 880px) { .nav { display: flex; } .brand img { width: 150px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; white-space: nowrap;
  background: var(--red); color: #fff; border: 2px solid var(--red);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: var(--blush); border-color: var(--blush); color: var(--red-dark); }

/* Hero */
.hero { padding: 36px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } .hero { padding: 64px 0 84px; } }
.script { font-family: var(--script); color: var(--red); font-size: 1.6rem; margin: 0 0 6px; }
.script.light { color: #ffd6d7; }
h1, h2, h3 { color: var(--ink); font-weight: 400; }
h1 { font-family: var(--serif); font-size: clamp(2.4rem, 7.4vw, 4.2rem); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.01em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 54ch; margin: 0 0 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; }
.chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: middle; }

.hero-photo { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.hero-photo::before { content: ""; position: absolute; inset: 8% -6% -4% 10%; border-radius: 40px; background: var(--red); transform: rotate(4deg); z-index: 0; }
.hero-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 32px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.badge {
  position: absolute; z-index: 2; left: -8px; bottom: 26px; padding: 12px 18px; border-radius: 18px;
  background: #fff; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .4); display: grid; line-height: 1.15;
}
.badge span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.badge strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--red); }

/* Strip */
.strip { background: var(--char); }
.strip-row { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .strip-row { grid-template-columns: repeat(4, 1fr); } }
.strip a { display: grid; gap: 2px; padding: 18px 12px; text-align: center; text-decoration: none; color: #fff; border-right: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.strip a b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.strip a span { font-size: .82rem; color: #cfc7c3; }
.strip a:hover b { color: #ff9a9e; }

/* Sections */
.section { padding: 68px 0; }
.alt { background: #fff; }
.dark { background: var(--char); color: #eee; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-lead { color: #cfc7c3; }
.eyebrow { margin: 0 0 8px; color: var(--red); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.dark .eyebrow { color: #ff8a8f; }
h2 { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.1; margin: 0 0 14px; }
.section-lead { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
.section-lead strong { color: var(--red); }
.section-head { display: grid; gap: 4px; margin-bottom: 8px; }
@media (min-width: 860px) { .section-head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; } .section-head .btn { margin-bottom: 28px; } }
.section-head .btn { justify-self: start; margin-bottom: 24px; }

/* Galleries */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button, .reviews button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; display: block; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.05); }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 64px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 2px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-content: center; background: var(--red); color: #fff; font-weight: 700; }
.steps b { font-weight: 600; }
.steps span { color: var(--muted); font-size: .95rem; }

/* Training */
.train-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .train-grid { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; } }
.course { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: #3a3a3a; border: 1px solid rgba(255, 255, 255, .08); }
.course .tag { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8a8f; }
.course h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: #ddd; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.price { margin: auto 0 16px; font-family: var(--serif); font-size: 2.2rem; color: #fff; }
.course-photo { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; min-height: 320px; }
.course-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; position: absolute; inset: 0; }
.course-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }

/* Reviews */
.reviews { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews button { background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -24px rgba(0, 0, 0, .4); }
.reviews img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

/* About */
.about-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .about-row { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.about-row img { width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.about-row p { color: var(--muted); max-width: 58ch; }
.about-row .btn { margin-top: 10px; }

/* Final / contact */
.final { padding: 76px 0 84px; background: var(--red); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final p { color: #ffe3e3; margin: 0 auto 26px; max-width: 52ch; }
.contact-list { list-style: none; padding: 0; margin: 36px auto 0; max-width: 520px; display: grid; gap: 10px; text-align: left; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); flex-wrap: wrap; }
.contact-list b { font-weight: 600; }
.contact-list a, .contact-list span { color: #fff; }

/* Footer */
.foot { padding: 32px 0 110px; background: #fff; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot img { width: 140px; height: auto; }
.small { font-size: .85rem; color: var(--muted); margin: 0; }
@media (min-width: 640px) { .foot { padding-bottom: 32px; } }

/* Sticky bar (phones) */
.bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--char); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); font-size: .92rem;
}
@media (min-width: 640px) { .bar { display: none; } }

/* Photo viewer */
dialog#viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 90vh; }
dialog#viewer::backdrop { background: rgba(0, 0, 0, .82); }
dialog#viewer img { max-width: 100%; max-height: 86vh; border-radius: 14px; margin: 0 auto; }
dialog#viewer .close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bar-up { from { transform: translateY(140%); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .06s; }
  .hero-text > :nth-child(3) { animation-delay: .14s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-text > :nth-child(5) { animation-delay: .34s; }
  .hero-photo { animation: photo-in .9s .12s cubic-bezier(.2, .7, .2, 1) both; }
  .badge { animation: pop .6s .8s cubic-bezier(.2, .8, .3, 1.2) both, float 4.5s 1.5s ease-in-out infinite; }
  .bar { animation: bar-up .6s 1.2s cubic-bezier(.2, .7, .2, 1) both; }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(196, 22, 28, .6); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .gallery img { transition: none; } }
