/* ==========================================================================
   Grays Motors – public site styles
   ========================================================================== */

:root {
    --orange: #f26a1b;
    --orange-dark: #d4550b;
    --orange-soft: #fff1e8;
    --ink: #15171a;
    --charcoal: #1f2328;
    --steel: #2c323a;
    --text: #2f343b;
    --muted: #6b7280;
    --line: #e6e7ea;
    --bg: #ffffff;
    --bg-alt: #f6f5f3;
    --whatsapp: #25d366;
    --whatsapp-dark: #1ebe5b;
    --success: #15803d;
    --danger: #b91c1c;

    --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06), 0 1px 3px rgba(17, 24, 39, .08);
    --shadow: 0 10px 30px -12px rgba(17, 24, 39, .25);
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 .5em;
    letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
.muted { color: var(--muted); }
.text-accent { color: var(--orange); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
    text-transform: uppercase; letter-spacing: .6px;
    padding: .8em 1.5em; border-radius: 8px; border: 2px solid transparent;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    line-height: 1.1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { font-size: 1.15rem; padding: .95em 1.8em; }
.btn--sm { font-size: .9rem; padding: .55em 1.1em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(242, 106, 27, .7); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--orange); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); border-radius: 2px; }
.eyebrow--light { color: #ffb07f; }
.eyebrow--light::before { background: #ffb07f; }

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--charcoal); color: #cfd3d9; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-head--light p:last-child { color: #aeb4bd; }
.section-actions { text-align: center; margin-top: 44px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #b9bec6; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info i { color: var(--orange); margin-right: 6px; }
.topbar__emergency { color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar__emergency strong { color: var(--orange); font-weight: 700; }
.topbar__emergency:hover { color: #fff; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
    width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center; font-size: 1.3rem; color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 6px 14px -6px rgba(242, 106, 27, .8);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.brand__text small { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.6px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__text small { color: #9aa1ab; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link {
    display: block; padding: 10px 14px; border-radius: 6px;
    font-family: var(--font-head); font-weight: 600; font-size: 1.12rem;
    text-transform: uppercase; letter-spacing: .5px; color: var(--ink); position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav__link:hover { color: var(--orange-dark); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--orange-dark); }

.nav__toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; width: 46px; height: 46px; font-size: 1.25rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); color: #d7dbe0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(14, 16, 19, .96) 0%, rgba(14, 16, 19, .88) 45%, rgba(14, 16, 19, .55) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px);
}
.hero__inner { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; padding-top: 104px; padding-bottom: 112px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero__lead { font-size: 1.2rem; max-width: 600px; color: #c4c9d0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.8rem; }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: #e6e8eb; }
.hero__chips i { color: var(--orange); margin-right: 6px; }

.hero-card {
    background: rgba(255, 255, 255, .97); color: var(--text);
    border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    border-top: 5px solid var(--orange);
}
.hero-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.hero-card__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.hero-card__kicker { margin: 0; font-size: .8rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1.5px; color: var(--success); }
.hero-card h2 { font-size: 1.85rem; margin: 0; }
.hero-card > p { color: var(--muted); }
.hero-card__contacts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.hero-card__contacts a {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); transition: border-color .2s, background .2s;
}
.hero-card__contacts a:hover { border-color: var(--orange); background: var(--orange-soft); }
.hero-card__contacts span { font-size: .85rem; text-transform: uppercase; font-weight: 700; color: var(--muted); letter-spacing: 1px; min-width: 58px; }
.hero-card__contacts strong { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .5px; }
.hero-card__contacts i { color: var(--orange); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--orange); color: #fff; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-right: 1px solid rgba(255, 255, 255, .25); }
.trust-item:last-child { border-right: 0; }
.trust-item i { font-size: 1.7rem; opacity: .95; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.trust-item span { font-size: .92rem; opacity: .92; }

/* ---------- Service cards ---------- */
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px;
    display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 1.5rem; margin-bottom: 18px; transition: background .25s, color .25s; }
.service-card:hover .service-card__icon { background: var(--orange); color: #fff; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card__link { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 8px; }
.service-card__link i { transition: transform .2s; }
.service-card__link:hover i { transform: translateX(4px); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__badge {
    position: absolute; right: -18px; bottom: -22px; background: var(--ink); color: #fff;
    border-radius: 12px; padding: 16px 20px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); max-width: 250px; line-height: 1.3;
}
.split__badge i { font-size: 1.8rem; color: var(--orange); }
.split__badge strong { display: block; font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; }

.checklist { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; }
.checklist i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: 2px; }
.checklist strong { display: block; color: var(--ink); font-size: 1.05rem; }
.checklist div { color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius-lg); background: var(--bg-alt); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--orange); opacity: .9; display: block; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        repeating-linear-gradient(135deg, rgba(0, 0, 0, .06) 0 18px, transparent 18px 36px),
        linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff; padding: 64px 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.1rem; opacity: .95; }
.cta-band__kicker { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; letter-spacing: 2px; margin-bottom: .5rem !important; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; }
.info-list i { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--orange); display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.info-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .5px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #ddd; min-height: 380px; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-embed--tall, .map-embed--tall iframe { min-height: 340px; }

/* ---------- Page hero ---------- */
.page-hero {
    background:
        linear-gradient(100deg, rgba(14, 16, 19, .97), rgba(14, 16, 19, .82)),
        url("../images/storefront.jpg") center 30% / cover no-repeat;
    color: #c4c9d0; padding: 72px 0 80px; position: relative;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--orange); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero__lead { font-size: 1.2rem; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .9rem; margin-bottom: 1.25rem; color: #9aa1ab; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: .65rem; }

/* ---------- Values / accreditations / team ---------- */
.value-card { background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; border: 1px solid var(--line); }
.value-card > i { font-size: 1.8rem; color: var(--orange); margin-bottom: 16px; }
.value-card p { color: var(--muted); margin: 0; }

.accred-grid { max-width: 920px; margin: 0 auto; }
.accred-card { display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: var(--radius-lg); border: 2px solid var(--line); background: #fff; }
.accred-card__icon { width: 70px; height: 70px; border-radius: 16px; background: var(--ink); color: var(--orange); display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }
.accred-card h3 { margin-bottom: .2em; font-size: 1.6rem; }
.accred-card p { margin: 0; color: var(--muted); }

.team-grid { max-width: 760px; margin: 0 auto; }
.team-card { display: flex; align-items: center; gap: 20px; background: var(--steel); border-radius: var(--radius-lg); padding: 24px 28px; }
.team-card__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; flex-shrink: 0; }
.team-card h3 { margin-bottom: .15em; }
.team-card a { color: #ffb07f; font-weight: 600; }
.team-card a:hover { color: #fff; }

/* ---------- Services page ---------- */
.category-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 79px; z-index: 40; }
.category-nav__inner { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.category-nav__inner::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; white-space: nowrap; font-size: .95rem; }
.chip span { background: var(--bg-alt); border-radius: 999px; padding: 0 8px; font-size: .8rem; color: var(--muted); }
.chip:hover { border-color: var(--orange); color: var(--orange-dark); }

.category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--line); padding-bottom: 14px; margin-bottom: 32px; }
.category-head h2 { margin: 0; position: relative; }
.category-head span { color: var(--muted); font-weight: 600; }

.service-detail { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow .25s, border-color .25s; scroll-margin-top: 160px; }
.service-detail:hover, .service-detail:target { box-shadow: var(--shadow); border-color: transparent; }
.service-detail:target { outline: 3px solid var(--orange); }
.service-detail__icon { width: 62px; height: 62px; flex-shrink: 0; border-radius: 14px; background: var(--ink); color: var(--orange); display: grid; place-items: center; font-size: 1.5rem; }
.service-detail h3 { margin-bottom: .3em; }
.service-detail__summary { color: var(--ink); font-weight: 600; }
.service-detail p { color: var(--muted); font-size: .98rem; }
.service-detail__link { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: inline-flex; gap: 8px; align-items: center; }

.callout { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 40px; background: var(--bg-alt); border-radius: var(--radius-lg); border-left: 6px solid var(--orange); }
.callout h2 { font-size: 2rem; }
.callout p { color: var(--muted); max-width: 620px; margin: 0; }
.callout .btn-row { margin: 0; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-btn { font: inherit; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 9px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.filter-btn:hover { border-color: var(--orange); }
.filter-btn.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid--preview { grid-template-columns: repeat(3, 1fr); }
.gallery-item { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font-weight: 600; opacity: 0; transition: opacity .25s; }
.gallery-item__caption small { display: block; color: #ffb07f; text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; }
.gallery-item:hover .gallery-item__caption, .gallery-item:focus-visible .gallery-item__caption { opacity: 1; }
.gallery-item.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 9, 11, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 8px; margin: 0 auto; }
.lightbox figcaption { color: #e5e7eb; margin-top: 14px; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.lightbox button:hover { background: var(--orange); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

.empty-state { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 20px; }
.empty-state > i { font-size: 3.4rem; color: var(--orange); margin-bottom: 18px; }
.empty-state p { color: var(--muted); }

/* ---------- Forms ---------- */
.booking-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.contact-aside { display: grid; gap: 24px; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form-card > h2 { font-size: 2rem; margin-bottom: .2em; }
.form-section-title { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; margin: 30px 0 18px; padding-top: 26px; border-top: 1px dashed var(--line); }
.form-section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section-title span { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.form-grid--4 { grid-template-columns: repeat(4, 1fr); }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field label em { color: var(--orange-dark); font-style: normal; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 12px 14px; border: 1.5px solid #d6d9de; border-radius: 8px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 106, 27, .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; font-weight: 500; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { margin: 0; color: var(--muted); font-size: .92rem; }
.form-note i { color: var(--success); margin-right: 4px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 10px; margin: 18px 0 24px; font-weight: 500; }
.alert i { margin-top: 4px; }
.alert--success { background: #ecfdf3; color: var(--success); border: 1px solid #bbf7d0; }
.alert--error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

.booking-aside { display: grid; gap: 20px; position: sticky; top: 100px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.side-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.side-card h3 i { color: var(--orange); }
.side-card--dark { background: var(--charcoal); border-color: var(--charcoal); color: #c4c9d0; }
.side-card--dark h3 { color: #fff; }
.side-card--dark .btn + .btn { margin-top: 10px; }
.mini-steps { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list strong { color: var(--ink); white-space: nowrap; }
.hours-list__emergency strong { color: var(--orange-dark); }

/* ---------- Contact cards ---------- */
.contact-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; color: var(--text); transition: transform .25s, box-shadow .25s; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.contact-card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 1.4rem; margin-bottom: 16px; }
.contact-card__icon--wa { background: #e7f9ee; color: var(--whatsapp-dark); }
.contact-card h3 { margin-bottom: .4em; }
.contact-card p { margin: 0 0 4px; }
.contact-card--emergency { background: var(--ink); border-color: var(--ink); color: #c4c9d0; }
.contact-card--emergency h3 { color: #fff; }
.contact-card--emergency .contact-card__icon { background: var(--orange); color: #fff; }
.contact-card--emergency .btn { margin-top: 12px; }

/* ---------- Thank you ---------- */
.thanks-card { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px 40px; box-shadow: var(--shadow-sm); }
.thanks-card__icon { font-size: 4rem; color: var(--success); display: block; margin-bottom: 16px; }
.thanks-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.thanks-card__ref { font-size: 1.15rem; background: var(--orange-soft); display: inline-block; padding: 8px 18px; border-radius: 8px; }
.thanks-card__ref strong { color: var(--orange-dark); letter-spacing: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa1ab; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer__about p { margin: 18px 0; }
.footer__col h3 { color: #fff; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer__col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--orange); border-radius: 2px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { color: #c4c9d0; }
.footer__col a:hover { color: var(--orange); }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border: 1px solid #343a42; border-radius: 999px; color: #d1d5db; }
.footer__badge i { color: var(--orange); }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact i { color: var(--orange); width: 16px; margin-top: 5px; }
.footer__hours { margin-top: 20px !important; padding-top: 16px !important; border-top: 1px solid #2a2f36; gap: 4px !important; font-size: .9rem; }
.footer__hours li { display: flex; justify-content: space-between; gap: 10px; }
.footer__hours-emergency span:last-child { color: var(--orange); font-weight: 700; }
.footer__bottom { border-top: 1px solid #262a30; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: .88rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__staff { color: #6b7280; }
.footer__staff:hover { color: #c4c9d0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
    background: var(--whatsapp); color: #fff; display: grid; place-items: center; font-size: 2rem;
    box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .7); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
    .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .25); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .booking-layout { grid-template-columns: 1fr; }
    .booking-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .form-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .nav__toggle { display: grid; place-items: center; }
    .nav__menu {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px 22px;
        box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); display: none;
    }
    .nav__menu.is-open { display: flex; }
    .nav__links { flex-direction: column; gap: 2px; }
    .nav__link { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav__link::after { display: none; }
    .nav { position: relative; }

    .hero__inner, .split, .location, .contact-layout { grid-template-columns: 1fr; }
    .hero__inner { padding-top: 72px; padding-bottom: 80px; gap: 40px; }
    .split { gap: 48px; }
    .split__badge { right: 12px; }
    .grid-2 { grid-template-columns: 1fr; }
    .gallery-grid--preview { grid-template-columns: repeat(2, 1fr); }
    .category-nav { top: 79px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .hide-sm { display: none; }
    .topbar__inner { justify-content: center; }
    .topbar__info { display: none; }
    .brand__text strong { font-size: 1.4rem; }
    .brand__text small { font-size: .62rem; letter-spacing: 1px; }
    .brand__mark { width: 40px; height: 40px; font-size: 1.1rem; }
    .grid-4, .steps, .trust-strip__inner, .footer__grid, .form-grid, .form-grid--4 { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); padding: 18px 4px; }
    .trust-item:last-child { border-bottom: 0; }
    .hero__actions .btn { width: 100%; }
    .hero-card { padding: 24px 20px; }
    .form-card { padding: 26px 20px; }
    .callout { padding: 28px 22px; }
    .service-detail { flex-direction: column; gap: 16px; padding: 24px; }
    .gallery-grid--preview { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lightbox { padding: 60px 12px; }
    .lightbox__nav { top: auto !important; bottom: 18px; transform: none !important; }
    .cta-band__actions, .cta-band__actions .btn { width: 100%; }
    .form-footer .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
