/*
Theme Name: Road Masters
Description: Custom theme for Road Masters Driving School (Leesburg, VA). Works with the Road Masters Core plugin.
Version: 1.2.0
Author: Road Masters Driving School
Requires PHP: 7.4
Text Domain: roadmasters
*/
:root{
  --navy:#0d2238; --navy-2:#16324f; --ink:#1c2733; --muted:#5d6b7a;
  --amber:#ffb81c; --amber-d:#e9a100; --green:#1f9d63; --bg:#f6f7f9; --line:#e3e7ec;
  --r:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:var(--ink);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.wrap{width:min(1180px,92%);margin:0 auto}
.btn{display:inline-flex;align-items:center;gap:.55rem;font-weight:700;border-radius:999px;padding:.85rem 1.5rem;font-size:.98rem;transition:.2s;cursor:pointer;border:0;font-family:inherit}
.btn svg{width:18px;height:18px}
.btn-amber{background:var(--amber);color:var(--navy)}
.btn-amber:hover{background:var(--amber-d)}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;border:1.5px solid rgba(255,255,255,.35)}
.btn-ghost:hover{background:rgba(255,255,255,.16)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-2)}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--amber-d)}
.eyebrow::before{content:"";width:22px;height:3px;border-radius:3px;background:var(--amber)}
h1,h2,h3{line-height:1.15;color:var(--navy);letter-spacing:-.02em}
h2{font-size:clamp(1.8rem,3.2vw,2.6rem);font-weight:800;margin:.6rem 0 .8rem}
.lead{color:var(--muted);font-size:1.05rem;max-width:620px}
section{padding:90px 0}

/* top bar */
.topbar{background:var(--navy);color:#c8d3df;font-size:.84rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;padding:.55rem 0;gap:1rem}
.topbar span{display:inline-flex;align-items:center;gap:.4rem;margin-right:1.4rem}
.topbar svg{width:14px;height:14px;color:var(--amber)}

/* header */
header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:76px;gap:1rem}
.logo{display:flex;align-items:center;gap:.65rem;font-weight:800;font-size:1.15rem;color:var(--navy)}
.logo-mark{width:42px;height:42px;border-radius:12px;background:var(--navy);display:grid;place-items:center}
.logo-mark svg{width:26px;height:26px}
.logo small{display:block;font-size:.7rem;font-weight:600;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}
nav ul{display:flex;gap:2rem;list-style:none;font-weight:600;font-size:.95rem}
nav a{position:relative;padding:.3rem 0}
nav a.active{color:var(--navy)}
nav a.active::after,nav a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:3px;border-radius:3px;background:var(--amber)}
.hdr-call{display:flex;align-items:center;gap:.7rem}
.hdr-call .ico{width:44px;height:44px;border-radius:50%;background:#fff4d6;display:grid;place-items:center;color:var(--amber-d)}
.hdr-call .ico svg{width:20px;height:20px}
.hdr-call small{display:block;font-size:.74rem;color:var(--muted);font-weight:600}
.hdr-call b{font-size:1.05rem;color:var(--navy)}
.burger{display:none;background:none;border:0;width:44px;height:44px;border-radius:10px;cursor:pointer}
.burger span{display:block;width:22px;height:2.5px;background:var(--navy);margin:5px auto;border-radius:2px}

/* hero */
.hero{position:relative;background:linear-gradient(160deg,var(--navy) 0%,#123a5e 100%);color:#fff;overflow:hidden;padding:80px 0 120px}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:46px;height:6px;background:repeating-linear-gradient(90deg,var(--amber) 0 60px,transparent 60px 110px);opacity:.9}
.hero::before{content:"";position:absolute;left:0;right:0;bottom:0;height:100px;background:#1a2a3a}
.hero .wrap{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:3rem}
.hero h1{color:#fff;font-size:clamp(2.3rem,5vw,3.9rem);font-weight:800;margin:1rem 0 1.1rem}
.hero h1 em{font-style:normal;color:var(--amber)}
.hero p{color:#c9d6e3;font-size:1.12rem;max-width:540px}
.hero .cta{display:flex;flex-wrap:wrap;gap:.8rem;margin:2rem 0 2.2rem}
.chips{display:flex;flex-wrap:wrap;gap:.6rem}
.chip{display:inline-flex;align-items:center;gap:.45rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);padding:.45rem .9rem;border-radius:999px;font-size:.86rem;font-weight:600;color:#e6eef6}
.chip svg{width:16px;height:16px;color:var(--amber)}
.hero-art{position:relative}
.hero-card{position:absolute;background:#fff;color:var(--ink);border-radius:14px;padding:.85rem 1rem;box-shadow:0 18px 40px rgba(0,0,0,.25);display:flex;align-items:center;gap:.7rem;font-size:.88rem}
.hero-card b{display:block;color:var(--navy);font-size:1.05rem}
.hero-card .dot{width:38px;height:38px;border-radius:10px;display:grid;place-items:center}
.hc1{top:6%;left:-4%}
.hc2{bottom:4%;left:4%}
.stars{color:var(--amber);letter-spacing:2px}

/* stats */
.stats{margin-top:-60px;position:relative;z-index:5;padding:0}
.stats .grid{background:#fff;border-radius:20px;box-shadow:0 20px 50px rgba(13,34,56,.12);display:grid;grid-template-columns:repeat(4,1fr);padding:1.8rem}
.stat{text-align:center;padding:.4rem 1rem;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat b{display:block;font-size:2rem;font-weight:800;color:var(--navy)}
.stat span{color:var(--muted);font-size:.9rem;font-weight:500}

/* services */
.svc-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2.6rem;flex-wrap:wrap}
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.svc{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.7rem;display:flex;flex-direction:column;transition:.25s;position:relative}
.svc:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(13,34,56,.1);border-color:transparent}
.svc .ic{width:54px;height:54px;border-radius:14px;background:#fff4d6;display:grid;place-items:center;color:var(--amber-d);margin-bottom:1.1rem}
.svc .ic svg{width:28px;height:28px}
.svc h3{font-size:1.22rem;margin-bottom:.45rem}
.svc p{color:var(--muted);font-size:.95rem;margin-bottom:1rem}
.svc ul{list-style:none;font-size:.9rem;margin-bottom:1.4rem;display:grid;gap:.35rem}
.svc li{display:flex;gap:.5rem;align-items:flex-start}
.svc li::before{content:"";flex:0 0 16px;height:16px;margin-top:4px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/10px no-repeat}
.svc .foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding-top:1.1rem;border-top:1px dashed var(--line)}
.price{font-weight:800;font-size:1.5rem;color:var(--navy)}
.price small{font-size:.75rem;color:var(--muted);font-weight:600;margin-left:.2rem}
.svc .more{font-weight:700;font-size:.9rem;color:var(--navy);display:inline-flex;align-items:center;gap:.3rem}
.svc .more svg{width:16px;height:16px}
.tag{position:absolute;top:1.2rem;right:1.2rem;background:var(--navy);color:#fff;font-size:.72rem;font-weight:700;padding:.25rem .7rem;border-radius:999px}

/* about */
.about{background:var(--bg)}
.about .wrap{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.ph{border-radius:20px;background:linear-gradient(135deg,#d9e2ec,#c3d0dd);position:relative;overflow:hidden;display:grid;place-items:center;color:#6e8194;font-weight:600;font-size:.9rem}
.ph svg{width:44px;height:44px;opacity:.55;margin:0 auto .4rem}
.ph .lbl{text-align:center}
.about-img{aspect-ratio:4/3.4}
.about-badge{position:absolute;right:20px;bottom:20px;background:var(--amber);color:var(--navy);padding:1rem 1.2rem;border-radius:14px;font-weight:800;line-height:1.2}
.about-badge b{font-size:1.9rem;display:block}
.checks{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.8rem 0 2rem}
.check{display:flex;gap:.75rem;align-items:flex-start}
.check .ic{flex:0 0 40px;height:40px;border-radius:10px;background:#fff;display:grid;place-items:center;color:var(--navy);box-shadow:0 4px 12px rgba(13,34,56,.06)}
.check .ic svg{width:20px;height:20px}
.check b{display:block;color:var(--navy);font-size:.98rem}
.check span{font-size:.86rem;color:var(--muted)}

/* how it works */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin-top:2.6rem;counter-reset:s}
.step{position:relative;padding:1.6rem;border-radius:var(--r);background:#fff;border:1px solid var(--line)}
.step::before{counter-increment:s;content:"0" counter(s);font-weight:800;font-size:2.2rem;color:var(--amber);line-height:1}
.step h3{font-size:1.08rem;margin:.7rem 0 .3rem}
.step p{color:var(--muted);font-size:.9rem}

/* gallery */
.gallery{background:var(--navy);color:#fff}
.gallery h2{color:#fff}
.gallery .lead{color:#b9c7d6}
.gal{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:180px;gap:1rem;margin-top:2.4rem}
.gal .ph{background:linear-gradient(135deg,#1d3d5e,#24507a);color:#8fa9c2;border-radius:14px}
.gal .big{grid-column:span 2;grid-row:span 2}
.gal .tall{grid-row:span 2}

/* reviews */
.rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:2.4rem}
.rev{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.7rem;position:relative}
.rev .q{position:absolute;top:1rem;right:1.3rem;font-size:4rem;line-height:1;color:#ffe7a6;font-family:Georgia,serif}
.rev p{margin:.8rem 0 1.3rem;font-size:.97rem}
.who{display:flex;align-items:center;gap:.75rem}
.av{width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700}
.who b{display:block;color:var(--navy);font-size:.95rem}
.who span{font-size:.8rem;color:var(--muted)}
.g-badge{display:inline-flex;align-items:center;gap:.6rem;background:var(--bg);border-radius:999px;padding:.5rem 1rem;font-weight:700;font-size:.9rem;color:var(--navy)}

/* contact */
.contact{background:var(--bg)}
.contact .wrap{display:grid;grid-template-columns:1fr 1.15fr;gap:3rem;align-items:start}
.cinfo{display:grid;gap:1rem;margin-top:1.8rem}
.ci{display:flex;gap:1rem;align-items:center;background:#fff;border-radius:14px;padding:1rem 1.2rem;border:1px solid var(--line);transition:.2s}
a.ci:hover{border-color:var(--amber)}
.ci .ic{flex:0 0 46px;height:46px;border-radius:12px;background:var(--navy);color:var(--amber);display:grid;place-items:center}
.ci .ic svg{width:22px;height:22px}
.ci small{display:block;color:var(--muted);font-size:.8rem;font-weight:600}
.ci b{color:var(--navy)}
form{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 20px 50px rgba(13,34,56,.08)}
form h3{font-size:1.4rem;margin-bottom:.3rem}
form > p{color:var(--muted);font-size:.92rem;margin-bottom:1.4rem}
.row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
label{display:block;font-size:.84rem;font-weight:600;margin-bottom:.35rem;color:var(--navy)}
input,select,textarea{width:100%;font:inherit;font-size:.95rem;padding:.8rem .95rem;border:1.5px solid var(--line);border-radius:10px;background:#fbfcfd;margin-bottom:1rem;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--amber);background:#fff}
textarea{min-height:110px;resize:vertical}
form .btn{width:100%;justify-content:center}

/* cta band */
.band{padding:0;margin-top:-1px}
.band .inner{background:var(--amber);border-radius:22px;padding:2.4rem 2.8rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap;transform:translateY(50%);position:relative;z-index:3}
.band h2{margin:0;font-size:clamp(1.4rem,2.6vw,2rem)}
.band p{color:#4a3a0a;font-weight:500}

/* footer */
footer{background:#0a1a2b;color:#9fb0c2;padding:130px 0 110px;font-size:.92rem}
footer .grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2rem}
footer h4{color:#fff;font-size:1rem;margin-bottom:1rem}
footer ul{list-style:none;display:grid;gap:.5rem}
footer a:hover{color:var(--amber)}
footer .logo{color:#fff;margin-bottom:1rem}
footer .logo small{color:#9fb0c2}
.copy{border-top:1px solid #1d2f42;margin-top:2.5rem;padding-top:1.4rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.84rem}

/* sticky contact - desktop */
.float{position:fixed;right:22px;bottom:22px;z-index:60;display:flex;flex-direction:column;gap:.6rem;align-items:flex-end}
.float a{display:flex;align-items:center;gap:.6rem;font-weight:700;padding:.8rem 1.2rem .8rem .9rem;border-radius:999px;box-shadow:0 12px 30px rgba(0,0,0,.22);font-size:.95rem;transition:.2s}
.float a:hover{transform:translateY(-2px)}
.float .f-call{background:var(--amber);color:var(--navy)}
.float .f-msg{background:var(--navy);color:#fff}
.float a .ic{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.28);display:grid;place-items:center}
.float a svg{width:18px;height:18px}

/* sticky contact - mobile */
.mbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;box-shadow:0 -6px 24px rgba(13,34,56,.15);padding:.55rem .6rem calc(.55rem + env(safe-area-inset-bottom));gap:.5rem}
.mbar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;font-weight:700;font-size:.8rem;padding:.55rem .2rem;border-radius:12px}
.mbar svg{width:22px;height:22px}
.mbar .m-call{background:var(--amber);color:var(--navy);flex:1.4;flex-direction:row;gap:.5rem;font-size:1rem}
.mbar .m-text{background:var(--navy);color:#fff}
.mbar .m-wa{background:#e9eef4;color:var(--navy)}


@media (max-width:1020px){
  nav,.hdr-call{display:none}
  .burger{display:block}
  .hero .wrap,.about .wrap,.contact .wrap{grid-template-columns:1fr}
  .hero-art{display:none}
  .svc-grid,.rev-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  footer .grid{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  section{padding:64px 0}
  .topbar .hide-m{display:none}
  .topbar .wrap{justify-content:center}
  .hero{padding:56px 0 110px}
  .hero .cta{flex-direction:column}
  .hero .cta .btn{justify-content:center}
  .stats .grid{grid-template-columns:1fr 1fr;padding:1rem;row-gap:1rem}
  .stat:nth-child(2){border-right:0}
  .svc-grid,.rev-grid,.steps,.checks,.row{grid-template-columns:1fr}
  .gal{grid-template-columns:1fr 1fr;grid-auto-rows:130px}
  .gal .big{grid-column:span 2;grid-row:span 1}
  .gal .tall{grid-row:span 1}
  .band .inner{padding:1.8rem;transform:translateY(40%)}
  footer{padding-bottom:120px}
  footer .grid{grid-template-columns:1fr}
  .float{display:none}
  .mbar{display:flex}
  body{padding-bottom:72px}
}

/* services page */
.page-hero{background:linear-gradient(160deg,var(--navy) 0%,#123a5e 100%);color:#fff;padding:70px 0 80px;position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;left:0;right:0;bottom:22px;height:5px;background:repeating-linear-gradient(90deg,var(--amber) 0 60px,transparent 60px 110px);opacity:.8}
.page-hero h1{color:#fff;font-size:clamp(2rem,4.5vw,3.2rem);font-weight:800;margin:.8rem 0 .8rem}
.page-hero p{color:#c9d6e3;max-width:620px;font-size:1.08rem}
.crumbs{font-size:.86rem;color:#9fb3c8;margin-bottom:.4rem}
.crumbs a{color:#fff}
.jump{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.8rem}
.jump a{font-size:.84rem;font-weight:600;padding:.4rem .85rem;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#e6eef6}
.jump a:hover{background:var(--amber);color:var(--navy);border-color:var(--amber)}
.courses{display:grid;gap:1.6rem;padding:70px 0}
.course{position:relative;display:grid;grid-template-columns:280px 1fr;gap:2.4rem;background:#fff;border:1px solid var(--line);border-radius:20px;padding:2rem;scroll-margin-top:100px}
.course .tag{top:1.4rem;right:1.4rem}
.c-left{background:var(--bg);border-radius:16px;padding:1.6rem;display:flex;flex-direction:column;gap:.7rem;align-self:start}
.c-left .ic{width:54px;height:54px;border-radius:14px;background:#fff4d6;display:grid;place-items:center;color:var(--amber-d)}
.c-left .ic svg{width:28px;height:28px}
.c-label{font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.price.big{font-size:2.3rem;line-height:1.1;margin-bottom:.4rem}
.c-left .btn{justify-content:center;width:100%}
.btn-line{border:1.5px solid var(--navy);color:var(--navy);background:#fff}
.btn-line:hover{background:var(--navy);color:#fff}
.c-right h2{font-size:1.7rem;margin:0 0 .4rem;padding-right:7rem}
.c-right .lead{margin-bottom:1.2rem}
.ticks{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.55rem 1.4rem;margin-bottom:1.2rem;font-size:.95rem}
.ticks li{display:flex;gap:.55rem;align-items:flex-start}
.ticks li::before{content:"";flex:0 0 18px;height:18px;margin-top:3px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/11px no-repeat}
.req{background:#fff8e1;border:1px solid #f6e2a6;border-radius:12px;padding:1rem 1.2rem;margin-bottom:1rem;font-size:.92rem}
.req b{color:var(--navy);display:block;margin-bottom:.35rem}
.req ul{padding-left:1.1rem;display:grid;gap:.2rem}
.ptable{border-collapse:collapse;margin:.2rem 0 1.2rem;min-width:320px;font-size:.93rem}
.ptable td{padding:.5rem .9rem;border-bottom:1px solid var(--line)}
.ptable td:last-child{text-align:right;font-weight:800;color:var(--navy)}
.ptable tr:nth-child(odd){background:var(--bg)}
.note{font-size:.86rem;color:var(--muted);font-style:italic}
@media (max-width:860px){
  .course{grid-template-columns:1fr;padding:1.3rem;gap:1.4rem}
  .ticks{grid-template-columns:1fr}
  .c-right h2{padding-right:0;font-size:1.45rem}
  .course .tag{position:static;display:inline-block;margin-bottom:.4rem;justify-self:start}
  .ptable{min-width:0;width:100%}
}
.logo{line-height:1.2}
@media (max-width:680px){.logo{font-size:1rem;gap:.55rem}.logo-mark{width:38px;height:38px}.logo small{font-size:.66rem}}

/* nav book button + socials */
nav a.book{background:var(--amber);color:var(--navy);padding:.5rem 1.1rem;border-radius:999px;font-weight:700}
nav a.book:hover{background:var(--amber-d)}
nav a.book::after{display:none!important}
nav ul{align-items:center}
.socials{display:flex;gap:.5rem}
.socials a{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#c8d3df;transition:.2s}
.socials a:hover{background:var(--amber);color:var(--navy)}
.socials svg{width:15px;height:15px}
footer .socials{margin-top:1.1rem}
footer .socials a{width:38px;height:38px;background:#16324f}
footer .socials svg{width:17px;height:17px}
.topbar .socials a{width:26px;height:26px;background:transparent}
.topbar .socials svg{width:14px;height:14px}

/* enroll page */
.enroll{display:grid;grid-template-columns:1fr 340px;gap:2rem;padding:60px 0 80px;align-items:start}
.steps-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-bottom:1.6rem}
.sb{display:flex;align-items:center;gap:.6rem;font-size:.86rem;font-weight:600;color:var(--muted);padding:.7rem .8rem;border-radius:12px;background:var(--bg)}
.sb i{font-style:normal;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#dfe5ec;color:var(--navy);font-weight:800;font-size:.8rem;flex:0 0 26px}
.sb.on{background:#fff4d6;color:var(--navy)}
.sb.on i{background:var(--amber)}
.sb.done i{background:var(--green);color:#fff}
.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:2rem}
.panel h2{font-size:1.5rem;margin:0 0 .3rem}
.panel > p.sub{color:var(--muted);margin-bottom:1.4rem;font-size:.95rem}
.fstep{display:none}
.fstep.on{display:block}
.opts{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.opt{position:relative;display:flex;justify-content:space-between;gap:.8rem;align-items:center;border:1.5px solid var(--line);border-radius:12px;padding:.85rem 1rem;cursor:pointer;transition:.15s;margin:0;font-weight:600;color:var(--navy)}
.opt:hover{border-color:#c9d3de}
.opt input{position:absolute;opacity:0;width:0;height:0;margin:0}
.opt .p{font-weight:800;white-space:nowrap}
.opt .p small{display:block;font-size:.7rem;color:var(--muted);font-weight:600;text-align:right}
.opt:has(input:checked){border-color:var(--amber);background:#fffaeb;box-shadow:0 0 0 3px #ffe7a6}
.pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}
.pill{border:1.5px solid var(--line);border-radius:999px;padding:.5rem 1rem;cursor:pointer;font-size:.9rem;font-weight:600;margin:0;color:var(--navy);position:relative}
.pill input{position:absolute;opacity:0;width:0;height:0}
.pill:has(input:checked){border-color:var(--amber);background:#fffaeb}
.row3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:1rem}
.nav-btns{display:flex;justify-content:space-between;gap:1rem;margin-top:1.2rem}
.pay{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin-bottom:1rem}
.pay .opt{flex-direction:column;align-items:flex-start;gap:.2rem}
.pay .opt small{color:var(--muted);font-weight:500;font-size:.8rem}
.info{background:#eef6ff;border:1px solid #cfe2f7;border-radius:12px;padding:1rem 1.2rem;font-size:.9rem;color:#24405e;margin-bottom:1rem}
.summary{position:sticky;top:100px;background:var(--navy);color:#fff;border-radius:20px;padding:1.6rem}
.summary h3{color:#fff;font-size:1.05rem;margin-bottom:1rem}
.summary .sel{background:rgba(255,255,255,.07);border-radius:12px;padding:1rem;margin-bottom:1rem;min-height:70px}
.summary .sel b{display:block;font-size:1rem}
.summary .sel span{color:#9fb3c8;font-size:.86rem}
.summary .tot{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed rgba(255,255,255,.2);padding-top:1rem;font-weight:700}
.summary .tot b{font-size:1.7rem;color:var(--amber)}
.summary ul{list-style:none;margin-top:1.2rem;display:grid;gap:.5rem;font-size:.86rem;color:#c8d3df}
.summary li::before{content:"✓ ";color:var(--amber);font-weight:800}
.done-box{text-align:center;padding:2rem 1rem}
.done-box .big{width:70px;height:70px;border-radius:50%;background:#e7f6ee;color:var(--green);display:grid;place-items:center;margin:0 auto 1rem;font-size:2rem;font-weight:800}
@media (max-width:1020px){.enroll{grid-template-columns:1fr}.summary{position:static}}
@media (max-width:680px){.opts,.pay{grid-template-columns:1fr}.row3{grid-template-columns:1fr}.steps-bar{grid-template-columns:repeat(4,1fr)}.sb span{display:none}.sb{justify-content:center}.panel{padding:1.3rem}}

.agree{display:flex;gap:.6rem;align-items:flex-start;font-weight:600;color:var(--navy);margin:.2rem 0 0}
.agree input{width:auto;margin:4px 0 0}

/* ---------- WordPress additions ---------- */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.logo img{max-height:52px;width:auto}
nav .current-menu-item>a,nav .current_page_item>a{color:var(--navy)}
nav .current-menu-item>a::after,nav .current_page_item>a::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:3px;border-radius:3px;background:var(--amber)}
.entry{max-width:780px;font-size:1.05rem}
.entry p,.entry ul,.entry ol{margin-bottom:1.1rem}
.entry ul,.entry ol{padding-left:1.3rem}
.entry h2{font-size:1.6rem;margin:2rem 0 .8rem}
.entry h3{font-size:1.25rem;margin:1.6rem 0 .6rem}
.entry a{color:var(--navy);text-decoration:underline}
.entry img{border-radius:14px;height:auto}
.entry .wp-block-gallery{gap:1rem}
.page-body{padding:60px 0 80px}
.notice-ok,.notice-err{border-radius:12px;padding:1rem 1.2rem;margin-bottom:1.2rem;font-weight:600}
.notice-ok{background:#e7f6ee;color:#14663f;border:1px solid #bfe6cf}
.notice-err{background:#fdecec;color:#8a1f1f;border:1px solid #f3c2c2}
.gal img{width:100%;height:100%;object-fit:cover;border-radius:14px;display:block}
.empty{background:var(--bg);border:1px dashed #c8d2dd;border-radius:16px;padding:2rem;text-align:center;color:var(--muted)}
.rev-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2rem}
.course-hero-meta{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem}
.course-hero-meta .chip b{color:var(--amber);margin-left:.25rem}
.alignwide{max-width:1180px}
/* mobile menu */
@media (max-width:1020px){
  header .wrap{position:relative}
  nav.open{display:block;position:absolute;top:76px;left:-4%;right:-4%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(13,34,56,.12);padding:.6rem 4% 1.2rem}
  nav.open ul{flex-direction:column;gap:0}
  nav.open li a{display:block;padding:.85rem 0;border-bottom:1px solid var(--line)}
  nav.open li:last-child a{border-bottom:0}
  nav.open a.book{display:inline-block;margin-top:.8rem;padding:.7rem 1.4rem;border-bottom:0}
  nav.open a::after{display:none!important}
}
@media (max-width:680px){.topbar .hide-m{display:none!important}}
@media (max-width:1020px){nav.open ul{align-items:stretch}}
.about .ph{background:linear-gradient(150deg,var(--navy),#16426b);color:#c9d6e3}
.about .ph svg{width:96px;height:96px;opacity:1;color:var(--amber);margin-bottom:.8rem}
.about .ph .lbl{font-size:1.1rem;font-weight:700;color:#fff}

/* booking page: form only */
body.rm-booking{padding-bottom:0!important}
.field-err{color:#8a1f1f;font-size:.85rem;margin:-.6rem 0 .9rem;font-weight:600}

/* booking summary: course-specific details */
.sum-info{border-top:1px dashed rgba(255,255,255,.2);margin-top:1rem;padding-top:1rem}
.sum-info .sum-blurb{color:#c8d3df;font-size:.9rem;margin-bottom:.8rem}
.sum-info h4{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;margin:.6rem 0 .4rem}
.summary .sum-list{margin-top:0;gap:.4rem}
.summary .sum-req li::before{content:"• ";color:#ffb81c}
.sum-more{display:inline-block;margin-top:.8rem;color:#ffb81c;font-weight:700;font-size:.9rem;text-decoration:underline}

/* sale price + important notice */
.price .was{color:#9aa6b2;font-weight:600;font-size:.95rem;margin-right:.2rem}
.was-line{font-size:.85rem;color:var(--muted);font-weight:600}
.was-line del{color:#9aa6b2}
.save{display:inline-block;background:#e7f6ee;color:#14663f;border-radius:999px;padding:.1rem .55rem;font-size:.78rem;font-weight:800;margin-left:.3rem}
.notice-imp{background:#fdecec;border:1px solid #f3c2c2;border-radius:12px;padding:1rem 1.2rem;margin-bottom:1rem;font-size:.92rem;color:#7a1d1d}
.notice-imp b{display:block;margin-bottom:.35rem;color:#8a1f1f}
.notice-imp ul{padding-left:1.1rem;display:grid;gap:.2rem}
.sum-notice{background:rgba(253,236,236,.12);border:1px solid rgba(243,194,194,.4);border-radius:10px;padding:.7rem .8rem;margin-top:.6rem;color:#ffd7d7;font-size:.86rem}
.pill:has(input:checked)::before{content:"\2713  ";color:#b7791f;font-weight:800}
.pills.bad .pill{border-color:#e08a8a}
.field-err{color:#b42318;font-size:.86rem;font-weight:600;margin:-.6rem 0 1rem}

/* package cards */
.pk-hint{font-weight:700;color:var(--navy);margin:-.2rem 0 1rem}
.pkgs{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.pkg{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(15,35,60,.06)}
.pkg.pop{border-color:var(--amber);box-shadow:0 8px 22px rgba(245,180,30,.22)}
.pkg-badge{position:absolute;top:.55rem;left:50%;transform:translateX(-50%);background:var(--amber);color:var(--navy);font-size:.66rem;font-weight:800;letter-spacing:.08em;border-radius:999px;padding:.2rem .6rem}
.pkg-head{background:var(--navy);color:#fff;text-align:center;padding:1.1rem .8rem .9rem}
.pkg-head b{display:block;font-size:1.08rem;line-height:1.25}
.pkg-head span{display:block;font-size:.84rem;color:#c9d6e3;margin-top:.25rem}
.pkg.pop .pkg-head{padding-top:2.1rem}
.pkg-price{text-align:center;font-size:2rem;font-weight:800;color:var(--amber-d);background:var(--bg);padding:.7rem 0;border-bottom:1px solid var(--line)}
.pkg-body{display:flex;flex-direction:column;gap:.9rem;padding:1rem;flex:1}
.pkg-body p{font-size:.9rem;color:var(--muted);margin:0;flex:1}
.pkg-body .btn{justify-content:center;width:100%;margin-top:auto}
@media (min-width:1101px){.pkgs.pkgs-3{grid-template-columns:repeat(3,1fr)}}
@media (max-width:1100px){.pkgs{grid-template-columns:repeat(3,1fr)}}
@media (max-width:860px){.pkgs{grid-template-columns:repeat(2,1fr);gap:.8rem}.pkg-price{font-size:1.6rem}}
@media (max-width:420px){.pkgs{grid-template-columns:1fr}}
.sum-pkg{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:.8rem .9rem;margin-bottom:.9rem}
.sum-pkg b{display:block;color:#fff;font-size:.98rem}
.sum-pkg-sub{display:inline-block;margin:.3rem 0 .4rem;background:var(--amber);color:var(--navy);font-weight:800;font-size:.78rem;border-radius:999px;padding:.12rem .6rem}
.sum-pkg p{margin:0;color:#d5e0ea;font-size:.9rem}

/* Services pricing layout */
.pricing{padding:60px 0 70px}
.psec{padding:10px 0 46px;scroll-margin-top:100px}
.psec-head{text-align:center;max-width:760px;margin:0 auto 1.8rem}
.psec-head h2{font-size:clamp(1.5rem,2.6vw,2.1rem);margin:0 0 .45rem}
.psec-head p{color:var(--muted);margin:0}
.pcards{display:flex;flex-wrap:wrap;justify-content:center;gap:1.3rem;margin-bottom:1.6rem}
.pcards>.pcard{flex:0 1 calc((100% - 2.6rem)/3)}
.pcard{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(15,35,60,.06);scroll-margin-top:100px}
.pcard.pop{border-color:var(--amber);box-shadow:0 8px 22px rgba(245,180,30,.22)}
.pcard.pop .pkg-head{padding-top:2.1rem}
.pcard .pkg-price small{display:block;font-size:.8rem;font-weight:600;color:var(--muted);margin-top:.1rem}
.pcard .pkg-price del{font-size:1.1rem;color:#9aa6b2;font-weight:700;margin-right:.2rem}
.pc-list{list-style:none;display:grid;gap:.45rem;font-size:.9rem;margin:0;padding:0}
.pc-list li{display:flex;gap:.5rem;align-items:flex-start}
.pc-list li::before{content:"";flex:0 0 16px;height:16px;margin-top:3px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/10px no-repeat}
.pc-req{background:#fff8e1;border:1px solid #f6e2a6;border-radius:10px;padding:.7rem .85rem;font-size:.84rem}
.pc-req b{display:block;color:var(--navy);margin-bottom:.2rem}
.pc-req ul{padding-left:1rem;margin:0;display:grid;gap:.1rem}
.pc-note{background:#fdecec;border:1px solid #f3c2c2;border-radius:10px;padding:.7rem .85rem;font-size:.84rem;color:#7a1d1d}
.pc-btns{margin-top:auto;display:grid;gap:.5rem;text-align:center}
.pc-btns .btn{justify-content:center;width:100%}
.pc-more{font-size:.88rem;font-weight:700;color:var(--navy);text-decoration:underline}
.pgroup{margin:0 0 2rem;scroll-margin-top:100px}
.pg-title{text-align:center;font-size:1.3rem;margin:.6rem 0 .3rem}
.pg-sub{text-align:center;color:var(--muted);max-width:780px;margin:0 auto 1.2rem;font-size:.93rem}
.pg-sub a{font-weight:700;color:var(--navy)}
.pgroup .pkgs{grid-column:auto}
.plist-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:#fff}
.plist{width:100%;border-collapse:collapse;font-size:.95rem}
.plist th{background:var(--navy);color:#fff;text-align:left;padding:.8rem 1rem;font-size:.85rem;letter-spacing:.04em}
.plist td{padding:.7rem 1rem;border-top:1px solid var(--line)}
.plist tr:nth-child(even) td{background:var(--bg)}
.plist td:nth-child(2){font-weight:800;color:var(--navy);white-space:nowrap}
.plist td:last-child{text-align:right}
.plist a{color:var(--navy);font-weight:600}
.plist .pl-book{color:var(--amber-d);font-weight:800}
@media (max-width:1000px){.pcards>.pcard{flex-basis:calc((100% - 1.3rem)/2)}}
@media (max-width:640px){.pcards>.pcard{flex-basis:100%}.plist td,.plist th{padding:.6rem .7rem}.psec{padding-bottom:30px}}
