/* ============================================================
   Coach Ithihax — Brand Website
   Theme: Dark, premium, athletic. Charcoal + Premium Gold.
   ============================================================ */

:root {
  --bg:        #0d0d0f;
  --bg-soft:   #16161a;
  --bg-card:   #1c1c21;
  --line:      #2a2a31;
  --text:      #f2f2f0;
  --muted:     #a3a3ad;
  --gold:      #e8b339;
  --gold-bright: #ffd45e;
  --gold-deep: #c8942a;
  --whatsapp:  #25d366;
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .nav__brand {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.accent { color: var(--gold); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.85rem;
  --pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1207;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 8px 24px -8px rgba(232, 179, 57, 0.5);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(232, 179, 57, 0.65); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

.btn--lg { --pad-y: 1.1rem; --pad-x: 2.1rem; font-size: 1.02rem; }
.btn--sm { --pad-y: 0.55rem; --pad-x: 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; margin-top: auto; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; filter: none; }

.btn--whatsapp { background: linear-gradient(135deg, #2fe874, #1aa84f); color: #04230f; box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.55); }
.btn--whatsapp:hover { box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.7); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.is-stuck {
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.nav__brand span { color: var(--gold); }
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 1.8rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 1.25rem 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(232, 179, 57, 0.16), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(232, 179, 57, 0.06), transparent 55%),
    linear-gradient(180deg, #101013 0%, #0d0d0f 100%);
  z-index: -2;
}
.hero__bg::after {
  /* athletic silhouette gradient suggestion on the right */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, var(--bg) 38%, transparent 80%),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 0h1v1H0z' fill='%23ffffff08'/%3E%3C/svg%3E");
  opacity: 0.9;
}
.hero__content {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.hero__title {
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  font-weight: 900;
  margin-bottom: 1.3rem;
  max-width: 16ch;
}
.hero__sub {
  font-size: clamp(1.02rem, 2.4vw, 1.3rem);
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 2.2rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3.2rem;
}
.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
}
.hero__stats span { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }

.hero__scroll {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Section scaffolding ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}
.section__head { max-width: 56ch; margin: 0 auto 3rem; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 0.8rem; }
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(232,179,57,0.18), transparent 55%),
    url("photo.jpg") center top / 120% no-repeat,
    linear-gradient(45deg, #232329, #14141a);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.about__badge {
  position: absolute;
  bottom: -1rem; right: -0.5rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1207;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.6);
}
.about__badge strong { font-family: "Montserrat", sans-serif; font-size: 1.7rem; line-height: 1; }
.about__badge span { font-size: 0.72rem; font-weight: 600; }
.about__copy h2 { margin-bottom: 1.2rem; }
.about__copy p { color: var(--muted); margin-bottom: 1rem; }
.about__copy p strong { color: var(--text); }

.checklist { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
  font-size: 0.96rem;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem;
  display: grid; place-items: center;
  background: rgba(232, 179, 57, 0.15);
  color: var(--gold);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- Results / Carousel ---------- */
.results { padding-top: 4rem; }
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.carousel__track {
  display: flex;
  gap: 1.3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.2rem 1.2rem;
  scrollbar-width: none;
  flex: 1;
}
.carousel__track::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 86%;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.card:hover { border-color: rgba(232, 179, 57, 0.4); }

.card__visual { aspect-ratio: 16 / 11; position: relative; overflow: hidden; background: #101015; }
.card__visual--split { display: flex; }
.split { flex: 1; position: relative; display: grid; place-items: end start; }
.split--before { background: linear-gradient(160deg, #2a2a30, #161619); }
.split--after  { background: linear-gradient(160deg, rgba(232,179,57,0.28), #1c1c21); border-left: 2px solid var(--gold); }
.split__tag {
  margin: 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0,0,0,0.55);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.video-embed {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 45%, rgba(232,179,57,0.12), transparent 60%),
    linear-gradient(160deg, #20202a, #101014);
}
.video-embed__play {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1207;
  font-size: 1.4rem;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(232,179,57,0.55);
}
.video-embed:hover .video-embed__play { transform: scale(1.08); }
.card__age {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--line);
  font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.card__body { padding: 1.3rem 1.4rem 1.5rem; }
.card__profile {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold); font-weight: 600;
}
.card__body h3 { font-size: 1.18rem; margin: 0.45rem 0 0.6rem; }
.card__body p { color: var(--muted); font-size: 0.94rem; }

.carousel__arrow {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.carousel__arrow:hover { border-color: var(--gold); color: var(--gold); }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.carousel__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.carousel__dots button.is-active { background: var(--gold); width: 22px; border-radius: 999px; }

/* ---------- Pricing ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem;
  max-width: 560px;
  margin: 0 auto 2.8rem;
}
.tab {
  flex: 1;
  min-width: 140px;
  padding: 0.7rem 1rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s;
}
.tab.is-active { background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: #1a1207; }

.plans {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1.3rem;
}
.plans.is-active { display: grid; animation: fade 0.4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(232,179,57,0.35); }
.plan--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(232,179,57,0.08), var(--bg-card) 40%);
  box-shadow: 0 24px 60px -30px rgba(232,179,57,0.5);
}
.plan__tag {
  position: absolute; top: -0.8rem; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1207;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 1.2rem; margin-bottom: 0.7rem; }
.plan__price {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1.3rem;
  line-height: 1;
}
.plan__price span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-top: 0.4rem; }
.plan__features { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.plan__features li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.92rem;
  color: var(--text);
}
.plan__features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.05rem;
  color: var(--gold); font-weight: 700;
}
.plan__features em { color: var(--muted); font-style: italic; }

/* ---------- Final CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 5rem 1.25rem;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(232,179,57,0.14), transparent 65%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 3.5rem 1.25rem 2rem; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}
.footer__brand p { color: var(--muted); margin-top: 0.6rem; max-width: 34ch; font-size: 0.92rem; }
.footer__meta { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__social { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; transition: color 0.2s; }
.footer__social:hover { color: var(--gold); }
.footer__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; transition: color 0.2s; }
.footer__phone:hover { color: var(--gold); }
.footer__loc { color: var(--muted); font-size: 0.9rem; }
.footer__copy { text-align: center; color: #5a5a64; font-size: 0.82rem; margin-top: 1.6rem; }

/* Social glyphs */
.ig-icon, .wa-icon { width: 20px; height: 20px; display: inline-block; flex: 0 0 auto; }
.ig-icon {
  border: 2px solid currentColor; border-radius: 6px; position: relative;
}
.ig-icon::before { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; }
.ig-icon::after { content: ""; position: absolute; top: 1px; right: 1px; width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.wa-icon {
  background: currentColor;
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm5.8 14.18c-.24.68-1.4 1.3-1.94 1.38-.5.07-1.13.1-1.82-.11-.42-.13-.96-.31-1.65-.61-2.9-1.25-4.8-4.17-4.94-4.37-.15-.2-1.19-1.58-1.19-3.01s.75-2.14 1.02-2.43c.27-.29.59-.37.79-.37.2 0 .39.002.56.01.18.008.42-.07.66.5.24.58.82 2 .89 2.15.07.15.12.32.02.51-.1.2-.15.32-.29.49-.15.17-.31.39-.44.52-.15.15-.3.31-.13.6.17.29.76 1.25 1.63 2.02 1.12.99 2.06 1.3 2.35 1.45.29.15.46.12.63-.07.17-.2.73-.85.92-1.14.2-.29.39-.24.66-.15.27.1 1.71.81 2 .96.29.15.49.22.56.34.07.12.07.68-.17 1.36z'/%3E%3C/svg%3E");
          mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm5.8 14.18c-.24.68-1.4 1.3-1.94 1.38-.5.07-1.13.1-1.82-.11-.42-.13-.96-.31-1.65-.61-2.9-1.25-4.8-4.17-4.94-4.37-.15-.2-1.19-1.58-1.19-3.01s.75-2.14 1.02-2.43c.27-.29.59-.37.79-.37.2 0 .39.002.56.01.18.008.42-.07.66.5.24.58.82 2 .89 2.15.07.15.12.32.02.51-.1.2-.15.32-.29.49-.15.17-.31.39-.44.52-.15.15-.3.31-.13.6.17.29.76 1.25 1.63 2.02 1.12.99 2.06 1.3 2.35 1.45.29.15.46.12.63-.07.17-.2.73-.85.92-1.14.2-.29.39-.24.66-.15.27.1 1.71.81 2 .96.29.15.49.22.56.34.07.12.07.68-.17 1.36z'/%3E%3C/svg%3E");
}

/* ---------- Sticky WhatsApp ---------- */
.sticky-wa {
  position: fixed;
  bottom: 1.1rem; right: 1.1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #2fe874, #1aa84f);
  color: #04230f;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: pulse 2.6s ease-in-out infinite;
}
.sticky-wa:hover { transform: translateY(-2px) scale(1.02); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6); }
  50% { box-shadow: 0 12px 38px -6px rgba(37,211,102,0.9); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — desktop / tablet upgrades (mobile-first base)
   ============================================================ */
@media (min-width: 720px) {
  .card { flex-basis: 48%; }
  .carousel__arrow { display: grid; }
  .about { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .sticky-wa { bottom: 1.5rem; right: 1.5rem; }
}

@media (min-width: 1000px) {
  .card { flex-basis: 31.5%; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero__stats { gap: 1.6rem; }
  .hero__stats strong { font-size: 1.4rem; }
  .section { padding: 4rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
