:root {
    --y: #F5B427;
    --bg: #0a0a0a;
    --panel: rgba(18, 18, 18, .85);
    --text: #ececec;
    --muted: #9a9a9a;
    --a: 0deg;
}

@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
a { color: var(--y); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--y); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); font-weight: 400; }
.center { text-align: center; }
.inline { display: inline; }

#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.5rem; background: rgba(0, 0, 0, .75); backdrop-filter: blur(6px); border-bottom: 1px solid #222; position: sticky; top: 0; z-index: 10; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.3rem; color: #fff; text-decoration: none; }
.brand span { color: var(--y); }
.brand { display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 34px; } }
.main-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; }
.main-nav a.active, .main-nav a:not(.btn):hover { color: var(--y); }
.nav-toggle { display: none; background: none; border: 1px solid #444; color: #fff; font-size: 1.2rem; border-radius: 6px; padding: .2rem .6rem; }

/* Buttons */
.btn { display: inline-block; background: var(--y); color: #000; border: 2px solid var(--y); border-radius: 8px; padding: .65rem 1.2rem; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover, .btn:focus-visible { background: #fff; color: #000; border-color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 20px rgba(245, 180, 39, .45); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-ghost { background: transparent; color: var(--y); }
.btn-sm { padding: .35rem .8rem; font-size: .88rem; }

/* Shining border that circles around buttons, cards, offer boxes and floating buttons on hover (as in the approved design) */
.btn, .card, .offer, .shine { position: relative; }
.shine { border-radius: 12px; }
.btn.shine { border-radius: 8px; }
.card::before, .offer::before, .shine::before, .btn::before, .bot-toggle::before, .wa-float::before {
    content: ""; position: absolute; z-index: 2; pointer-events: none; border-radius: inherit; padding: 3px;
    background: conic-gradient(from var(--a), transparent 0deg, transparent 240deg, var(--y) 320deg, #fff 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
    opacity: 0; transition: opacity .2s; filter: drop-shadow(0 0 6px var(--y));
}
.card::before, .offer::before, .shine::before { inset: 0; padding: 2px; }
.btn::before, .bot-toggle::before, .wa-float::before { inset: -4px; }
.card:hover::before, .offer:hover::before, .shine:hover::before, .shine:focus-within::before,
.btn:hover::before, .bot-toggle:hover::before, .wa-float:hover::before { opacity: 1; animation: spin 1.4s linear infinite; }
@keyframes spin { to { --a: 360deg; } }

/* Layout */
.section { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.section.narrow { max-width: 560px; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--panel); border: 1px solid #2a2a2a; border-radius: 12px; padding: 1.4rem; }
.card ul { padding-left: 1.1rem; margin: 0 0 1.2rem; }
.price { color: var(--y); font-size: 1.35rem; font-weight: 800; margin-bottom: .8rem; }
.quote { font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--y); color: var(--y); border-radius: 999px; padding: .2rem .8rem; font-size: .85rem; }

/* Hero */
.hero { max-width: 900px; margin: 0 auto; padding: 5rem 1.25rem 3rem; text-align: center; }
.hero h1 span { color: var(--y); }
.hero .lead { font-size: 1.15rem; color: #cfcfcf; }
.eyebrow { color: var(--y); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Stats */
.stat { display: inline-block; padding: 1.5rem 3rem; background: var(--panel); border: 1px solid #2a2a2a; }
.stat-num { display: inline-block; font-size: 3.2rem; font-weight: 800; color: var(--y); }
.stat-num.sm { font-size: 2rem; }
.stat-plus { display: inline-block; font-size: 2.4rem; color: var(--y); font-weight: 800; }
.step-no { color: var(--y); font-size: 2rem; font-weight: 800; }

/* Growth path */
.growth { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.stage { border: 1px solid var(--y); border-radius: 10px; padding: .7rem 1.1rem; animation: glow 3.6s ease-in-out infinite; animation-delay: var(--d); }
.arrow { color: var(--y); font-size: 1.6rem; animation: nudge 1.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 rgba(245, 180, 39, 0); } 20% { box-shadow: 0 0 18px rgba(245, 180, 39, .7); } 40% { box-shadow: 0 0 0 rgba(245, 180, 39, 0); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* Work cards */
.work-card { display: block; text-decoration: none; color: inherit; }
.work-thumb { height: 140px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; color: var(--y); background: linear-gradient(135deg, #151515, #26200f); border-radius: 8px; margin-bottom: 1rem; padding: .5rem; }
.link { color: var(--y); font-weight: 600; }

/* Location pages */
.crumbs { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.faq { margin-bottom: .7rem; padding: 1rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: .7rem 0 0; }
a.chip { text-decoration: none; }
a.chip:hover { background: var(--y); color: #000; }
.cta { margin-top: 2rem; }

/* Forms */
.form label { display: block; margin-bottom: 1rem; font-size: .9rem; color: #cfcfcf; }
.form input:not([type=checkbox]), .form textarea, .modal-box input, .modal-box textarea, .modal-box select { width: 100%; margin-top: .3rem; padding: .65rem .8rem; background: #0e0e0e; color: #fff; border: 1px solid #333; border-radius: 8px; font: inherit; }
.modal-box label { display: block; margin-bottom: .9rem; font-size: .9rem; color: #cfcfcf; }
.form input:focus, .form textarea:focus, .modal-box input:focus, .modal-box textarea:focus { outline: 2px solid var(--y); border-color: var(--y); }
.check { display: flex; align-items: center; gap: .5rem; }

.flash { max-width: 1100px; margin: 1rem auto 0; padding: .8rem 1rem; background: #1b2a14; border: 1px solid #3c6b25; border-radius: 8px; }
.flash-error { background: #2a1414; border-color: #7a2b2b; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid #2a2a2a; border-radius: 10px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid #242424; vertical-align: top; }
th { color: var(--y); white-space: nowrap; }
select { background: #0e0e0e; color: #fff; border: 1px solid #333; border-radius: 6px; padding: .3rem; }
.badge { padding: .15rem .6rem; border-radius: 999px; font-size: .8rem; border: 1px solid #555; }
.badge-new { border-color: var(--y); color: var(--y); }
.badge-confirmed { border-color: #5ec26a; color: #5ec26a; }

/* Footer (as in the approved design) */
.site-footer { border-top: 2px solid var(--y); background: #000; padding: 56px 18px 0; color: var(--muted); font-size: 15px; }
.footer-grid { max-width: 1100px; margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.footer-grid h4 { color: var(--y); margin: 0 0 12px; font-size: 17px; }
.footer-grid p { margin: 0 0 .8em; }
.footer-grid a { display: block; margin: 9px 0; color: var(--text); text-decoration: none; transition: color .2s, transform .2s; }
.footer-grid a:hover { color: var(--y); transform: translateX(4px); }
.foot-brand { display: inline-block; margin: 0 0 14px; }
.foot-brand .brand-logo { height: 46px; }
.footer-grid a.foot-brand:hover { transform: none; }
.foot-tag { color: var(--y); font-weight: 700; }
.copy { max-width: none; border-top: 1px solid #2a2a2a; margin-top: 40px; padding: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.copy .vc { color: var(--y); }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .8); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-box { background: #0b0b0b; border: 1px solid #333; padding: 1.6rem; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: .6rem; right: .8rem; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Bot + WhatsApp */
.bot-toggle { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--y); background: #000; font-size: 1.4rem; cursor: pointer; }
.bot-toggle:hover { background: #fff; }
.bot { position: fixed; right: 1rem; bottom: 4.8rem; z-index: 41; width: min(340px, calc(100vw - 2rem)); background: #0b0b0b; border: 1px solid var(--y); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.bot[hidden] { display: none; }
.bot-head { background: var(--y); color: #000; font-weight: 700; padding: .6rem .9rem; display: flex; justify-content: space-between; }
.bot-head button { background: none; border: 0; font-size: 1.2rem; cursor: pointer; }
.bot-log { height: 260px; overflow-y: auto; padding: .8rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.msg { padding: .5rem .7rem; border-radius: 10px; max-width: 88%; }
.msg.bot-msg { background: #1b1b1b; align-self: flex-start; }
.msg.user-msg { background: var(--y); color: #000; align-self: flex-end; }
.bot-form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid #222; }
.bot-form input { flex: 1; background: #0e0e0e; color: #fff; border: 1px solid #333; border-radius: 8px; padding: .5rem; }
.wa-float { position: fixed; left: 1rem; bottom: 1rem; z-index: 40; background: #25D366; color: #000; font-weight: 700; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; }
.wa-float:hover { background: #fff; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-top: .6rem; }
    .main-nav.open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .btn:hover, .footer-grid a:hover { transform: none; }
}
