/* =====================================================================
   PNT Auto Spa – site theme (on top of Bootstrap 5)
   Palette from the approved concept: navy, blue, electric blue, gold.
   ===================================================================== */
:root {
  --as-navy: #0A0A0A;
  --as-navy-deep: #000000;
  --as-blue: #044FA2;
  --as-electric: #3D7CC9;
  --as-gold: #6FA3E0;
  --as-ink: #111111;
  --as-muted: #5F6368;
  --as-pale: #F2F6FB;
  --as-border: #E3E8EF;
  --as-radius: 15px;
  --as-shadow: 0 8px 25px rgba(4, 79, 162, .08);

  --bs-body-font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --bs-body-color: var(--as-ink);
  --bs-primary: #044FA2;
  --bs-primary-rgb: 4, 79, 162;
  --bs-link-color: #044FA2;
  --bs-link-hover-color: #033A78;
}

html { scroll-behavior: smooth; }
body { background: #fff; }
a { text-decoration: none; }
h1, h2, h3, h4 { color: var(--as-navy); font-weight: 800; letter-spacing: -.5px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 800; letter-spacing: .3px; border-radius: 8px; padding: .75rem 1.25rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--as-blue); color: #fff; border: 0; box-shadow: 0 5px 14px rgba(4, 79, 162, .25); }
.btn-brand:hover, .btn-brand:focus { background: #033A78; color: #fff; box-shadow: 0 10px 22px rgba(4, 79, 162, .35); }
.btn-light-blue { background: #fff; color: var(--as-blue); border: 0; }
.btn-light-blue:hover { background: var(--as-pale); color: var(--as-navy); }
.btn-outline-blue { border: 2px solid var(--as-blue); color: var(--as-blue); background: transparent; }
.btn-outline-blue:hover { background: var(--as-blue); color: #fff; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--as-electric); outline-offset: 2px; }

/* ---------- Top bar + header ---------- */
.as-topbar { background: var(--as-navy); color: #E6E6E6; font-size: .78rem; padding: .5rem 0; }
.as-topbar a { color: #E6E6E6; }
.as-topbar a:hover { color: var(--as-gold); }

.as-header { background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .06); transition: box-shadow .2s ease; }
.as-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.as-brand { display: flex; align-items: center; gap: .7rem; }
.as-brand img { width: auto; height: 66px; }
.as-footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: .6rem .8rem; }
.as-footer-logo img { height: 84px; width: auto; display: block; }
.as-brand-name { font-weight: 900; font-size: 1.35rem; letter-spacing: 1px; color: var(--as-blue); line-height: 1; }
.as-brand-sub { font-size: .6rem; font-weight: 800; letter-spacing: 3px; color: var(--as-navy); margin-top: 4px; }
.as-header .nav-link { font-weight: 700; font-size: .88rem; color: #1A1A1A; padding: .5rem .6rem !important; position: relative; white-space: nowrap; }
.as-header .btn { white-space: nowrap; }
.as-header .nav-link:hover, .as-header .nav-link.active { color: var(--as-blue); }
.as-header .nav-link.active::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 2px; background: var(--as-blue); border-radius: 2px; }

/* ---------- Hero ---------- */
.as-hero { position: relative; overflow: hidden; color: #fff; padding: 5rem 0 4.5rem;
  background: radial-gradient(ellipse at 80% 45%, #0A5CC0 0, #044FA2 28%, #0D1B2E 68%, #000000 100%); }
.as-hero::before { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid rgba(91, 147, 211, .2); border-radius: 50%; right: -80px; top: -160px;
  box-shadow: 0 0 0 45px rgba(91, 147, 211, .04), 0 0 0 95px rgba(91, 147, 211, .03); }
.as-hero .container { position: relative; }
.as-eyebrow { color: var(--as-gold); font-size: .72rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; }
.as-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.02; letter-spacing: -2px; margin: 1rem 0; }
.as-hero h1 span { color: #6FA3E0; }
.as-hero p.lead { color: #DADADA; max-width: 520px; font-size: 1.05rem; line-height: 1.7; }
.as-hero-note { font-size: .75rem; color: #C8C8C8; }
.as-hero-art { width: 100%; max-width: 520px; filter: drop-shadow(0 0 28px rgba(111, 163, 224, .55)) drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); animation: as-float 6s ease-in-out infinite; }
@keyframes as-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Smaller page banner for inner pages */
.as-page-hero { color: #fff; padding: 3.5rem 0 3rem; background: linear-gradient(135deg, var(--as-navy), var(--as-blue)); }
.as-page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: .5rem 0; }
.as-page-hero p { color: #D6D6D6; max-width: 640px; margin: 0; }
.as-breadcrumb { font-size: .8rem; color: #C8C8C8; }
.as-breadcrumb a { color: #fff; }

/* ---------- Trust bar ---------- */
.as-trustbar { border-bottom: 1px solid #E6E9EE; }
.as-trustbar .col { text-align: center; padding: 1.2rem .5rem; }
.as-trustbar .col + .col { border-left: 1px solid #E6E9EE; }
.as-trustbar strong { display: block; color: var(--as-blue); font-size: .95rem; letter-spacing: .5px; }
.as-trustbar small { color: var(--as-muted); }

/* ---------- Sections ---------- */
.as-section { padding: 4.5rem 0; }
.as-section-pale { background: var(--as-pale); }
.as-section-dark { background: linear-gradient(135deg, var(--as-navy), var(--as-blue)); color: #fff; }
.as-section-dark h2 { color: #fff; }
.as-section-head { text-align: center; max-width: 660px; margin: 0 auto 2.5rem; }
.as-kicker { font-size: .68rem; letter-spacing: 2.5px; font-weight: 900; color: var(--as-blue); text-transform: uppercase; }
.as-section-dark .as-kicker { color: var(--as-gold); }
.as-section-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: .6rem 0; }
.as-section-head p { color: var(--as-muted); }
.as-section-dark .as-section-head p { color: #D6D6D6; }

/* ---------- Cards ---------- */
.as-card { height: 100%; border: 1px solid var(--as-border); border-radius: var(--as-radius); padding: 1.4rem; background: #fff; box-shadow: var(--as-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.as-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(4, 79, 162, .14); }
.as-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.as-card p { color: var(--as-muted); font-size: .9rem; line-height: 1.6; }
.as-card-icon { height: 115px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(140deg, #EEF3FA, #D6E3F3); margin-bottom: 1.1rem; }
.as-card-icon svg { width: 80px; height: 80px; }
.as-price { font-size: 1.45rem; font-weight: 900; color: var(--as-blue); }
.as-price small { font-size: .65rem; color: var(--as-muted); font-weight: 600; display: block; letter-spacing: .2px; }
.as-card-features { list-style: none; padding: 0; margin: 1rem 0; font-size: .88rem; }
.as-card-features li { padding: .25rem 0; }
.as-card-features li::before { content: "✓"; color: #07945b; font-weight: 900; margin-right: .5rem; }
.as-badge-sample { display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; background: #EEF3FA; color: #033A78; border: 1px solid #C9DCF2; border-radius: 20px; padding: .2rem .6rem; }

.as-feature-icon { width: 58px; height: 58px; border-radius: 13px; display: grid; place-items: center; background: #E8F0FA; color: var(--as-blue); flex: none; }
.as-feature-icon svg { width: 28px; height: 28px; }

/* Booking steps */
.as-step { height: 100%; text-align: center; padding: 1.2rem .8rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .05); transition: background-color .25s ease; }
.as-step:hover { background: rgba(255, 255, 255, .12); }
.as-step b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--as-blue); color: #fff; margin: 0 auto .8rem; }
.as-step strong { display: block; font-size: .9rem; }
.as-step small { display: block; color: #D6D6D6; margin-top: .3rem; font-size: .78rem; }

/* Brands */
.as-brand-chip { display: flex; align-items: center; justify-content: center; height: 72px; border: 1px solid var(--as-border); border-radius: 12px; background: #fff; font-weight: 800; color: var(--as-navy); letter-spacing: .5px; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.as-brand-chip:hover { border-color: var(--as-blue); color: var(--as-blue); transform: translateY(-3px); }

/* Testimonials */
.as-quote { font-size: .95rem; color: var(--as-ink); font-style: italic; }
.as-stars { color: var(--as-blue); letter-spacing: 2px; }

/* Notice / placeholder box */
.as-notice { background: #EEF3FA; border: 1px solid #C9DCF2; border-radius: 14px; padding: 1.2rem 1.4rem; color: #1A1A1A; font-size: .9rem; }
.as-notice strong { color: var(--as-blue); }

/* Tabs (login / register) */
.nav-pills .nav-link { color: var(--as-blue); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--as-blue); color: #fff; }
.dropdown-item:active { background: var(--as-blue); }

/* Forms */
.as-form-card { border: 1px solid var(--as-border); border-radius: var(--as-radius); padding: 2rem; background: #fff; box-shadow: var(--as-shadow); }
.form-label { font-weight: 700; font-size: .88rem; color: var(--as-navy); }
.form-control, .form-select { border-radius: 8px; padding: .65rem .9rem; border-color: #D0D7E1; }
.form-control:focus, .form-select:focus { border-color: var(--as-blue); box-shadow: 0 0 0 .2rem rgba(4, 79, 162, .15); }
.invalid-feedback[hidden], [hidden].d-block, [hidden].d-flex { display: none !important; }
.text-uppercase::placeholder { text-transform: none; }
.as-choice { cursor: pointer; }
.as-choice input { position: absolute; opacity: 0; }
.as-choice .as-choice-body { border: 2px solid var(--as-border); border-radius: 12px; padding: 1rem; height: 100%; transition: border-color .2s ease, background-color .2s ease; }
.as-choice input:checked + .as-choice-body { border-color: var(--as-blue); background: var(--as-pale); }
.as-choice input:focus-visible + .as-choice-body { outline: 3px solid var(--as-electric); outline-offset: 2px; }
.as-slot { min-width: 96px; }
.btn-check:checked + .btn-outline-blue, .btn-outline-blue.active { background: var(--as-blue); color: #fff; }

/* Booking progress */
.as-progress { display: flex; gap: .5rem; counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.as-progress li { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; color: var(--as-muted); }
.as-progress li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto .35rem; border-radius: 50%; background: #E8F0FA; color: var(--as-muted); }
.as-progress li.active { color: var(--as-blue); }
.as-progress li.active::before { background: var(--as-blue); color: #fff; }

/* Status tracker */
.as-tracker { list-style: none; padding: 0; margin: 0; }
.as-tracker li { position: relative; padding: 0 0 1.2rem 2.2rem; color: var(--as-muted); }
.as-tracker li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #D0D7E1; background: #fff; }
.as-tracker li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: #E3E8EF; }
.as-tracker li:last-child::after { display: none; }
.as-tracker li.done { color: var(--as-ink); }
.as-tracker li.done::before { border-color: #07945b; background: #07945b; }
.as-tracker li.current { color: var(--as-blue); font-weight: 800; }
.as-tracker li.current::before { border-color: var(--as-blue); background: #fff; box-shadow: inset 0 0 0 3px var(--as-blue); }

/* My Bookings list */
.list-group-item.active-booking { border-left: 4px solid var(--as-blue); background: var(--as-pale); }
.as-slot .small { font-size: .7rem; }

/* Service categories and details */
.as-card-icon { color: var(--as-blue); }
.as-card-icon svg[viewBox="0 0 24 24"] { width: 64px; height: 64px; }
.as-category-tag { display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--as-blue); background: var(--as-pale); border: 1px solid #C9DCF2; border-radius: 20px; padding: .2rem .6rem; }
.as-category-head { padding-top: 1.5rem; scroll-margin-top: 110px; }
.as-category-head:first-child { padding-top: 0; }
.as-category-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.as-category-pill { display: inline-block; padding: .45rem 1rem; border-radius: 30px; border: 1px solid var(--as-border); background: #fff; font-weight: 700; font-size: .85rem; color: var(--as-navy); transition: all .2s ease; }
.as-category-pill:hover { background: var(--as-blue); border-color: var(--as-blue); color: #fff; }
.as-details-modal .modal-header { border-bottom: 1px solid var(--as-border); }
.as-details-modal .as-feature-icon svg { width: 30px; height: 30px; }
.as-convenience { counter-reset: conv; }
.as-stat { text-align: center; padding: 1.2rem .8rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); height: 100%; }
.as-stat strong { display: block; font-size: 1.35rem; color: #fff; }
.as-stat span { color: #D6D6D6; font-size: .85rem; }
/* Multi-service booking */
.as-choice input[type=checkbox] + .as-choice-body .as-tick { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #D0D7E1; flex: none; display: inline-grid; place-items: center; }
.as-choice input[type=checkbox]:checked + .as-choice-body .as-tick { background: var(--as-blue); border-color: var(--as-blue); }
.as-choice input[type=checkbox]:checked + .as-choice-body .as-tick::after { content: "\2713"; color: #fff; font-size: .8rem; font-weight: 900; }
.as-total-bar { position: sticky; bottom: .75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-radius: 12px; background: var(--as-navy); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.18); font-weight: 700; }
.as-total-bar strong { font-size: 1.25rem; }
#summary dd, #confirmationDetails dd { white-space: pre-line; }

/* Free-hosting wake-up note */
.as-waking { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 2000; display: flex; gap: .6rem; align-items: center; padding: .75rem 1.1rem; border-radius: 30px; background: var(--as-navy); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: 0 10px 24px rgba(0,0,0,.25); max-width: calc(100% - 2rem); }

/* Videos */
.as-video-card { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); overflow: hidden; box-shadow: var(--as-shadow); }
.as-video-frame { background: #000; display: flex; justify-content: center; }
.as-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.as-video-portrait .as-video-frame video { aspect-ratio: 16 / 9; object-fit: contain; }
.as-video-card figcaption { padding: 1rem 1.1rem 1.2rem; }
.as-stock-note { display: block; margin-top: .4rem; font-size: .7rem; color: var(--as-muted); }
.as-stock-note a { color: var(--as-muted); text-decoration: underline; }
/* CTA band */
.as-cta { background: linear-gradient(120deg, var(--as-navy-deep), var(--as-blue)); color: #fff; border-radius: 20px; padding: 2.5rem; }
.as-cta h2 { color: #fff; }

/* ---------- Footer ---------- */
.as-footer { background: var(--as-navy-deep); color: #C8C8C8; font-size: .88rem; padding-top: 3.5rem; }
.as-footer h5 { color: #fff; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.as-footer a { color: #C8C8C8; }
.as-footer a:hover { color: var(--as-gold); }
.as-footer a.btn-brand, .as-footer a.btn-brand:hover { color: #fff; }
.as-footer ul { list-style: none; padding: 0; }
.as-footer li { margin-bottom: .45rem; }
.as-footer-brand { color: #fff; font-weight: 900; letter-spacing: 1px; font-size: 1.1rem; }
.as-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2rem; padding: 1.2rem 0; font-size: .78rem; }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .as-hero-art { animation: none; }
  .btn:hover, .as-card:hover, .as-brand-chip:hover { transform: none; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .as-header .nav-link.active::after { display: none; }
  .as-hero { padding: 3.5rem 0; text-align: center; }
  .as-hero p.lead { margin-left: auto; margin-right: auto; }
  .as-hero-art { max-width: 340px; margin-top: 1.5rem; }
}
@media (max-width: 575.98px) {
  .as-section { padding: 3rem 0; }
  .as-trustbar strong { font-size: .78rem; }
  .as-trustbar small { font-size: .68rem; }
  .as-form-card { padding: 1.3rem; }
  .as-progress li span { display: none; }
}

/* Star picker for customer reviews (radios listed 5→1, shown 1→5) */
.as-rating { display: inline-flex; flex-direction: row-reverse; gap: .15rem; border: 0; padding: 0; margin: 0; }
.as-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.as-rating label { font-size: 2rem; line-height: 1; color: #C9D3E0; cursor: pointer; transition: color .15s; }
.as-rating input:checked ~ label,
.as-rating label:hover, .as-rating label:hover ~ label { color: var(--as-blue); }
.as-rating input:focus-visible + label { outline: 2px solid var(--as-blue); outline-offset: 2px; border-radius: 4px; }

/* Doorstep service area chips */
.as-area-chip { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid #C9DCF2; color: var(--as-ink); border-radius: 30px; padding: .35rem .85rem; font-weight: 600; font-size: .9rem; }
.as-area-chip svg { width: 16px; height: 16px; color: var(--as-blue); }

/* Floating WhatsApp chat button (brand blue, bottom-right) */
.as-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: inline-flex; align-items: center; gap: .5rem; background: var(--as-blue); color: #fff; border-radius: 40px; padding: .65rem 1.1rem .65rem .8rem; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(4, 79, 162, .35); }
.as-whatsapp:hover, .as-whatsapp:focus-visible { background: #033A78; color: #fff; }
@media (max-width: 575.98px) { .as-whatsapp span { display: none; } .as-whatsapp { padding: .75rem; } }
@media print { .as-whatsapp { display: none; } }

/* Privacy policy and other long-text pages */
.as-legal h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; color: var(--as-ink); }
.as-legal p, .as-legal li { color: #3b4250; line-height: 1.7; }
.as-legal ul { padding-left: 1.25rem; }

/* "or use email" divider under the Google button */
.as-or { display: flex; align-items: center; gap: .75rem; color: #6b7280; font-size: .85rem; }
.as-or::before, .as-or::after { content: ""; flex: 1; border-top: 1px solid #D8E1EC; }

/* Big numbers on the About page */
.as-stat { font-size: 2.4rem; font-weight: 900; color: var(--as-blue); line-height: 1.1; margin-bottom: .35rem; }
