:root {
  --bg: #0d1220;
  --bg-2: #151827;
  --panel: #20202c;
  --panel-soft: rgba(255, 255, 255, 0.06);
  --text: #f7f7fb;
  --muted: #c8cce0;
  --orange: #e9ad43;
  --cyan: #86d5e0;
  --white-band: #f3f4f8;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(134, 213, 224, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 16%, rgba(233, 173, 67, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem clamp(1rem, 3.5vw, 3.2rem);
  background: rgba(17, 18, 31, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 128px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.45vw, 1.25rem);
  color: var(--orange);
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  font-weight: 800;
}

.site-nav a,
.nav-dropdown-trigger {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--white-band);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  z-index: 30;
  display: none;
  width: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  border-radius: 6px;
  padding: 0.78rem 0.85rem;
  color: #151827;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
}

.nav-dropdown-menu a:hover {
  background: rgba(134, 213, 224, 0.22);
  color: #151827;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  background: var(--panel-soft);
  color: var(--text);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.8rem, 8vw, 6.5rem) 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(100vh - 76px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  opacity: 0.26;
  border-radius: 32px;
  transform: rotate(-42deg);
  transform-origin: center;
}

.hero::before {
  left: -10rem;
  top: 6rem;
  width: 23rem;
  height: 4.4rem;
  background: var(--white-band);
}

.hero::after {
  left: -6rem;
  top: 18rem;
  width: 26rem;
  height: 4.4rem;
  background: var(--orange);
  box-shadow: -8rem 6.8rem 0 var(--cyan);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  letter-spacing: 0.18em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.55rem, 5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.78);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
}

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

.hero-text {
  max-width: 720px;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: #eef2ff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 7px;
  padding: 0.82rem 1.05rem;
  font-weight: 800;
}

.button.primary {
  background: var(--orange);
  color: #11121f;
}

.button.ghost {
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  max-width: 820px;
}

.hero-stats span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.45;
}

.hero-stats strong {
  display: block;
  color: var(--orange);
}

.hero-media {
  position: relative;
  padding: 3.3rem 0 3.5rem;
}

.hero-media > img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 8px;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.45));
}

.photo-tagline {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 92%);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  background: rgba(13, 18, 32, 0.88);
  box-shadow: var(--shadow);
  color: var(--white-band);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.photo-tagline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: var(--orange);
}

.hero-name {
  position: absolute;
  left: 50%;
  bottom: 0.3rem;
  transform: translateX(-50%);
  width: 100%;
  color: var(--orange);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 950;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.78);
}

.rafael-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.rafael-photo {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.18), transparent 12rem),
    linear-gradient(145deg, rgba(134, 213, 224, 0.12), rgba(233, 173, 67, 0.12)),
    #101522;
  box-shadow: var(--shadow);
}

.rafael-photo::before {
  content: "";
  position: absolute;
  inset: 0 auto auto -4rem;
  width: 14rem;
  height: 42rem;
  background: linear-gradient(var(--white-band) 0 27%, var(--orange) 27% 62%, var(--cyan) 62% 100%);
  transform: rotate(-42deg);
  opacity: 0.95;
}

.rafael-photo img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 96%;
  object-fit: contain;
  object-position: bottom center;
}

.rafael-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(233, 173, 67, 0.08));
}

.rafael-content h2 span {
  color: var(--orange);
}

.rafael-content ul,
.service-detail ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.highlight-list li {
  color: var(--orange);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr minmax(420px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.service-selector,
.academy-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.service-selector {
  padding: 1.2rem;
  max-width: 780px;
  justify-self: end;
  width: 100%;
}

.service-selector label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font-weight: 900;
}

.service-selector select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  padding: 0.75rem 3.4rem 0.75rem 1rem;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #0d1220 50%) calc(100% - 24px) 50% / 8px 8px no-repeat,
    linear-gradient(135deg, #0d1220 50%, transparent 50%) calc(100% - 17px) 50% / 8px 8px no-repeat,
    linear-gradient(to left, rgba(134, 213, 224, 0.22), rgba(134, 213, 224, 0.22)) 100% 0 / 54px 100% no-repeat,
    #ffffff;
  color: #0d1220;
  font: inherit;
  font-size: 1.18rem;
  font-weight: 900;
}

.service-selector select option {
  font-size: 1.12rem;
  font-weight: 900;
}

.service-detail {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: rgba(13, 18, 32, 0.72);
}

.current-courses {
  width: min(1260px, calc(100% - 2rem));
}

.current-course-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.current-course-gallery article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.current-course-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service-detail span {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--orange);
  font-weight: 900;
}

.service-detail p,
.academy-panel span {
  margin: 0;
}

.service-detail p {
  margin-bottom: 1rem;
}

.academy {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.academy-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.academy-panel div {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.academy-panel div:last-child {
  border-bottom: 0;
}

.academy-panel strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--cyan);
}

.academy-panel span {
  color: var(--muted);
  line-height: 1.5;
}

.proof {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 0.8rem;
}

.photo-mosaic img,
.training-gallery img,
.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.photo-mosaic img:first-child {
  grid-column: span 4;
  grid-row: span 2;
}

.photo-mosaic img:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-mosaic img:nth-child(3),
.photo-mosaic img:nth-child(4) {
  grid-column: span 3;
}

.clients {
  width: min(1280px, calc(100% - 2rem));
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.logo-wall img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem;
  background: #ffffff;
}

.art-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.art-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: zoom-in;
}

.art-card img {
  aspect-ratio: 4 / 5;
}

.art-card span {
  display: block;
  padding: 0.85rem 0.95rem;
  color: var(--muted);
  font-weight: 800;
}

.training-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.training-gallery img {
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.more-info {
  width: min(1320px, calc(100% - 2rem));
}

.more-info .button {
  margin-top: 0.5rem;
}

.landing-frame {
  height: min(860px, 82vh);
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.landing-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
}

.contact-card a {
  display: block;
  border-radius: 7px;
  padding: 0.9rem 1rem;
  background: rgba(99, 212, 233, 0.08);
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--cyan);
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 4rem 1rem 1rem;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(980px, 96vw);
  max-height: 84vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.7rem 0.9rem;
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 68px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.8rem;
    background: var(--bg-2);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.75rem;
  }

  .nav-dropdown-menu {
    position: static;
    display: grid;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .hero,
  .split,
  .academy,
  .proof,
  .contact,
  .rafael-section {
    grid-template-columns: 1fr;
  }

  .service-selector {
    justify-self: stretch;
    max-width: none;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 520px;
    margin-inline: auto;
  }

  .current-course-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 98px;
  }

  .section {
    width: min(100% - 1rem, 1180px);
  }

  .hero::before,
  .hero::after {
    opacity: 0.45;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-mosaic img,
  .photo-mosaic img:first-child,
  .photo-mosaic img:nth-child(2),
  .photo-mosaic img:nth-child(3),
  .photo-mosaic img:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .quote-card {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
