:root {
  --black: #030303;
  --panel: #0c0b0b;
  --panel-soft: #151313;
  --ink: #f5f5f2;
  --muted: #aaa5a5;
  --faint: #867b7b;
  --red: #9f101d;
  --red-bright: #c21b2b;
  --red-dark: #4c070d;
  --red-soft: rgba(159, 16, 29, 0.22);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --white: #ffffff;
  --green: #24a35a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: Coolvetica, Loretta, Loretto, Lorrreto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(159, 16, 29, 0.2), transparent 340px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 360px),
    var(--black);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 18px 24px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 3, 3, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.logo-slot {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 2px;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links button,
.footer-links button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links button:hover,
.nav-links button.active,
.footer-links button:hover {
  background: var(--red-soft);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--white);
}

.page {
  display: none;
  min-height: 80vh;
}

.page.is-active {
  display: block;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 148px 24px 78px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(41, 4, 8, 0.78) 44%, rgba(0, 0, 0, 0.24)),
    url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=2200&q=88") center/cover;
  filter: grayscale(0.92) contrast(1.08);
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: #d94b58;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #c44752;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 860px;
  font-size: clamp(64px, 12vw, 156px);
}

h2 {
  font-size: clamp(38px, 5vw, 76px);
}

h3 {
  font-size: 28px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-btn,
.secondary-btn,
.service-card button,
.course-card button,
.whatsapp-btn,
.instagram-btn {
  min-height: 48px;
  border-radius: 2px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn,
.service-card button,
.course-card button {
  border: 1px solid var(--red-bright);
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: var(--white);
}

.secondary-btn,
.instagram-btn {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.dark-btn {
  color: var(--white);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 0;
}

.stats-band div {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  color: #f2d7d9;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.image-row {
  width: min(1200px, calc(100% - 48px));
  margin: 24px auto 96px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.image-tile {
  min-height: 330px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.88) contrast(1.06);
}

.image-tile-one {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1600&q=88");
}

.image-tile-two {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("https://images.unsplash.com/photo-1595476108010-b4d1f102b1b1?auto=format&fit=crop&w=1200&q=88");
}

.image-tile-three {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("https://images.unsplash.com/photo-1516975080664-ed2fc6a32937?auto=format&fit=crop&w=1200&q=88");
}

.section-grid,
.cards-section,
.about-layout,
.booking-shell,
.contact-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 96px auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article,
.service-card,
.course-card,
.contact-card,
.booking-form {
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px;
  box-shadow: none;
}

.feature-list span {
  color: #c44752;
  font-size: 12px;
  font-weight: 900;
}

.inner-hero {
  min-height: 52vh;
  padding: 158px 24px 74px;
  display: grid;
  align-items: end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.inner-hero > * {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.inner-hero h2 {
  max-width: 920px;
}

.service-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(78, 7, 14, 0.58)), url("https://images.unsplash.com/photo-1522337660859-02fbefca4702?auto=format&fit=crop&w=2200&q=88");
}

.academy-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(78, 7, 14, 0.58)), url("https://images.unsplash.com/photo-1595475884562-073c30d45670?auto=format&fit=crop&w=2200&q=88");
}

.cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.course-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card p,
.course-card p {
  flex: 1;
}

.course-card.highlight {
  background: linear-gradient(180deg, #b71727, #6c0b14);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.course-card.highlight h3 {
  color: var(--white);
}

.course-card.highlight p,
.course-card.highlight li {
  color: rgba(255, 255, 255, 0.82);
}

.course-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.about-layout,
.booking-shell,
.contact-shell {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 58px;
  align-items: center;
  padding-top: 74px;
}

.portrait-block {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1580618672591-eb180b1a973f?auto=format&fit=crop&w=1400&q=88") center/cover;
  display: flex;
  align-items: end;
  padding: 22px;
  box-shadow: var(--shadow);
  filter: grayscale(0.84) contrast(1.05);
}

.portrait-placeholder {
  width: 100%;
  padding: 18px;
  background: rgba(76, 7, 13, 0.78);
  border: 1px solid rgba(194, 27, 43, 0.58);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
}

.booking-shell {
  grid-template-columns: 0.8fr 1.2fr;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-form label:last-of-type {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px;
  background: #070606;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(194, 27, 43, 0.72);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.booking-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.contact-card {
  align-self: stretch;
}

.whatsapp-btn,
.instagram-btn {
  gap: 10px;
}

.whatsapp-btn {
  border: 1px solid rgba(36, 163, 90, 0.7);
  background: var(--green);
  color: white;
  padding: 8px 12px;
}

.instagram-btn {
  border: 1px solid var(--line-strong);
  background: rgba(159, 16, 29, 0.14);
  color: var(--white);
  padding: 8px 12px;
}

.social-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 16px;
}

input[type="date"] {
  background: #ffffff;
  color: #000000;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.12) opacity(0.9);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px max(24px, calc((100% - 1200px) / 2));
  background: #050303;
  border-top: 1px solid var(--line);
  color: var(--white);
}

.footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 4px;
}

.floating-socials {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.floating-socials a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.float-whatsapp {
  background: var(--green);
}

.float-instagram {
  background: rgba(159, 16, 29, 0.72);
  backdrop-filter: blur(12px);
}

.float-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(5, 3, 3, 0.98);
    border: 1px solid var(--line);
    border-radius: 2px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .stats-band,
  .image-row,
  .section-grid,
  .cards-section,
  .about-layout,
  .booking-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .image-tile {
    min-height: 250px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 10px;
  }

  .logo-slot {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 90vh;
    padding: 124px 18px 56px;
  }

  h1 {
    font-size: clamp(54px, 16vw, 82px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .section-grid,
  .cards-section,
  .about-layout,
  .booking-shell,
  .contact-shell,
  .stats-band,
  .image-row {
    width: calc(100% - 32px);
    margin-top: 58px;
    margin-bottom: 58px;
  }

  .inner-hero {
    min-height: 44vh;
    padding: 128px 18px 48px;
  }

  .feature-list article,
  .service-card,
  .course-card,
  .contact-card,
  .booking-form {
    padding: 22px;
  }

  .about-layout,
  .booking-shell,
  .contact-shell {
    padding-top: 42px;
  }

  .portrait-block {
    min-height: 420px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
