:root {
  --navy: #032840;
  --blue: #255d89;
  --blue-soft: #e8f0f7;
  --yellow: #ffd134;
  --yellow-dark: #e6b800;
  --ink: #141212;
  --ink-soft: #55606a;
  --bg: #ffffff;
  --line: #dbe3ea;
  --radius: 12px;
  --shadow: 0 10px 30px -18px rgba(3, 40, 64, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font: 400 16px/1.65 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}
p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--yellow); padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Placeholders that still need real content */
.todo { background: #fff6cc; color: #6b5400; padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 100px;
  font: 600 0.95rem 'Inter', sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 42px; padding: 0 20px; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Promo bar */
.promo { background: var(--yellow); color: var(--navy); text-align: center; font-weight: 600; font-size: 0.9rem; padding: 8px 16px; }
.promo p { margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 3px solid var(--blue); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1.4rem 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.links { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0 0 0 auto; padding: 0; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: #fff; text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: 8px; }
.links a:hover { color: var(--yellow); }
.links a.btn { color: var(--navy); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 6px 0; }

/* Hero: photo on the right, text on dark blue. Keeps the photo from being stretched too far. */
.hero { position: relative; background: var(--navy); color: #fff; min-height: min(78vh, 680px); display: flex; align-items: center; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0 0 0 auto; width: min(58vw, 1100px);
  background: url('../images/location.jpg') center 55% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.kicker { margin: 0 0 14px; font: 600 0.8rem 'Inter', sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); }
.hero h1 { color: #fff; font-size: clamp(3rem, 7vw, 5.4rem); margin-bottom: 18px; }
.lede { max-width: 38ch; font-size: 1.12rem; color: rgba(255,255,255,0.85); margin: 0 0 30px; }

/* Find us strip */
.strip { background: var(--blue); color: #fff; }
.strip-row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.strip h2, .strip h3 { color: #fff; margin-bottom: 6px; }
.strip h2 { font-size: 2rem; }
.strip h3 { font-size: 1.3rem; }
.strip p { margin: 0; color: rgba(255,255,255,0.9); }
.strip .btn-blue { background: var(--yellow); color: var(--navy); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--blue-soft); }
.section-head { max-width: 56ch; margin-bottom: 44px; }
.section-head h2, .about h2, .contact h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.section-head p { margin: 0; color: var(--ink-soft); }

/* Wash cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { font-size: 2rem; }
.card .price { font: 700 1.8rem 'Barlow Condensed', sans-serif; color: var(--blue); margin: 8px 0 18px; }
.card ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.card li { padding: 8px 0 8px 28px; border-top: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.card li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.card-featured { border: 2px solid var(--navy); transform: translateY(-8px); }
.badge { position: absolute; top: -14px; left: 28px; background: var(--yellow); color: var(--navy); font: 700 0.75rem 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.note { margin-top: 28px; font-size: 0.85rem; color: var(--ink-soft); }
.note code { background: var(--blue-soft); padding: 1px 6px; border-radius: 4px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature h3 { font-size: 1.5rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { aspect-ratio: 4/3; border-radius: var(--radius); background: url('../images/location.jpg') 30% 55% / cover; box-shadow: var(--shadow); }
.about p { color: var(--ink-soft); max-width: 52ch; }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact p { color: rgba(255,255,255,0.85); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; flex-direction: column; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.contact-list span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.booking { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.booking h3 { font-size: 1.6rem; }
.booking label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.booking input, .booking select { min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font: 400 1rem 'Inter', sans-serif; color: var(--ink); background: #fff; }
.booking input:focus, .booking select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fine { margin: 0; font-size: 0.78rem; color: var(--ink-soft) !important; }

/* Footer */
.site-footer { background: #021b2c; color: rgba(255,255,255,0.75); padding: 32px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-footer p { margin: 0; font-size: 0.85rem; }

/* Mobile */
@media (max-width: 900px) {
  .cards, .features { grid-template-columns: 1fr 1fr; }
  .card-featured { transform: none; }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .strip-row { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 12px 24px 20px; margin: 0; border-bottom: 3px solid var(--blue); }
  .links.open { display: flex; }
  .links a.btn { justify-content: center; margin-top: 8px; }
  .hero { min-height: 74vh; }
  .hero-photo { width: 100%; opacity: 0.35; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .cards, .features { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* Service cards (text only, no prices yet) */
.card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.card > p { margin: 0 0 24px; color: var(--ink-soft); flex: 1; }
.card .btn { align-self: flex-start; }

/* About: owner story */
.about-quote { margin: 20px 0 0; padding: 14px 0 14px 18px; border-left: 4px solid var(--yellow); color: var(--navy); font-weight: 500; }

/* ---- Exclusive finish: deeper navy, gold hairlines, refined type ---- */
:root {
  --navy: #021f33;
  --navy-deep: #01121f;
  --gold: #ffd134;
  --gold-soft: #f3dc8a;
}

body { letter-spacing: 0.005em; }

h1, h2, h3 { font-weight: 700; letter-spacing: 0.02em; }

.promo { background: var(--navy-deep); color: var(--gold-soft); border-bottom: 1px solid rgba(255, 209, 52, 0.35); font-weight: 500; letter-spacing: 0.06em; font-size: 0.8rem; text-transform: uppercase; }

.site-header { background: rgba(2, 31, 51, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 209, 52, 0.35); }
.nav { min-height: 72px; }
.links a { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.links a.btn { letter-spacing: 0.1em; }
.brand-text small { letter-spacing: 0.28em; }

.hero { background: radial-gradient(900px 500px at 15% 20%, rgba(37, 93, 137, 0.35), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.kicker { display: flex; align-items: center; gap: 14px; letter-spacing: 0.3em; }
.kicker::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(3.2rem, 7.4vw, 6rem); letter-spacing: 0.01em; }
.hero-photo { filter: saturate(1.05) contrast(1.05); }

.btn { letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; min-height: 50px; padding: 0 30px; }
.btn-yellow { box-shadow: 0 10px 24px -12px rgba(255, 209, 52, 0.8); }

.strip { background: linear-gradient(90deg, var(--blue), #1d4d73); border-top: 1px solid rgba(255, 209, 52, 0.4); }

.section-head h2, .about h2, .contact h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after, .about h2::after, .contact h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px; background: var(--gold); }

.card { border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(2, 31, 51, 0.55); border-color: var(--blue); }
.card:hover::before { transform: scaleX(1); }

.feature svg { padding: 10px; width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; stroke: var(--navy); background: #fff; }

.site-footer { background: var(--navy-deep); border-top: 1px solid rgba(255, 209, 52, 0.35); }
.contact { background: radial-gradient(800px 400px at 85% 0%, rgba(37, 93, 137, 0.4), transparent 60%), var(--navy); }

/* ---- 3D showcase ---- */
.showcase { background: radial-gradient(900px 500px at 80% 40%, rgba(37, 93, 137, 0.45), transparent 62%), linear-gradient(180deg, var(--navy-deep), var(--navy)); color: #fff; overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.showcase h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 18px; }
.showcase-copy > p:not(.kicker) { color: rgba(255,255,255,0.8); max-width: 44ch; margin: 0 0 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; }
.checks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid rgba(255,255,255,0.14); color: #fff; font-weight: 500; }
.checks li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }

.tilt { perspective: 1100px; display: flex; justify-content: center; }
.tilt-card {
  position: relative; width: min(100%, 420px); aspect-ratio: 2/3;
  border-radius: 20px; overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .15s ease-out;
  box-shadow: 0 50px 80px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(255, 209, 52, 0.45), 0 0 60px -10px rgba(37, 93, 137, 0.8);
  animation: float 6s ease-in-out infinite;
}
.tilt-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translateZ(0); }
.glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,0.32), transparent 55%); mix-blend-mode: soft-light; }
.tilt.is-active .tilt-card { animation: none; transition: transform .08s linear; }
@keyframes float { 0%, 100% { transform: rotateX(2deg) rotateY(-4deg) translateY(0); } 50% { transform: rotateX(-2deg) rotateY(4deg) translateY(-10px); } }

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .tilt-card { animation: none; }
  .card:hover { transform: none; }
}

/* Symmetric service grid: 3 x 2 on desktop, 2 x 3 on tablet, 1 column on mobile */
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-ask { background: linear-gradient(160deg, var(--navy), var(--blue)); border-color: var(--navy); }
.card-ask h3, .card-ask > p { color: #fff; }
.card-ask > p { opacity: 0.85; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---- Minimal hero: text stays in the left column, never over the photo ---- */
.hero-text { max-width: min(440px, 44vw); }
.kicker::before { display: none; }
.kicker { letter-spacing: 0.24em; font-size: 0.75rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.04; margin-bottom: 16px; }
.lede { font-size: 1.02rem; max-width: 34ch; margin-bottom: 28px; }
.hero-photo { width: min(54vw, 1020px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px; color: #fff; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.35); }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.hero .btn-row { align-items: center; gap: 22px; }

@media (max-width: 860px) {
  .hero-text { max-width: 100%; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
}

/* ---- Anchor header and hero text to the left edge of the screen ---- */
.site-header .nav,
.hero .hero-content {
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 6vw, 120px);
  padding-right: clamp(24px, 6vw, 120px);
}

/* ---- Open-now badge ---- */
.open-now { margin-top: 10px !important; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff !important; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.25); }
.open-now.closed::before { background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.25); }

/* ---- Map ---- */
.map { height: 340px; background: var(--blue-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.9); }

/* ---- How it works ---- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 0; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 1.2rem 'Barlow Condensed', sans-serif; margin-bottom: 16px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq { max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 64px; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 60ch; }

/* ---- Mobile action bar ---- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--navy-deep); border-top: 1px solid rgba(255, 209, 52, 0.4); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 100px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
  .mobile-bar .call { background: var(--gold); color: var(--navy); }
  .mobile-bar .wa { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
  .site-footer { padding-bottom: 96px; }
  .steps { grid-template-columns: 1fr; }
}

/* ---- Smooth motion ---- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: linear-gradient(90deg, var(--gold), var(--blue)); transform: scaleX(0); transform-origin: left; }

.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header .nav { transition: min-height .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.6); }
.site-header.scrolled .nav { min-height: 60px; }

/* Content fades up as it enters the screen. Only hidden when JS is running. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .12s; }
.hero-text > :nth-child(3) { animation-delay: .24s; }
.hero-text > :nth-child(4) { animation-delay: .36s; }
.hero-photo { animation: photoIn 1.4s ease both; }
@keyframes photoIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---- Car-part details ---- */
/* Tyre tread strip */
.tread { height: 16px; background:
  repeating-linear-gradient(135deg, transparent 0 7px, rgba(255, 209, 52, 0.18) 7px 9px, transparent 9px 16px),
  linear-gradient(180deg, #000d17, #01121f); border-top: 1px solid rgba(255, 209, 52, 0.25); border-bottom: 1px solid rgba(255, 209, 52, 0.25); }

/* Rim watermark that turns as you scroll */
.showcase { position: relative; }
.rim { position: absolute; left: -140px; bottom: -160px; width: 520px; height: 520px; fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 209, 52, 0.25); stroke-width: 1.2; transform: rotate(calc(var(--rot, 0) * 1deg)); pointer-events: none; }
.showcase-grid { position: relative; z-index: 1; }

/* Service icons */
.svc-icon { width: 46px; height: 46px; padding: 10px; margin-bottom: 18px; border-radius: 12px; background: var(--navy); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.card:hover .svc-icon { transform: rotate(-6deg) scale(1.08); }
.card-ask .svc-icon { background: rgba(255, 255, 255, 0.12); }
.feature svg { transition: transform .3s ease; }
.feature:hover svg { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text > *, .hero-photo { animation: none; }
  .rim { transform: none; }
}

/* After the entrance animation, restore fast hover transitions on cards */
.js .reveal.settled { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease; }
.js .card.reveal.in:hover { transform: translateY(-6px); }

/* ---- Prices in Kwacha. EDIT the amounts in index.html (look for data-price), then remove class="todo" ---- */
.card .price { font: 700 1.9rem 'Barlow Condensed', sans-serif; color: var(--blue); margin: 0 0 12px; line-height: 1; }
.card .price small { font: 600 0.7rem 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.card .price .todo { background: transparent; color: var(--blue); padding: 0; font-size: 1em; }
/* While prices are still examples they show a yellow highlight. Delete the next rule when they are final. */
.card .price .todo { background: #fff6cc; padding: 0 8px; border-radius: 4px; color: #6b5400; }

.brand img { width: 52px; height: 52px; }
.footer-row .brand img { width: 40px; height: 40px; }

/* Price in the top-right corner of each service card */
.card .price { position: absolute; top: 28px; right: 26px; margin: 0; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.card .price small { line-height: 1; }
.card .price .todo { font-size: 1.5rem; line-height: 1.1; }

/* Price in the bottom-right corner of each service card, level with the button */
.card .price { top: auto; bottom: 34px; right: 28px; }

/* ---- Professional footer ---- */
.site-footer { padding: 0; background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); border-top: 1px solid rgba(255, 209, 52, 0.35); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 0; max-width: 32ch; font-size: 0.92rem; }
.footer-col h4 { margin: 0 0 18px; font: 600 0.75rem 'Inter', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.legal-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.legal-row p { margin: 0; font-size: 0.8rem; }
.legal-row ul { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin: 0; padding: 0; font-size: 0.8rem; }
.legal-row a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.legal-row a:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 48px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .site-footer { padding-bottom: 76px; } }

/* ---- Legal pages ---- */
body.legal { background: #fff; }
body.legal .back { margin-left: auto; color: #fff; text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
body.legal .back:hover { color: var(--gold); }
.legal-body { max-width: 780px; padding-top: 64px; padding-bottom: 80px; }
.legal-body h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 12px; }
.legal-body h2 { font-size: 1.6rem; margin: 40px 0 10px; }
.legal-body p { color: var(--ink-soft); }
.legal-body .draft { background: #fff6cc; color: #6b5400; padding: 10px 14px; border-radius: 8px; font-size: 0.9rem; }

.card .price[hidden] { display: none; }

/* Prices shown cleanly (they are still examples until Levy confirms) */
.card .price .todo { background: transparent; color: var(--blue); padding: 0; }

/* =====================================================
   Buttons: smoother, smaller on mobile, with in/out effects
   ===================================================== */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

.btn, .mobile-bar a { position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.btn {
  transition: transform .4s var(--ease-out), background-color .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), box-shadow .45s var(--ease-out), outline-offset .2s ease;
}
/* soft light sweep across the button, runs on hover in and out */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .8s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(2, 31, 51, 0.55); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: 0 4px 10px -6px rgba(2, 31, 51, 0.5); transition-duration: .12s; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-yellow:hover { box-shadow: 0 16px 28px -14px rgba(255, 209, 52, 0.85); }
.btn-blue:hover { box-shadow: 0 14px 26px -14px rgba(37, 93, 137, 0.8); }
:focus-visible { transition: outline-offset .2s ease; outline-offset: 4px; }

/* press ripple (added by JS) */
.ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; background: rgba(255, 255, 255, 0.55); transform: scale(0); animation: ripple .65s var(--ease-out) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* header links: underline slides in and out */
.links a:not(.btn) { position: relative; transition: color .3s var(--ease-out); }
.links a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* text link in hero: underline fills in */
.link-arrow { border-bottom: 0; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 1px no-repeat, linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px, 100% 1px; color: var(--gold); }
.link-arrow::after { transition: transform .4s var(--ease-out); }

/* hamburger turns into an X */
.menu-btn { border-radius: 10px; transition: background-color .3s var(--ease-out), transform .2s ease; }
.menu-btn:hover { background: rgba(255, 255, 255, 0.08); }
.menu-btn:active { transform: scale(.92); }
.menu-btn span { transition: transform .4s var(--ease-out), opacity .25s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile bar buttons */
.mobile-bar a { transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out); }
.mobile-bar a:active { transform: scale(.96); }
.mobile-bar .wa:active { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 860px) { .mobile-bar { animation: barIn .7s var(--ease-out) .4s both; } }
@keyframes barIn { from { transform: translateY(110%); } to { transform: none; } }

/* FAQ drop-downs */
.faq summary { padding: 0 6px; border-radius: 6px; transition: color .3s var(--ease-out), background-color .3s var(--ease-out), padding-left .35s var(--ease-out); }
.faq summary:hover { color: var(--blue); background: rgba(37, 93, 137, 0.06); padding-left: 14px; }
.faq summary::after { transition: transform .45s var(--ease-out), color .3s ease; }
.faq details p { padding: 0 6px; animation: faqIn .5s var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* form fields */
.booking input, .booking select { transition: border-color .3s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s ease; }
.booking input:hover, .booking select:hover { border-color: var(--blue); }
.booking input:focus, .booking select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 93, 137, 0.18); }

/* Touch screens: no sticky hover. The press effect does the work. */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: none; }
  .btn:hover::after { transform: translateX(-130%); }
  .btn-ghost:hover { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
  .btn-yellow:hover { background: var(--yellow); }
  .btn-blue:hover { background: var(--blue); }
  .card:hover { transform: none; }
}

/* Mobile drop-down menu: slides and fades, links stagger in */
@media (max-width: 860px) {
  .links {
    display: flex; visibility: hidden; opacity: 0; pointer-events: none;
    clip-path: inset(0 0 100% 0); transform: translateY(-8px);
    transition: clip-path .5s var(--ease-out), opacity .3s ease, transform .5s var(--ease-out), visibility 0s linear .5s;
  }
  .links.open {
    visibility: visible; opacity: 1; pointer-events: auto; clip-path: inset(0 0 -40px 0); transform: none;
    transition: clip-path .5s var(--ease-out), opacity .3s ease, transform .5s var(--ease-out), visibility 0s;
  }
  .links li { opacity: 0; transform: translateY(-10px); transition: opacity .35s ease, transform .45s var(--ease-out); }
  .links.open li { opacity: 1; transform: none; }
  .links.open li:nth-child(1) { transition-delay: .06s; }
  .links.open li:nth-child(2) { transition-delay: .11s; }
  .links.open li:nth-child(3) { transition-delay: .16s; }
  .links.open li:nth-child(4) { transition-delay: .21s; }
  .links.open li:nth-child(5) { transition-delay: .26s; }
  .links a:not(.btn)::after { left: 0; right: 0; bottom: 6px; }
}

/* Smaller, tidier buttons on phones */
@media (max-width: 600px) {
  .btn { min-height: 42px; padding: 0 20px; font-size: 0.72rem; letter-spacing: 0.06em; }
  .btn-small { min-height: 38px; padding: 0 18px; }
  .card .btn { min-height: 40px; padding: 0 18px; }
  .hero .btn-row { gap: 10px 18px; }
  .link-arrow { min-height: 40px; font-size: 0.72rem; }
  .menu-btn { width: 40px; height: 40px; padding: 9px; }
  .links a { min-height: 42px; font-size: 0.78rem; }
  .links a.btn { margin-top: 6px; }
  .mobile-bar { gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-bar a { min-height: 40px; font-size: 0.72rem; }
  .site-footer { padding-bottom: 80px; }
  .booking { padding: 22px 18px; }
  .booking input, .booking select { min-height: 44px; }
  .faq summary { min-height: 56px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after, .links, .links li, .menu-btn span, .faq summary, .faq details p, .mobile-bar { transition: none; animation: none; }
  .ripple { display: none; }
}

/* ---- Phone / tablet hero: photo fills the top and melts into the dark blue behind the text ---- */
@media (max-width: 860px) {
  .hero { align-items: flex-end; min-height: max(620px, 86svh); }
  .hero-photo {
    inset: 0 0 auto 0; width: 100%; height: 66%; opacity: 1; filter: none;
    background-position: 28% 60%; background-size: cover;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
  }
  /* soft vignette so the photo sinks into the background on all sides */
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(1, 18, 31, 0.55) 0%, rgba(1, 18, 31, 0) 22%, rgba(1, 18, 31, 0) 52%, var(--navy-deep) 92%); }
  .hero .hero-content { padding-top: 120px; padding-bottom: 56px; }
  .hero-text { max-width: 100%; }
}
