/* ==========================================================================
   FS4 — Football Specific Soccer Skills School
   Stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --red: #e21f26;
  --red-dark: #b8151b;
  --red-darker: #8f1015;
  --black: #121212;
  --ink: #1a1a1a;
  --gray-900: #232323;
  --gray-700: #4a4a4a;
  --gray-500: #767676;
  --gray-300: #d9d9d9;
  --gray-100: #f2f2f0;
  --white: #ffffff;
  --cream: #faf9f7;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1200px;
  --radius: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(226, 31, 38, 0.15);
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.section-alt {
  background: var(--gray-100);
}

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

.section-head {
  max-width: 700px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
}

.section-head p {
  margin-top: 1rem;
  color: var(--gray-700);
  font-size: 1.05rem;
  max-width: 60ch;
}

.section-dark .section-head p {
  color: var(--gray-300);
}

.section-head--center p {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(226, 31, 38, 0.35);
}

.btn-primary:active {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

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

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

.btn-dark:active {
  background: var(--gray-900);
}

.btn-block {
  width: 100%;
}

/* Hover lift/glow effects are opt-in for devices with real hover (mouse/trackpad)
   so touch taps get a simple :active press-state instead of a "stuck" hover. */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(226, 31, 38, 0.42);
  }

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

  .btn-dark:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
  }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 960;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  height: 66px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-line {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--white);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 0.4rem;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}

.nav-desktop a.is-active::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  z-index: 1000;
  position: relative;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-mobile a:active {
  color: var(--red);
}

@media (hover: hover) and (pointer: fine) {
  .nav-desktop a:hover::after {
    width: 100%;
  }

  .nav-mobile a:hover {
    color: var(--red);
  }
}

.nav-mobile .btn {
  margin-top: 1rem;
}

.nav-mobile-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.nav-mobile-socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
}

.nav-mobile-socials svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: block;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  background: radial-gradient(circle, rgba(226, 31, 38, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.7rem;
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  max-width: 13ch;
}

.hero h1 .accent {
  color: var(--red);
}

.hero-lead {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--gray-300);
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--red);
  border-radius: var(--radius);
  z-index: 0;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-media picture {
  display: block;
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  margin-bottom: 1.2rem;
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--gray-300);
}

.value-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-900);
}

.value-list svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

/* ---------- Icon badge ---------- */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.icon-badge--outline {
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--red);
}

.icon-badge--lg {
  width: 60px;
  height: 60px;
}

.icon-badge--lg svg {
  width: 28px;
  height: 28px;
}

/* ---------- Approach / feature grid ---------- */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }
}

.feature-card .icon-badge {
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
}

/* ---------- Programs ---------- */
.program-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.program-card {
  position: relative;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--red-darker), var(--black) 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .program-card:hover::before {
    opacity: 1;
  }
}

.program-age {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(226, 31, 38, 0.15);
  border: 1px solid rgba(226, 31, 38, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  -webkit-font-smoothing: antialiased;
}

.program-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.program-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.program-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.85);
}

.program-list svg {
  width: 15px;
  height: 15px;
  color: var(--red);
  flex-shrink: 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
}

.gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.5s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.gallery-item .gallery-zoom {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.08);
  }

  .gallery-item:hover::after {
    opacity: 1;
  }

  .gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item .gallery-zoom svg {
  width: 16px;
  height: 16px;
  color: var(--black);
}

@media (min-width: 650px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8, 8, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.25s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox-close:hover,
  .lightbox-prev:hover,
  .lightbox-next:hover {
    background: var(--red);
    border-color: var(--red);
  }
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 22px;
  height: 22px;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Coaches / philosophy ---------- */
.philosophy-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2.5rem;
}

.philosophy-card {
  text-align: center;
  padding: 2rem 1.4rem;
}

.philosophy-card .icon-badge {
  margin-inline: auto;
  margin-bottom: 1.2rem;
}

.philosophy-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.philosophy-card p {
  font-size: 0.9rem;
  color: var(--gray-300);
}

.coach-cta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.coach-cta p {
  color: var(--gray-300);
  max-width: 46ch;
}

.coach-cta h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--white);
}

/* ---------- Schedule / pricing ---------- */
.schedule-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
}

table.schedule {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--white);
}

table.schedule th,
table.schedule td {
  text-align: left;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--gray-300);
  font-size: 0.92rem;
}

table.schedule thead th {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

table.schedule tbody tr:last-child td {
  border-bottom: none;
}

@media (hover: hover) and (pointer: fine) {
  table.schedule tbody tr:hover {
    background: var(--gray-100);
  }
}

.schedule-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(226, 31, 38, 0.1);
  color: var(--red-dark);
}

/* Below ~700px a horizontally-scrolling table has no visible affordance and
   silently clips content, so reflow each row into a stacked card instead. */
@media (max-width: 700px) {
  .schedule-wrap {
    overflow-x: visible;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  table.schedule {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 0.9rem;
  }

  table.schedule thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  table.schedule tbody tr {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
  }

  table.schedule tbody tr:hover {
    background: var(--white);
  }

  table.schedule td {
    display: block;
    padding: 0.9rem 1.1rem;
  }

  table.schedule tbody tr:last-child td {
    border-bottom: 1px solid var(--gray-300);
  }

  table.schedule td:last-child {
    border-bottom: none !important;
  }

  table.schedule td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.4rem;
  }

  .schedule-tag {
    white-space: nowrap;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.contact-info h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.contact-info p,
.contact-info a {
  color: var(--gray-300);
  font-size: 0.92rem;
}

@media (hover: hover) and (pointer: fine) {
  .contact-info a:hover {
    color: var(--white);
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.social-row {
  display: flex;
  gap: 0.9rem;
  margin-top: 2rem;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .social-row a:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
  }
}

.social-row svg {
  width: 19px;
  height: 19px;
  color: var(--white);
}

.map-embed {
  margin-top: 2.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 10;
}

@media (max-width: 700px) {
  .map-embed {
    aspect-ratio: 4 / 3;
  }
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-900);
}

.form-field .required {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 31, 38, 0.12);
  outline: none;
}

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

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e7f7ec;
  color: #16743d;
  border: 1px solid #a7e3bb;
}

.form-status.is-error {
  background: #fdeceb;
  color: #b3261e;
  border: 1px solid #f3b9b5;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 0.9rem;
}

@media (min-width: 560px) {
  .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 950px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding-block: 3rem 2rem;
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-brand .brand-line {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  display: block;
}

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-weight: 700;
  text-transform: none;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover {
    color: var(--white);
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-bottom .social-row {
  margin-top: 0;
}

.footer-bottom .social-row a {
  width: 38px;
  height: 38px;
}

.footer-bottom .social-row svg {
  width: 16px;
  height: 16px;
}

.footer-credit {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

@media (min-width: 700px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:active {
  background: var(--red-dark);
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background: var(--red-dark);
  }
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.35s; }

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

/* ---------- Responsive grids at larger breakpoints ---------- */
@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (min-width: 700px) {
  .value-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
