      /* =========================
       PALETA HServices
       ========================= */
        :root {
            --brand-amber: #f59e0b;
            /* primario naranja */
            --brand-amber-dark: #d97706;
            /* hover/active */
            --ink: #1f2937;
            /* texto principal (carbón) */
            --steel: #6b7280;
            /* gris acero (bordes/íconos) */
            --bg: #f8fafc;
            /* fondo claro */
            --card: #ffffff;
            /* tarjetas */
            --wa: #25d366;
            /* WhatsApp */
            --hero-grad-start: #111827;
            /* base del hero (muy oscuro) */
            --hero-grad-end: #1f2937;
            /* oscuro medio */
        }

        /* Bootstrap overrides */
        :root {
            --bs-body-color: var(--ink);
            --bs-body-bg: var(--bg);
            --bs-primary: var(--brand-amber);
            --bs-primary-rgb: 245, 158, 11;
        }

        body {
            font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
        }

        .btn-primary {
            background: var(--brand-amber) !important;
            border-color: var(--brand-amber) !important;
            color: #111;
        }

        .btn-primary:hover {
            background: var(--brand-amber-dark) !important;
            border-color: var(--brand-amber-dark) !important;
        }

        .navbar {
            border-bottom: 1px solid rgba(0, 0, 0, .06);
            background: #fff;
            transition: box-shadow .2s ease;
        }

        .navbar .nav-link {
            color: var(--ink);
        }

        .navbar .nav-link:hover {
            color: var(--brand-amber);
        }

        .navbar-brand span {
            font-weight: 700;
            letter-spacing: .2px;
            color: var(--ink);
        }

        /* HERO estable y responsive */
        .hero {
            position: relative;
            color: #fff;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            min-height: 520px;
        }

        @media (max-width:575.98px) {
            .hero {
                min-height: 460px;
            }
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
            opacity: .92;
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(1200px 500px at 20% 0%, rgba(245, 158, 11, .25), transparent 60%);
            mix-blend-mode: screen;
        }

        .hero .container {
            position: relative;
            z-index: 2;
        }

        .badge-soft {
            background: rgba(245, 158, 11, .14);
            border: 1px solid rgba(245, 158, 11, .35);
            color: #fff;
        }

        .feature-icon {
            width: 56px;
            height: 56px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: #fff7ed;
            color: var(--brand-amber-dark);
            border: 1px solid #fde68a;
        }

        .card {
            background: var(--card);
        }

        .card-hover {
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
        }

        .required::after {
            content: " *";
            color: #dc3545;
        }

        .text-muted {
            color: var(--steel) !important;
        }

        .py-6 {
            padding-top: 4.5rem !important;
            padding-bottom: 4.5rem !important;
        }

        .py-7 {
            padding-top: 6rem !important;
            padding-bottom: 6rem !important;
        }

        @media (min-width:992px) {
            .py-lg-6 {
                padding-top: 4.5rem !important;
                padding-bottom: 4.5rem !important;
            }

            .py-lg-7 {
                padding-top: 6rem !important;
                padding-bottom: 6rem !important;
            }
        }

        /* Imágenes sin srcset, anti-CLS */
        .img-fixed {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 4/3;
            object-fit: cover;
        }

        .img-fixed-16x9 {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
            object-fit: cover;
        }

        .smooth {
            image-rendering: auto;
            filter: contrast(1.02) saturate(1.02);
        }

        /* Galería con overlay + botón Cotizar */
        .gallery-card {
            position: relative;
            overflow: hidden;
            border-radius: .75rem;
            box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .06);
            background: #000;
        }

        .gallery-card img {
            transform: scale(1);
            transition: transform .45s ease, filter .45s ease, opacity .45s ease;
            width: 100%;
            height: auto;
        }

        .gallery-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(245, 158, 11, .08) 0%, rgba(0, 0, 0, .55) 100%);
            opacity: 0;
            transition: opacity .35s ease;
        }

        .gallery-caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: .75rem .9rem;
            color: #fff;
            letter-spacing: .2px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: .5rem;
            transform: translateY(12px);
            opacity: 0;
            backdrop-filter: blur(2px);
            transition: transform .35s ease, opacity .35s ease;
        }

        .gallery-title {
            font-weight: 700;
        }

        .gallery-actions .btn {
            --bs-btn-padding-y: .25rem;
            --bs-btn-padding-x: .6rem;
            --bs-btn-font-size: .85rem;
        }

        .gallery-actions .btn-outline-light {
            border-color: rgba(255, 255, 255, .8);
            color: #fff;
        }

        .gallery-actions .btn-outline-light:hover {
            background: #fff;
            color: #111;
        }

        .gallery-card:hover img,
        .gallery-card:focus-within img {
            transform: scale(1.06);
        }

        .gallery-card:hover::after,
        .gallery-card:focus-within::after {
            opacity: 1;
        }

        .gallery-card:hover .gallery-caption,
        .gallery-card:focus-within .gallery-caption {
            transform: translateY(0);
            opacity: 1;
        }

        .gallery-card:hover {
            box-shadow: 0 1rem 2rem rgba(0, 0, 0, .10), 0 0 0 2px rgba(245, 158, 11, .25);
        }

        .gallery-card:focus-visible {
            outline: 3px solid rgba(245, 158, 11, .6);
            outline-offset: 2px;
        }

        /* En móviles mostramos siempre el caption para tap directo */
        @media (hover:none) {
            .gallery-card::after {
                opacity: .75;
            }

            .gallery-caption {
                transform: none;
                opacity: 1;
            }
        }

        @media (prefers-reduced-motion:reduce) {

            .gallery-card img,
            .gallery-card::after,
            .gallery-caption {
                transition: none !important;
            }
        }

        /* Botones flotantes (desktop) */
        .floating-actions {
            position: fixed;
            right: 16px;
            bottom: 16px;
            display: flex;
            flex-direction: column;
            gap: .6rem;
            z-index: 1040;
        }

        .btn-wa {
            background: var(--wa);
            color: #fff;
        }

        .btn-call {
            background: var(--brand-amber);
            color: #111;
        }

        /* Barra CTA móvil */
        .mobile-cta {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1050;
            display: none;
            gap: 1px;
            background: #111827;
        }

        .mobile-cta a {
            flex: 1;
            padding: .85rem 1rem;
            text-align: center;
            color: #fff;
            text-decoration: none;
            font-weight: 700;
        }

        .mobile-cta a:first-child {
            background: #1F2937;
        }

        .mobile-cta a:last-child {
            background: var(--brand-amber);
            color: #111;
        }

        @media (max-width:767.98px) {
            .mobile-cta {
                display: flex;
            }

            .floating-actions {
                display: none;
            }
        }

        /* Accesibilidad: Skip link */
        .visually-hidden-focusable:not(:focus):not(:focus-within) {
            position: absolute !important;
            width: 1px;
            height: 1px;
            margin: -1px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
            border: 0;
        }