/* ══════════════════════════════════════════════════════════════
   TV SOS — Claire's Branding
   White site, dark hero, red accents, Montserrat + DM Sans
   ══════════════════════════════════════════════════════════════ */

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

:root {
  --red:         #FD0E0E;
  --red-dark:    #c80b0b;
  --bg:          #ffffff;
  --bg-light:    #f5f4f2;
  --bg-silver:   #e8e7e5;
  --hero-bg:     #0a0a0a;
  --text:        #1a1a1a;
  --text-muted:  #5a5a5a;
  --text-light:  rgba(255,255,255,0.88);
  --white:       #ffffff;
  --dark:        #2F2B36;
  --border:      #e0e0e0;
  --font-body:   'DM Sans', sans-serif;
  --font-head:   'Montserrat', sans-serif;
  --transition:  0.22s ease;
  --r-pill:      999px;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Utils ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

*, img, video, svg, iframe { max-width: 100%; }
* { min-width: 0; }

/* Legacy label class (used in booking modal) */
.label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1003; }

.nav-bar {
  background: #ffffff;
  border-bottom: none;
}

.nav-inner {
  width: 100%;
  padding: 0 4rem;
  height: 153px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-red-stripe {
  height: 10px;
  background: var(--red);
  width: 100%;
}

.nav-logo img {
  height: 59px;
  width: auto;
  display: block;
}

/* Centre column — hamburger */
.hamburger {
  justify-self: center;
}

/* Right column — book button */
.nav-right {
  justify-self: end;
}

.btn-book-nav {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.4rem;
  border-radius: var(--r-pill);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-book-nav:hover { background: var(--red-dark); transform: translateY(-1px); }

@media (max-width: 768px) {
  .nav-right { display: none; }
  .hamburger { grid-column: 3; justify-self: end; }
}

/* Book button inside the sidebar menu */
.menu-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-pill);
  border: none;
  text-decoration: none;
  cursor: pointer;
  margin-top: 2rem;
  transition: background var(--transition);
}
.menu-book-btn:hover { background: var(--red-dark); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-outline-light:hover { border-color: var(--text); color: var(--text); }

/* Hamburger — always visible, centred */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ── Sidebar overlay ──────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1003;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

/* ── Sidebar panel ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 42%;
  min-width: 300px;
  max-width: 520px;
  background: #fff;
  z-index: 1004;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 3rem 3rem;
}
.mobile-menu.open { transform: translateX(0); }

.menu-close {
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}
.menu-close:hover { color: var(--red); }

/* Nav links */
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 4rem;
}

.menu-link {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #555;
  text-decoration: none;
  line-height: 1.25;
  transition: color var(--transition);
}
.menu-link:hover { color: var(--red); }
.menu-link.active { color: var(--red); }

/* Social icons */
.menu-socials {
  margin-top: auto;
  display: flex;
  gap: 0.85rem;
  padding-top: 2rem;
}

.menu-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.menu-social-btn:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 600px) {
  .mobile-menu { width: 85%; padding: 2rem; }
  .menu-link { font-size: 2rem; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 1.5rem; height: 100px; }
  .nav-logo img { height: 44px; }
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

/* Subtle horizontal scan-line pattern */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 81px));
  z-index: 3;
  width: 92%;
  max-width: 1260px;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4.8vw, 5.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.btn-book-hero {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 3.5rem;
  border-radius: var(--r-pill);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-book-hero:hover { background: var(--red-dark); transform: translateY(-2px); }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 600px) {
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem) !important; }
  .hero-sub br { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   WHAT IS TV SOS
   ══════════════════════════════════════════════════════════════ */
.what-is {
  padding: 7rem 0;
  background: var(--bg-light);
}

.what-is-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.what-is-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.what-is-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.what-is-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.what-is-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.what-is-text strong { color: var(--text); font-weight: 600; }

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: transparent;
  margin-top: 1rem;
  transition: text-decoration-color var(--transition);
}
.btn-read-more:hover { text-decoration-color: var(--red); }

@media (max-width: 880px) {
  .what-is-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .what-is-img { aspect-ratio: 16/9; }
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.services {
  padding: 7rem 0 5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.services-header {
  margin-bottom: 3rem;
  text-align: left;
}

.services-eyebrow {
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0.1rem;
  text-transform: uppercase;
}

.services-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 900;
  color: var(--text);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.services-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* Service cards grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.service-card-photo {
  width: 100%;
  aspect-ratio: 373/246;
  object-fit: cover;
  display: block;
}

/* Banner sits over the bottom of the photo.
   ::before = the thin red strip (starts at centre of the O).
   The logo img straddles the strip — top half in photo, bottom half on red. */
.service-card-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;          /* tall enough to show full logo */
  display: flex;
  align-items: flex-end;
  padding-left: 10px;
  padding-bottom: 5px;
  pointer-events: none;
}
.service-card-banner::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 28px;           /* red strip = roughly bottom half of logo */
  background: var(--red);
  z-index: 0;
}
.service-card-banner img {
  height: 56px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;             /* logo renders above the red strip */
  filter: none;
  pointer-events: all;
}

.service-card-body {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
}
.service-card-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.service-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.btn-book-card {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 1rem 1rem;
  border: none;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition);
  text-transform: uppercase;
}
.btn-book-card:hover { background: var(--red-dark); }

.more-coaching {
  text-align: right;
  margin-top: 1.5rem;
}
.more-coaching a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
  text-decoration: none;
}
.more-coaching a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   INDUSTRY LEADERS (LOGOS)
   ══════════════════════════════════════════════════════════════ */
.logos {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.logos-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.logos-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 3rem;
  line-height: 1.1;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-cell:nth-child(4n) { border-right: none; }
.logo-cell:nth-child(n+5) { border-bottom: none; }

.logo-cell img {
  max-height: 48px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }

@media (max-width: 768px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(4n) { border-right: 1px solid var(--border); }
  .logo-cell:nth-child(2n) { border-right: none; }
  .logo-cell:nth-child(n+7) { border-bottom: none; }
  .logo-cell:nth-child(n+5):not(:nth-child(n+7)) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .logo-cell { padding: 1.5rem 1rem; }
  .logo-cell img { max-height: 36px; }
}

/* ══════════════════════════════════════════════════════════════
   BLOG STRIP
   ══════════════════════════════════════════════════════════════ */
.blog-strip-bar {
  display: block;
  background: var(--red);
  padding: 1.15rem 2rem;
  text-align: center;
  text-decoration: none;
  transition: background var(--transition);
}
.blog-strip-bar:hover { background: var(--red-dark); }
.blog-strip-bar span {
  font-family: var(--font-head);
  font-size: clamp(0.88rem, 2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: 7rem 0;
  background: var(--bg-light);
}

.testimonials-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.testimonials-label {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.2;
  position: sticky;
  top: 110px;
}

.testimonial-item {
  padding: 1.75rem 0;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.testimonial-attr {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-divider {
  border: none;
  border-top: 1px solid #d0d0cc;
}

@media (max-width: 768px) {
  .testimonials-inner { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-label { position: static; }
}

/* ══════════════════════════════════════════════════════════════
   PHOTO SLIDESHOW
   ══════════════════════════════════════════════════════════════ */
.slideshow {
  position: relative;
  width: 100%;
  height: 580px;
  background: #000;
  overflow: hidden;
}

.slideshow-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: block;
}
.slide.active {
  opacity: 1;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem 1.2rem;
  transition: color 0.2s ease;
  user-select: none;
}
.slideshow-btn:hover { color: #fff; }
.slideshow-prev { left: 1rem; }
.slideshow-next { right: 1rem; }

@media (max-width: 600px) {
  .slideshow { height: 300px; }
  .slideshow-btn { font-size: 2.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════════ */
.newsletter {
  padding: 6rem 4rem;
  background: var(--bg-silver);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.newsletter-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.newsletter-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 1rem;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nl-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.newsletter-form input[type="email"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 0.6rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]::placeholder { color: #aaa; }
.newsletter-form input[type="email"]:focus { border-color: var(--text); }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox-label input {
  accent-color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.btn-nl-join {
  align-self: flex-end;
  background: var(--text);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-nl-join:hover { background: var(--red); transform: translateY(-1px); }

@media (max-width: 768px) {
  .newsletter { padding: 4rem 1.5rem; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .btn-nl-join { align-self: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 4rem 2.5rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

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

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.65rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--red); }

.footer-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 880px) {
  .footer { padding: 3rem 2rem 2rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   BOOKING MODAL
   ══════════════════════════════════════════════════════════════ */
.bk-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.bk-overlay.open { opacity: 1; pointer-events: all; }

.bk-modal {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
}
.bk-overlay.open .bk-modal { transform: translateY(0); }

.bk-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f5f5f5;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
}
.bk-close:hover { background: #e8e8e8; color: var(--text); }

.bk-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0.5rem 0 0.75rem;
  text-transform: uppercase;
}

.bk-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.bk-sub strong { color: var(--text); }

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

.bk-field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.bk-field label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.req { color: var(--red); }

.bk-field input,
.bk-field select,
.bk-field textarea {
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.bk-field input::placeholder,
.bk-field textarea::placeholder { color: #bbb; }
.bk-field input:focus,
.bk-field select:focus,
.bk-field textarea:focus { border-color: var(--red); }
.bk-field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

.bk-error { color: var(--red); font-size: 0.82rem; margin-bottom: 0.75rem; min-height: 1.2em; }

.bk-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 0.95rem 2rem;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
}
.bk-submit:hover { background: var(--red-dark); }
.bk-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.bk-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 2px solid rgba(34,197,94,0.4);
  color: #22c55e;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bk-overlay { padding: 0 !important; align-items: stretch !important; }
  .bk-modal { max-width: 100% !important; max-height: 100vh !important; min-height: 100vh; border-radius: 0 !important; padding: 4rem 1.25rem 2rem !important; }
  .bk-row { grid-template-columns: 1fr !important; gap: 0; }
  .bk-title { font-size: 1.6rem !important; }
}

/* ── Booking Progress Bar ───────────────────────────────── */
.bk-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.75rem;
}
.bk-progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.bk-progress-step.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.bk-progress-step.done {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}
.bk-progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background 0.25s ease;
}
.bk-progress-line.done { background: #22c55e; }

/* ── Service Selection (Step 1) ─────────────────────────── */
.bk-services {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.bk-service-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
  position: relative;
}
.bk-service-item:hover { border-color: var(--red); background: #fff8f8; }
.bk-service-item.selected { border-color: var(--red); background: #fff3f3; }
.bk-service-check {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
  cursor: pointer;
}
.bk-service-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.15rem;
}
.bk-service-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.bk-service-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.bk-service-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--red);
  flex-shrink: 0;
}

/* ── Discount / Student ─────────────────────────────────── */
.bk-discount-info {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: #7a5c00;
  margin-bottom: 0.75rem;
}
.bk-student-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  margin-bottom: 0.35rem;
}
.bk-student-toggle input { accent-color: var(--red); width: 16px; height: 16px; }
.bk-student-note {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  margin-top: 0;
  padding-left: 1.6rem;
}

/* ── Pricing Summary ────────────────────────────────────── */
.bk-summary {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}
.bk-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.bk-summary-row:not(:last-child) { margin-bottom: 0.4rem; }
.bk-summary-row #bkSummaryLabel { font-weight: 600; color: var(--text); }
.bk-summary-row #bkSummaryPrice { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--red); }
.bk-summary-saving { color: #22c55e; font-size: 0.8rem; font-weight: 600; }

/* ── Booking Recap (Step 3) ─────────────────────────────── */
.bk-recap {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.bk-recap strong { color: var(--text); }

/* ── Back button ────────────────────────────────────────── */
.bk-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.5rem 0;
  display: block;
  margin-top: 0.6rem;
  transition: color var(--transition);
}
.bk-back:hover { color: var(--text); }

/* ── Service card actions ───────────────────────────────── */
.service-card-actions {
  display: flex;
  gap: 0.65rem;
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}
.btn-learn-card {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}
.btn-learn-card:hover { border-color: var(--text); color: var(--text); }
.btn-book-card {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0;
  background: var(--red);
  border: 1.5px solid var(--red);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-book-card:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ── Service detail page hero ───────────────────────────── */
.service-hero {
  padding: 180px 0 5rem !important;
  background: var(--bg);
}
.service-hero .label { margin-bottom: 0.75rem; }
.service-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.service-hero h1 span { color: var(--red); }
.service-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.service-hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.service-meta-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.service-meta-pill svg { color: var(--red); }

/* ── Service detail sections ────────────────────────────── */
.service-what { background: var(--bg); padding: 4rem 0; }
.service-what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.service-what h2, .service-pricing h2, .service-includes h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.service-body-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.service-body-text p + p { margin-top: 1rem; }

.service-includes { background: var(--bg-light); padding: 4rem 0; }
.service-includes-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.service-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.service-includes-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── Pricing cards ──────────────────────────────────────── */
.service-pricing { background: var(--bg); padding: 4rem 0; }
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.pricing-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { border-color: var(--red); box-shadow: 0 4px 24px rgba(253,14,14,0.1); }
.pricing-card.featured {
  border-color: var(--red);
  background: #fff8f8;
}
.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pricing-card-type {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.pricing-card-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-card-price span { font-size: 1.1rem; vertical-align: top; margin-top: 0.4rem; display: inline-block; }
.pricing-card-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.pricing-card .bk-submit { margin-top: 1rem; font-size: 0.82rem; padding: 0.75rem 1.5rem; }

@media (max-width: 768px) {
  .service-what-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-cards { grid-template-columns: 1fr; }
  .service-hero { padding: 140px 0 3rem !important; }
}

/* ══════════════════════════════════════════════════════════════
   BLOG PAGE (blog.html)
   ══════════════════════════════════════════════════════════════ */
.blog-hero {
  padding: 9rem 0 4rem;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.blog-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}
.blog-hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.blog-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 500px; }

.blog-main { padding: 4rem 0 6rem; background: var(--bg); }
.blog-main-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Filter pills */
.filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); color: #fff; border-color: var(--text); }

/* Featured card */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  text-decoration: none;
  transition: box-shadow var(--transition);
}
.featured-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.featured-card-img {
  background: #f0f0f0 url('https://images.unsplash.com/photo-1612369258829-cd6ec59d0ec4?w=800&q=80') center/cover no-repeat;
  min-height: 380px;
}
.featured-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.featured-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(224,19,13,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
}
.featured-card-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
}
.featured-card-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.post-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); display: inline-block; }
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.04em;
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8e8e8 center/cover no-repeat;
}
.blog-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.blog-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.blog-cat::before { content: ''; width: 4px; height: 4px; background: var(--red); border-radius: 50%; }
.blog-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}
.blog-card-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.blog-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 1000px) { .featured-card { grid-template-columns: 1fr !important; } .featured-card-img { display: none !important; } }
@media (max-width: 600px) { .filter-row { flex-wrap: nowrap !important; overflow-x: auto !important; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; } .filter-btn { flex-shrink: 0; } }


/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════════════ */
.legal-body { padding: 4rem 0 6rem; background: var(--bg); }

.legal-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: flex-start;
}

/* TOC sidebar */
.legal-toc { position: sticky; top: 110px; }
.legal-toc h3 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.toc-list a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-left: 2px solid transparent;
  display: block;
  transition: all var(--transition);
}
.toc-list a:hover { color: var(--red); border-color: var(--border); }
.toc-list a.active { color: var(--red); border-color: var(--red); font-weight: 600; }

/* Legal content */
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  scroll-margin-top: 100px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a { color: var(--red); }

.refund-table, .cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem;
}
.refund-table th, .cookie-table th {
  background: #f5f5f5;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}
.refund-table td, .cookie-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: 3rem;
  transition: color var(--transition);
}
.legal-back:hover { color: var(--text); }

@media (max-width: 880px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   ADMIN PAGE (admin.html)
   ══════════════════════════════════════════════════════════════ */
.admin-body { background: #f5f5f5; min-height: 100vh; }
.topbar {
  background: var(--hero-bg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-logo { height: 28px; filter: brightness(0) invert(1); }
.topbar-tabs { display: flex; gap: 0.5rem; }
.topbar-tab {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.topbar-tab:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.topbar-tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.topbar-key {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-family: monospace;
}

.admin-section { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; display: none; }
.admin-section.active { display: block; }

.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.admin-header h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}

.btn-admin-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background var(--transition);
}
.btn-admin-primary:hover { background: var(--red-dark); }

.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.admin-table thead th {
  background: #f8f8f8;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #fcfcfc; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
}
.status-pending   { background: rgba(234,179,8,0.12); color: #854d0e; }
.status-approved  { background: rgba(34,197,94,0.12); color: #166534; }
.status-rejected  { background: rgba(239,68,68,0.12); color: #991b1b; }
.status-alternative { background: rgba(59,130,246,0.12); color: #1e40af; }
.status-published { background: rgba(34,197,94,0.12); color: #166534; }
.status-draft     { background: rgba(234,179,8,0.12); color: #854d0e; }

.action-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}
.action-btn:hover { border-color: var(--text); color: var(--text); }
.action-btn.danger { color: #991b1b; border-color: rgba(239,68,68,0.3); }
.action-btn.danger:hover { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.5); }

/* Editor overlay */
.editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.editor-overlay.open { opacity: 1; pointer-events: all; }
.editor-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.editor-overlay.open .editor-modal { transform: translateY(0); }
.editor-modal h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.editor-field { display: flex; flex-direction: column; gap: 0.4rem; }
.editor-field.full { grid-column: 1/-1; }
.editor-field label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.editor-field input,
.editor-field select,
.editor-field textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.editor-field input:focus,
.editor-field select:focus,
.editor-field textarea:focus { border-color: var(--red); }
.editor-field textarea { resize: vertical; min-height: 120px; }

.editor-toolbar {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
}
.tb-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
}
.tb-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.editor-body-area {
  width: 100%;
  min-height: 200px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
  outline: none;
  background: #fff;
}
.editor-body-area:focus { border-color: var(--red); }
.editor-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.25rem; }

@media (max-width: 768px) {
  .topbar { flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 1rem; }
  .topbar-tabs { justify-content: center; }
  .admin-table-wrap { border-radius: 0; }
  .editor-overlay { padding: 0 !important; }
  .editor-modal { max-width: 100% !important; min-height: 100vh; border-radius: 0 !important; }
  .editor-fields { grid-template-columns: 1fr !important; }
  .editor-toolbar { flex-wrap: wrap !important; gap: 0.25rem !important; }
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  section { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
}
@media (max-width: 600px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 400px) {
  body { font-size: 14px; }
}

/* Forms — prevent iOS zoom */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="date"], input[type="time"], select, textarea {
    font-size: 16px !important;
    min-height: 44px;
  }
  textarea { min-height: 96px; }
}

/* Tables — horizontal scroll */
@media (max-width: 768px) {
  .refund-table, .cookie-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

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