/* ============================================================
   BR Waste Solution LTD — Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-50: #f0fdf4;
  --ink-900: #0b1220;
  --ink-800: #111827;
  --ink-700: #1f2937;
  --ink-500: #4b5563;
  --ink-400: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --wa: #25d366;
  --wa-dark: #1ebe5a;
  --amber: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .1);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .18);
  --container: 1180px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink-900); font-weight: 800; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-400); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  font-family: var(--font-head); border: 1.5px solid transparent; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--green-700); }
.btn-primary:hover { background: var(--green-800); }
.btn-whatsapp { --btn-bg: var(--wa); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-600); }
.btn-outline:hover { background: var(--green-50); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--bg-soft); box-shadow: none; transform: none; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand { display: flex; align-items: center; gap: .65rem; user-select: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800)); color: #fff;
  box-shadow: 0 6px 16px rgba(22, 101, 52, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text strong { font-size: 1.1rem; color: var(--ink-900); letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; color: var(--green-700); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; gap: .35rem; margin-left: auto; }
.main-nav a { padding: .55rem .85rem; border-radius: 8px; font-weight: 600; font-size: .93rem; color: var(--ink-700); transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--bg-soft); color: var(--green-700); }

.header-cta { display: flex; align-items: center; gap: .6rem; }
.btn-phone span { font-variant-numeric: tabular-nums; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink-800); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (shared) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); background: var(--green-900); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(11,61,36,.82), rgba(20,83,45,.68) 45%, rgba(11,61,36,.86)); }
.page-hero.has-media .hero-bg { display: none; }
.page-hero:not(.has-media) .hero-overlay { display: none; }
/* When a hero video/image is set, show it fully (no dark tint), with a soft
   text shadow so the wording stays readable. */
.page-hero.has-media .hero-overlay { background: transparent; }
.page-hero.has-media .hero-content,
.page-hero.has-media .hero-inner-center { text-shadow: 0 2px 14px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 197, 94, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(16, 185, 129, .3), transparent 55%),
    linear-gradient(160deg, #0f3d24 0%, #14532d 45%, #0b3d24 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .6;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-inner-center { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: clamp(1rem,4vw,2.5rem) 0; }
.hero-inner-center .lead { max-width: 60ch; }
.hero-inner-center .btn { margin-top: 1rem; }
.hero-sub { padding: clamp(3rem,7vw,4.5rem) 0; }
.back-link { color: rgba(255,255,255,.85); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; display: inline-block; }
.back-link:hover { color: #fff; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  font-size: .82rem; font-weight: 600; margin-bottom: 1.2rem; backdrop-filter: blur(6px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6);} 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0);} 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0);} }

.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: #fff; letter-spacing: -.02em; margin-bottom: 1rem; }
.page-hero h1 .hl { color: var(--green-500); }
.page-hero .lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, .85); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.8rem; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero-actions .btn-outline:hover { background: rgba(255, 255, 255, .12); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hero-badges .badge { display: flex; flex-direction: column; }
.hero-badges .badge strong { font-family: var(--font-head); font-size: 1.35rem; color: #fff; line-height: 1; }
.hero-badges .badge .stars { color: var(--amber); font-size: .9rem; letter-spacing: 1px; }
.hero-badges .badge small { color: rgba(255, 255, 255, .7); font-size: .78rem; }

/* Hero quote card */
.hero-card { background: #fff; color: var(--ink-800); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg); }
.hero-card h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.hero-card .muted { font-size: .9rem; margin-bottom: 1.1rem; }

/* ---------- Forms ---------- */
.quote-form .field { margin-bottom: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.quote-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-700); margin-bottom: .35rem; }
.quote-form label small { font-weight: 400; color: var(--ink-400); }
.quote-form input, .quote-form select, .quote-form textarea, .settings-form input {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink-800); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus, .settings-form input:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15);
}
.quote-form textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--ink-400); text-align: center; margin: .7rem 0 0; }
.checkbox-field label { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.checkbox-field input { width: auto; }

/* Password field with show/hide eye */
.pw-field { position: relative; }
.pw-field input { padding-right: 2.8rem; }
.pw-toggle { position: absolute; top: 50%; right: .5rem; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: .3rem; border-radius: 8px; opacity: .75; }
.pw-toggle:hover { opacity: 1; background: var(--bg-soft); }

/* Contact-method segmented toggle */
.method-toggle { display: flex; gap: .6rem; }
.method-opt { flex: 1; position: relative; margin: 0; }
.method-opt input { position: absolute; opacity: 0; pointer-events: none; }
.method-opt span { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; color: var(--ink-700); }
.method-opt input:checked + span { border-color: var(--green-600); background: var(--green-50); color: var(--green-800); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
.method-opt input:focus-visible + span { outline: 2px solid var(--green-600); outline-offset: 2px; }

/* ---------- Trust Strip ---------- */
.trust-strip { background: var(--ink-900); color: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1rem 24px; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .9); }
.trust-item span { font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); background: var(--green-50); padding: .35rem .8rem; border-radius: 999px; margin-bottom: .9rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -.02em; }
.section-head p { color: var(--ink-500); font-size: 1.02rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .svc-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: var(--green-50); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.service-card p { color: var(--ink-500); font-size: .93rem; flex: 1; }
.service-card .svc-price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--green-700); margin: .6rem 0 1rem; }
.service-card .svc-price small { font-weight: 600; font-size: .8rem; color: var(--ink-400); }
.service-card .btn { align-self: flex-start; }
.svc-featured { position: absolute; top: 1rem; right: 1rem; background: var(--amber); color: #fff; font-size: .68rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.service-card.is-featured { border-color: var(--green-600); box-shadow: 0 0 0 1px var(--green-600); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .gal-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,32,.7), transparent 55%); display: flex; align-items: flex-end; padding: .9rem; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gal-overlay { opacity: 1; }
.gallery-item .gal-overlay span { color: #fff; font-weight: 600; font-size: .9rem; }
.gallery-empty { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--ink-400); border: 2px dashed var(--line); border-radius: var(--radius); }

/* ---------- Why Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.why-card { padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 2rem; margin-bottom: .7rem; }
.why-card h3 { font-size: 1.15rem; }
.why-card p { color: var(--ink-500); font-size: .93rem; margin: 0; }

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; padding: 2.6rem 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; }
.stat span { font-size: .9rem; color: rgba(255, 255, 255, .85); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.3rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 0; }
.review-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: .6rem; }
.review-card p { color: var(--ink-700); font-size: .96rem; }
.review-card footer { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.review-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-100, var(--green-50)); color: var(--green-800); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.review-card cite { font-style: normal; font-weight: 700; display: flex; flex-direction: column; font-family: var(--font-head); }
.review-card cite small { font-weight: 400; color: var(--ink-400); font-size: .8rem; }
.reviews-cta { text-align: center; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.ci-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.contact-list a { color: var(--green-700); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.2rem; }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.contact-form-wrap h3 { font-size: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, .75); padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }
.footer-stars { color: var(--amber); font-weight: 600; }
.footer-stars span { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .9rem; }
.footer-col a:hover { color: var(--green-500); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.2rem 24px; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .5); transition: transform .2s; animation: waBob 3s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.1); }
@keyframes waBob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); background: var(--ink-900); color: #fff; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); z-index: 300; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.toast.show { transform: translate(-50%, 0); }
.toast.error { background: #b91c1c; }

/* ---------- Modals ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 260; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(11, 18, 32, .6); backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem; width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); animation: popIn .25s cubic-bezier(.2,.8,.2,1); max-height: 90vh; overflow-y: auto; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h3 { font-size: 1.35rem; }
.modal-close { position: absolute; top: .9rem; right: 1rem; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink-400); cursor: pointer; }
.modal-close:hover { color: var(--ink-900); }
.modal-actions { display: flex; gap: .7rem; margin-top: .5rem; }
.admin-lock { font-size: 2.4rem; text-align: center; }
.admin-login { text-align: center; }
.admin-login .quote-form { text-align: left; margin-top: 1rem; }
.login-error { color: #b91c1c; font-size: .85rem; font-weight: 600; min-height: 1.1em; margin: 0 0 .4rem; }
.form-note code { background: var(--bg-soft); padding: .1rem .35rem; border-radius: 5px; font-size: .8rem; color: var(--green-800); }

/* ---------- Admin Panel ---------- */
.admin-panel { position: fixed; inset: 0; z-index: 250; background: var(--bg-soft); overflow-y: auto; display: none; }
.admin-panel.open { display: block; }
.admin-header { background: var(--ink-900); color: #fff; position: sticky; top: 0; z-index: 5; }
.admin-header-inner { max-width: 1100px; margin: 0 auto; padding: 1rem 24px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-title { display: flex; align-items: center; gap: .8rem; }
.admin-title h2 { color: #fff; font-size: 1.2rem; margin: 0; }
.admin-badge { background: var(--green-600); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: .25rem .55rem; border-radius: 6px; }
.admin-header-actions { display: flex; gap: .6rem; }
.admin-header .btn-ghost { color: rgba(255,255,255,.85); }
.admin-header .btn-ghost:hover { background: rgba(255,255,255,.1); }
.admin-header .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.admin-header .btn-outline:hover { background: rgba(255,255,255,.1); }
.admin-tabs { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; gap: .4rem; }
.admin-tab { background: none; border: 0; color: rgba(255,255,255,.65); padding: .8rem 1rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; cursor: pointer; border-bottom: 3px solid transparent; }
.admin-tab:hover { color: #fff; }
.admin-tab.is-active { color: #fff; border-bottom-color: var(--green-500); }

.admin-body { max-width: 1100px; margin: 0 auto; padding: 2rem 24px 4rem; }
.admin-tabpanel { display: none; }
.admin-tabpanel.is-active { display: block; animation: fadeIn .25s ease; }
.admin-panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-panel-head h3 { font-size: 1.4rem; margin-bottom: .2rem; }

/* Admin services list */
.admin-services-list { display: grid; gap: .9rem; }
.admin-service-row { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.admin-service-row .asr-icon { font-size: 1.6rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--green-50); border-radius: 10px; flex: none; }
.admin-service-row .asr-main { flex: 1; min-width: 0; }
.admin-service-row .asr-main strong { font-family: var(--font-head); display: block; }
.admin-service-row .asr-main span { font-size: .85rem; color: var(--ink-400); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-service-row .asr-price { font-family: var(--font-head); font-weight: 700; color: var(--green-700); white-space: nowrap; }
.admin-service-row .asr-actions { display: flex; gap: .4rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn.danger:hover { background: #fef2f2; border-color: #fecaca; }
.asr-badge { font-size: .65rem; background: var(--amber); color: #fff; padding: .15rem .45rem; border-radius: 999px; font-weight: 700; text-transform: uppercase; margin-left: .4rem; }

/* Admin gallery */
.upload-hint { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--ink-400); margin-bottom: 1.5rem; transition: border-color .2s, background .2s; }
.upload-hint.dragover { border-color: var(--green-600); background: var(--green-50); color: var(--green-800); }
.upload-hint p { margin: 0; font-size: .92rem; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.admin-gal-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--line); }
.admin-gal-item img { width: 100%; height: 100%; object-fit: cover; }
.admin-gal-item .del-btn { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(185, 28, 28, .92); color: #fff; cursor: pointer; font-size: 1rem; display: grid; place-items: center; }
.admin-gal-item .del-btn:hover { background: #991b1b; }

/* Settings */
.settings-form { max-width: 620px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.settings-form .field { margin-bottom: 1.1rem; }
.settings-actions { display: flex; gap: .7rem; margin-top: .5rem; }
.saved-note { color: var(--green-700); font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: .8rem 0 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 280; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fadeIn .2s; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 780px) {
  .main-nav, .header-cta { display: none; }
  .main-nav.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 1rem; gap: .2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .main-nav.open a { padding: .8rem 1rem; border-radius: 8px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .trust-inner { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .admin-header-inner { flex-direction: column; align-items: flex-start; }
  .admin-tabs { overflow-x: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-badges { gap: 1rem; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Active nav ---------- */
.main-nav a.is-active { color: var(--green-700); background: var(--green-50); }

/* ---------- Shared bits ---------- */
.center-cta { text-align: center; margin-top: 2.4rem; }
.svc-card-actions { display: flex; gap: .5rem; margin-top: auto; }
.lead-dark { font-size: 1.08rem; color: var(--ink-700); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; padding: clamp(2.4rem, 5vw, 3.4rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .25rem; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.15); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.3rem; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: .8rem; }
.step-card h3 { font-size: 1.1rem; }
.step-card p { color: var(--ink-500); font-size: .92rem; margin: 0; }

/* ---------- Service detail ---------- */
.service-detail-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 2.5rem; align-items: start; }
.service-detail-main h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.detail-points { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .6rem; }
.detail-points li { font-weight: 500; color: var(--ink-700); }
.detail-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.service-detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); text-align: center; position: sticky; top: 92px; }
.sdc-icon { font-size: 3rem; margin-bottom: .5rem; }
.sdc-price { display: flex; align-items: baseline; justify-content: center; gap: .3rem; margin-bottom: .6rem; }
.sdc-price small { color: var(--ink-400); font-weight: 600; }
.sdc-price strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--green-700); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: start; }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.about-text p { color: var(--ink-500); }
.about-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.about-highlights { display: grid; gap: 1rem; }
.highlight-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1rem; }
.highlight-card strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--green-700); flex: none; }
.highlight-card span { color: var(--ink-500); font-size: .92rem; }

/* ---------- Gallery video ---------- */
.gallery-item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 1.2rem; pointer-events: none; }

/* ---------- Lightbox content ---------- */
.lightbox-content { display: grid; place-items: center; }
.lightbox-content img, .lightbox-content video { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }

/* ---------- Admin: upload controls ---------- */
.upload-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }

/* ---------- Admin: heroes ---------- */
.admin-heroes-list { display: grid; gap: 1.2rem; }
.hero-admin-card { display: grid; grid-template-columns: 260px 1fr; gap: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.hac-preview { aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(160deg, #14532d, #0b3d24); display: grid; place-items: center; }
.hac-preview video, .hac-preview img { width: 100%; height: 100%; object-fit: cover; }
.hac-ph { color: rgba(255,255,255,.7); font-size: .82rem; }
.hac-body h4 { font-size: 1.1rem; margin-bottom: .2rem; }
.hac-status { font-size: .85rem; color: var(--ink-400); margin-bottom: .8rem; }
.hac-body .field { margin: .6rem 0; }
.hac-body .field label { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-700); margin-bottom: .3rem; }
.hac-body .field input, .hac-body .field textarea { width: 100%; padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .9rem; }

/* ---------- Admin: gallery media ---------- */
.agi-media { width: 100%; height: 100%; }
.agi-media video, .agi-media img { width: 100%; height: 100%; object-fit: cover; }
.admin-gal-item .agi-media { position: absolute; inset: 0; }

/* ---------- Responsive (new) ---------- */
@media (max-width: 960px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-card { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-admin-card { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* Utility */
.no-scroll { overflow: hidden; }

/* ---------- Photo upload ---------- */
.photo-pick { margin-top: .2rem; }
.photo-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
.consent-check { display: flex; gap: .5rem; align-items: flex-start; font-size: .78rem; font-weight: 500; color: var(--ink-500); margin: .3rem 0 .7rem; line-height: 1.4; }
.consent-check input { width: auto; margin-top: .15rem; flex: none; }
.consent-check a { color: var(--green-700); text-decoration: underline; }
.photo-pick.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- Service image (instead of icon) ---------- */
.svc-icon-img { padding: 0; overflow: hidden; }
.svc-icon-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.sdc-icon img { width: 92px; height: 92px; object-fit: cover; border-radius: 16px; margin: 0 auto; }
.asr-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.svc-image-row { display: flex; gap: .8rem; align-items: center; }
.svc-image-preview { width: 72px; height: 72px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; background: var(--bg-soft); flex: none; }
.svc-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.svc-image-ph { font-size: .7rem; color: var(--ink-400); text-align: center; }
.svc-image-actions { display: flex; flex-direction: column; gap: .4rem; }

/* ---------- Gallery Before / After tags ---------- */
.gal-tag-badge { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; color: #fff; }
.gal-tag-badge.before { background: #b45309; }
.gal-tag-badge.after { background: var(--green-700); }
.gal-tag-btn { position: absolute; bottom: 8px; left: 8px; z-index: 2; font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 8px; border: 0; background: rgba(11,18,32,.8); color: #fff; cursor: pointer; }
.gal-tag-btn:hover { background: rgba(11,18,32,.95); }

/* ---------- Before / After slider (public) ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.ba-slider { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); user-select: none; margin: 0; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-img-before { will-change: clip-path; }
.ba-tag { position: absolute; top: 10px; z-index: 3; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; color: #fff; }
.ba-tag-before { left: 10px; background: #b45309; }
.ba-tag-after { right: 10px; background: var(--green-700); }
.ba-divider { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); z-index: 2; pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink-800); display: grid; place-items: center; font-size: 1rem; box-shadow: var(--shadow-md); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba-slider figcaption { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: .6rem .8rem; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(11,18,32,.75), transparent); pointer-events: none; }

/* ---------- Before / After admin ---------- */
.ba-head { margin-top: 2.4rem; }
.ba-uploader { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.ba-name { font-size: .82rem; color: var(--ink-400); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba-caption-input { padding: .5rem .7rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .9rem; }
.ba-preview { display: flex; gap: 1rem; margin-bottom: 1.2rem; }
.ba-prev-box { position: relative; margin: 0; width: 200px; max-width: 45%; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); aspect-ratio: 4/3; }
.ba-prev-box img { width: 100%; height: 100%; object-fit: cover; }
.ba-prev-label { position: absolute; top: 6px; left: 6px; z-index: 2; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .18rem .5rem; border-radius: 999px; color: #fff; background: rgba(11,18,32,.75); }
.admin-ba-list { display: grid; gap: .8rem; }
.admin-ba-item { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.aba-pics { display: flex; gap: .3rem; flex: none; }
.aba-pics img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.aba-meta { flex: 1; min-width: 0; }
.aba-meta strong { font-family: var(--font-head); display: block; }
.aba-meta span { font-size: .8rem; color: var(--ink-400); }
.photo-previews { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.photo-previews:empty { margin-top: 0; }
.photo-thumb { position: relative; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 6px; border: 0; background: rgba(185,28,28,.92); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.photo-del:hover { background: #991b1b; }
.photo-note { font-size: .74rem; color: var(--ink-400); line-height: 1.4; margin: .55rem 0 0; }
.photo-note a { color: var(--green-700); text-decoration: underline; }

/* ---------- Location picker ---------- */
.location-input { display: flex; gap: .5rem; align-items: stretch; }
.location-input input { flex: 1; }
.location-input .use-location { white-space: nowrap; flex: none; }
.location-preview { margin-bottom: .9rem; }
.loc-map { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-soft); }
.loc-map-frame { width: 100%; height: 100%; border: 0; display: block; }
.loc-map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1rem; background: var(--bg-soft); }
.loc-map-consent p { margin: 0; font-size: .85rem; color: var(--ink-500); }
.loc-note { font-size: .8rem; color: var(--ink-400); margin: .5rem 0 0; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 320; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(16,24,40,.12); transform: translateY(110%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { font-family: var(--font-head); display: block; margin-bottom: .2rem; }
.cookie-text p { margin: 0; font-size: .86rem; color: var(--ink-500); }
.cookie-text a { color: var(--green-700); text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Form consent note ---------- */
.form-consent { font-size: .74rem; color: var(--ink-400); text-align: center; margin: .6rem 0 0; line-height: 1.4; }
.form-consent a { color: var(--green-700); text-decoration: underline; }

/* ---------- Footer legal links ---------- */
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.7); }
.footer-legal a:hover { color: var(--green-500); }

/* ---------- Map consent overlay ---------- */
.map-embed { position: relative; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1.2rem; background: var(--bg-soft); }
.map-consent p { margin: 0; font-size: .88rem; color: var(--ink-500); max-width: 32ch; }
.map-directions { font-size: .85rem; color: var(--green-700); font-weight: 600; }
.map-directions:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal-content p, .legal-content li { color: var(--ink-600, var(--ink-500)); font-size: .96rem; }
.legal-content ul { padding-left: 1.2rem; display: grid; gap: .35rem; margin: 0 0 1rem; }
.legal-content a { color: var(--green-700); text-decoration: underline; }
.legal-updated { color: var(--ink-400); font-size: .85rem; font-style: italic; }
.legal-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.2rem; font-size: .9rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.legal-table th { background: var(--green-50); font-family: var(--font-head); color: var(--ink-800); }
.legal-back { margin-top: 2.4rem; }

@media (max-width: 620px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
