/* Public website — Garage Al-Diplomasi
   Design system: Trust & Authority + conversion, flat style, navy + gold brand.
   Contrast (WCAG AA): ink on gold 7.1:1, white on navy 11–16:1, gold-text on white 4.7:1. */
:root {
  --hero-dir: 100deg;
  --navy-900: #0b1f33;
  --navy-800: #0f2a44;
  --navy: #0f3d5e;
  --navy-100: #e7eef5;
  --gold: #d4a03a;
  --gold-600: #b8862a;
  --gold-text: #9a6a12;
  --gold-50: #fdf6e9;
  --ink: #0b1f33;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, .06), 0 1px 3px rgba(11, 31, 51, .08);
  --shadow: 0 10px 30px -12px rgba(11, 31, 51, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

body.site { overflow-x: clip; background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.75; }
.site h1, .site h2, .site h3, .site h4 { font-weight: 700; line-height: 1.35; color: var(--ink); }
.site :where(a:not(.btn)) { color: var(--navy); }
.site main > section, .site-footer { overflow-x: clip; }
.site :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.site .container { max-width: 1200px; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 2000; background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn-gold { background: var(--gold); color: var(--ink); border: 0; font-weight: 700; padding: .8rem 1.5rem; border-radius: 12px; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-600); color: var(--ink); }
.btn-gold:active { transform: translateY(1px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; font-weight: 600; padding: .78rem 1.4rem; border-radius: 12px; transition: background-color .18s var(--ease); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: 0; font-weight: 600; padding: .75rem 1.4rem; border-radius: 12px; transition: background-color .18s var(--ease); }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-gold, .btn-ghost-light, .btn-navy { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }

/* Header */
.site-topbar { background: var(--navy-900); color: #cbd5e1; font-size: .875rem; }
.site-topbar a { color: #e2e8f0; text-decoration: none; }
.site-topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); min-height: var(--header-h); transition: box-shadow .2s var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.site-brand .mark { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.35rem; }
.site-brand img { max-height: 46px; }
.site-brand small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.site-nav .nav-link { color: var(--ink); font-weight: 600; padding: .6rem .9rem !important; border-radius: 10px; }
.site-nav .nav-link:hover { background: var(--navy-100); }
.site-nav .nav-link.active { color: var(--navy); background: var(--navy-100); }
.navbar-toggler { border: 0; min-width: 48px; min-height: 48px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 400px at 85% -10%, rgba(212,160,58,.18), transparent 60%),
  linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image:
  linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero.has-image { background: linear-gradient(var(--hero-dir, 100deg), rgba(11,31,51,.94) 0%, rgba(11,31,51,.82) 45%, rgba(11,31,51,.35) 100%), var(--hero-img) center/cover no-repeat; }
.hero .container { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
.hero .lead { color: #dbe4ee; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 40rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; color: var(--gold-text); background: var(--gold-50); padding: .35rem .85rem; border-radius: 999px; }
.hero .eyebrow { color: var(--gold); background: rgba(212,160,58,.14); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 0; color: #e2e8f0; }
.hero-badges li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges i { color: var(--gold); }

/* Hero visual: live job status card (mirrors the real WhatsApp flow) */
.status-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); padding: 1.5rem; max-width: 420px; margin-inline-start: auto; }
.status-card .plate { font-weight: 800; direction: ltr; unicode-bidi: isolate; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: .1rem .6rem; }
.timeline { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.timeline li { position: relative; padding-inline-start: 2.25rem; padding-bottom: 1rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; inset-inline-start: .62rem; top: 1.6rem; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; inset-inline-start: 0; top: .2rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--line); color: #fff; }
.timeline li.done { color: var(--ink); }
.timeline li.done .dot { background: #15803d; }
.timeline li.current { color: var(--ink); font-weight: 700; }
.timeline li.current .dot { background: var(--gold); color: var(--ink); }
.wa-bubble { margin-top: .5rem; background: #e7f7ec; border: 1px solid #c6ebd2; border-radius: 14px; border-start-start-radius: 4px; padding: .75rem 1rem; font-size: .92rem; }
.wa-bubble .from { color: #15803d; font-weight: 700; font-size: .8rem; }
.float-y { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats */
.stats { margin-top: -2.75rem; position: relative; z-index: 2; }
.stats .card-stats { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.5rem; }
.stat { text-align: center; padding: .5rem; }
.stat .num { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; color: var(--navy); direction: ltr; unicode-bidi: isolate; }
.stat .label { color: var(--muted); font-weight: 600; }

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin: 0 auto 2.75rem; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-top: .75rem; }
.section-head p { color: var(--muted); font-size: 1.075rem; }

/* Service cards */
.service-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.service-card:hover, .service-card:focus-visible { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.icon-tile { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: var(--navy-100); color: var(--navy); flex-shrink: 0; }
.service-card:hover .icon-tile { background: var(--navy); color: var(--gold); }
.service-card h3 { font-size: 1.2rem; margin: 1.1rem 0 .4rem; }
.service-card p { color: var(--muted); margin-bottom: 1rem; }
.service-card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--navy); border-top: 1px dashed var(--line); padding-top: .9rem; }
.service-card .meta .price { color: var(--gold-text); }

/* Why us */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon-tile { background: var(--gold-50); color: var(--gold-text); }
.feature h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.feature p { color: var(--muted); margin: 0; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem 1.5rem; height: 100%; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -1.1rem; inset-inline-start: 1.5rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.1rem; margin-top: .5rem; }
.step p { color: var(--muted); margin: 0; }

/* About teaser */
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; display: flex; align-items: flex-end; padding: 2rem; }
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual .quote { position: relative; background: rgba(11,31,51,.78); border-radius: var(--radius); padding: 1.25rem 1.5rem; backdrop-filter: blur(4px); }
.about-visual .big-icon { position: absolute; top: 1.5rem; inset-inline-end: 1.5rem; font-size: 7rem; color: rgba(212,160,58,.22); line-height: 1; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.check-list i { color: #15803d; margin-top: .2rem; }

/* Testimonials */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; }
.testimonial .stars { color: var(--gold); letter-spacing: .1em; }
.testimonial blockquote { font-size: 1.02rem; margin: .75rem 0 1.25rem; flex-grow: 1; }
.testimonial .who { display: flex; align-items: center; gap: .75rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; }

/* CTA / booking */
.cta-band { background: linear-gradient(140deg, var(--navy-900), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band .contact-line { display: flex; align-items: center; gap: .75rem; color: #e2e8f0; margin-bottom: .9rem; text-decoration: none; }
.cta-band .contact-line i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.cta-band a.contact-line:hover { color: #fff; }
.booking-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.booking-card .form-label { font-weight: 600; }
.booking-card .form-control, .booking-card .form-select { min-height: 48px; border-radius: 10px; border-color: #cbd5e1; }
.booking-card textarea.form-control { min-height: 96px; }
.booking-card .form-control:focus, .booking-card .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(15,61,94,.15); }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Page header (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: #dbe4ee; max-width: 44rem; }
.breadcrumb-site { --bs-breadcrumb-divider-color: #94a3b8; --bs-breadcrumb-item-active-color: #e2e8f0; margin-bottom: .75rem; }
.breadcrumb-site a { color: #cbd5e1; text-decoration: none; }
.prose p { color: #334155; font-size: 1.06rem; }
.prose ul { padding-inline-start: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.info-tile { background: var(--bg-soft); border-radius: var(--radius); padding: 1.25rem; height: 100%; }
.info-tile i { color: var(--gold-text); font-size: 1.4rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: #cbd5e1; padding-top: 3.5rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .social a { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(255,255,255,.06); font-size: 1.15rem; }
.site-footer .social a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-block: 1.25rem; padding-inline-end: 5rem; font-size: .9rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 1.25rem; inset-inline-end: 1.25rem; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: 1.75rem; box-shadow: 0 10px 25px -8px rgba(22,163,74,.6); transition: transform .2s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .site-nav { padding-block: .75rem; }
  .status-card { margin: 2.5rem auto 0; }
  .stats { margin-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

[dir="rtl"] { --hero-dir: 260deg; }  /* darkest edge behind the text column */

/* Services page: sticky category jump links */
.service-jump { position: sticky; top: var(--header-h); z-index: 1020; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.service-jump .btn { min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; }
.section[id^="cat-"] { scroll-margin-top: calc(var(--header-h) + 72px); }

/* Location map */
.map-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16 / 7; min-height: 320px; background: var(--bg-soft); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 575.98px) { .map-frame { aspect-ratio: 4 / 5; } }
.text-gold { color: var(--gold-text); }
