/* =========================================================
   Automoción CTS — main.css
   Paleta: azul profesional + claro + grises técnicos
   ========================================================= */

:root {
    /* Colores */
    --acts-primary: #0a4ea8;
    --acts-primary-dark: #083a7e;
    --acts-primary-light: #e8f0fb;
    --acts-accent: #ffb300;
    --acts-text: #1a2332;
    --acts-muted: #5b6878;
    --acts-border: #e3e8ef;
    --acts-bg: #ffffff;
    --acts-bg-alt: #f5f8fc;
    --acts-bg-dark: #0f1d33;

    /* Tipografía */
    --acts-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --acts-font-display: var(--acts-font-base);

    /* Espaciado y radios */
    --acts-radius: 12px;
    --acts-radius-lg: 18px;
    --acts-shadow-sm: 0 1px 2px rgba(15, 29, 51, .06), 0 1px 3px rgba(15, 29, 51, .04);
    --acts-shadow-md: 0 4px 14px rgba(15, 29, 51, .08);
    --acts-shadow-lg: 0 16px 48px rgba(15, 29, 51, .12);

    --acts-container: 1180px;
}

/* Reset suave */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; }
body {
    margin: 0;
    font-family: var(--acts-font-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--acts-text);
    background: var(--acts-bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--acts-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--acts-primary-dark); }
h1, h2, h3, h4 { font-family: var(--acts-font-display); line-height: 1.2; color: var(--acts-text); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* Accesibilidad */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--acts-primary); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }
*:focus-visible {
    outline: 3px solid var(--acts-primary);
    outline-offset: 2px;
    border-radius: 4px;
}
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* Layout */
.acts-container {
    max-width: var(--acts-container);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.acts-section { padding: 5rem 0; }
.acts-section--alt { background: var(--acts-bg-alt); }
.acts-section__head { max-width: 720px; margin-bottom: 3rem; }
.acts-section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.acts-section__lead { font-size: 1.125rem; color: var(--acts-muted); margin: 0; }

/* Tipografía utilitaria */
.acts-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
    font-weight: 700;
    color: var(--acts-primary);
    margin-bottom: .75rem;
}
.acts-lead { font-size: 1.125rem; color: var(--acts-muted); }
.acts-text-primary { color: var(--acts-primary); }

/* Botones */
.acts-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: var(--acts-radius);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.acts-btn--primary {
    background: var(--acts-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 78, 168, .25);
}
.acts-btn--primary:hover {
    background: var(--acts-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 78, 168, .35);
}
.acts-btn--ghost {
    background: transparent;
    color: var(--acts-primary);
    border-color: var(--acts-primary);
}
.acts-btn--ghost:hover {
    background: var(--acts-primary-light);
    color: var(--acts-primary-dark);
}
.acts-btn--ghost .acts-svg,
.acts-btn--ghost svg { width: 18px !important; height: 18px !important; flex-shrink: 0; }
.acts-btn--ghost .acts-svg svg { width: 100% !important; height: 100% !important; }
.acts-btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.acts-btn--sm { padding: .5rem 1rem; font-size: .85rem; }
.acts-btn--whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
    display: inline-flex; align-items: center; gap: .5rem;
}
.acts-btn--whatsapp:hover {
    background: #1eaf53;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
}
.acts-btn--whatsapp .acts-svg,
.acts-btn--whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }
.acts-btn--whatsapp .acts-svg svg { width: 100%; height: 100%; }

/* ===== Header ===== */
/* ===== Header (v1.7) ===== */
.acts-header__sentinel {
    position: absolute; top: 0; left: 0;
    width: 1px; height: 40px;
    pointer-events: none; visibility: hidden;
}
.acts-header {
    background: #fff;
    position: sticky; top: 0; z-index: 50;
    transition: box-shadow .2s ease, transform .25s ease;
}
.acts-header.is-stuck {
    box-shadow: 0 6px 20px rgba(10, 78, 168, .08);
}
.acts-header.is-stuck .acts-topbar {
    max-height: 0; padding: 0; overflow: hidden;
    border-bottom: 0;
}
.acts-header.is-stuck .acts-nav__inner { padding-top: .55rem; padding-bottom: .55rem; }
.acts-header.is-stuck .acts-nav__brand .custom-logo { max-height: 44px; }

/* Topbar */
.acts-topbar {
    background: var(--acts-bg-dark);
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    max-height: 80px;
    transition: max-height .25s ease, padding .25s ease;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.acts-topbar__inner {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: .5rem; padding-bottom: .5rem;
    gap: 1rem; flex-wrap: nowrap;
}
.acts-topbar__status { display: inline-flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.acts-status {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 600; color: #fff;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
}
.acts-status__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.55);
    animation: actsPulse 2s infinite;
}
.acts-status.is-closed .acts-status__dot { background: #ef4444; animation: none; }
@keyframes actsPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
    70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.acts-topbar__today { color: rgba(255,255,255,.78); }
.acts-topbar__today strong { color: #fff; font-weight: 600; margin-right: .35rem; text-transform: capitalize; }

.acts-topbar__trust {
    color: rgba(255,255,255,.7);
    letter-spacing: .01em;
    white-space: nowrap;
}
.acts-topbar__stars { color: #fbbf24; margin-right: .4rem; letter-spacing: .12em; }

.acts-topbar__contact { display: inline-flex; align-items: center; gap: .65rem; }
.acts-topbar__wa, .acts-topbar__tel, .acts-topbar__mail {
    display: inline-flex; align-items: center; gap: .35rem;
    color: #fff; padding: .25rem .55rem;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}
.acts-topbar__wa svg, .acts-topbar__tel svg, .acts-topbar__mail svg,
.acts-topbar__wa .acts-svg svg, .acts-topbar__tel .acts-svg svg, .acts-topbar__mail .acts-svg svg { width: 16px !important; height: 16px !important; flex-shrink: 0; }
.acts-topbar__wa .acts-svg, .acts-topbar__tel .acts-svg, .acts-topbar__mail .acts-svg { width: 16px; height: 16px; display: inline-flex; }
.acts-topbar__wa { color: #25d366; }
.acts-topbar__wa:hover { background: rgba(37,211,102,.12); color: #25d366; }
.acts-topbar__tel:hover, .acts-topbar__mail:hover { background: rgba(255,255,255,.08); color: #fff; }

@media (max-width: 900px) {
    .acts-topbar__trust { display: none; }
    .acts-topbar__today { display: none; }
    .acts-topbar__wa span, .acts-topbar__tel span { display: none; }
    .acts-topbar__wa, .acts-topbar__tel { padding: .35rem .5rem; }
}
@media (max-width: 480px) {
    .acts-topbar__inner { gap: .5rem; }
}

/* Nav */
.acts-nav { background: #fff; border-bottom: 1px solid var(--acts-border); }
.acts-nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.25rem;
    gap: 1.5rem;
    transition: padding .2s ease;
}
.acts-brand__text {
    font-family: var(--acts-font-display);
    font-size: 1.4rem; font-weight: 800;
    color: var(--acts-text); letter-spacing: -.02em;
}
.acts-brand__text strong { color: var(--acts-primary); }
.acts-nav__brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.acts-nav__brand .custom-logo { max-height: 60px; width: auto; height: auto; display: block; transition: max-height .25s ease; }
@media (max-width: 700px) { .acts-nav__brand .custom-logo { max-height: 48px; } }
.acts-nav__toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent; border: 0; cursor: pointer;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
}
.acts-nav__toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--acts-text); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.acts-nav__menu { display: flex; align-items: center; gap: 1.25rem; }
.acts-nav__close { display: none; background: transparent; border: 0; font-size: 2rem; line-height: 1; color: var(--acts-text); cursor: pointer; padding: .25rem .75rem; }

.acts-nav__actions { display: inline-flex; align-items: center; gap: .65rem; }
.acts-nav__phone {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; color: var(--acts-text);
    padding: .5rem .25rem;
}
.acts-nav__phone svg,
.acts-nav__phone .acts-svg svg { width: 18px !important; height: 18px !important; color: var(--acts-primary); flex-shrink: 0; }
.acts-nav__phone .acts-svg { width: 18px; height: 18px; display: inline-flex; }
.acts-nav__phone:hover { color: var(--acts-primary); }
.acts-nav__wa { padding: .55rem .9rem; font-size: .9rem; }
.acts-nav__wa svg,
.acts-nav__wa .acts-svg svg { width: 18px !important; height: 18px !important; flex-shrink: 0; }
.acts-nav__wa .acts-svg { width: 18px; height: 18px; display: inline-flex; }
.acts-nav__cta { padding: .65rem 1.1rem; }

@media (max-width: 1100px) {
    .acts-nav__phone span { display: none; }
    .acts-nav__phone { padding: .5rem; }
    .acts-nav__wa span { display: none; }
    .acts-nav__wa { padding: .55rem .65rem; }
}
.acts-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 1.5rem; align-items: center;
}
.acts-menu li { position: relative; }
.acts-menu a {
    color: var(--acts-text);
    font-weight: 500;
    padding: .5rem 0;
    display: inline-block;
}
.acts-menu a:hover, .acts-menu .current-menu-item > a { color: var(--acts-primary); }
.acts-menu .sub-menu {
    list-style: none; padding: .5rem 0; margin: 0;
    position: absolute; top: 100%; left: -1rem;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: var(--acts-radius);
    box-shadow: var(--acts-shadow-md);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.acts-menu li:hover > .sub-menu,
.acts-menu li:focus-within > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.acts-menu .sub-menu a { padding: .55rem 1.25rem; display: block; }
.acts-menu .sub-menu a:hover { background: var(--acts-primary-light); }

/* Drawer móvil */
@media (max-width: 900px) {
    .acts-nav__toggle { display: inline-flex; }
    .acts-nav__close { display: inline-flex; align-self: flex-end; }
    .acts-nav__menu {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(340px, 88vw);
        flex-direction: column;
        background: #fff;
        padding: 1rem 1.5rem 1.5rem;
        box-shadow: -12px 0 30px rgba(0,0,0,.15);
        align-items: stretch;
        gap: .25rem;
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 60;
        overflow-y: auto;
    }
    .acts-nav__menu.is-open { transform: translateX(0); }
    .acts-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .acts-menu > li { border-bottom: 1px solid var(--acts-border); }
    .acts-menu > li:last-child { border-bottom: 0; }
    .acts-menu a { padding: .95rem 0; display: block; font-size: 1.05rem; }
    .acts-menu .sub-menu {
        position: static; box-shadow: none; border: 0;
        opacity: 1; visibility: visible; transform: none;
        padding: 0 0 .5rem 1rem; min-width: 0;
        background: transparent;
    }
    .acts-nav__actions { flex-direction: column; align-items: stretch; gap: .65rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--acts-border); }
    .acts-nav__phone { justify-content: center; background: var(--acts-primary-light); padding: .8rem .5rem; border-radius: var(--acts-radius); color: var(--acts-primary); font-size: .92rem; white-space: nowrap; }
    .acts-nav__phone span { display: inline; }
    .acts-nav__wa { justify-content: center; padding: .8rem .5rem; font-size: .92rem; white-space: nowrap; }
    .acts-nav__wa span { display: inline; }
    .acts-nav__cta { text-align: center; padding: .9rem; }

    /* Item "Ver todos los servicios" */
    .acts-menu .sub-menu .acts-menu__view-all a {
        font-weight: 700;
        color: var(--acts-primary) !important;
    }
    .acts-menu .sub-menu .acts-menu__view-all a::after {
        content: " →"; opacity: .7;
    }
}

/* Backdrop */
.acts-nav__backdrop {
    position: fixed; inset: 0;
    background: rgba(8, 16, 32, .55);
    z-index: 55;
    opacity: 0;
    transition: opacity .2s ease;
}
.acts-nav__backdrop.is-visible { opacity: 1; }
body.acts-nav-open { overflow: hidden; }
body.acts-nav-open .acts-header { z-index: 70; }

/* Hamburger animation */
.acts-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.acts-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.acts-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.acts-hero {
    background:
        linear-gradient(180deg, var(--acts-primary-light) 0%, #fff 100%);
    padding: 5rem 0 6rem;
}
.acts-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.acts-hero__content h1 { margin-bottom: 1rem; }
.acts-hero__actions {
    display: flex; gap: .75rem; flex-wrap: wrap;
    margin: 1.5rem 0;
}
.acts-hero__usps {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    color: var(--acts-muted); font-weight: 500;
}
.acts-hero__media {
    position: relative;
}
.acts-hero__photo {
    position: relative;
    margin: 0;
    border-radius: var(--acts-radius-lg);
    overflow: hidden;
    box-shadow: var(--acts-shadow-lg);
    aspect-ratio: 16 / 10;
    background: var(--acts-primary-light);
}
.acts-hero__photo picture,
.acts-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.acts-hero__photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,29,51,0) 55%, rgba(15,29,51,.35) 100%);
    pointer-events: none;
}
.acts-hero__badge {
    position: absolute;
    left: 1rem; bottom: 1rem;
    background: var(--acts-primary);
    color: #fff;
    padding: .85rem 1.1rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(10,78,168,.35);
    display: flex; flex-direction: column; gap: .15rem;
    max-width: 78%;
}
.acts-hero__badge strong {
    font-size: .95rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2;
}
.acts-hero__badge span {
    font-size: .8rem; color: rgba(255,255,255,.85); line-height: 1.3;
}

@media (max-width: 900px) {
    .acts-hero__inner { grid-template-columns: 1fr; }
    .acts-hero { padding: 3rem 0 4rem; }
    .acts-hero__photo { aspect-ratio: 16 / 10; }
}

/* ===== Page hero (interiores) ===== */
.acts-page-hero {
    background: var(--acts-primary-light);
    padding: 3.5rem 0 3rem;
    border-bottom: 1px solid var(--acts-border);
}
.acts-page-hero h1 { margin-bottom: .5rem; }
.acts-page-hero--service .acts-page-hero__inner {
    display: grid; grid-template-columns: 1fr auto;
    gap: 2rem; align-items: center;
}
.acts-page-hero__icon {
    color: var(--acts-primary);
    background: #fff;
    border-radius: 50%;
    width: 110px; height: 110px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--acts-shadow-md);
}
.acts-page-hero__icon svg { width: 56px; height: 56px; }
@media (max-width: 900px) {
    .acts-page-hero--service .acts-page-hero__inner { grid-template-columns: 1fr; }
    .acts-page-hero__icon { width: 80px; height: 80px; }
    .acts-page-hero__icon svg { width: 40px; height: 40px; }
}

/* ===== Servicios grid ===== */
.acts-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.acts-service-card {
    --card-accent: var(--acts-primary);
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: var(--acts-radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    color: var(--acts-text);
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
/* Watermark coche al fondo */
.acts-service-card::after {
    content: '';
    position: absolute;
    right: -18px; bottom: -14px;
    width: 170px; height: 90px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 90'%3E%3Cpath fill='%230a4ea8' d='M12 60 L25 36 Q31 26 42 26 L112 26 Q123 26 130 33 L146 44 L160 47 Q166 48 166 56 L166 66 Q166 70 162 70 L150 70 A11 11 0 0 0 128 70 L74 70 A11 11 0 0 0 52 70 L16 70 Q12 70 12 66 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .05;
    pointer-events: none;
    z-index: 0;
    transition: opacity .25s ease;
}
.acts-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--card-accent) 45%, transparent);
    border-color: var(--card-accent);
    color: var(--acts-text);
}
.acts-service-card:hover::after { opacity: .08; }
.acts-service-card:focus-visible {
    outline: 2px solid var(--card-accent);
    outline-offset: 3px;
}
.acts-service-card > * { position: relative; z-index: 1; }

.acts-service-card__icon {
    width: 72px; height: 72px;
    margin-bottom: 1.15rem;
    filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--card-accent) 25%, transparent));
}
.acts-service-card__icon .acts-svg,
.acts-service-card__icon .acts-icon-svg { width: 72px; height: 72px; display: block; }

.acts-service-card__title {
    margin: 0 0 .5rem;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--acts-text);
}
.acts-service-card__short {
    color: var(--acts-muted);
    margin: 0 0 1rem;
    line-height: 1.55;
}

.acts-service-card__bullets {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .9rem;
    color: var(--acts-text);
}
.acts-service-card__bullets li {
    position: relative;
    padding-left: 1.1rem;
    line-height: 1.4;
}
.acts-service-card__bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: .5em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--card-accent);
}

.acts-service-card__link {
    margin-top: auto;
    color: var(--card-accent);
    font-weight: 600;
    display: inline-flex; align-items: center; gap: .35rem;
}
.acts-service-card__link span { transition: transform .2s ease; }
.acts-service-card:hover .acts-service-card__link span { transform: translateX(4px); }

.acts-service-card__badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--card-accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .3rem .65rem;
    border-radius: 999px;
    z-index: 2;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--card-accent) 40%, transparent);
}

@media (max-width: 600px) {
    .acts-services-grid { grid-template-columns: 1fr; }
    .acts-service-card { padding: 1.75rem 1.5rem 1.5rem; }
}

/* ===== Split (sobre nosotros / contacto home) ===== */
.acts-split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center;
}
@media (max-width: 900px) { .acts-split { grid-template-columns: 1fr; } }
.acts-feature-stack { display: flex; flex-direction: column; gap: 1rem; }
.acts-feature-stack > div {
    background: #fff;
    border-left: 4px solid var(--acts-primary);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: var(--acts-shadow-sm);
}
.acts-feature-stack strong { display: block; color: var(--acts-text); font-size: 1.1rem; }
.acts-feature-stack span { color: var(--acts-muted); font-size: .9rem; }

/* ===== Stats grid (Sobre nosotros) ===== */
.acts-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.acts-stat {
    position: relative;
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: left;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.acts-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--acts-primary) 0%, var(--acts-primary-dark) 100%);
}
.acts-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -16px rgba(10,78,168,.35);
    border-color: var(--acts-primary);
}
.acts-stat__num {
    display: block;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--acts-primary);
    letter-spacing: -.02em;
    margin-bottom: .35rem;
}
/* Cuando el "número" es texto (Multimarca, Garantía) más pequeño */
.acts-stat__num:not(:has(+ *)),
.acts-stat:nth-child(2) .acts-stat__num,
.acts-stat:nth-child(4) .acts-stat__num { font-size: 1.7rem; }
.acts-stat__label {
    display: block;
    color: var(--acts-muted);
    font-size: .92rem;
    line-height: 1.4;
}
@media (max-width: 480px) {
    .acts-stats-grid { grid-template-columns: 1fr; }
    .acts-stat { padding: 1.25rem 1.25rem; }
}

/* ===== USP list (lista valores en split) ===== */
.acts-usp-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: .5rem;
}
.acts-usp-list li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--acts-text);
    line-height: 1.45;
}
.acts-usp-list li::before {
    content: '';
    position: absolute;
    left: 0; top: .3rem;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--acts-primary-light);
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230a4ea8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

/* ===== Features grid (legacy, usado en Sobre nosotros interior) ===== */
.acts-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.acts-feature {
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: var(--acts-radius);
    padding: 1.75rem;
    text-align: left;
}
.acts-feature__icon {
    color: var(--acts-primary);
    margin-bottom: 1rem;
}
.acts-feature__icon svg { width: 36px; height: 36px; }
.acts-feature h3 { margin-bottom: .5rem; }
.acts-feature p { color: var(--acts-muted); margin: 0; }

/* ===== Proceso "Cómo trabajamos" ===== */
.acts-process {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: acts-step;
}
.acts-process__step {
    position: relative;
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: var(--acts-radius-lg);
    padding: 2rem 1.5rem 1.5rem;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.acts-process__step::before {
    /* Línea decorativa derecha que conecta visualmente con el siguiente paso */
    content: '';
    position: absolute;
    top: 3.25rem;
    right: -.85rem;
    width: 1.5rem;
    height: 2px;
    background: var(--acts-border);
    z-index: 2;
}
.acts-process__step:last-child::before { display: none; }
.acts-process__step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -18px rgba(10,78,168,.3);
    border-color: var(--acts-primary);
}
.acts-process__num {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--acts-primary);
    opacity: .22;
    letter-spacing: -.05em;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
}
.acts-process__title {
    font-size: 1.1rem;
    margin: 0 0 .25rem;
    line-height: 1.3;
    color: var(--acts-text);
}
.acts-process__lead {
    color: var(--acts-primary);
    font-weight: 600;
    margin: 0 0 .65rem;
    font-size: .9rem;
}
.acts-process__step > p:last-child {
    color: var(--acts-muted);
    margin: 0;
    font-size: .93rem;
    line-height: 1.55;
}

@media (max-width: 1000px) {
    .acts-process { grid-template-columns: repeat(2, 1fr); }
    .acts-process__step:nth-child(2)::before { display: none; }
}
@media (max-width: 600px) {
    .acts-process { grid-template-columns: 1fr; gap: 1rem; }
    .acts-process__step::before { display: none; }
}

/* ===== Contact home (3 cards + CTAs + map) ===== */
.acts-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.acts-contact-card {
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: var(--acts-radius-lg);
    padding: 1.75rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.acts-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -18px rgba(10,78,168,.25);
    border-color: var(--acts-primary);
}
.acts-contact-card__icon {
    width: 48px; height: 48px;
    background: var(--acts-primary-light);
    color: var(--acts-primary);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.acts-contact-card__icon svg { width: 26px; height: 26px; }
.acts-contact-card h3 {
    font-size: 1.05rem;
    margin: 0 0 .5rem;
}
.acts-contact-card p { margin: 0 0 .75rem; color: var(--acts-text); line-height: 1.5; }
.acts-contact-card__link {
    color: var(--acts-primary);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}
.acts-contact-card__link:hover { text-decoration: underline; }
.acts-contact-card__channels {
    display: flex; flex-direction: column; gap: .65rem;
    margin: 0;
}
.acts-contact-channel {
    display: inline-flex; align-items: center; gap: .55rem;
    color: var(--acts-text);
    text-decoration: none;
    font-weight: 500;
    transition: color .15s ease;
}
.acts-contact-channel:hover { color: var(--acts-primary); }
.acts-contact-channel span {
    width: 28px; height: 28px;
    background: var(--acts-primary-light);
    color: var(--acts-primary);
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.acts-contact-channel span svg { width: 16px; height: 16px; }

/* Horario mini */
.acts-hours-mini {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .35rem;
    font-size: .9rem;
}
.acts-hours-mini li {
    display: flex; justify-content: space-between; gap: .75rem;
    padding: .35rem .6rem;
    border-radius: 8px;
    color: var(--acts-text);
}
.acts-hours-mini li > span:first-child { font-weight: 600; }
.acts-hours-mini li > span:last-child { color: var(--acts-muted); text-align: right; }
.acts-hours-mini li.is-today {
    background: var(--acts-primary-light);
    color: var(--acts-primary-dark);
}
.acts-hours-mini li.is-today > span:last-child { color: var(--acts-primary); }
.acts-hours-mini li.is-closed > span:last-child { color: #a02020; font-weight: 500; }

/* CTA row */
.acts-contact-cta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
    margin: 0 0 2rem;
}

/* Mapa */
.acts-contact-map {
    position: relative;
    border-radius: var(--acts-radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 36px -20px rgba(15,29,51,.4);
    min-height: 380px;
    background: linear-gradient(135deg, var(--acts-primary-light) 0%, #fff 100%);
}
.acts-contact-map iframe {
    display: block;
    width: 100%;
    position: relative;
    z-index: 2;
    visibility: hidden; /* Oculto hasta que Complianz consienta marketing */
}
/* Cuando Complianz acepta marketing, el iframe se muestra y tapa el fallback */
body.cmplz-marketing .acts-contact-map iframe { visibility: visible; }
body.cmplz-marketing .acts-contact-map__fallback { display: none; }
.acts-contact-map__fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}
.acts-contact-map__fallback-inner {
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .65rem;
}
.acts-contact-map__pin {
    width: 56px; height: 56px;
    background: #fff;
    color: var(--acts-primary);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(10,78,168,.25);
    margin-bottom: .5rem;
}
.acts-contact-map__pin svg { width: 30px; height: 30px; }
.acts-contact-map__fallback strong {
    color: var(--acts-text);
    font-size: 1.05rem;
}
.acts-contact-map__fallback p {
    color: var(--acts-muted);
    margin: 0 0 .5rem;
    font-size: .92rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .acts-contact-grid { grid-template-columns: 1fr; }
}

/* ===== Contact list legacy (página interior) ===== */
.acts-contact-list {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
}
.acts-contact-list li { display: flex; flex-direction: column; gap: .25rem; }
.acts-contact-list strong { color: var(--acts-text); }
.acts-contact-layout {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
}
@media (max-width: 900px) { .acts-contact-layout { grid-template-columns: 1fr; } }
.acts-contact-info {
    background: var(--acts-bg-alt);
    border-radius: var(--acts-radius-lg);
    padding: 2rem;
}

/* CF7 / Fluent forms — estilos básicos */
.acts-contact-form input[type="text"],
.acts-contact-form input[type="email"],
.acts-contact-form input[type="tel"],
.acts-contact-form textarea,
.acts-contact-form select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.ff-el-input--content input,
.ff-el-input--content textarea,
.ff-el-input--content select {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--acts-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--acts-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.acts-contact-form textarea { min-height: 140px; }
.acts-contact-form input:focus,
.acts-contact-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--acts-primary);
    box-shadow: 0 0 0 3px rgba(10, 78, 168, .15);
}
.acts-contact-form label, .wpcf7 label {
    display: block; margin-bottom: 1rem;
    font-weight: 500; color: var(--acts-text);
}
.acts-contact-form input[type="submit"],
.wpcf7 input[type="submit"],
.ff-btn-submit {
    background: var(--acts-primary);
    color: #fff;
    border: 0;
    padding: .85rem 1.5rem;
    border-radius: var(--acts-radius);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background .15s ease;
}
.acts-contact-form input[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover { background: var(--acts-primary-dark); }

/* ===== CTA strip ===== */
.acts-cta-strip {
    background: var(--acts-primary);
    color: #fff;
    padding: 3rem 0;
}
.acts-cta-strip__inner {
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 2rem; align-items: center;
}
.acts-cta-strip h2 { color: #fff; margin: 0 0 .25rem; }
.acts-cta-strip p { color: rgba(255,255,255,.85); margin: 0; }
.acts-cta-strip__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
.acts-cta-strip .acts-btn--primary {
    background: #fff; color: var(--acts-primary);
    box-shadow: none;
}
.acts-cta-strip .acts-btn--primary:hover { background: var(--acts-accent); color: var(--acts-text); }
.acts-cta-strip .acts-btn--ghost {
    border-color: rgba(255,255,255,.5); color: #fff;
}
.acts-cta-strip .acts-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 900px) {
    .acts-cta-strip__inner { grid-template-columns: 1fr; text-align: center; }
    .acts-cta-strip__actions { justify-content: center; }
}

/* ===== Footer ===== */
.acts-footer {
    background: var(--acts-bg-dark);
    color: rgba(255,255,255,.78);
    position: relative;
}
.acts-footer::before {
    /* línea decorativa superior degradada */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--acts-primary) 0%, var(--acts-accent) 100%);
}
.acts-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 4rem 1.25rem 3rem;
}
.acts-footer__title {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 1.1rem;
    position: relative;
    padding-bottom: .65rem;
}
.acts-footer__title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 2px;
    background: var(--acts-accent);
    border-radius: 2px;
}
.acts-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .15s ease; }
.acts-footer a:hover { color: var(--acts-accent); }
.acts-footer address { font-style: normal; line-height: 1.6; color: rgba(255,255,255,.7); font-size: .92rem; margin: 0 0 1rem; }

/* Col marca */
.acts-footer__col--brand { padding-right: 1rem; }
.acts-footer__brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    margin: 0 0 .75rem;
    letter-spacing: -.01em;
}
.acts-footer__brand strong { color: var(--acts-accent); font-weight: 800; }
.acts-footer__tagline {
    font-size: .92rem;
    line-height: 1.55;
    color: rgba(255,255,255,.65);
    margin: 0 0 1.25rem;
}
.acts-footer__address {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
}
.acts-footer__icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    color: var(--acts-accent);
    display: inline-flex; align-items: center; justify-content: center;
}
.acts-footer__icon svg { width: 16px; height: 16px; }
.acts-footer__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .25rem;
}
.acts-footer__cta {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem .9rem;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease;
}
.acts-footer__cta--call {
    background: rgba(255,255,255,.08);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.15);
}
.acts-footer__cta--call:hover {
    background: rgba(255,255,255,.15);
    color: #fff !important;
    transform: translateY(-1px);
}
.acts-footer__cta--wa {
    background: #25d366;
    color: #fff !important;
}
.acts-footer__cta--wa:hover {
    background: #1eaf53;
    color: #fff !important;
    transform: translateY(-1px);
}
.acts-footer__cta .acts-svg,
.acts-footer__cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.acts-footer__cta .acts-svg svg { width: 100%; height: 100%; }

/* Listas links */
.acts-footer__links { list-style: none; padding: 0; margin: 0; }
.acts-footer__links li { padding: .25rem 0; }
.acts-footer__links a { font-size: .93rem; }

/* Horario mini variante dark */
.acts-hours-mini--dark li {
    color: rgba(255,255,255,.8);
}
.acts-hours-mini--dark li > span:first-child { color: #fff; font-weight: 600; }
.acts-hours-mini--dark li > span:last-child { color: rgba(255,255,255,.6); }
.acts-hours-mini--dark li.is-today {
    background: rgba(255,179,0,.12);
    color: var(--acts-accent);
}
.acts-hours-mini--dark li.is-today > span:first-child { color: var(--acts-accent); }
.acts-hours-mini--dark li.is-today > span:last-child { color: rgba(255,255,255,.9); }
.acts-hours-mini--dark li.is-closed > span:last-child { color: #ff8a7a; font-weight: 500; }

/* Legacy .acts-hours (no usado actualmente pero conservado) */
.acts-hours { list-style: none; padding: 0; margin: 0; }
.acts-hours li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .25rem 0;
    border-bottom: 1px dashed rgba(255,255,255,.1);
}
.acts-hours li:last-child { border-bottom: 0; }
.acts-hours span:first-child { color: rgba(255,255,255,.6); }

/* Bottom bar */
.acts-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}

@media (max-width: 980px) {
    .acts-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .acts-footer__col--brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 540px) {
    .acts-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.25rem 2rem;
    }
}

/* ===== Prose (contenido del editor WP) ===== */
.acts-prose { max-width: 760px; margin: 0 auto; }
.acts-prose h2, .acts-prose h3 { margin-top: 2rem; }
.acts-prose ul, .acts-prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.acts-prose li { margin-bottom: .35rem; }
.acts-prose img { border-radius: var(--acts-radius); margin: 1.5rem 0; }
.acts-prose blockquote {
    border-left: 4px solid var(--acts-primary);
    padding: .5rem 1.25rem;
    color: var(--acts-muted);
    font-style: italic;
    margin: 1.5rem 0;
    background: var(--acts-bg-alt);
    border-radius: 0 var(--acts-radius) var(--acts-radius) 0;
}

/* ===== Formulario nativo ===== */
.acts-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.acts-form__row { display: flex; flex-direction: column; gap: .35rem; }
.acts-form__row label {
    font-weight: 500; font-size: .9rem; color: var(--acts-text);
}
.acts-form__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) {
    .acts-form__grid { grid-template-columns: 1fr; }
}
.acts-form input[type="text"],
.acts-form input[type="email"],
.acts-form input[type="tel"],
.acts-form textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--acts-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--acts-text);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.acts-form input:focus,
.acts-form textarea:focus {
    outline: none;
    border-color: var(--acts-primary);
    box-shadow: 0 0 0 3px rgba(10, 78, 168, .15);
}
.acts-form textarea { resize: vertical; min-height: 120px; }
.acts-form__rgpd {
    font-size: .85rem;
    color: var(--acts-muted);
}
.acts-form__rgpd label {
    display: flex; gap: .5rem; align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
}
.acts-form__rgpd input[type="checkbox"] {
    margin-top: .2rem; flex-shrink: 0;
    accent-color: var(--acts-primary);
}
.acts-form__submit {
    align-self: flex-start;
    margin-top: .5rem;
}
.acts-form__submit[disabled] {
    opacity: .6; cursor: not-allowed;
}
.acts-form__hint {
    font-size: .9rem; color: var(--acts-muted); margin: 0;
}
.acts-form__feedback {
    padding: 0;
    border-radius: 10px;
    font-weight: 500;
    transition: all .2s ease;
}
.acts-form__feedback.is-success {
    background: #e7f6ec;
    color: #1e6e3a;
    border: 1px solid #b9e0c5;
    padding: .9rem 1rem;
}
.acts-form__feedback.is-error {
    background: #fdecec;
    color: #a02020;
    border: 1px solid #f0b9b9;
    padding: .9rem 1rem;
}

/* ===== Utilidades ===== */
.acts-svg { display: inline-flex; align-items: center; justify-content: center; }
.acts-svg svg { width: 100%; height: 100%; }

/* ===== FAQ ===== */
.acts-faq { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.acts-faq__item {
    border: 1px solid var(--acts-border);
    border-radius: 12px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.acts-faq__item[open] {
    border-color: var(--acts-primary);
    box-shadow: 0 2px 10px rgba(10,78,168,.08);
}
.acts-faq__q {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--acts-text);
    list-style: none;
    position: relative;
    padding-right: 3rem;
}
.acts-faq__q::-webkit-details-marker { display: none; }
.acts-faq__q::after {
    content: "+";
    position: absolute;
    right: 1.25rem; top: 50%;
    transform: translateY(-50%);
    width: 1.5rem; height: 1.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--acts-primary-light);
    color: var(--acts-primary);
    border-radius: 50%;
    font-size: 1.1rem; font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}
.acts-faq__item[open] .acts-faq__q::after { content: "−"; background: var(--acts-primary); color: #fff; }
.acts-faq__q:focus-visible { outline: 2px solid var(--acts-primary); outline-offset: -2px; }
.acts-faq__a { padding: 0 1.25rem 1.25rem; color: var(--acts-text); }
.acts-faq__a p { margin: 0 0 .75rem; }
.acts-faq__a p:last-child { margin-bottom: 0; }

/* ===== Métodos de pago ===== */
.acts-pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.acts-pay__item {
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex; flex-direction: column; gap: .25rem;
}
.acts-pay__item strong { color: var(--acts-primary); font-size: 1.05rem; }
.acts-pay__item span { color: var(--acts-muted); font-size: .9rem; }

/* ===== Páginas legales ===== */
.acts-prose--legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.acts-prose--legal h3 { margin-top: 1.25rem; font-size: 1.1rem; }
.acts-prose--legal ul { padding-left: 1.25rem; }
.acts-prose--legal li { margin-bottom: .35rem; }

/* ===== Footer legal links ===== */
.acts-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.acts-footer__legal {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin: 0; padding: 0;
    font-size: .875rem;
}
.acts-footer__legal a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s ease;
}
.acts-footer__legal a:hover { color: #fff; text-decoration: underline; }
.acts-footer__credit { color: rgba(255,255,255,.8); font-weight: 600; text-decoration: none; }
.acts-footer__credit:hover { color: #fff; text-decoration: underline; }
@media (max-width: 700px) {
    .acts-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== Drawer móvil: header, iconos items, acordeón, footer contacto (v1.7) ===== */

/* Esconder estos elementos en desktop */
.acts-drawer__head,
.acts-drawer__contact { display: none; }

/* Iconos en items del menú (line-art 32x32 escalado a 20) */
.acts-menu__icon { display: none; }
.acts-menu__icon .acts-svg,
.acts-menu__icon svg { width: 20px !important; height: 20px !important; flex-shrink: 0; color: var(--acts-primary); }

/* Chevron en items con hijos */
.acts-menu > li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 10px; height: 10px;
    margin-left: .35rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .2s ease;
    opacity: .6;
}

@media (max-width: 900px) {
    .acts-drawer__head {
        display: flex; align-items: flex-start; justify-content: space-between;
        gap: 1rem;
        margin: -1rem -1.5rem 1rem;
        padding: 1rem 1.5rem 1rem;
        border-bottom: 1px solid var(--acts-border);
        background: linear-gradient(180deg, var(--acts-primary-light) 0%, #fff 100%);
    }
    .acts-drawer__brand { display: flex; flex-direction: column; gap: .5rem; }
    .acts-drawer__brand .custom-logo-link,
    .acts-drawer__brand .acts-brand__text { display: none; }
    .acts-drawer__status {
        display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap;
        font-size: .78rem; font-weight: 600; color: #1d6f3f;
    }
    .acts-drawer__status.is-closed { color: #b3261e; }
    .acts-drawer__status .acts-status__dot {
        width: 8px; height: 8px; border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 0 0 rgba(34,197,94,.55);
        animation: actsPulse 2s infinite;
    }
    .acts-drawer__status.is-closed .acts-status__dot { background: #ef4444; animation: none; }
    .acts-drawer__status em {
        display: block; width: 100%;
        font-style: normal; font-weight: 500;
        color: var(--acts-text-muted, #5a6470);
        font-size: .75rem;
        text-transform: capitalize;
    }
    .acts-nav__close { padding: 0; width: 36px; height: 36px; line-height: 1; font-size: 1.75rem; color: var(--acts-text); }

    /* Iconos visibles solo en drawer */
    .acts-menu__icon {
        display: inline-flex; align-items: center; justify-content: center;
        width: 36px; height: 36px;
        border-radius: 8px;
        background: var(--acts-primary-light);
        margin-right: .9rem;
    }
    .acts-menu > li > a {
        display: flex !important; align-items: center;
        padding: .75rem 0 !important;
        font-weight: 600;
        font-size: 1rem;
    }
    .acts-menu > li > a::after { display: none; } /* quitar chevron CSS, usaremos uno JS */
    .acts-menu > li.menu-item-has-children > a[aria-expanded] {
        position: relative;
    }
    .acts-menu > li.menu-item-has-children > a[data-has-children]::after {
        content: "▾";
        display: inline-block;
        margin-left: auto;
        font-size: 1rem;
        color: var(--acts-text-muted, #5a6470);
        transition: transform .2s ease;
    }
    .acts-menu > li.menu-item-has-children.is-open > a[data-has-children]::after { transform: rotate(180deg); }

    /* Acordeón submenú */
    .acts-menu .sub-menu {
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 3rem !important;
        transition: max-height .25s ease, padding .25s ease;
    }
    .acts-menu li.menu-item-has-children.is-open > .sub-menu {
        max-height: 600px;
        padding: 0 0 .5rem 3rem !important;
    }
    .acts-menu .sub-menu a {
        font-size: .92rem;
        padding: .55rem 0 !important;
        color: var(--acts-text-muted, #5a6470);
        font-weight: 500;
    }
    .acts-menu .sub-menu a:hover { color: var(--acts-primary); }

    /* Bloque contacto pie */
    .acts-drawer__contact {
        display: flex; align-items: flex-start; gap: .65rem;
        padding: 1rem 0;
        margin-top: 1rem;
        border-top: 1px solid var(--acts-border);
        font-size: .88rem;
        color: var(--acts-text-muted, #5a6470);
        line-height: 1.45;
    }
    .acts-drawer__pin { color: var(--acts-primary); flex-shrink: 0; margin-top: 2px; }
    .acts-drawer__pin svg { width: 18px !important; height: 18px !important; }

    /* Compactar actions: 2 cols (tel + WA) + Pedir cita full */
    .acts-nav__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .6rem;
        border-top: 0;
        padding-top: 0;
        margin-top: .5rem;
    }
    .acts-nav__cta { grid-column: 1 / -1; }
}

/* ===== Página Servicios (v1.7.9) ===== */
.acts-page-hero--services { padding: 4.5rem 0 3rem; background: linear-gradient(180deg, var(--acts-primary-light) 0%, #fff 100%); }
.acts-page-hero--services h1 { margin-bottom: 1rem; }
.acts-page-hero--services .acts-lead { max-width: 780px; }

.acts-trust-bar {
    list-style: none; padding: 0; margin: 2rem 0 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
    border-top: 1px solid var(--acts-border); padding-top: 1.5rem;
}
.acts-trust-bar li { font-size: .92rem; color: var(--acts-muted); }
.acts-trust-bar strong { display: block; color: var(--acts-text); font-size: 1rem; }
@media (max-width: 760px) {
    .acts-trust-bar { grid-template-columns: repeat(2, 1fr); }
}

.acts-section--intro { padding: 3.5rem 0; }
.acts-prose--center { max-width: 760px; margin: 0 auto; text-align: left; }
.acts-prose p { font-size: 1.05rem; line-height: 1.7; color: var(--acts-text); margin-bottom: 1.25rem; }

.acts-two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
@media (max-width: 900px) {
    .acts-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

.acts-areas-grid {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem;
}
.acts-areas-grid li {
    display: flex; align-items: center; gap: .5rem;
    padding: .65rem .8rem;
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: 8px;
    font-size: .92rem;
    color: var(--acts-text);
}
.acts-areas-grid .acts-svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--acts-primary); }
.acts-areas-grid .acts-svg svg { width: 16px !important; height: 16px !important; }

.acts-brands-grid {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
    display: flex; flex-wrap: wrap; gap: .5rem;
}
.acts-brands-grid li {
    padding: .4rem .85rem;
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--acts-text);
    transition: border-color .15s ease, color .15s ease;
}
.acts-brands-grid li:hover { border-color: var(--acts-primary); color: var(--acts-primary); }

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

/* FAQ list */
.acts-faq-list { max-width: 820px; margin: 0 auto; }
.acts-faq-item {
    background: #fff;
    border: 1px solid var(--acts-border);
    border-radius: var(--acts-radius);
    margin-bottom: .75rem;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.acts-faq-item[open] { border-color: var(--acts-primary); box-shadow: var(--acts-shadow-sm); }
.acts-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--acts-text);
    position: relative;
}
.acts-faq-item summary::-webkit-details-marker { display: none; }
.acts-faq-item summary::after {
    content: "+";
    position: absolute; right: 1.25rem; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem; font-weight: 300; color: var(--acts-primary);
    transition: transform .2s ease;
}
.acts-faq-item[open] summary::after { content: "−"; }
.acts-faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--acts-muted);
    line-height: 1.65;
}
.acts-faq-answer p:last-child { margin: 0; }

/* CTA block */
.acts-section--cta { padding: 4rem 0; background: linear-gradient(135deg, var(--acts-primary) 0%, var(--acts-primary-dark) 100%); color: #fff; }
.acts-section--cta h2 { color: #fff; margin-bottom: .5rem; }
.acts-section--cta .acts-section__lead { color: rgba(255,255,255,.85); }
.acts-cta-block { text-align: center; max-width: 760px; margin: 0 auto; }
.acts-cta-block__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.acts-section--cta .acts-btn--primary { background: #fff; color: var(--acts-primary); }
.acts-section--cta .acts-btn--primary:hover { background: var(--acts-primary-light); color: var(--acts-primary-dark); }
.acts-section--cta .acts-btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.acts-section--cta .acts-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ===== Página servicio detalle (v1.8.1) ===== */
.acts-breadcrumb {
    font-size: .85rem;
    color: var(--acts-muted);
    margin-bottom: 1.25rem;
    display: flex; flex-wrap: wrap; gap: .35rem;
    align-items: center;
}
.acts-breadcrumb a { color: var(--acts-muted); }
.acts-breadcrumb a:hover { color: var(--acts-primary); }
.acts-breadcrumb__current { color: var(--acts-text); font-weight: 500; }

.acts-trust-bar--mini {
    display: inline-flex; gap: .6rem; flex-wrap: wrap;
    border: 0; padding: 0; margin: 1.25rem 0 1.5rem;
    grid-template-columns: none;
}
.acts-trust-bar--mini li {
    background: rgba(255,255,255,.7);
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--acts-border);
    font-size: .82rem;
    color: var(--acts-muted);
}
.acts-trust-bar--mini strong { display: inline; color: var(--acts-primary); font-size: .82rem; }

.acts-page-hero--service .acts-page-hero__icon { width: 140px; height: 140px; flex-shrink: 0; }
.acts-page-hero--service .acts-page-hero__icon svg { width: 100% !important; height: 100% !important; }
@media (max-width: 900px) {
    .acts-page-hero--service .acts-page-hero__icon { display: none; }
}
