:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #60646c;
  --paper: #ffffff;
  --soft: #f6f6f4;
  --black: #050505;
  --line: #dedede;
  --accent: #e71919;
  --accent-dark: #a90f0f;
  --steel: #304254;
  --warm: #efebe5;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(188px, 48vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

nav,
.site-footer div {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(92px, 12vw, 150px) clamp(20px, 6vw, 96px) clamp(54px, 8vw, 86px);
  background: var(--black);
  color: white;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8.3vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.15;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.button.secondary:hover {
  background: white;
  color: var(--black);
  border-color: white;
}

.button.secondary.light {
  background: transparent;
  color: var(--accent);
}

.button.secondary.light:hover,
.button.ghost:hover {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

.button.ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 96px);
}

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

.method-section {
  background: var(--paper);
}

.method-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(32px, 5vw, 52px);
  background: var(--line);
  border: 1px solid var(--line);
}

.method-grid article,
.service-grid article {
  min-height: 220px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
}

.method-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.method-grid p,
.service-grid p,
.course-copy p,
.contact-copy p,
.legal-content p {
  color: #3c3f45;
}

.services-section {
  background: var(--black);
  color: white;
}

.services-section .eyebrow {
  color: #ff4242;
}

.services-section .service-grid {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
}

.services-section article {
  background: #121212;
}

.services-section p {
  color: rgba(255, 255, 255, 0.72);
}

.course-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: var(--warm);
}

.course-copy {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 78px);
  background: var(--paper);
}

.contact-copy {
  max-width: 760px;
}

.contact-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 6vw, 96px) 32px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
}

.legal-content {
  max-width: 920px;
  padding: clamp(40px, 7vw, 78px) clamp(20px, 6vw, 96px);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 1.05rem;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

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

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .method-grid,
  .service-grid,
  .course-section {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    width: 100%;
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header,
  .site-footer {
    align-items: center;
    flex-direction: column;
  }

  .site-header {
    gap: 10px;
    padding: 10px 18px 12px;
  }

  .brand {
    width: min(142px, 58vw);
  }

  nav {
    justify-content: center;
    width: 100%;
    gap: 8px 12px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: rgba(246, 246, 244, 0.72);
  }

  nav a {
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding: 54px 20px 56px;
    align-items: start;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12.2vw, 3.35rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.02rem;
  }

  .actions,
  .contact-actions {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    font-size: 0.78rem;
    line-height: 1.22;
    white-space: normal;
  }

  .method-grid article,
  .service-grid article {
    min-height: 180px;
    padding: 28px 24px;
  }

  .method-grid,
  .service-grid {
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
  }

  .section {
    padding-right: 24px;
    padding-left: 24px;
    scroll-margin-top: 156px;
  }

  .course-copy {
    border-radius: 10px;
  }

  .site-footer {
    gap: 14px;
    text-align: center;
  }

  .site-footer div {
    justify-content: center;
  }
}

/* Dark redesign based on the approved WEBEM preview */
:root {
  color-scheme: dark;
  --ink: #f7f7f2;
  --muted: #a8afbd;
  --paper: #08090c;
  --soft: #11141a;
  --black: #050609;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ef3129;
  --accent-dark: #9d211e;
  --warm: #11141a;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --gold: #d6b15f;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

html,
body {
  overflow-x: hidden;
}

body:not(.legal-page) {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 62% 0%, rgba(239, 49, 41, 0.16), transparent 34%),
    linear-gradient(180deg, #090a0e 0%, #050609 46%, #0c0d10 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.site-header {
  background: rgba(5, 6, 9, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  width: auto;
  min-width: 0;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
}

.brand img {
  width: clamp(108px, 11vw, 136px);
}

nav a,
.site-footer a {
  color: #eef1f6;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

nav a:hover,
.site-footer a:hover {
  color: #fff;
}

.nav-cta,
.button {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: 1px solid transparent;
  box-shadow: 0 16px 34px rgba(239, 49, 41, 0.32);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(239, 49, 41, 0.32);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.button.secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
  min-height: min(760px, calc(100svh - 74px));
  padding: 48px clamp(20px, 5vw, 64px) 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 74% 24%, rgba(239, 49, 41, 0.18), transparent 34%),
    linear-gradient(120deg, #130708 0%, #090a0e 48%, #050609 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.hero::before {
  position: absolute;
  top: 88px;
  left: 52px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold), transparent);
  content: "";
  animation: scanLine 5.5s ease-in-out infinite;
}

.hero-copy {
  width: min(690px, 100%);
  animation: heroLift 760ms ease both;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 0.98;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.actions {
  margin-bottom: 28px;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 0;
  margin: 0;
  color: #d9dee8;
  font-weight: 800;
  list-style: none;
}

.proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.proof-list li::before {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  background: linear-gradient(160deg, #12151c 0%, #07080c 54%, #2a1716 100%);
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow);
  isolation: isolate;
  animation: heroLift 880ms 100ms ease both;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 48%, rgba(5, 6, 9, 0.68) 100%),
    linear-gradient(90deg, rgba(239, 49, 41, 0.12), transparent 32%, rgba(214, 177, 95, 0.1));
  pointer-events: none;
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.06);
  transform: translateY(-16%) scale(1.06);
  transform-origin: center top;
  animation: portraitFloat 7s ease-in-out infinite;
}

.experience-card {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 2;
  width: min(260px, calc(100% - 36px));
  padding: 18px;
  color: #fff;
  background: rgba(5, 6, 9, 0.76);
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.experience-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.experience-card span {
  display: block;
  margin-top: 8px;
  color: #e8edf4;
}

.section {
  scroll-margin-top: 96px;
}

.method-section,
.contact-section {
  background: transparent;
}

.method-grid,
.service-grid {
  gap: 20px;
  background: transparent;
  border: 0;
}

.method-grid article,
.service-grid article,
.course-copy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.method-grid p,
.service-grid p,
.course-copy p,
.contact-copy p {
  color: var(--muted);
}

.services-section {
  background:
    linear-gradient(135deg, rgba(239, 49, 41, 0.12), transparent 34%),
    linear-gradient(180deg, #050609 0%, #101016 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-section article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
}

.course-section {
  color: var(--ink);
  background: linear-gradient(180deg, #0c0d12 0%, #07080b 100%);
}

.button.ghost,
.button.secondary.light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.button.ghost:hover,
.button.secondary.light:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.site-footer {
  color: #cdd5e1;
  background: #030406;
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  background: #168a49;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(22, 138, 73, 0.3);
  font-weight: 950;
  text-decoration: none;
  animation: softPulse 2.7s ease-in-out infinite;
}

.nav-toggle {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: translateY(-16%) scale(1.06);
  }

  50% {
    transform: translateY(-16%) scale(1.08);
  }
}

@keyframes heroLift {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.35;
  }

  50% {
    transform: translateX(170px);
    opacity: 1;
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 18px 36px rgba(22, 138, 73, 0.3);
  }

  50% {
    box-shadow: 0 18px 46px rgba(22, 138, 73, 0.52);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background: var(--ink);
  }

  .site-header nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    width: auto;
    padding: 14px;
    background: rgba(5, 6, 9, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-header nav.is-open {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-bottom: 58px;
  }

  .hero-media {
    min-height: 430px;
    border-radius: 22px;
  }

  .hero-media img {
    min-height: 430px;
  }
}

@media (max-width: 680px) {
  body:not(.legal-page) {
    padding-bottom: 82px;
    background-size: 38px 38px, 38px 38px, auto, auto;
  }

  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 10px 16px;
  }

  .brand {
    padding: 5px 8px;
  }

  .brand img {
    width: 112px;
  }

  .hero {
    width: 100%;
    padding: 38px 16px 58px;
  }

  .hero::before {
    top: 68px;
    left: 16px;
    width: 88px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.18rem, 11.2vw, 3.05rem);
    line-height: 1;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .actions,
  .button,
  .nav-cta {
    width: 100%;
  }

  .button {
    min-height: 52px;
    padding: 0 18px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .proof-list {
    display: grid;
    gap: 12px;
    font-size: 0.98rem;
  }

  .hero-media {
    min-height: 330px;
    max-height: 390px;
  }

  .hero-media img {
    min-height: 330px;
    object-position: center top;
    transform: translateY(-16%) scale(1.06);
    animation: none;
  }

  .experience-card {
    right: 12px;
    bottom: 12px;
    width: min(230px, calc(100% - 24px));
    padding: 12px 14px;
    border-radius: 14px;
  }

  .experience-card strong {
    font-size: 1.35rem;
  }

  .experience-card span {
    margin-top: 4px;
    font-size: 0.9rem;
  }

  .section {
    padding: 54px 16px;
    scroll-margin-top: 78px;
  }

  .method-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 0;
  }

  .method-grid article,
  .service-grid article,
  .course-copy {
    min-height: auto;
    padding: 26px;
    border-radius: 22px;
  }

  .course-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-width: 124px;
    min-height: 52px;
    padding: 0 20px;
  }
}

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