/* The Crane School — design tokens reproduced from the original theme (theme25 + site overrides). */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/poppins-400.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/open-sans-latin-var.woff2) format('woff2'); }

:root {
  --primary: #097380;          /* rgba(9,115,128) */
  --primary-dark: #075c66;
  --primary-08: rgba(9, 115, 128, .85);
  --yellow: #ffcc00;           /* rgba(255,204,0) */
  --yellow-08: rgba(255, 204, 0, .85);
  --text: #5b5b5b;             /* original #676767, darkened slightly for WCAG AA on #f4f4f4 */
  --heading-alt: #555;
  --dark: #333333;
  --ink: #1f232b;
  --card: #f4f4f4;
  --footer: #e1e1e1;
  --line: #dcdcdc;
  --white: #fff;
  --radius: 3px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --container: 1200px;
  --font-head: 'Poppins', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: #000; padding: 10px 16px; z-index: 1000; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--primary); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 4.5rem); }   /* 72px desktop */
h2 { font-size: clamp(1.7rem, 3vw, 2.625rem); }   /* 42px desktop */
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }    /* 32px desktop */
h4 { font-size: 1.5rem; color: var(--heading-alt); }
h5 { font-size: 1.125rem; color: var(--heading-alt); }
p { margin: 0 0 1.1em; }
strong { color: #3e3e3e; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.section { padding: 64px 0; }
.section--grey { background: var(--card); }
.section--teal { background: var(--primary); color: #fff; }
.section--teal h2, .section--teal h3, .section--teal a { color: #fff; }
.eyebrow { display: block; font-family: var(--font-head); color: #806500; font-size: 1rem; font-weight: 600; margin-bottom: .4em; letter-spacing: .02em; }
.hero .eyebrow { color: var(--yellow); }
.section--teal .eyebrow { color: #fff; border-bottom: 3px solid var(--yellow); display: inline-block; padding-bottom: 2px; }
.section--teal a.btn--yellow { color: #000; }
.center { text-align: center; }
.lead { font-size: 1.125rem; }

/* Buttons (original: .theme-button, hvr-grow) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-head); font-size: 14px; font-weight: 600; line-height: 1.2; padding: 14px 28px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; text-align: center; }
.btn:hover { transform: scale(1.04); box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
.btn--yellow { background: var(--yellow); color: #000; }
.btn--yellow:hover { color: #000; }
.btn--teal { background: var(--primary); color: #fff; text-transform: uppercase; }
.btn--teal:hover { color: #fff; background: var(--primary-dark); }
.btn--dark { background: var(--dark); color: #fff; border-radius: 0; font-family: var(--font-body); font-weight: 400; }
.btn--dark:hover { color: #fff; }
.btn--pill { background: var(--dark); color: #fff; border-radius: 16px; font-family: var(--font-body); font-weight: 400; padding: 9px 18px; }
.btn--pill:hover { color: #fff; }
.btn--text { background: var(--primary); color: #fff; border: 3px solid var(--yellow); border-radius: 25px; padding: 18px 26px; font-family: var(--font-body); font-size: 16px; font-weight: 400; }
.btn--text:hover { color: #fff; background: #1b5697; }
.btn--outline { background: transparent; border-color: currentColor; color: var(--primary); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--primary); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar { border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.topbar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.topbar__phone { color: #fff; text-decoration: none; font-weight: 600; }
.social { display: flex; gap: 6px; }
.social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); transition: background .2s; }
.social a:hover { background: rgba(255,255,255,.3); color: #fff; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.mainbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; }
.logo img { height: 90px; width: auto; }
.nav { display: flex; align-items: center; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li { position: relative; margin: 0; }
.nav li.has-sub { display: flex; align-items: center; }
.nav li.has-sub > a { padding-right: 2px; }
.nav li.has-sub > button.nav__toggle { padding: 10px 6px 10px 2px; }
.nav a, .nav button.nav__toggle { display: flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 15px; padding: 10px 12px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav a:hover, .nav button.nav__toggle:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--yellow); }
.nav .sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; z-index: 5; min-width: 300px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--yellow); display: none; }
.nav .sub a { color: var(--ink); font-size: 14px; padding: 9px 18px; white-space: normal; }
.nav .sub a:hover { background: var(--card); color: var(--primary); }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: block; }
.nav__caret { width: 10px; height: 10px; fill: currentColor; }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { white-space: nowrap; padding: 13px 18px; }
.mainbar .container { max-width: 1320px; }
.menu-btn { display: none; background: none; border: 2px solid rgba(255,255,255,.6); color: #fff; border-radius: var(--radius); padding: 8px 12px; font-family: var(--font-head); font-size: 15px; cursor: pointer; }

/* Hero (original: full-width photo, white H1, yellow + teal overlay boxes) */
.hero { position: relative; color: #fff; background: #1d3a40; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25)); }
.hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.hero__eyebrow { color: var(--yellow); font-family: var(--font-head); font-weight: 600; display: block; margin-bottom: .6em; }
.hero__intro { font-size: 1.15rem; max-width: 760px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero--home .container { text-align: center; padding-top: 80px; padding-bottom: 0; }
.hero--home .hero__intro { margin: 0 auto; }
.hero--home .hero__actions { justify-content: center; }
.hero-boxes { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 48px auto 0; }
.hero-box { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-box { padding: 32px 28px; text-align: center; color: #fff; }
.hero-box h2 { color: #fff; font-size: 1.75rem; margin-bottom: .4em; }
.hero-box p { margin-bottom: .8em; }
.hero-box a { color: #fff; font-family: var(--font-head); font-weight: 600; }
.hero-box--yellow { background: var(--yellow-08); }
.hero-box--yellow, .hero-box--yellow h2, .hero-box--yellow a { color: #1f232b; }
.hero-box--teal { background: var(--primary-08); }

.breadcrumbs { background: var(--card); font-size: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: '›'; margin-right: 6px; color: #888; }
.breadcrumbs a { text-decoration: none; }

/* Content */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.4rem; margin-top: 1.3em; }
.prose img { margin: 1.5em 0; border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--yellow); background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--card); }
.sidebar { position: sticky; top: 170px; display: grid; gap: 24px; }
.card { background: var(--card); padding: 28px 24px; border-radius: var(--radius); }
.card h3 { font-size: 1.25rem; }
.callout { border-left: 5px solid var(--yellow); background: #fffbe8; padding: 18px 22px; margin: 0 0 2em; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 0 0 2.2em; padding: 0; list-style: none; }
.highlights li { background: var(--card); border-top: 4px solid var(--primary); padding: 16px; margin: 0; }
.highlights b { display: block; font-family: var(--font-head); color: var(--primary); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* Service cards (original: grey boxes, teal heading, teal LEARN MORE) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.service { background: var(--card); padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service h3 { font-size: 1.15rem; margin-bottom: .6em; }
.service p { font-size: 15px; flex: 1; }
.service .btn { margin-top: 8px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.1rem; }
.post-card h3 a { text-decoration: none; }
.post-card time, .meta { font-size: 13px; color: #595959; }
.link-grid { columns: 4 200px; column-gap: 24px; list-style: none; padding: 0; }
.link-grid li { break-inside: avoid; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; font-size: 14px; background: #fff; }
.chips a:hover { border-color: var(--primary); }

/* Schedule — reproduces the original "Class Schedule Block" widget */
.schedule { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0 -10px; }
.sched-card { flex: 1 0 calc(33.333% - 20px); margin: 10px; padding: 20px; background: #ccffcc; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,.1); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .3s, background-color .3s; color: #000; }
.sched-card.tone-upcoming { background: #ffebcc; }
.sched-card.tone-urgent { background: #ffcccc; }
.sched-card:hover { transform: translateY(-10px); }
.sched-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--primary); margin: 0 0 15px; }
.sched-card .date, .sched-card .desc { color: #000; margin: 0 0 10px; font-size: 15px; }
.sched-card .away { color: #c00000; margin: 0 0 10px; font-size: 15px; }
.sched-card .btn { align-self: center; margin-top: 10px; background: #fff; color: #000; border: 2px solid var(--primary); border-radius: 3px; padding: 10px 15px; font-family: var(--font-body); font-weight: 400; font-size: 15px; text-transform: none; }
.sched-card .btn:hover { background: var(--primary); color: #fff; transform: none; box-shadow: none; }
.sched-card .progress-bar { position: absolute; bottom: 0; left: 0; height: 5px; width: 0; background: var(--primary); border-radius: 3px; transition: width .3s; }
.sched-card:hover .progress-bar { width: 100%; }
@media (max-width: 900px) { .sched-card { flex: 1 0 calc(50% - 20px); } }
@media (max-width: 600px) { .sched-card { flex: 1 0 100%; } }
.sched-table { width: 100%; border-collapse: collapse; margin-bottom: 2em; }
.sched-table th, .sched-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.sched-table th { background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 600; }
.sched-table tr.past td { color: #636363; text-decoration: line-through; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin: 0; }
.quote p { font-style: italic; }
.quote footer { font-size: 14px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--primary); display: block; }

/* FAQ accordion (original ToggleWidget) */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 12px; font-size: 1.6rem; color: var(--primary); }
.faq details[open] summary::after { content: '–'; }
.faq .answer { padding: 0 0 18px; }

/* Forms */
.form-card { background: var(--card); padding: 28px 24px; border-radius: var(--radius); }
.form-card h2, .form-card h3 { font-size: 1.4rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; color: #333; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9b9b9; border-radius: var(--radius); background: #fff; color: #222; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: 2px solid rgba(9,115,128,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; color: #666; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.error { color: #b00020; }
.form-status.ok { color: #0a6b2d; }
.ac-embed { min-height: 360px; }
.company-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; justify-content: center; margin: 0 auto; max-width: 640px; }
.company-search .field { flex: 1 1 280px; margin: 0; }
.stars { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.stars a { font-size: 2rem; text-decoration: none; padding: 8px 14px; border: 2px solid var(--line); border-radius: 8px; color: #c99a00; background: #fff; }
.stars a:hover { border-color: var(--yellow); }

/* Quiz */
.quiz fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 16px; background: #fff; }
.quiz legend { font-family: var(--font-head); font-weight: 600; color: var(--ink); padding: 0 6px; }
.quiz label { display: block; padding: 4px 0; cursor: pointer; }

/* Business strip + footer (original: #e1e1e1 footer, teal strip and bottom bar) */
.biz-strip { background: var(--primary); text-align: center; padding: 14px 20px; }
.biz-strip a, .site-footer .biz-strip a { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.site-footer { background: var(--footer); color: #3e3e3e; font-size: 15px; }
.site-footer .container { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr 1fr; gap: 28px; padding-top: 48px; padding-bottom: 40px; }
.site-footer h2 { font-size: 1rem; margin-bottom: .8em; color: #05535c; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #3e3e3e; text-decoration: none; }
.site-footer a:hover { color: var(--primary); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom { background: var(--primary); color: #fff; text-align: center; font-size: 14px; padding: 16px 20px; }
.footer-bottom a { color: #fff; }

/* Text-us floating button (original "Push To Text Us") */
.text-fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; box-shadow: 0 6px 18px rgba(0,0,0,.25); padding: 12px 18px; font-size: 15px; }

.notfound { text-align: center; padding: 80px 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination [aria-current] { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (max-width: 1280px) {
  .nav a, .nav button.nav__toggle { font-size: 14px; padding: 10px 7px; }
  .header-cta .btn--dark { display: none; }
}
@media (max-width: 1024px) {
  .menu-btn { display: inline-block; }
  .mainbar .container { flex-wrap: wrap; min-height: 84px; }
  .logo img { height: 64px; }
  .nav { display: none; width: 100%; order: 3; }
  .nav.open { display: block; padding-bottom: 16px; max-height: calc(100vh - 140px); overflow-y: auto; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a, .nav button.nav__toggle { padding: 12px 4px; font-size: 16px; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav .sub { position: static; display: none; box-shadow: none; border: 0; background: rgba(0,0,0,.12); min-width: 0; }
  .nav li:hover > .sub, .nav li:focus-within > .sub { display: none; }
  .nav li.open > .sub { display: block; }
  .nav .sub a { color: #fff; padding-left: 18px; }
  .nav li.has-sub { flex-wrap: wrap; }
  .nav li.has-sub > a { flex: 1; }
  .nav li.has-sub > button.nav__toggle { width: auto; padding: 12px; }
  .nav .sub { flex-basis: 100%; }
  .nav .sub a:hover { background: transparent; color: #fff; }
  .header-cta { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar .social, .topbar .hide-sm { display: none; }
  .section { padding: 44px 0; }
  .hero .container { padding-top: 48px; padding-bottom: 48px; }
  .hero--home .container { padding-bottom: 0; }
  .hero-boxes { margin-top: 32px; max-width: none; }
}
@media (max-width: 600px) {
  .cards, .cards--4 { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 20px; }
  .text-fab { right: 10px; bottom: 10px; padding: 10px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .biz-strip, .text-fab, .sidebar { display: none; }
}

/* Device-specific elements: SMS buttons only make sense on phones/tablets */
@media (min-width: 1025px) { .mobile-only { display: none !important; } }
@media (max-width: 1024px) { .desktop-only { display: none !important; } }
.home-start { padding-top: 56px; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #fff; background: var(--primary); width: 20px; height: 20px; border-radius: 50%; font-size: 13px; line-height: 20px; text-align: center; }
.home-start .company-search { justify-content: flex-start; margin: 24px 0 0; max-width: none; }
@media (max-width: 600px) { .hero-boxes { grid-template-columns: 1fr; } }

/* Leave a review — reproduces the original star circles and the sliding "thank you" crane */
.review-page { padding-bottom: 0; }
.review-stars { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin: 32px 0 8px; }
.review-star { width: 180px; height: 180px; border-radius: 50%; border: 2px solid #000; background: var(--primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; transition: transform .3s; }
.review-star span { font-size: 40px; line-height: 1; }
.review-star b { font-size: 24px; font-weight: 400; }
.review-star:hover, .review-star:focus-visible { transform: scale(1.2); color: #fff; }
.crane-strip { position: relative; overflow: hidden; width: 100%; height: 155px; }
.crane-driver { position: absolute; bottom: 0; width: 10%; min-width: 150px; height: auto; animation: crane-out 8s linear infinite; }
@keyframes crane-out { from { right: -20%; } to { right: 100%; } }
@keyframes crane-back { from { right: 100%; } to { right: -20%; } }
@media (max-width: 768px) {
  .review-stars { gap: 10px; }
  .review-star { width: 18%; height: auto; aspect-ratio: 1; min-width: 56px; }
  .review-star span { font-size: 22px; }
  .review-star b { font-size: 16px; }
  .crane-strip { height: 175px; }
  .crane-driver { width: 300px; }
}
@media (prefers-reduced-motion: reduce) { .crane-driver { animation: none; right: 50%; transform: translateX(50%); } }
.calendar-embed { display: block; width: 100%; border: 0; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,.1); background: #fff; margin-bottom: 24px; }
.all-dates { background: #fff; border-radius: 6px; padding: 16px 20px; }
.all-dates summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--primary); }

/* Mobile: sticky Call / Text bar replaces the floating button (doesn't cover content) */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -2px 10px rgba(0,0,0,.2); }
.mobile-bar a { display: block; text-align: center; padding: 14px 8px calc(14px + env(safe-area-inset-bottom)); font-family: var(--font-head); font-weight: 600; text-decoration: none; background: var(--yellow); color: #000; }
.mobile-bar a.mobile-bar__text { background: var(--primary); color: #fff; }
@media (max-width: 1024px) { body { padding-bottom: 58px; } }
.text-fab { display: none; }

/* Mobile polish */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .hero__intro { font-size: 1.02rem; }
  .hero .container { padding-top: 40px; padding-bottom: 40px; }
  .cards--4, .cards { gap: 12px; }
  .cards--4 { grid-template-columns: 1fr 1fr; }
  .cards--4 .service { padding: 16px 12px; }
  .cards--4 .service h3 { font-size: .98rem; }
  .cards--4 .service p { display: none; }
  .cards--4 .service .btn { padding: 9px 12px; font-size: 12px; margin-top: 6px; }
  .review-stars { gap: 2%; flex-wrap: nowrap; }
  .review-star { width: 18%; min-width: 0; }
  .blog-index .post-card { flex-direction: row; align-items: stretch; }
  .blog-index .post-card img { width: 108px; aspect-ratio: 1; flex: none; }
  .blog-index .post-card__body { padding: 10px 12px; }
  .blog-index .post-card p { display: none; }
  .blog-index .post-card h3 { font-size: .95rem; margin: 2px 0 0; }
}
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; padding: 0; }
.state-grid li { background: var(--card); border-radius: var(--radius); padding: 14px 16px; margin: 0; }
.state-grid li > a { font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.state-grid .meta a { color: #3d3d3d; }

/* Stripe pay box on course pages */
.pay-card { border: 2px solid var(--primary); border-radius: 6px; padding: 24px; margin: 0 0 2em; background: #fff; scroll-margin-top: 170px; }
.pay-card h2 { margin-top: 0; font-size: 1.5rem; }
.pay-total-label { display: block; font-weight: 600; font-size: 14px; color: #333; margin-bottom: 4px; }
.pay-total { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--primary); line-height: 1.6; }
.pay-options { border: 0; padding: 0; margin: 0 0 14px; }
.pay-options legend { font-weight: 600; font-size: 14px; color: #333; margin-bottom: 4px; }
.pay-options label { display: inline-flex; align-items: center; gap: 8px; margin-right: 22px; font-weight: 400; font-size: 15px; cursor: pointer; }
.pay-options input[type=radio] { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--primary); }
.pay-btn { width: 100%; font-size: 16px; padding: 16px; }
