/* The Fight Doctor — hosted practice site theme 'fight'. Self-hosted fonts only; no third-party requests. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("practice_site_assets/barlow_condensed_700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("practice_site_assets/barlow_condensed_800.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("practice_site_assets/barlow_400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("practice_site_assets/barlow_600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("practice_site_assets/barlow_700.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --fd_ink: #0A111C;
  --fd_panel_dark: #101A29;
  --fd_navy: #12355B;
  --fd_navy_deep: #0D2440;
  --fd_red: #C0392B;
  --fd_red_hover: #A93226;
  --fd_red_text: #E0574A;
  --fd_steel: #8B9BB1;
  --fd_steel_dim: #5E6E84;
  --fd_soft_text: #AEB9C8;
  --fd_bone: #EDF0F4;
  --fd_ink_raised: #0C1522;
  --fd_text_lead: #C5CEDA;
  --fd_amber: #D69A4E;
  --fd_line: rgba(237, 240, 244, .12);
  --fd_form_text: #16202E;
  --fd_form_label: #26344A;
  --fd_form_muted: #56657A;
  --fd_form_border: #C3CCD8;
  --fd_form_soft: #E3EAF3;
  --fd_display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --fd_body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --fd_mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fd_gutter: clamp(16px, 6vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fd_ink); color: var(--fd_bone); font-family: var(--fd_body); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--fd_display); font-weight: 800; text-transform: uppercase; line-height: .95; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fd_amber); outline-offset: 3px; }

/* header stays pinned while scrolling; anchors land below it instead of underneath */
.fd_header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--fd_gutter) 16px; border-bottom: 1px solid var(--fd_line); background: rgba(10, 17, 28, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#start, #exam, #fd_wizard { scroll-margin-top: 88px; }
.fd_wordmark { font-family: var(--fd_display); font-weight: 800; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.fd_wordmark span { color: var(--fd_red_text); }
.fd_nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: 14px; font-weight: 600; }
.fd_nav a { text-decoration: none; color: var(--fd_steel); }
.fd_nav a:hover { color: var(--fd_bone); }
.fd_nav .fd_nav_login { color: var(--fd_bone); padding: 8px 14px; border: 1px solid var(--fd_line); border-radius: 3px; }
.fd_nav .fd_nav_book { min-height: 40px; padding: 9px 16px; color: #fff; font-size: 14px; }
.fd_nav .fd_nav_book:hover { color: #fff; }
.fd_booking_section { border-top: 0; padding-top: clamp(48px, 6vw, 88px); }
.fd_page_title { font-size: clamp(48px, 6.4vw, 88px); }

.fd_hero { position: relative; overflow: hidden; background: var(--fd_ink) url("practice_site_assets/thefightdoctor_hero.jpg") 22% 30% / cover no-repeat; }
.fd_hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,28,.25) 0%, rgba(10,17,28,.55) 38%, rgba(10,17,28,.94) 62%, var(--fd_ink) 100%), linear-gradient(0deg, var(--fd_ink) 0%, transparent 30%); }
.fd_hero_inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); padding: clamp(72px, 11vw, 150px) var(--fd_gutter) clamp(64px, 8vw, 110px); }
.fd_hero_copy { grid-column: 2; }
.fd_eyebrow, .eyebrow { font-family: var(--fd_mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fd_amber); margin-bottom: 18px; }
.fd_hero h1 { font-size: clamp(58px, 9vw, 124px); }
.fd_hero h1 em { font-style: normal; color: var(--fd_red_text); }
.fd_hero_summary, .hero-summary { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--fd_text_lead); }
.fd_hero_actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.fd_btn, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 22px; border-radius: 3px; border: 1px solid transparent; font: 700 15px var(--fd_body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.fd_btn:hover, .button:hover { transform: translateY(-2px); }
.fd_btn:disabled { opacity: .6; cursor: wait; transform: none; }
.fd_btn_primary, .button-primary { background: var(--fd_red); color: #fff; }
.fd_btn_primary:hover, .button-primary:hover { background: var(--fd_red_hover); color: #fff; }
.fd_btn_secondary { border-color: rgba(237,240,244,.4); color: var(--fd_bone); background: rgba(10,17,28,.35); }
.fd_btn_back { background: transparent; color: var(--fd_navy); border-color: var(--fd_form_border); }

.fd_sport_strip { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 18px var(--fd_gutter); border-block: 1px solid var(--fd_line); background: var(--fd_panel_dark); font-family: var(--fd_display); font-weight: 700; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; color: var(--fd_steel); }
.fd_sport_strip span::after { content: "/"; margin-left: 28px; color: var(--fd_red_text); }
.fd_sport_strip span:last-child::after { content: none; }

.fd_section { padding: clamp(72px, 9vw, 130px) var(--fd_gutter); }
.fd_section_head, .section-heading { max-width: 640px; display: grid; gap: 14px; }
.fd_section_head h2, .section-heading h2 { font-size: clamp(42px, 5.5vw, 72px); }
.fd_section_head p { color: var(--fd_steel); font-size: 18px; }

.fd_flow_section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.fd_flow_intro h2 { font-size: clamp(44px, 5.6vw, 76px); }
.fd_flow_intro > p:not(.fd_eyebrow):not(.fd_urgent) { margin-top: 18px; color: var(--fd_soft_text); font-size: 18px; max-width: 30em; }
.fd_note_list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--fd_text_lead); }
.fd_note_list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; background: var(--fd_red); vertical-align: 1px; }
.fd_urgent { padding: 16px 18px; border-left: 3px solid var(--fd_red); background: var(--fd_panel_dark); color: var(--fd_text_lead); }

/* light form panel on the dark page */
.fd_panel { background: var(--fd_bone); color: var(--fd_form_text); border-radius: 2px; overflow: hidden; }
.fd_wizard_top { padding: 18px clamp(20px, 4vw, 40px); background: var(--fd_navy); color: var(--fd_bone); display: grid; gap: 12px; }
.fd_wizard_top_row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fd_wizard_top strong { font-family: var(--fd_display); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.fd_wizard_top small { font: 700 11px var(--fd_mono); letter-spacing: .12em; color: #9FB3CC; text-transform: uppercase; }
.fd_progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.fd_progress span { height: 4px; background: rgba(237,240,244,.2); }
.fd_progress span.fd_progress_done { background: var(--fd_red); }
.fd_progress span[hidden] { display: none; }
.fd_wizard_body { padding: clamp(22px, 4vw, 40px); }

.fd_step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.fd_step[hidden] { display: none; }
.fd_step_heading { padding: 0; margin-bottom: 6px; font-family: var(--fd_display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--fd_navy); }
.fd_step_sub { margin-bottom: 22px; font-size: 15px; color: var(--fd_form_muted); }
.fd_panel label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--fd_form_label); }
.fd_panel input:not([type="radio"]), .fd_panel textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--fd_form_border); border-radius: 3px; background: #fff; color: var(--fd_form_text); font: inherit; }
.fd_panel input:focus, .fd_panel textarea:focus { outline: none; border-color: var(--fd_navy); box-shadow: 0 0 0 3px rgba(18,53,91,.18); }
.fd_panel textarea { resize: vertical; }
.fd_field { margin-bottom: 18px; }
.fd_field_row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fd_hint { margin: -8px 0 18px; font-size: 12px; color: #66748A; }
.fd_times_grid { display: grid; gap: 8px; margin-bottom: 18px; }
.fd_times_grid label { margin: 6px 0 0; }
.fd_times_grid input { font-variant-numeric: tabular-nums; }
.fd_honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.fd_choice_grid { display: grid; gap: 12px; }
.fd_tile_input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fd_tile { display: grid !important; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0 !important; padding: 18px 20px; background: #fff; border: 1px solid var(--fd_form_border); border-radius: 3px; cursor: pointer; transition: border-color .15s ease; }
.fd_tile:hover { border-color: var(--fd_navy); }
.fd_tile strong { font-family: var(--fd_display); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; color: var(--fd_form_text); }
.fd_tile span { grid-column: 1; color: var(--fd_form_muted); font-size: 14px; font-weight: 400; }
.fd_tile .fd_tile_meta { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 700 13px var(--fd_mono); color: var(--fd_navy); white-space: nowrap; }
.fd_tile .fd_tile_price { font-family: var(--fd_display); font-size: 30px; }
.fd_tile_input:checked + .fd_tile { background: var(--fd_form_soft); border: 2px solid var(--fd_navy); padding: 17px 19px; }
.fd_tile_input:checked + .fd_tile strong { color: var(--fd_navy); }
.fd_tile_input:focus-visible + .fd_tile { outline: 2px solid var(--fd_amber); outline-offset: 2px; }

.fd_summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 18px; padding: 16px 18px; background: #fff; border: 1px solid #D5DCE5; font-size: 14px; }
.fd_summary dt { font: 700 11px var(--fd_mono); letter-spacing: .1em; text-transform: uppercase; color: #66748A; padding-top: 2px; }
.fd_summary dd { margin: 0; overflow-wrap: anywhere; }
.fd_rv_price { font-weight: 700; color: var(--fd_navy); }
.fd_rv_time { display: block; }
.fd_no_payment { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; padding: 12px 14px; background: var(--fd_form_soft); color: #1F3554; font-size: 14px; border-radius: 2px; }
.fd_no_payment::before { content: "$"; flex: none; width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid var(--fd_navy); border-radius: 50%; font: 700 11px var(--fd_mono); color: var(--fd_navy); }
.fd_privacy_note { font-size: 12px; color: #66748A; }
.fd_form_error { margin-bottom: 16px; padding: 12px 14px; background: #FAEAEA; color: #8C2929; font-size: 14px; }
.fd_wizard_nav { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.fd_done:focus { outline: none; }
.fd_done h3 { font-size: 34px; color: var(--fd_navy); margin-bottom: 12px; }
.fd_done p { color: #3C4A5E; margin-bottom: 22px; }
.fd_done .fd_stamp { margin: 0 0 18px; }

.fd_exam_layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.fd_clearance { max-width: 460px; background: var(--fd_bone); color: var(--fd_form_text); border-radius: 2px; box-shadow: 16px 16px 0 var(--fd_red); font-family: var(--fd_mono); font-size: 13px; }
.fd_clearance_head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; background: var(--fd_navy); color: var(--fd_bone); }
.fd_clearance_head strong { font-family: var(--fd_display); font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
.fd_clearance_head small { color: #9FB3CC; font-size: 11px; }
.fd_clearance ol { list-style: none; margin: 0; padding: 6px 20px; }
.fd_clearance li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed #B8C2CF; }
.fd_clearance li:last-child { border-bottom: 0; }
.fd_tick { width: 18px; height: 18px; border: 2px solid var(--fd_navy); display: grid; place-items: center; font-size: 12px; line-height: 1; color: var(--fd_navy); font-weight: 700; }
.fd_code { color: #6A7890; font-size: 11px; }
.fd_clearance_foot { padding: 14px 20px 18px; border-top: 2px solid var(--fd_navy); font-family: var(--fd_body); font-size: 14px; color: #3C4A5E; }
.fd_stamp { display: inline-block; margin-top: 10px; padding: 4px 10px; border: 2px solid var(--fd_red); color: var(--fd_red); font: 700 13px var(--fd_mono); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-3deg); }

.fd_not_found { min-height: 55vh; display: grid; place-content: center; justify-items: center; gap: 24px; text-align: center; }
.fd_not_found h1 { font-size: clamp(50px, 7vw, 82px); }

.fd_footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 30px var(--fd_gutter); border-top: 1px solid var(--fd_line); color: var(--fd_steel); font-size: 13px; }
.fd_footer .fd_wordmark { font-size: 20px; color: var(--fd_bone); }
.fd_footer_brand, .fd_footer_links { display: grid; gap: 6px; }
.fd_footer_links { justify-items: end; }
.fd_footer_links a { text-decoration: none; }
.fd_footer_links a:hover { color: var(--fd_bone); }
.fd_powered { color: var(--fd_bone); font-weight: 700; }

@media (max-width: 900px) {
  .fd_hero { background-position: 30% 20%; }
  .fd_hero::before { background: linear-gradient(180deg, rgba(10,17,28,.45) 0%, rgba(10,17,28,.82) 45%, var(--fd_ink) 100%); }
  .fd_hero_inner, .fd_flow_section, .fd_exam_layout { grid-template-columns: 1fr; }
  .fd_hero_copy { grid-column: 1; }
  .fd_footer_links { justify-items: start; }
}
@media (max-width: 560px) {
  .fd_nav a:not(.fd_nav_book) { display: none; }
  .fd_wordmark { font-size: 22px; }
  .fd_field_row { grid-template-columns: 1fr; }
  .fd_clearance { box-shadow: 8px 8px 0 var(--fd_red); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fd_btn, .button, .fd_tile, .service_card, .service_sort_button { transition: none; }
  .fd_btn:hover, .button:hover, .service_card:hover { transform: none; }
}

/* ===========================================================================
   SERVICE-LINE PAGES AND THE PATIENT ACCOUNT HEADER (CMR-2026-11-04-559)

   The markup these rules style is the SHARED public service-page renderer's —
   the same HTML the classic theme gets. That is deliberate: the charge
   statement, the eligibility paragraph and the how-it-works steps each live in
   exactly one place so two surfaces cannot state different terms for one
   service, so a theme differs here in its stylesheet and nowhere else.

   Consequence: these selectors are the classic theme's class names, not fd_
   ones. Do not rename them to match the rest of this file — the renderer emits
   them and js/practice_site.js binds to them.

   Every value comes from the tokens declared at the top of this file. The
   --practice-primary / --practice-accent custom properties the classic
   stylesheet uses are set on the classic template's body element and do not
   exist on a fight page; nothing below may reference them.
   =========================================================================== */

/* --- header: save control and account menu -------------------------------- */
.fd_nav_icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--fd_line); border-radius: 3px; background: transparent; color: var(--fd_steel); cursor: pointer; text-decoration: none; }
.fd_nav_icon:hover { color: var(--fd_bone); border-color: rgba(237, 240, 244, .35); }
.fd_nav_icon[aria-pressed="true"] { color: var(--fd_red_text); border-color: var(--fd_red); }
.fd_nav_icon[aria-pressed="true"] svg path { fill: currentColor; }
.user_menu_container { position: relative; display: inline-flex; }
.user_menu_list { position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px; display: grid; background: var(--fd_panel_dark); border: 1px solid var(--fd_line); border-radius: 3px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); overflow: hidden; z-index: 60; }
.user_menu_list[hidden] { display: none; }
.user_menu_list a, .user_menu_signout button { display: block; width: 100%; padding: 13px 18px; border: 0; background: none; color: var(--fd_bone); font: 600 14px var(--fd_body); text-align: left; text-decoration: none; cursor: pointer; }
.user_menu_list a:hover, .user_menu_signout button:hover { background: var(--fd_navy_deep); color: var(--fd_bone); }
.user_menu_greeting { padding: 13px 18px 9px; font: 700 11px var(--fd_mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fd_steel); }
.user_menu_signout { margin: 0; border-top: 1px solid var(--fd_line); }

/* --- shared helpers the service markup uses ------------------------------- */
.eyebrow { font-family: var(--fd_mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fd_amber); margin-bottom: 18px; }
.section-heading { max-width: 640px; display: grid; gap: 14px; }
.section-heading h2 { font-size: clamp(42px, 5.5vw, 72px); }
.section-heading .eyebrow { margin-bottom: 0; }
.text-link { color: var(--fd_bone); font: 700 14px var(--fd_body); text-decoration: none; border-bottom: 2px solid var(--fd_red); padding-bottom: 3px; }
.text-link:hover { border-bottom-color: var(--fd_red_text); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 22px; border-radius: 3px; border: 1px solid transparent; font: 700 15px var(--fd_body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--fd_red); color: #fff; }
.button-primary:hover { background: var(--fd_red_hover); color: #fff; }

/* --- the services section (home, and the body of /services) --------------- */
.services_section { padding: clamp(72px, 9vw, 130px) var(--fd_gutter); background: var(--fd_panel_dark); border-block: 1px solid var(--fd_line); }
.service_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 18px; margin-top: 40px; }
.section_footer_link { display: inline-block; margin-top: 32px; }

.service_card { display: grid; align-content: start; gap: 12px; padding: 26px 26px 22px; background: var(--fd_ink); border: 1px solid var(--fd_line); border-left: 3px solid var(--fd_red); border-radius: 2px; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.service_card:hover { transform: translateY(-3px); background: var(--fd_ink_raised); border-color: rgba(237, 240, 244, .22); border-left-color: var(--fd_red_text); }
.service_mode { font: 700 11px var(--fd_mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fd_amber); }
.service_card h3 { font-size: 30px; }
.service_card > p { color: var(--fd_soft_text); font-size: 15px; }
.service_card_footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--fd_line); }
.service_price { font-family: var(--fd_display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--fd_bone); }
.service_price small { display: block; margin-top: 6px; font: 700 11px var(--fd_mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fd_steel); }
.service_card_arrow { font-size: 24px; color: var(--fd_red_text); }

/* --- /services: hero, groups, and the search and sort bar ----------------- */
.service_hero { padding: clamp(56px, 7vw, 96px) var(--fd_gutter) clamp(34px, 4vw, 54px); }
.service_hero h1 { font-size: clamp(48px, 7vw, 96px); }
.service_breadcrumb { margin-bottom: 20px; font: 700 11px var(--fd_mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fd_steel); }
.service_breadcrumb a { color: var(--fd_steel); text-decoration: none; }
.service_breadcrumb a:hover { color: var(--fd_bone); }
.service_group + .service_group { margin-top: clamp(44px, 5vw, 72px); }
.service_group_title { font-size: clamp(30px, 3.4vw, 44px); }
.service_group_note { margin-top: 10px; color: var(--fd_steel); font-size: 16px; }
.service_multi_mode_note, .service_result_count, .service_no_results, .service_empty_text { color: var(--fd_steel); font-size: 15px; }
.service_no_results, .service_empty_text { margin-top: 20px; }

.service_finder { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); }
.service_finder[hidden] { display: none; }
.service_search_label { font: 700 11px var(--fd_mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fd_steel); }
.service_search_wrap { position: relative; display: flex; align-items: center; max-width: 420px; }
.service_search_icon { position: absolute; left: 13px; width: 18px; height: 18px; fill: none; stroke: var(--fd_steel_dim); stroke-width: 2; }
.service_search_input { width: 100%; padding: 13px 40px 13px 40px; border: 1px solid var(--fd_steel_dim); border-radius: 3px; background: var(--fd_ink); color: var(--fd_bone); font: inherit; }
.service_search_input::placeholder { color: var(--fd_steel); opacity: 1; }
.service_search_input:focus { outline: none; border-color: var(--fd_steel); }
.service_search_clear { position: absolute; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 3px; background: none; color: var(--fd_steel); font-size: 20px; line-height: 1; cursor: pointer; }
.service_sort_row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.service_sort_label { font: 700 11px var(--fd_mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fd_steel); }
.service_sort_buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.service_sort_button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--fd_steel_dim); border-radius: 3px; background: transparent; color: var(--fd_steel); font: 600 13px var(--fd_body); cursor: pointer; }
.service_sort_arrow { margin-left: 7px; }
.service_sort_arrow:empty { display: none; }
.service_sort_button:hover { color: var(--fd_bone); }
.service_sort_button.is_active { background: var(--fd_navy); border-color: var(--fd_navy); color: var(--fd_bone); }

/* --- /services/<slug> ----------------------------------------------------- */
.service_preview_banner { padding: 12px var(--fd_gutter); background: var(--fd_navy_deep); border-bottom: 1px solid var(--fd_line); color: var(--fd_amber); font: 700 13px var(--fd_body); }
.service_tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.service_tag { padding: 7px 12px; border: 1px solid var(--fd_line); border-radius: 2px; font: 700 11px var(--fd_mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fd_steel); }

.service_body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding: 0 var(--fd_gutter) clamp(72px, 9vw, 120px); }
.service_content section + section { margin-top: clamp(38px, 4vw, 60px); }
.service_content h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.service_content h3 { font-size: 20px; margin-bottom: 12px; }
.service_content p, .service_content li { color: var(--fd_soft_text); font-size: 17px; }
.service_content p + p { margin-top: 14px; }
.service_content ul { margin: 0; padding-left: 20px; }

.steps_list { counter-reset: fd_step; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps_list li { counter-increment: fd_step; position: relative; padding: 20px 22px 20px 72px; background: var(--fd_panel_dark); border-left: 3px solid var(--fd_navy); color: var(--fd_soft_text); font-size: 15px; }
.steps_list li::before { content: counter(fd_step, decimal-leading-zero); position: absolute; left: 22px; top: 19px; font: 800 20px var(--fd_display); color: var(--fd_red_text); }
.steps_list strong { display: block; margin-bottom: 5px; font-family: var(--fd_display); font-weight: 800; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; color: var(--fd_bone); }

.two_col_lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.two_col_lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.two_col_lists li { position: relative; padding-left: 24px; font-size: 15px; }
.two_col_lists li::before { content: "\2713"; position: absolute; left: 0; color: var(--fd_red_text); font-weight: 700; }
.two_col_lists .not_included li::before { content: "\2014"; color: var(--fd_steel_dim); }
.two_col_lists h3 { font-size: 17px; letter-spacing: .04em; }
.faq_item { padding: 18px 0; border-top: 1px solid var(--fd_line); }
.faq_item summary { cursor: pointer; font: 700 17px var(--fd_body); color: var(--fd_bone); }
.faq_item p { margin-top: 12px; }

.price_panel { position: sticky; top: 104px; padding: 28px 26px; background: var(--fd_bone); color: var(--fd_form_text); border-radius: 2px; }
.price_panel .eyebrow { margin-bottom: 10px; color: var(--fd_navy); }
.price_big { font-family: var(--fd_display); font-weight: 800; font-size: 72px; line-height: .9; color: var(--fd_navy); }
.price_caption { margin-top: 6px; font-size: 14px; color: var(--fd_form_muted); }
.price_lines { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14px; }
.price_lines td { padding: 9px 0; border-bottom: 1px solid var(--fd_form_border); color: var(--fd_form_label); }
.price_lines td:last-child { padding-left: 12px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price_lines tr.total td { border-bottom: 0; padding-top: 14px; font-weight: 700; color: var(--fd_form_text); }
.price_panel .button { width: 100%; }
.price_panel_note { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--fd_form_muted); }
.eligibility_box { margin-top: 20px; padding: 16px 18px; background: #fff; border-left: 3px solid var(--fd_navy); font-size: 13px; line-height: 1.55; color: var(--fd_form_label); }
.eligibility_box strong { display: block; margin-bottom: 6px; font-family: var(--fd_display); font-size: 17px; text-transform: uppercase; color: var(--fd_navy); }

/* --- the booking panel: layout ported from the classic theme, fight colours */
.booking_overlay { position: fixed; inset: 0; z-index: 1000; }
.booking_overlay[hidden] { display: none; }
.booking_overlay_backdrop { position: absolute; inset: 0; background: rgba(10, 17, 28, .62); }
.booking_overlay_panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: #f8f8f8; box-shadow: -24px 0 70px rgba(0, 0, 0, .5); animation: booking_overlay_in .2s ease-out; }
.booking_overlay_frame { display: block; width: 100%; height: 100%; border: 0; }
.booking_overlay_loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #f8f8f8; color: var(--fd_form_muted); font-size: 15px; }
.booking_overlay_panel.is_ready .booking_overlay_loading { display: none; }
.booking_overlay_spinner { width: 36px; height: 36px; border: 3px solid var(--fd_form_border); border-top-color: var(--fd_navy); border-radius: 50%; animation: booking_overlay_spin .8s linear infinite; }
body.booking_overlay_open { overflow: hidden; }
@keyframes booking_overlay_spin { to { transform: rotate(360deg); } }
@keyframes booking_overlay_in { from { transform: translateX(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .booking_overlay_panel { animation: none; } .booking_overlay_spinner { animation-duration: 2.4s; } }

@media (max-width: 900px) {
  .service_body { grid-template-columns: minmax(0, 1fr); }
  .price_panel { position: static; order: -1; }
}
