:root {
    --cl-ink: #0f172a;
    --cl-muted: #475569;
    --cl-line: #e2e8f0;
    --cl-bg: #f8fafc;
    --cl-accent: #1d4ed8;
    --cl-accent-dark: #1e40af;
    --cl-wa: #128c7e;
}

.cl-wrap,
.cl-wrap *,
.cl-sticky,
.cl-sticky * {
    box-sizing: border-box;
}

body {
    background: var(--cl-bg);
    color: var(--cl-ink);
}

.cl-wrap {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 14px 96px;
}

.cl-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--cl-muted);
    margin: 4px 0 14px;
}
.cl-crumbs a { color: var(--cl-muted); text-decoration: none; }
.cl-crumbs a:hover { color: var(--cl-accent); }
.cl-crumbs .current { color: var(--cl-ink); font-weight: 600; }

.cl-hero {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--cl-line);
    border-radius: 16px;
    padding: 16px;
    grid-template-areas:
        "copy"
        "media"
        "actions";
}
.cl-hero-copy { grid-area: copy; min-width: 0; }
.cl-hero-media { grid-area: media; }
.cl-hero .cl-actions { grid-area: actions; margin-top: 0; }

.cl-hero-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 5.2vw, 2.15rem);
    line-height: 1.2;
    color: var(--cl-ink);
}
.cl-kicker {
    margin: 0 0 8px;
    color: var(--cl-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.cl-lead {
    margin: 0;
    color: var(--cl-muted);
    max-width: 62ch;
    line-height: 1.55;
}

.cl-hero-media {
    margin: 0;
    background: #e2e8f0;
    border: 1px solid var(--cl-line);
    border-radius: 14px;
    overflow: hidden;
    min-height: 200px;
    aspect-ratio: 16 / 10;
}
.cl-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cl-actions {
    display: grid;
    gap: 10px;
}
.cl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
}
.cl-btn-call { background: var(--cl-accent); color: #fff; }
.cl-btn-call:hover { background: var(--cl-accent-dark); color: #fff; }
.cl-btn-wa { background: var(--cl-wa); color: #fff; }
.cl-btn-wa:hover { color: #fff; filter: brightness(0.95); }
.cl-btn-ghost { background: #fff; color: var(--cl-accent); border-color: var(--cl-line); }
.cl-btn-ghost:hover { background: #eff6ff; }
.cl-btn-home {
    background: #fff;
    color: var(--cl-ink);
    border-color: var(--cl-line);
}
.cl-btn-home:hover {
    background: #f1f5f9;
    color: var(--cl-ink);
}

.cl-grid {
    display: grid;
    gap: 14px;
}
.cl-section {
    background: #fff;
    border: 1px solid var(--cl-line);
    border-radius: 14px;
    padding: 18px 16px;
    min-width: 0;
}
.cl-section h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: var(--cl-ink);
}
.cl-section p, .cl-section li {
    color: var(--cl-muted);
    line-height: 1.55;
}
.cl-section ul { margin: 0; padding-left: 1.15rem; }
.cl-section li { margin-bottom: 6px; }

.cl-process {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.cl-process li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--cl-line);
    border-radius: 12px;
}
.cl-process-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--cl-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.cl-process strong {
    display: block;
    color: var(--cl-ink);
    margin-bottom: 2px;
}
.cl-process p {
    margin: 0;
    font-size: 0.95rem;
}

.cl-gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    margin-top: 12px;
}
.cl-gallery figure {
    margin: 0;
    border: 1px solid var(--cl-line);
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}
.cl-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.cl-gallery figcaption {
    padding: 8px 10px;
    font-size: 0.85rem;
    color: var(--cl-muted);
}

.cl-why {
    margin: 0;
    padding-left: 1.15rem;
}
.cl-why li {
    margin-bottom: 8px;
}

.cl-nearby {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cl-nearby a {
    text-decoration: none;
    color: var(--cl-accent);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.cl-faq details {
    border-top: 1px solid var(--cl-line);
    padding: 12px 0;
}
.cl-faq details:first-of-type { border-top: 0; }
.cl-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--cl-ink);
}
.cl-faq p { margin: 8px 0 0; }

.cl-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.cl-form label { font-size: 0.85rem; font-weight: 600; color: #334155; }
.cl-form input:not([type="checkbox"]):not([type="radio"]),
.cl-form select,
.cl-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    border: 1px solid var(--cl-line);
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
}
.cl-form textarea { min-height: 100px; resize: vertical; }
.cl-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cl-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--cl-muted);
    margin: 4px 0 2px;
}
.cl-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin: 2px 0 0;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--cl-accent);
    cursor: pointer;
}
.cl-consent span { line-height: 1.45; }
.cl-error { background: #fef2f2; color: #b91c1c; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.cl-ok { background: #ecfdf5; color: #047857; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.cl-form-alt {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #64748b;
}
.cl-form-alt a { color: var(--cl-accent); }

.cl-aside-success {
    padding: 20px 16px 18px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15), 0 1px 3px 1px rgba(60, 64, 67, 0.08);
}
.cl-thanks {
    font-family: Roboto, Arial, sans-serif;
    color: #202124;
    text-align: center;
}
.cl-thanks .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}
.cl-thanks-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}
.cl-thanks-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.cl-thanks-check {
    display: block;
    font-size: 40px !important;
    color: #34a853;
    line-height: 1;
    margin: 0 0 8px;
}
.cl-thanks-title {
    margin: 0 0 6px;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.3;
    color: #202124;
}
.cl-thanks-sub {
    margin: 0 0 16px;
    color: #5f6368;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 400;
}
.cl-thanks-msg {
    text-align: left;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px;
    margin: 0 0 16px;
}
.cl-thanks-msg p {
    margin: 0 0 12px;
    color: #3c4043;
    font-size: 0.9rem;
    line-height: 1.5;
}
.cl-thanks-ticket {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #e8f0fe;
    color: #174ea6;
}
.cl-thanks-ticket span {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    color: #1967d2;
}
.cl-thanks-ticket strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: #174ea6;
}
.cl-thanks-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cl-thanks-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 24px;
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    box-sizing: border-box;
}
.cl-thanks-home:hover {
    background: #1765cc;
    color: #fff;
}
.cl-thanks-home .material-symbols-outlined {
    font-size: 20px;
}
.cl-thanks-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 24px;
    background: #fff;
    color: #1a73e8;
    border: 1px solid #dadce0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    box-sizing: border-box;
}
.cl-thanks-call:hover {
    background: #f8f9fa;
    color: #174ea6;
}
.cl-thanks-call .material-symbols-outlined {
    font-size: 18px;
}

.cl-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--cl-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cl-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--cl-line);
    backdrop-filter: blur(8px);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
}
.cl-sticky a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
}
.cl-sticky .call { background: var(--cl-accent); }
.cl-sticky .wa { background: var(--cl-wa); }

@media (min-width: 640px) {
    .cl-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .cl-gallery { grid-template-columns: repeat(3, 1fr); }
    .cl-gallery img { height: 170px; }
    .cl-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 880px) {
    .cl-wrap { padding: 24px 18px 48px; }
    .cl-hero {
        grid-template-columns: 1.15fr 0.85fr;
        grid-template-areas:
            "copy media"
            "actions media";
        align-items: center;
        gap: 18px 22px;
        padding: 22px 20px;
    }
    .cl-hero-media {
        min-height: 280px;
        aspect-ratio: 4 / 3;
        height: 100%;
    }
    .cl-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-self: end;
    }
    .cl-btn {
        width: 100%;
        font-size: 0.92rem;
        padding: 10px 12px;
    }
    .cl-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
        align-items: start;
        gap: 18px;
    }
    .cl-aside {
        position: sticky;
        top: 88px;
    }
    .cl-sticky { display: none; }
}

/* Sticky Call/WhatsApp bar replaces floating widgets on small screens */
@media (max-width: 879px) {
    body:has(.cl-wrap) .whatsapp-button,
    body:has(.cl-wrap) .whatsapp-float,
    body:has(.cl-wrap) #trulink-gcr-badge {
        display: none !important;
    }
}
