/* ==========================================================================
   Tennis Nation — Design System
   Stack: GeneratePress child theme, HTML/CSS, no build step
   ========================================================================== */

/* ── Tokens ──────────────────────────────────────────────────────────────── */

:root {
  --tn-red:          oklch(49% 0.19 25);   /* #dd3333 */
  --tn-red-dark:     oklch(41% 0.17 25);   /* #bb2222 */
  --tn-dark:         oklch(13% 0.005 25);  /* #1a1a1a */
  --tn-dark-mid:     oklch(19% 0.005 25);  /* #2a2a2a */
  --tn-white:        oklch(99% 0.005 25);  /* #fafaf9 */
  --tn-off-white:    oklch(97% 0.007 60);  /* #f8f7f5 */
  --tn-border:       oklch(91% 0.005 25);  /* #e8e8e8 */
  --tn-text:         oklch(18% 0.005 25);  /* near-black body */
  --tn-text-muted:   oklch(45% 0.005 25);

  --tn-font-display: 'Raleway', sans-serif;
  --tn-font-body:    'Inter', system-ui, sans-serif;

  --tn-container:      1240px;
  --tn-header-height:  76px;
  --tn-trust-height:   40px;

  --tn-shadow-red:   0 6px 20px oklch(49% 0.19 25 / 0.28);
  --tn-shadow-card:  0 2px 12px oklch(13% 0.005 25 / 0.08);
  --tn-shadow-lift:  0 8px 32px oklch(13% 0.005 25 / 0.14);

  --tn-radius-sm: 4px;
  --tn-radius-md: 8px;
  --tn-radius-lg: 12px;

  --tn-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset GeneratePress interference on TN pages ────────────────────────── */

.tn-page .site-header,
.tn-page .site-footer,
.tn-page #content,
.tn-page .inside-article,
.tn-page .entry-header,
.tn-page .entry-content,
.tn-page .entry-footer {
  display: contents;
}

.tn-page .site-main {
  padding: 0;
  margin: 0;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

.tn-page {
  font-family: var(--tn-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--tn-text);
  background: var(--tn-white);
  -webkit-font-smoothing: antialiased;
}

.tn-page *,
.tn-page *::before,
.tn-page *::after {
  box-sizing: border-box;
}

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

.tn-container {
  max-width: var(--tn-container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── Typography ──────────────────────────────────────────────────────────── */

.tn-display {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tn-headline {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.1;
  text-transform: uppercase;
}

.tn-title {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
}

.tn-label {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tn-body {
  font-family: var(--tn-font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.tn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--tn-radius-md);
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--tn-ease-out),
              transform 0.18s var(--tn-ease-out),
              box-shadow 0.18s var(--tn-ease-out);
  white-space: nowrap;
}

.tn-btn--primary {
  background: var(--tn-red);
  color: var(--tn-white);
  box-shadow: var(--tn-shadow-red);
}
.tn-btn--primary:hover,
.tn-btn--primary:focus-visible {
  background: var(--tn-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px oklch(49% 0.19 25 / 0.36);
  color: var(--tn-white);
  text-decoration: none;
}

.tn-btn--secondary {
  background: var(--tn-dark);
  color: var(--tn-white);
}
.tn-btn--secondary:hover,
.tn-btn--secondary:focus-visible {
  background: var(--tn-dark-mid);
  transform: translateY(-2px);
  color: var(--tn-white);
  text-decoration: none;
}

.tn-btn--ghost {
  background: transparent;
  color: var(--tn-white);
  border-color: var(--tn-white);
}
.tn-btn--ghost:hover,
.tn-btn--ghost:focus-visible {
  background: var(--tn-white);
  color: var(--tn-dark);
  text-decoration: none;
}

.tn-btn--sm {
  padding: 10px 24px;
  font-size: 0.72rem;
}

/* ── Tags / Kickers ─────────────────────────────────────────────────────── */

.tn-tag {
  display: inline-block;
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--tn-radius-sm);
  margin-bottom: 16px;
}

.tn-tag--light {
  background: oklch(49% 0.19 25 / 0.12);
  color: var(--tn-red);
}

.tn-tag--dark {
  background: oklch(99% 0.005 25 / 0.15);
  color: var(--tn-white);
}

/* ── Fade-in animation ───────────────────────────────────────────────────── */

.tn-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--tn-ease-out),
              transform 0.6s var(--tn-ease-out);
}

.tn-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Trust Bar ───────────────────────────────────────────────────────────── */

.tn-trust-bar {
  background: var(--tn-dark);
  height: var(--tn-trust-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.tn-trust-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}

.tn-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(80% 0.005 25);
  text-decoration: none;
  white-space: nowrap;
}

.tn-trust-bar__item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.tn-trust-bar__item--phone {
  color: var(--tn-white);
}

.tn-trust-bar__item:hover {
  color: var(--tn-white);
  text-decoration: none;
}

@media (max-width: 600px) {
  .tn-trust-bar__item--address,
  .tn-trust-bar__item--hours {
    display: none;
  }
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.tn-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--tn-white);
  height: var(--tn-header-height);
  border-bottom: 1px solid var(--tn-border);
  display: flex;
  align-items: center;
}

.tn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.tn-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.tn-header__logo img {
  height: 44px;
  width: auto;
}

.tn-header__logo-text {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tn-dark);
  line-height: 1;
}

.tn-header__logo-text span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--tn-text-muted);
  margin-top: 3px;
}

.tn-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tn-nav__item > a {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tn-dark);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--tn-radius-sm);
  transition: background 0.15s, color 0.15s;
}

.tn-nav__item > a:hover {
  background: var(--tn-off-white);
  color: var(--tn-dark);
}

.tn-header__cta {
  flex-shrink: 0;
}

.tn-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.tn-header__hamburger span {
  display: block;
  height: 2px;
  background: var(--tn-dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 900px) {
  .tn-nav,
  .tn-header__cta {
    display: none;
  }
  .tn-header__hamburger {
    display: flex;
  }
}

/* Mobile nav drawer */
.tn-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--tn-dark);
  z-index: 200;
  flex-direction: column;
  padding: 40px clamp(20px, 5vw, 48px);
  overflow-y: auto;
}

.tn-mobile-nav.is-open {
  display: flex;
}

.tn-mobile-nav__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--tn-white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 32px;
  line-height: 1;
}

.tn-mobile-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tn-mobile-nav__links a {
  display: block;
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(22px, 6vw, 32px);
  text-transform: uppercase;
  color: var(--tn-white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid oklch(99% 0.005 25 / 0.1);
  transition: color 0.15s;
}

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

.tn-mobile-nav__book {
  margin-top: 32px;
  align-self: flex-start;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.tn-hero {
  position: relative;
  min-height: calc(100dvh - var(--tn-header-height) - var(--tn-trust-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--tn-dark);
}

.tn-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('[HERO_IMAGE_URL]');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.tn-hero__bg.is-loaded {
  transform: scale(1);
}

.tn-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    oklch(13% 0.005 25 / 0.82) 0%,
    oklch(13% 0.005 25 / 0.55) 60%,
    oklch(13% 0.005 25 / 0.72) 100%
  );
}

.tn-hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(60px, 10vh, 120px);
}

.tn-hero__eyebrow {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tn-red);
  margin-bottom: 20px;
}

.tn-hero__heading {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--tn-white);
  margin: 0 0 24px;
}

.tn-hero__sub {
  font-family: var(--tn-font-body);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: oklch(85% 0.005 25);
  max-width: 46ch;
  margin: 0 0 40px;
}

.tn-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.tn-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: oklch(70% 0.005 25);
  font-family: var(--tn-font-display);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: tn-bounce 2.2s ease-in-out infinite;
}

@keyframes tn-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Intent Split ────────────────────────────────────────────────────────── */

.tn-intent-split {
  background: var(--tn-white);
  padding-block: 0;
}

.tn-intent-split__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.tn-intent-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 40vw, 520px);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.tn-intent-panel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--tn-ease-out);
}

.tn-intent-panel:hover .tn-intent-panel__bg {
  transform: scale(1.05);
}

.tn-intent-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(13% 0.005 25 / 0.90) 0%,
    oklch(13% 0.005 25 / 0.40) 50%,
    oklch(13% 0.005 25 / 0.10) 100%
  );
  transition: background 0.3s;
}

.tn-intent-panel:hover .tn-intent-panel__overlay {
  background: linear-gradient(
    to top,
    oklch(13% 0.005 25 / 0.95) 0%,
    oklch(49% 0.19 25 / 0.35) 50%,
    oklch(49% 0.19 25 / 0.08) 100%
  );
}

.tn-intent-panel__content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 40px);
  width: 100%;
}

.tn-intent-panel__number {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tn-red);
  margin-bottom: 10px;
  display: block;
}

.tn-intent-panel__title {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--tn-white);
  margin: 0 0 10px;
}

.tn-intent-panel__desc {
  font-family: var(--tn-font-body);
  font-size: 14px;
  color: oklch(80% 0.005 25);
  margin: 0 0 20px;
  line-height: 1.5;
}

.tn-intent-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tn-white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.tn-intent-panel:hover .tn-intent-panel__cta {
  opacity: 1;
  transform: translateY(0);
}

.tn-intent-panel__divider {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: oklch(99% 0.005 25 / 0.12);
}

@media (max-width: 768px) {
  .tn-intent-split__inner {
    grid-template-columns: 1fr;
  }

  .tn-intent-panel {
    min-height: 220px;
  }

  .tn-intent-panel__divider {
    display: none;
  }

  .tn-intent-panel__cta {
    opacity: 1;
    transform: none;
  }
}

/* ── Services Grid ───────────────────────────────────────────────────────── */

.tn-services {
  background: var(--tn-off-white);
  padding-block: clamp(60px, 8vw, 100px);
}

.tn-services__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.tn-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tn-service-card {
  background: var(--tn-white);
  border-radius: var(--tn-radius-md);
  border: 1px solid var(--tn-border);
  border-top: 3px solid var(--tn-red);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow 0.22s var(--tn-ease-out),
              transform 0.22s var(--tn-ease-out);
  box-shadow: var(--tn-shadow-card);
}

.tn-service-card:hover {
  box-shadow: var(--tn-shadow-lift);
  transform: translateY(-3px);
}

.tn-service-card__sport {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tn-red);
  margin-bottom: 8px;
}

.tn-service-card__title {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  text-transform: uppercase;
  color: var(--tn-dark);
  margin: 0 0 10px;
  line-height: 1.2;
}

.tn-service-card__desc {
  font-family: var(--tn-font-body);
  font-size: 14px;
  color: var(--tn-text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.tn-service-card__price {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tn-dark);
  margin-bottom: 16px;
}

.tn-service-card__price span {
  color: var(--tn-text-muted);
  font-weight: 400;
  font-size: 0.72rem;
}

.tn-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tn-red);
  text-decoration: none;
  transition: gap 0.15s;
}

.tn-service-card:hover .tn-service-card__link {
  gap: 10px;
}

/* ── Proof Strip ─────────────────────────────────────────────────────────── */

.tn-proof {
  background: var(--tn-dark);
  padding-block: clamp(40px, 5vw, 56px);
}

.tn-proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px 24px;
  text-align: center;
}

.tn-proof__stat-number {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--tn-white);
  display: block;
  margin-bottom: 6px;
}

.tn-proof__stat-label {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(60% 0.005 25);
}

/* ── Schedule Widget ─────────────────────────────────────────────────────── */

.tn-schedule {
  background: var(--tn-white);
  padding-block: clamp(60px, 8vw, 100px);
}

.tn-schedule__header {
  text-align: center;
  margin-bottom: 40px;
}

.tn-schedule__widget {
  border-radius: var(--tn-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tn-border);
  min-height: 400px;
  background: var(--tn-off-white);
}

.tn-schedule__widget iframe {
  width: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

/* ── Reviews ─────────────────────────────────────────────────────────────── */

.tn-reviews {
  background: var(--tn-off-white);
  padding-block: clamp(60px, 8vw, 100px);
}

.tn-reviews__header {
  text-align: center;
  margin-bottom: 40px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.tn-footer {
  background: var(--tn-dark);
  padding-block: clamp(48px, 6vw, 80px);
}

.tn-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.tn-footer__brand-name {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tn-white);
  margin: 0 0 8px;
}

.tn-footer__brand-sub {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(50% 0.005 25);
  margin: 0 0 20px;
}

.tn-footer__nap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tn-footer__nap li a,
.tn-footer__nap li span {
  font-family: var(--tn-font-body);
  font-size: 14px;
  color: oklch(60% 0.005 25);
  text-decoration: none;
  transition: color 0.15s;
}

.tn-footer__nap li a:hover {
  color: var(--tn-white);
}

.tn-footer__col-title {
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tn-white);
  margin: 0 0 16px;
}

.tn-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tn-footer__links a {
  font-family: var(--tn-font-body);
  font-size: 14px;
  color: oklch(55% 0.005 25);
  text-decoration: none;
  transition: color 0.15s;
}

.tn-footer__links a:hover {
  color: var(--tn-white);
}

.tn-footer__bottom {
  border-top: 1px solid oklch(99% 0.005 25 / 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tn-footer__copy {
  font-family: var(--tn-font-body);
  font-size: 13px;
  color: oklch(40% 0.005 25);
}

.tn-footer__social {
  display: flex;
  gap: 12px;
}

.tn-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--tn-radius-sm);
  background: oklch(99% 0.005 25 / 0.07);
  color: oklch(55% 0.005 25);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.tn-footer__social a:hover {
  background: var(--tn-red);
  color: var(--tn-white);
}

@media (max-width: 900px) {
  .tn-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .tn-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Sticky Mobile Booking Bar ───────────────────────────────────────────── */

.tn-sticky-book {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--tn-dark);
  border-top: 1px solid oklch(99% 0.005 25 / 0.12);
  padding: 10px clamp(16px, 4vw, 24px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.3s var(--tn-ease-out);
}

.tn-sticky-book.is-visible {
  transform: translateY(0);
}

.tn-sticky-book__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tn-white);
  text-decoration: none;
}

.tn-sticky-book__phone svg {
  color: var(--tn-red);
}

@media (max-width: 768px) {
  .tn-sticky-book {
    display: flex;
  }
}

/* ── Logo mark ───────────────────────────────────────────────────────────── */

.tn-header__logo-mark {
  width: 34px;
  height: 34px;
  background: var(--tn-red);
  color: var(--tn-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tn-radius-sm);
  font-family: var(--tn-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-right: 10px;
}

/* ── Nav dropdown ────────────────────────────────────────────────────────── */

.tn-nav__item {
  position: relative;
  list-style: none;
}

.tn-nav__item--has-sub > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: 0.5;
}

.tn-subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--tn-white);
  border: 1px solid var(--tn-border);
  border-radius: var(--tn-radius-md);
  box-shadow: var(--tn-shadow-lift);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--tn-ease-out),
              transform 0.18s var(--tn-ease-out);
  z-index: 95;
}

.tn-nav__item:hover .tn-subnav,
.tn-nav__item:focus-within .tn-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tn-subnav li {
  list-style: none;
}

.tn-subnav a {
  display: block;
  padding: 8px 12px;
  font-family: var(--tn-font-body);
  font-size: 14px;
  color: var(--tn-text);
  text-decoration: none;
  border-radius: var(--tn-radius-sm);
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}

.tn-subnav a:hover {
  background: var(--tn-off-white);
  color: var(--tn-dark);
  text-decoration: none;
}

/* ── Header CTA wrapper ──────────────────────────────────────────────────── */

.tn-header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ── Trust bar separator ─────────────────────────────────────────────────── */

.tn-trust-bar__sep {
  color: oklch(40% 0.005 25);
  font-size: 0.8rem;
}

/* ── Mobile nav close button ─────────────────────────────────────────────── */

.tn-mobile-nav__book {
  margin-top: 40px;
}

/* ── Page content base ───────────────────────────────────────────────────── */

.tn-site-wrapper {
  min-height: 40vh;
}
