@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: optional;
}

html {
  font-synthesis: none;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  color-scheme: light;
  --bg: #f6f1eb;
  --surface: #fbfaf8;
  --text: #1c1b1a;
  --muted: #595653;
  --primary: #1f3c5a;
  --secondary: #324152;
  --accent: #b68b4c;
  --card: #ffffff;
  --border: #e2ded8;
  --shadow: 0 20px 45px rgba(31, 60, 90, 0.12);
  --radius: 16px;
  --chess-opacity: 0.08;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(31, 60, 90, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(31, 60, 90, 0.08) 75%
    ),
    linear-gradient(
      0deg,
      rgba(31, 60, 90, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(31, 60, 90, 0.08) 75%
    );
  background-size: 90px 90px;
  opacity: var(--chess-opacity);
  filter: blur(0.2px);
  pointer-events: none;
  z-index: -3;
}

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

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

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 235, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.brand-mark {
  width: 140px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: block;
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-link {
  display: block;
}

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-toggle {
  font-size: 0.85rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 60, 90, 0.08);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.mobile-menu.is-open {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid rgba(31, 93, 255, 0.3);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 26px rgba(31, 60, 90, 0.25);
}

.btn-secondary {
  background: #fff;
  color: var(--secondary);
  border-color: var(--border);
}

.btn-mini {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
}

.btn-whatsapp {
  background: #25d366;
  color: #0b2a1b;
}

.btn:hover {
  transform: translateY(-1px);
}

.profile-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.profile-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-schedule {
  display: grid;
  gap: 0.4rem;
}

.contact-schedule strong {
  font-size: 0.95rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 0.35rem 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  width: 320px;
  height: 320px;
  opacity: var(--chess-opacity);
  filter: blur(0.4px);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  left: -40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ctext x='50%25' y='50%25' text-anchor='middle' dominant-baseline='central' font-size='160' fill='%231f3c5a' font-family='Segoe UI Symbol, Arial'%3E%E2%99%94%3C/text%3E%3C/svg%3E");
}

.hero::after {
  right: -50px;
  top: 30%;
  width: 280px;
  height: 280px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ctext x='50%25' y='50%25' text-anchor='middle' dominant-baseline='central' font-size='160' fill='%231f3c5a' font-family='Segoe UI Symbol, Arial'%3E%E2%99%9E%3C/text%3E%3C/svg%3E");
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-line {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

section {
  padding: 3rem 0;
  scroll-margin-top: 6rem;
  scroll-margin-bottom: 5rem;
}

section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

section p {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(31, 60, 90, 0.08);
}

.feature-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.list li {
  list-style: none;
  padding-left: 1.5rem;
  position: relative;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.coach-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.coach-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(31, 60, 90, 0.08);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.coach-photo {
  background: #e9e4dd;
  border-radius: calc(var(--radius) - 4px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coach-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.coach-details p + p {
  margin-top: 0.75rem;
}

.testimonials {
  display: grid;
  gap: 1rem;
}

.gallery-section h2 {
  margin-bottom: 0.35rem;
}

.gallery-intro {
  margin-bottom: 1.1rem;
}

.gallery-track-wrapper {
  position: relative;
}

.gallery-controls {
  display: none;
}

.gallery-arrow {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(74%, 74%);
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.5rem 0.35rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery-track::after {
  content: "";
  width: 0.35rem;
}

.gallery-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: calc(100% - 0.35rem);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 241, 235, 0) 0%, rgba(246, 241, 235, 0.95) 100%);
}

.gallery-track::-webkit-scrollbar {
  height: 8px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: rgba(31, 60, 90, 0.3);
  border-radius: 999px;
}

.gallery-item {
  scroll-snap-align: start;
  margin: 0;
}

.gallery-card {
  border: 0;
  background: none;
  width: 100%;
  cursor: zoom-in;
  padding: 0;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(31, 60, 90, 0.1);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

.gallery-hint.is-hidden {
  visibility: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 21, 26, 0.9);
  z-index: 120;
  padding: 1rem;
  display: none;
}

.gallery-lightbox[aria-hidden="false"] {
  display: grid;
  place-items: center;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 13, 17, 0.75);
  color: #fff;
  border-radius: 999px;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.gallery-lightbox-close {
  top: 0.75rem;
  right: 0.75rem;
}

.gallery-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-nav.prev {
  left: 0.75rem;
}

.gallery-lightbox-nav.next {
  right: 0.75rem;
}

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

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
}

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

.contact-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(31, 60, 90, 0.06);
}

.contact-card-info > * + * {
  margin-top: 0.75rem;
}

form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

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

footer {
  padding: 2rem 0 5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

footer p {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0.75rem 0.75rem 1rem;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sticky-cta a {
  font-size: 0.95rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  z-index: 100;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .gallery-controls {
    position: absolute;
    top: -2.75rem;
    right: 0;
    display: inline-flex;
    gap: 0.45rem;
  }

  .gallery-track {
    grid-auto-columns: minmax(35%, 35%);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sticky-cta {
    display: none;
  }
}

@media (min-width: 960px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-track {
    grid-auto-columns: minmax(24%, 24%);
  }
}

@media (max-width: 767px) {
  header .header-actions {
    display: none;
  }

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

  .header-top {
    width: 100%;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }
}
