/* Aquamotion Premium Design System */
:root {
  --primary: #0A2342;
  --secondary: #2A9FD6;
  --accent: #D4AF37;
  --bg: #FFFFFF;
  --bg-light: #F8FAFC;
  --text: #1A1A1A;
  --text-muted: #5a6578;
  --white: #ffffff;
  --border: rgba(10, 35, 66, 0.08);
  --shadow-sm: 0 4px 24px rgba(10, 35, 66, 0.06);
  --shadow-md: 0 12px 48px rgba(10, 35, 66, 0.1);
  --shadow-lg: 0 24px 64px rgba(10, 35, 66, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 88px;
  --font-sans: 'Noto Sans TC', 'Inter', system-ui, sans-serif;
  --font-serif: 'Noto Serif TC', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.7;
  padding-bottom: env(safe-area-inset-bottom);
}

body.has-mobile-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease), opacity 0.25s; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

section { padding: clamp(4rem, 10vw, 7rem) 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: #0d2d52;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-header.transparent {
  background: transparent;
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.site-header .header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-cn {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.site-header.transparent .logo-text .brand-cn,
.site-header.transparent .logo-text .brand-en { color: var(--white); }

.logo-text .brand-en {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  color: var(--text);
  border-radius: 8px;
  position: relative;
}

.site-header.transparent .main-nav a { color: rgba(255, 255, 255, 0.92); }

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary);
}

.site-header.transparent .main-nav a:hover,
.site-header.transparent .main-nav a.active { color: var(--accent); }

.header-cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--primary);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.site-header.transparent .menu-toggle span { background: var(--white); }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-drawer.open { pointer-events: auto; }

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 35, 66, 0.5);
  opacity: 0;
  transition: opacity 0.4s;
}

.mobile-drawer.open .drawer-overlay { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--white);
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open .drawer-panel { transform: translateX(0); }

.drawer-panel a {
  display: block;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 35, 66, 0.82) 0%,
    rgba(10, 35, 66, 0.55) 50%,
    rgba(42, 159, 214, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-h) + 2rem) 1.25rem 4rem;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 2.5rem;
  letter-spacing: 0.15em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Values */
.values { background: var(--bg-light); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Course cards */
.courses-preview { background: var(--white); }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card-premium {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
}

.course-card-premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.course-card-premium:hover img { transform: scale(1.06); }

.course-card-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 35, 66, 0.92) 0%, transparent 55%);
}

.course-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 1;
  color: var(--white);
}

.course-card-body h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.course-card-body p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.course-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Stats */
.stats-band {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 500;
}

/* Coaches preview */
.coaches-preview { background: var(--bg-light); }

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

.coach-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.coach-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.coach-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
}

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

.coach-info {
  padding: 1.75rem;
}

.coach-info h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }

.coach-role {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.coach-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.coach-certs span {
  font-size: 0.7rem;
  padding: 0.35rem 0.65rem;
  background: var(--bg-light);
  border-radius: 100px;
  color: var(--primary);
  font-weight: 500;
}

/* Testimonials */
.testimonials { background: var(--white); overflow: hidden; }

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s var(--ease);
}

.testimonial-card {
  flex: 0 0 min(100%, 420px);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .testimonial-card { flex-basis: calc(50% - 0.75rem); }
}

@media (min-width: 1024px) {
  .testimonial-card { flex-basis: calc(33.333% - 1rem); }
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-nav button:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Environment */
.environment-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}

.env-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.env-item:first-child { grid-row: span 2; }

.env-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.env-item:hover img { transform: scale(1.04); }

.env-item span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Process timeline */
.process { background: var(--bg-light); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0.4;
}

.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 3px solid var(--bg-light);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page hero (inner) */
.page-hero {
  margin-top: var(--header-h);
  padding: clamp(4rem, 12vw, 6rem) 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(42, 159, 214, 0.25), transparent 60%);
}

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

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.88;
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Content blocks */
.content-section { padding: clamp(3rem, 8vw, 5rem) 0; }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.35s, transform 0.35s;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.info-card p, .info-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.info-card ul { margin-top: 0.75rem; }

.info-card li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.info-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

.faq-question i.toggle {
  transition: transform 0.35s var(--ease);
  color: var(--secondary);
}

.faq-item.open .faq-question i.toggle { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner {
  padding-bottom: 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer-inner ul { margin: 0.75rem 0 0 1.25rem; list-style: disc; }

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}

.faq-category-title h3 { font-size: 1.25rem; }

/* Forms */
.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-group label span { color: #c0392b; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(42, 159, 214, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
  padding: 1.15rem 1.25rem;
  text-align: center;
}

.data-table thead {
  background: var(--primary);
  color: var(--white);
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover { background: var(--bg-light); }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 21/9;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3058 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 56px; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  opacity: 0.75;
}

.footer-col a:hover { opacity: 1; color: var(--accent); }

.footer-keywords {
  font-size: 0.75rem;
  opacity: 0.5;
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.social-row a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  opacity: 1;
}

/* Mobile action bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(10, 35, 66, 0.1);
  padding: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

.mobile-action-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: 10px;
}

.mobile-action-bar a i { font-size: 1.25rem; }

.mobile-action-bar a.primary-action {
  background: var(--accent);
  color: var(--primary);
  margin: 0 0.25rem;
  border-radius: 12px;
}

/* Reveal — IntersectionObserver + CSS (all pages; no GSAP dependency) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Filter pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.6rem 1.35rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Course detail cards (courses page) */
.course-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.course-detail-card .thumb {
  min-height: 280px;
  position: relative;
}

.course-detail-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-detail-card .badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.course-detail-card .body { padding: 2rem; }

.course-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.course-meta-row span { display: flex; align-items: center; gap: 0.4rem; }

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.course-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-light);
  border-radius: 100px;
  color: var(--primary);
  font-weight: 500;
}

/* Level steps */
.level-list .level-row {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.level-list .level-row:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.level-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Method steps (features) */
.method-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 5rem);
}

.split-media {
  position: relative;
}

.step-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.split-layout.split-reverse .split-media { order: 2; }
.split-layout.split-reverse .split-copy { order: 1; }

.step-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-title .step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list li i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.data-table .col-feature {
  text-align: left;
  font-weight: 600;
  color: var(--primary);
}

.data-table .cell-yes { color: #1a8f4e; font-size: 1.15rem; }
.data-table .cell-no { color: #c0392b; opacity: 0.65; font-size: 1.15rem; }

/* Accent band */
.accent-band {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3058 100%);
  color: var(--white);
}

.accent-band .section-header h2 { color: var(--white); }
.accent-band .section-header p { color: rgba(255, 255, 255, 0.82); }

.accent-band .info-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.accent-band .info-card:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.accent-band .info-card h4 { color: var(--white); }
.accent-band .info-card p { color: rgba(255, 255, 255, 0.82); }
.accent-band .info-card .icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

/* Review grid */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.35s, transform 0.35s;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.review-card .review-stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}

.review-card blockquote {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.review-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Activities */
.image-stat {
  position: absolute;
  bottom: -1.25rem;
  right: -0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.image-stat .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.image-stat span:last-child {
  font-size: 0.85rem;
  opacity: 0.9;
}

.intro-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.intro-checks span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.intro-checks i {
  color: var(--secondary);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.35s, transform 0.35s;
}

.activity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.activity-card .activity-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.activity-card .activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.activity-card:hover .activity-img img { transform: scale(1.06); }

.activity-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
}

.activity-body {
  padding: 1.5rem;
}

.activity-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.activity-body > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.activity-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.activity-meta i { color: var(--secondary); }

.service-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.35s, transform 0.35s, background 0.35s;
}

.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}

.service-card .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.service-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.highlight-panel {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.highlight-panel .panel-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.highlight-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.highlight-panel > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.pricing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
}

.pricing-tags span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.pricing-tags i { color: var(--secondary); }

.media-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.media-gallery .gallery-cell {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.media-gallery .gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.media-gallery .gallery-cell:hover img { transform: scale(1.08); }

.cta-band.cta-inset {
  background: transparent;
  padding: 0;
}

.cta-inset .cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3058 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inset .cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(42, 159, 214, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-inset .cta-box h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-inset .cta-box > p {
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
}

.cta-inset .cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.cta-inset .btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

/* Search */
.search-box {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 1rem;
}

.search-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-timeline::before { display: none; }
  .environment-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .env-item:first-child { grid-row: span 1; grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .course-detail-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 76px; }
  .main-nav, .header-cta-desktop { display: none; }
  .menu-toggle { display: flex; }
  .mobile-action-bar { display: flex; }
  body.has-mobile-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .values-grid,
  .course-grid,
  .coach-grid,
  .stats-grid,
  .card-grid-2,
  .card-grid-3,
  .review-grid,
  .activity-grid { grid-template-columns: 1fr; }
  .media-gallery { grid-template-columns: repeat(2, 1fr); }
  .intro-checks { grid-template-columns: 1fr; }
  .split-layout.split-reverse .split-media,
  .split-layout.split-reverse .split-copy { order: unset; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .social-row { justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

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