:root {
  --bg: #0b1220;
  --panel: #111a2e;
  --panel2: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent2: #7dd3fc;
  --border: rgba(148, 163, 184, 0.25);
  --danger: #ef4444;
  --ok: #22c55e;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background: linear-gradient(180deg, #040815 0%, #060b18 35%, #020617 100%);
  color: var(--text);
}

body {
  padding-top: 68px;
}

section[id] {
  scroll-margin-top: 86px;
}

.bgFx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 780px;
  height: 780px;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
  animation: floatBlob 10s ease-in-out infinite;
}

.blob.b1 {
  left: -220px;
  top: -240px;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.95), rgba(56, 189, 248, 0.0) 60%);
}

.blob.b2 {
  right: -260px;
  top: 120px;
  width: 860px;
  height: 860px;
  background: radial-gradient(circle at 40% 40%, rgba(125, 211, 252, 0.75), rgba(125, 211, 252, 0.0) 62%);
  animation-duration: 12s;
}

.blob.b3 {
  left: 10%;
  bottom: -380px;
  width: 980px;
  height: 980px;
  background: radial-gradient(circle at 45% 45%, rgba(34, 197, 94, 0.45), rgba(34, 197, 94, 0.0) 62%);
  animation-duration: 14s;
}

@keyframes floatBlob {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(16px, -18px, 0) scale(1.03); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

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

code { color: var(--accent2); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.55);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0.2px;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 420ms ease, opacity 420ms ease;
}

.logo.sm {
  width: 34px;
  height: 34px;
}

.links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.links a {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.links a:hover {
  color: var(--text);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  text-decoration: none;
}

.hero {
  padding: 54px 0 28px;
}

.heroInner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  background: rgba(17, 26, 46, 0.55);
}

h1 {
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 950;
}



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

.lead {
  margin: 0;
  max-width: 640px;
  color: rgba(229, 231, 235, 0.9);
  line-height: 1.6;
}

.lead strong {
  color: var(--text);
}

.ctaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.35);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.14);
}

.btn.primary {
  box-shadow: 0 14px 50px rgba(56, 189, 248, 0.12);
}

.btn:hover {
  border-color: rgba(56, 189, 248, 0.45);
  text-decoration: none;
}

.mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.miniCard {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(17, 26, 46, 0.7);
}

.miniTitle {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}

.miniValue {
  display: inline-block;
  margin-top: 6px;
  font-weight: 900;
  color: var(--accent2);
}

.heroCard {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  overflow: hidden;
}

.heroCardInner {
  height: 100%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}

.stat {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 14px;
}

.statN {
  font-size: 26px;
  font-weight: 950;
}

.statL {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: 34px 0;
}

.sectionHead {
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
}

h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 950;
}

.muted {
  color: var(--muted);
  margin: 6px 0 0;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contactGrid {
  grid-template-columns: 13fr 7fr;
}

.igLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: transparent;
}

.igLink:hover {
  border: none;
  background: transparent;
}

.igIcon {
  width: 70%;
  height: 100%;
  display: block;
}

.coachGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  align-items: start;
}

.focus {
  margin: 14px 0 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.20);
}

.focusTitle {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.2px;
  color: rgba(229, 231, 235, 0.92);
  margin-bottom: 10px;
}

.focusList {
  margin: 0;
  padding-left: 18px;
  line-height: 1.75;
}

.coachPhotoWrap {
  position: relative;
}

.coachPhotoFrame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.40);
}

.coachPhotoFrame::before {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(500px 260px at 20% 20%, rgba(56, 189, 248, 0.35), transparent 60%),
    radial-gradient(420px 240px at 90% 70%, rgba(34, 197, 94, 0.18), transparent 60%);
  filter: blur(6px);
}

.coachPhoto {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  max-height: 520px;
  object-fit: cover;
  transform: scale(1.02);
}

.langRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.20);
  margin: 12px 0;
}

.langLabel {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.langFlags {
  display: inline-flex;
  gap: 8px;
}

.flagBadge {
  width: 30px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.25);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
  text-indent: -9999px;
  display: inline-block;
}

.flagBadge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.flagBadge[data-flag='it']::before {
  background-image: linear-gradient(90deg, #009246 0 33%, #ffffff 33% 66%, #ce2b37 66% 100%);
}

.flagBadge[data-flag='es']::before {
  background-image: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.flagBadge[data-flag='pt']::before {
  background-image: linear-gradient(90deg, #006600 0 40%, #ff0000 40% 100%);
}

.flagBadge[data-flag='gb']::before {
  background-image:
    linear-gradient(0deg, transparent 0 100%),
    linear-gradient(90deg, #012169 0 100%);
}

.flagBadge[data-flag='gb']::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 44%, #ffffff 44% 56%, transparent 56% 100%),
    linear-gradient(0deg, transparent 0 38%, #ffffff 38% 62%, transparent 62% 100%),
    linear-gradient(90deg, transparent 0 47%, #c8102e 47% 53%, transparent 53% 100%),
    linear-gradient(0deg, transparent 0 44%, #c8102e 44% 56%, transparent 56% 100%),
    linear-gradient(45deg, transparent 0 43%, #ffffff 43% 47%, transparent 47% 100%),
    linear-gradient(-45deg, transparent 0 43%, #ffffff 43% 47%, transparent 47% 100%),
    linear-gradient(45deg, transparent 0 45%, #c8102e 45% 46.5%, transparent 46.5% 100%),
    linear-gradient(-45deg, transparent 0 45%, #c8102e 45% 46.5%, transparent 46.5% 100%);
  opacity: 0.95;
}

.scrollProgress {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 25;
  height: 3px;
  background: rgba(148, 163, 184, 0.10);
}

.scrollBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.95), rgba(34, 197, 94, 0.55));
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.25);
  transform-origin: left;
}

.lbBtn {
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.25);
  color: var(--text);
  font-weight: 950;
  cursor: pointer;
}

.lbBtn:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.fromLeft {
  transform: translate3d(-22px, 8px, 0);
}

.reveal.fromRight {
  transform: translate3d(22px, 8px, 0);
}

.reveal.isInView {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.coachBadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.25);
  font-weight: 900;
  font-size: 14px;
}

.panel {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(17, 26, 46, 0.75);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 120px at 10% 0%, rgba(56, 189, 248, 0.10), transparent 55%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.panel:hover::after {
  opacity: 1;
}

.ticks {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.25);
  font-weight: 900;
  font-size: 12px;
  color: rgba(229, 231, 235, 0.92);
}

.galleryWrap {
  position: relative;
  --gallery-item-w: clamp(200px, 52vw, 280px);
  --gallery-item-h: clamp(320px, 70vw, 480px);
}

.galleryViewport {
  overflow: hidden;
  border-radius: 18px;
  height: var(--gallery-item-h);
}

.gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px;
  scrollbar-width: none;
  height: 100%;
  align-items: stretch;
}

.gallery::-webkit-scrollbar { display: none; }


.galleryItem {
  flex: 0 0 auto;
  width: var(--gallery-item-w);
  height: var(--gallery-item-h);
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.25);
  scroll-snap-align: start;
  overflow: hidden;
  cursor: pointer;
}

.galleryItem .galleryImg,
.galleryItem video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  pointer-events: none;
}

.galleryItem video {
  object-fit: contain;
  background: rgba(2, 6, 23, 0.55);
}

.galleryItem:hover .galleryImg,
.galleryItem:hover video {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
}

.videoOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 2;
}

.galleryItem:hover .videoOverlay {
  opacity: 1;
}

.playIcon {
  width: 60px;
  height: 60px;
  color: white;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 180ms ease;
}

.galleryItem:hover .playIcon {
  transform: scale(1.1);
}

.galArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.45);
  color: var(--text);
  font-weight: 950;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  z-index: 3;
}

.galArrow:hover { border-color: rgba(56, 189, 248, 0.45); }
.galArrow.left { left: -6px; }
.galArrow.right { right: -6px; }

.galleryControls {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.lightboxMedia {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: transparent;
  overflow: hidden;
}

.lightboxMedia.is-video {
  width: min(92vw, 420px);
  height: min(86vh, 740px);
  aspect-ratio: 9 / 16;
  background: rgba(2, 6, 23, 0.75);
}

.lightboxMedia.is-image {
  width: min(1200px, 92vw);
  height: auto;
  max-height: 86vh;
}

.lightboxMedia video,
.lightboxMedia img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.lightboxMedia.isFading {
  animation: lbFade 220ms ease;
}

@keyframes lbFade {
  from { opacity: 0.55; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

.mobileMenuToggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 21;
}

.mobileMenuToggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 250ms ease;
  transform-origin: 1px;
}

.mobileMenuToggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.mobileMenuToggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobileMenuToggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.lightbox.isOpen {
  display: block;
}

.lightboxBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
}
.lightboxStage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightboxImg {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: transparent;
}

.lightboxImg.isFading {
  animation: lbFade 220ms ease;
}

.lbArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.35);
  color: var(--text);
  font-weight: 950;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lbArrow:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.lbArrow.left { left: 14px; }
.lbArrow.right { right: 14px; }


.lbClose {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.35);
  color: var(--text);
  font-weight: 950;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.lbClose:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.form label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
  margin-top: 10px;
}

input, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.35);
  color: var(--text);
  outline: none;
}

input:focus, textarea:focus {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.status {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text);
  font-weight: 800;
}

.status.ok {
  display: block;
  border-color: rgba(34, 197, 94, 0.35);
}

.status.err {
  display: block;
  border-color: rgba(239, 68, 68, 0.45);
}

.detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.detail:last-child {
  border-bottom: none;
}

.detailK {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.detailV a {
  color: var(--accent2);
  font-weight: 900;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 18px 0 34px;
  background: rgba(11, 18, 32, 0.55);
}

.footerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footBrand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footTitle {
  font-weight: 950;
}

.footLinks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.footLinks a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footLinks a:hover { color: var(--text); text-decoration: none; }

.footLinks a:hover {
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.08);
}

.igLink {
  padding: 0;
  width: 44px;
  height: 44px;
}

.footLinks .igLink {
  height: 44px;
  width: 44px;
  padding: 0;
  border: none;
  background: transparent;
}

.appCard {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(17, 26, 46, 0.70);
  box-shadow: 0 22px 70px rgba(0,0,0,0.40);
  min-height: 320px;
}

.appCard::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(56, 189, 248, 0.10) 52%, transparent 56%);
  pointer-events: none;
}

.appText {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: min(720px, 76%);
  --appDiagPad: 150px;
  padding: 22px;
  padding-right: calc(22px + var(--appDiagPad));
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.appText::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(11, 18, 32);
  /* Real diagonal panel shape */
  clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: -1;
}

.appText::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: 18px 0 70px rgba(0,0,0,0.38);
  opacity: 0;
}

.appMedia {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 360px at 20% 10%, rgba(56, 189, 248, 0.26), transparent 55%),
    radial-gradient(800px 320px at 90% 60%, rgba(34, 197, 94, 0.20), transparent 58%),
    rgba(2, 6, 23, 0.22);
  z-index: 0;
}

.appShot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.storeRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}

.storeBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  width: min(280px, 70vw);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.storeBadge:hover {
  border: none;
  background: transparent;
  text-decoration: none;
}

.storeBadge img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
}

@media (max-width: 920px) {
  .heroInner { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
  .mini { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .coachGrid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .galleryWrap {
    --gallery-item-w: clamp(180px, 68vw, 240px);
    --gallery-item-h: clamp(300px, 86vw, 420px);
  }
  .galArrow.left { left: 6px; }
  .galArrow.right { right: 6px; }
  .lightboxStage { padding: 16px; }
  .lbArrow.left { left: 10px; }
  .lbArrow.right { right: 10px; }
  .contactGrid { grid-template-columns: 1fr; }
  /* Keep the same layered diagonal App layout on mobile, only more compact */
  .appCard { min-height: 300px; }
  .appMedia { position: absolute; inset: 0; }
  .appText {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(520px, 80%);
    padding: 16px;
    --appDiagPad: 96px;
    padding-right: calc(16px + var(--appDiagPad));
    display: flex;
  }
  .storeBadge { width: min(240px, 62vw); height: 62px; }
  .mobileMenuToggle { display: flex; }
  .links {
    position: fixed;
    top: 68px;
    right: -100%;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 18, 32, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    padding: 16px;
    min-width: 200px;
    transition: right 300ms ease;
    z-index: 20;
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  }
  .links.is-open {
    right: 16px;
  }
  .links a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    margin: 2px 0;
  }
  .scrollProgress {
    top: 68px;
    z-index: 19;
  }
}

@media (max-width: 520px) {
  .nav { padding: 12px 0; }
  .links a { padding: 8px 8px; }
  h1 { font-size: 30px; }
  .hero { padding: 42px 0 22px; }
  .panel { padding: 14px; }
  .coachPhoto { aspect-ratio: 1 / 1.08; max-height: 420px; }
  body { padding-top: 64px; }
  .scrollProgress { top: 64px; }
  section[id] { scroll-margin-top: 78px; }
  .links.is-open { right: 12px; }
  .mobileMenuToggle { width: 28px; height: 28px; }
}
