/* ==========================================================================
   Advanced Automotive Mechanics — website styles
   ========================================================================== */

:root {
    --ink: #12161c;
    --ink-2: #1a2028;
    --steel: #262e38;
    --steel-2: #343d49;
    --muted: #5f6875;
    --muted-2: #8b94a1;
    --line: #e3e6ea;
    --bg: #f4f5f7;
    --white: #ffffff;
    --red: #d62028;
    --red-2: #f0383f;
    --red-dark: #a8141b;
    --green: #1fa855;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(18, 22, 28, .06), 0 2px 8px rgba(18, 22, 28, .05);
    --shadow: 0 10px 30px rgba(18, 22, 28, .10);
    --shadow-lg: 0 24px 60px rgba(18, 22, 28, .18);
    --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --container: 1200px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .3px;
    margin: 0 0 .75rem;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

.icon { flex-shrink: 0; vertical-align: middle; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--ink); color: #cfd5dd; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--red-2); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 3px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--muted-2); }

.text-red { color: var(--red); }
.text-muted { color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(214, 32, 40, .3); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--steel); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-whatsapp { background: var(--green); color: var(--white); }
.btn-whatsapp:hover { background: #178a45; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #f1f1f1; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--red);
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--ink); color: #aab2bd; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar-info, .topbar-actions { display: flex; align-items: center; gap: 22px; }
.topbar-info span, .topbar-actions a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { color: var(--red-2); }
.topbar a:hover { color: var(--white); }
.topbar-social { display: flex; gap: 12px; }

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; letter-spacing: 1.5px; color: var(--ink); }
.brand-text small { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: 3px; color: var(--red); margin-top: 3px; }
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text small { color: var(--red-2); }

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
    position: relative;
    padding: 10px 12px;
    white-space: nowrap;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--steel);
    transition: color .2s ease;
}
.main-nav a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone .icon-wrap {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(214, 32, 40, .1); color: var(--red);
}
.header-phone small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.header-phone strong { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: .5px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #c9d0d9;
    background:
        radial-gradient(1000px 500px at 85% 20%, rgba(214, 32, 40, .22), transparent 60%),
        linear-gradient(120deg, #0d1015 0%, #161b22 55%, #1d232c 100%);
    padding: 90px 0 120px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px;
    background: url('../images/brand/logo-mark.svg') center / contain no-repeat;
    opacity: .05; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--red-2); display: block; }
.hero-lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; color: #b4bcc7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero-points li { display: flex; align-items: center; gap: 9px; color: #dfe4ea; font-weight: 500; font-size: .95rem; }
.hero-points .icon { color: var(--red-2); }

.hero-card {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.hero-card-head { background: var(--red); color: var(--white); padding: 22px 28px; }
.hero-card-head h3 { margin: 0 0 2px; color: var(--white); font-size: 1.6rem; }
.hero-card-head p { margin: 0; font-size: .92rem; opacity: .9; }
.hero-card-body { padding: 26px 28px 28px; }

/* Trust strip ------------------------------------------------------------ */
.trust-strip { position: relative; z-index: 2; margin-top: -56px; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    overflow: hidden;
}
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .icon-box { width: 50px; height: 50px; }
.trust-item h4 { margin: 0 0 4px; font-size: 1.15rem; }
.trust-item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }

.icon-box {
    display: grid; place-items: center;
    width: 60px; height: 60px; border-radius: 12px;
    background: rgba(214, 32, 40, .08); color: var(--red);
    flex-shrink: 0;
    transition: background .25s ease, color .25s ease;
}

/* Service cards ---------------------------------------------------------- */
.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); }

.service-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-box { background: var(--red); color: var(--white); }
.service-card h3 { margin: 22px 0 10px; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.service-card .num {
    position: absolute; right: 22px; top: 18px;
    font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--bg); line-height: 1;
}

/* Split / about ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

.visual-panel {
    position: relative;
    min-height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(500px 300px at 20% 10%, rgba(240, 56, 63, .35), transparent 60%),
        linear-gradient(160deg, #1d232c, #0d1015);
    color: var(--white);
    padding: 40px;
    display: flex; flex-direction: column; justify-content: flex-end;
    box-shadow: var(--shadow-lg);
}
.visual-panel::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 20px);
}
.visual-panel .mark { position: absolute; top: 40px; right: 40px; width: 150px; opacity: .95; }
.visual-panel .content { position: relative; }
.visual-panel h3 { color: var(--white); font-size: 2.2rem; max-width: 340px; }
.visual-panel p { color: #b4bcc7; max-width: 380px; margin: 0; }
.visual-badge {
    position: absolute; left: -1px; top: 40px;
    background: var(--red); color: var(--white);
    padding: 14px 22px 14px 40px;
    font-family: var(--font-head); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.visual-badge small { display: block; font-size: .8rem; letter-spacing: 2px; opacity: .85; }
.visual-badge strong { font-size: 1.5rem; }

.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list .tick {
    width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    background: var(--red); color: var(--white); flex-shrink: 0; margin-top: 1px;
}
.section-dark .check-list li { color: #dfe4ea; }

/* Process steps ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num {
    position: relative; z-index: 1;
    width: 76px; height: 76px; margin: 0 auto 22px;
    display: grid; place-items: center;
    background: var(--white); border: 2px solid var(--line); border-radius: 50%;
    color: var(--red);
    transition: all .25s ease;
}
.step:hover .step-num { background: var(--red); border-color: var(--red); color: var(--white); }
.step-num::after {
    counter-increment: step; content: counter(step);
    position: absolute; top: -4px; right: -4px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--ink); color: var(--white);
    font-family: var(--font-head); font-weight: 700; font-size: .9rem;
    display: grid; place-items: center;
}
.step h4 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* Feature (dark) --------------------------------------------------------- */
.feature {
    display: flex; gap: 20px; padding: 30px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .02);
    transition: background .25s ease, border-color .25s ease;
}
.feature:hover { background: rgba(255, 255, 255, .05); border-color: rgba(240, 56, 63, .5); }
.feature .icon-box { background: rgba(240, 56, 63, .12); color: var(--red-2); }
.feature h3 { font-size: 1.3rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted-2); font-size: .95rem; }

/* Brands ----------------------------------------------------------------- */
.brand-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-chips span {
    padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase;
    color: var(--steel); background: var(--white);
    transition: all .2s ease;
}
.brand-chips span:hover { border-color: var(--red); color: var(--red); }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq details {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(214, 32, 40, .35); }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 20px 24px; font-weight: 600; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--red); transition: transform .25s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
    position: relative; overflow: hidden;
    background: linear-gradient(110deg, var(--red-dark), var(--red) 55%, var(--red-2));
    color: var(--white);
    padding: 64px 0;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 24px);
}
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: 1.1rem; opacity: .92; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
    position: relative; overflow: hidden;
    padding: 80px 0 76px;
    color: #b4bcc7;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(214, 32, 40, .25), transparent 60%),
        linear-gradient(120deg, #0d1015, #1d232c);
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 12px; }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .85rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--red-2); }

/* Cards / info ----------------------------------------------------------- */
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow-sm);
}
.card-dark { background: var(--ink); border-color: var(--ink); color: #cfd5dd; }
.card-dark h3, .card-dark h4 { color: var(--white); }

.value-card { text-align: center; padding: 38px 28px; }
.value-card .icon-box { margin: 0 auto 20px; width: 70px; height: 70px; border-radius: 50%; }
.value-card p { color: var(--muted); margin: 0; font-size: .96rem; }

.contact-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-card h4 { margin: 0 0 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); }
.contact-card a:hover { color: var(--red); }

.info-list { display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { color: var(--red-2); margin-top: 3px; }
.info-list small { display: block; color: var(--muted-2); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
.info-list a:hover { color: var(--white); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--white); }
.card .hours-table td { border-color: var(--line); }
.card .hours-table td:last-child { color: var(--ink); }

.mini-steps { display: grid; gap: 18px; counter-reset: ms; margin: 0; padding: 0; list-style: none; }
.mini-steps li { display: flex; gap: 14px; counter-increment: ms; }
.mini-steps li::before {
    content: counter(ms);
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 700;
}
.mini-steps strong { display: block; color: var(--white); }
.mini-steps span { font-size: .92rem; color: var(--muted-2); }

/* Service detail --------------------------------------------------------- */
.service-detail {
    display: grid; grid-template-columns: 300px 1fr; gap: 50px;
    padding: 48px 0; border-bottom: 1px solid var(--line);
    scroll-margin-top: 110px;
}
.service-detail:last-child { border-bottom: 0; }
.service-detail-side {
    position: relative; border-radius: var(--radius-lg); padding: 34px 28px;
    background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--white); overflow: hidden;
    align-self: start;
}
.service-detail-side .icon-box { background: var(--red); color: var(--white); width: 66px; height: 66px; margin-bottom: 20px; }
.service-detail-side h3 { color: var(--white); font-size: 1.8rem; margin: 0; }
.service-detail-side .num { position: absolute; right: 20px; bottom: 6px; font-family: var(--font-head); font-weight: 800; font-size: 5rem; color: rgba(255, 255, 255, .05); line-height: 1; }
.service-detail-body p.lead { font-size: 1.08rem; color: var(--muted); }
.service-detail-body .check-list { margin: 20px 0 26px; }
.service-detail-body .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.service-index { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-index a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
    font-weight: 600; font-size: .92rem; color: var(--steel); transition: all .2s ease;
}
.service-index a:hover { border-color: var(--red); color: var(--red); }
.service-index .icon { color: var(--red); }

.callout {
    display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    padding: 34px 38px; border-radius: var(--radius-lg);
    background: var(--ink); color: #cfd5dd;
    border-left: 6px solid var(--red);
}
.callout h3 { color: var(--white); margin-bottom: 4px; }
.callout p { margin: 0; }

/* Forms ------------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--steel); }
.form-group label .req { color: var(--red); }
.form-control {
    width: 100%;
    padding: 13px 15px;
    font: inherit; font-size: .95rem;
    color: var(--ink);
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 8px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-control:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgba(214, 32, 40, .1); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6875' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-control.is-invalid { border-color: var(--red); }
.invalid-feedback { color: var(--red); font-size: .82rem; font-weight: 500; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; display: flex; gap: 8px; align-items: center; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 40px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 2.2rem; }
.form-section-title {
    grid-column: 1 / -1; display: flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--ink); margin-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.form-section-title .icon { color: var(--red); }
.form-section-title:first-child { margin-top: 0; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-weight: 500; }
.alert-success { background: #e9f8ef; color: #166b38; border: 1px solid #bfe9cf; }
.alert-error { background: #fdecec; color: #9f1c22; border: 1px solid #f7c6c8; }

.layout-sidebar { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.sticky-side { position: sticky; top: 110px; display: grid; gap: 24px; }

.map-embed { border: 0; width: 100%; height: 440px; display: block; filter: grayscale(.2); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #0c0f13; color: #98a1ad; padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--red); }
.footer-about p { margin: 20px 0 24px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
.footer-links .icon { color: var(--red-2); }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .06); color: var(--white); transition: background .2s ease;
}
.social-links a:hover { background: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); padding: 22px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }

/* Floating buttons & chat ----------------------------------------------- */
.floating { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
    position: relative;
    width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    transition: transform .2s ease;
}
.fab:hover { transform: scale(1.07); }
.fab-whatsapp { background: var(--green); }
.fab-chat { background: var(--red); }
.fab-badge {
    position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--ink); color: var(--white); font-size: .7rem; font-weight: 700;
    display: none; place-items: center; border: 2px solid var(--white);
}
.fab-badge.show { display: grid; }
.fab-tip {
    position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
    background: var(--ink); color: var(--white); padding: 6px 12px; border-radius: 6px;
    font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.fab:hover .fab-tip { opacity: 1; }

.chat-panel {
    position: fixed; right: 22px; bottom: 96px; z-index: 95;
    width: 370px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 130px);
    background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; overflow: hidden;
    transform: translateY(20px) scale(.97); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
}
.chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { background: var(--ink); color: var(--white); padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head img { width: 40px; height: 40px; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .5px; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: #aab2bd; font-size: .78rem; }
.chat-head small::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat-head button { margin-left: auto; background: none; border: 0; color: #aab2bd; cursor: pointer; padding: 4px; }
.chat-head button:hover { color: var(--white); }
.chat-wa {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; background: #e9f8ef; color: #166b38; font-size: .85rem; font-weight: 600;
}
.chat-wa:hover { background: #d8f2e2; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.chat-intro { background: var(--white); border-radius: 12px; padding: 16px; font-size: .9rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.chat-intro strong { color: var(--ink); }
.chat-start { display: grid; gap: 10px; margin-top: 4px; }
.chat-start .form-control { background: var(--white); padding: 11px 13px; }
.chat-start textarea.form-control { min-height: 80px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.45; word-wrap: break-word; white-space: pre-wrap; }
.msg time { display: block; font-size: .68rem; opacity: .6; margin-top: 4px; text-align: right; }
.msg-visitor { align-self: flex-end; background: var(--red); color: var(--white); border-bottom-right-radius: 4px; }
.msg-staff { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-foot input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: .9rem; }
.chat-foot input:focus { outline: none; border-color: var(--red); }
.chat-foot button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.chat-foot.hidden { display: none; }

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1320px) {
    .header-phone { display: none; }
}

@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 960px) {
    .section { padding: 72px 0; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ink); padding: 90px 24px 24px;
        display: none; z-index: 60;
    }
    .main-nav.open { display: flex; box-shadow: var(--shadow-lg); animation: nav-in .3s ease; }
    .main-nav a { color: #dfe4ea; padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
    .main-nav a::after { display: none; }
    .main-nav a.active, .main-nav a:hover { color: var(--red-2); }
    .nav-close { position: absolute; top: 24px; right: 20px; background: none; border: 0; color: var(--white); cursor: pointer; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
    .nav-backdrop.open { opacity: 1; pointer-events: auto; }
    .header-cta .btn { display: none; }
    .hero .container, .split, .layout-sidebar { grid-template-columns: 1fr; }
    .hero { padding: 64px 0 110px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .service-detail { grid-template-columns: 1fr; gap: 24px; }
    .sticky-side { position: static; }
    .visual-panel { min-height: 380px; }
    .topbar-info .hide-sm { display: none; }
}

@keyframes nav-in {
    from { transform: translateX(100%); }
    to { transform: none; }
}

.main-nav .nav-mobile-cta { display: none; }
@media (max-width: 960px) {
    .main-nav .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
    .main-nav .nav-mobile-cta a { color: var(--white); border-bottom: 0; padding: 13px 20px; }
}

@media (min-width: 961px) {
    .nav-close, .nav-backdrop { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .topbar { display: none; }
    .site-header .container { height: 72px; }
    .brand img { width: 42px; height: 42px; }
    .brand-text strong { font-size: 1.45rem; }
    .brand-text small { font-size: .66rem; letter-spacing: 2px; }
    .grid-2, .grid-3, .grid-4, .trust-grid, .footer-grid, .form-grid, .check-list.two-col { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: 0; }
    .steps { grid-template-columns: 1fr; }
    .form-card { padding: 26px 20px; }
    .hero-card-body, .hero-card-head { padding-left: 20px; padding-right: 20px; }
    .card { padding: 24px; }
    .callout { padding: 26px; }
    .floating { right: 14px; bottom: 14px; }
    .chat-panel { right: 16px; bottom: 86px; }
    .map-embed { height: 320px; }
}
