:root {
    --blue: #0D31B5;
    --blue-dark: #081d71;
    --orange: #ff8a1f;
    --orange-dark: #d96700;
    --cream: #f6f3ec;
    --text: #15203b;
    --muted: #5f6b85;
    --white: #ffffff;
    --line: rgba(13, 49, 181, 0.1);
    --shadow: 0 24px 50px rgba(10, 17, 40, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff, #f6f8fd 35%, #fff5eb 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { overflow: hidden; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section-space { padding: 88px 0; }
.section-tag, .eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 138, 31, 0.14);
    color: var(--orange-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--orange), #ffb347); color: var(--blue-dark); }
.btn-secondary { background: transparent; border-color: rgba(255,255,255,0.45); color: var(--white); }
.text-link { color: var(--blue); font-weight: 700; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(13, 49, 181, 0.08);
}
.site-header-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(13, 49, 181, 0.06);
    backdrop-filter: blur(6px);
}
.site-header-home .nav-row {
    min-height: 118px;
}
.site-header-home .main-nav a {
    color: var(--blue-dark);
}
.site-header-home .social-links a {
    background: rgba(13,49,181,0.12);
    color: var(--blue);
}
.site-header-home .menu-toggle span {
    background: var(--blue);
}
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}
.logo-link img { height: 92px; width: auto; }
.nav-panel {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.main-nav {
    display: flex;
    gap: 22px;
    align-items: center;
    font-weight: 600;
}
.header-extras,
.header-actions,
.hero-buttons,
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.header-extras {
    gap: 30px;
}
.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
}
.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.pill {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}
.pill-call { background: linear-gradient(135deg, var(--orange), #ffb347); color: var(--blue-dark); }
.pill-whatsapp { background: #25d366; color: white; }

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--blue);
    transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero-slider { position: relative; min-height: 82vh; background: var(--blue-dark); }
.home-page .hero-slider { min-height: 100vh; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
    background-image: var(--hero-desktop);
    background-size: cover;
    background-position: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-content {
    min-height: 82vh;
    display: grid;
    align-content: center;
    gap: 20px;
    color: var(--white);
}
.home-page .hero-content {
    min-height: 100vh;
    padding-top: 118px;
}
.hero-content h1, .inner-hero h1 { margin: 0; font-size: clamp(2.1rem, 4.7vw, 4.2rem); line-height: 0.98; max-width: 720px; }
.hero-content p, .inner-hero p { max-width: 640px; color: rgba(255,255,255,0.84); font-size: 1.06rem; }
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.hero-dots button {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
}
.hero-dots .is-active { background: var(--orange); }

.service-highlight { padding: 40px 0 0; }
.service-highlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 0;
    position: relative;
    z-index: 2;
}
.service-highlight-copy {
    padding: 10px 0 0;
}
.service-highlight-copy p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 620px;
}
.highlight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.highlight-cards article, .metric-card, .content-card, .why-card, .portfolio-card, .testimonial-card, .contact-card, .sidebar-card, .faq-item {
    background: rgba(255,255,255,0.92);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.highlight-cards article {
    padding: 24px;
    min-height: 180px;
    background: linear-gradient(180deg, #ff8a1f, #d96700);
}
.highlight-cards strong { font-size: 1.8rem; color: var(--blue); }
.highlight-cards article p { color: rgba(255,255,255,0.92); }

.split-section, .single-grid, .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
}
.contact-grid { align-items: start; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.split-section h2, .section-head h2, .cta-banner h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.04; margin: 14px 0; }
.split-section h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.split-section > div > p { margin-top: 20px; }
.tick-list, .plain-list, .footer-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
    padding-left: 28px;
    margin-bottom: 16px;
    position: relative;
}
.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
}
.image-card {
    padding: 24px;
    border-radius: 32px;
    background: linear-gradient(180deg, #edf2ff, #fff0dc);
}
.generic-page-image {
    margin-bottom: 28px;
}

.stats-band {
    margin: 80px 0;
    background: linear-gradient(90deg, var(--orange), #ffc566);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 20px;
    padding: 24px 0;
    align-items: center;
}
.stats-grid article {
    display: grid;
    gap: 8px;
    color: var(--blue-dark);
    font-weight: 700;
}
.stats-grid strong { font-size: 2.2rem; }
.stats-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.card-grid, .why-grid, .portfolio-grid, .testimonial-grid, .faq-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.content-card, .why-card, .testimonial-card, .contact-card, .faq-item, .portfolio-card, .sidebar-card {
    padding: 24px;
}
.content-card img, .portfolio-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;
}
.card-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 0.9rem;
}
.why-us {
    position: relative;
    padding: 92px 0;
    background-image:
        linear-gradient(135deg, rgba(8, 29, 113, 0.9), rgba(13, 49, 181, 0.82)),
        radial-gradient(circle at top left, rgba(255,138,31,0.22), transparent 35%),
        var(--why-us-background, url('../images/hero-default.svg'));
    background-size: cover, auto, cover;
    background-position: center, top left, center;
    background-repeat: no-repeat;
    background-attachment: fixed, scroll, fixed;
    color: white;
    overflow: hidden;
}
.why-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    pointer-events: none;
}
.why-us .container {
    position: relative;
    z-index: 1;
}
.section-head { margin-bottom: 28px; max-width: 100%; }
.section-head.light h2 { color: white; }
.section-head h2,
.split-section h2,
.cta-banner h2 {
    max-width: 100%;
}
.why-us .section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); max-width: 1180px; }
.about-title { font-size: clamp(1.78rem, 3vw, 2.72rem) !important; }
.services-title { font-size: clamp(1.9rem, 3.2vw, 2.8rem) !important; max-width: 1180px; }
.testimonials .section-head h2 { font-size: clamp(1.85rem, 3vw, 2.55rem); max-width: 1180px; }
.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.why-card {
    background: linear-gradient(180deg, #ffb347, #ff8a1f);
}
.why-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255,255,255,0.14);
    margin-bottom: 18px;
}
.why-icon svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}
.why-card h3 { color: var(--blue); }
.why-card p { color: rgba(255,255,255,0.94); }

.portfolio-section {
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 30%),
        linear-gradient(180deg, #ffb347, #ff8a1f 58%, #ef7a11);
}
.portfolio-section .section-tag {
    background: rgba(255,255,255,0.2);
    color: var(--blue-dark);
}
.portfolio-section .section-head h2 {
    color: var(--white);
}
.portfolio-section .portfolio-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 24px 44px rgba(120, 58, 0, 0.2);
}
.portfolio-section .portfolio-card img {
    background: rgba(255,255,255,0.18);
}
.portfolio-section .portfolio-card h3 {
    color: var(--blue-dark);
}
.portfolio-section .portfolio-card p {
    color: rgba(255,255,255,0.94);
}
.portfolio-section .section-actions .btn-primary {
    background: linear-gradient(135deg, var(--blue), #3159ef);
    color: var(--white);
}

.inner-hero {
    padding: 110px 0 80px;
    background: radial-gradient(circle at top right, rgba(255,138,31,0.2), transparent 20%), linear-gradient(135deg, #0D31B5, #081d71);
    color: white;
}
.prose, .contact-card p, .content-card p, .portfolio-card p, .testimonial-card p { color: var(--muted); line-height: 1.8; }
.contact-card .hero-buttons { margin-top: 24px; }
.contact-card .plain-list li + li { margin-top: 10px; }
.service-single {
    position: relative;
    padding: 76px 0 56px;
    background-image:
        linear-gradient(90deg, rgba(8, 29, 113, 0.92), rgba(13, 49, 181, 0.82)),
        var(--service-hero-bg, url('../images/service-placeholder.svg'));
    background-size: cover, cover;
    background-position: center, right center;
    background-repeat: no-repeat;
    background-attachment: scroll, fixed;
    overflow: hidden;
}
.service-single::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 29, 113, 0.2), rgba(8, 29, 113, 0));
    pointer-events: none;
}
.service-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
    align-items: center;
}
.service-single h1,
.service-single p {
    max-width: 760px;
}
.service-hero-card {
    max-width: 380px;
    margin-left: auto;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}
.service-hero-card img {
    border-radius: 24px;
}
.sidebar-card h2 { margin-top: 0; }
.service-whatsapp-btn,
.cta-action-card .btn-secondary {
    background: #25d366;
    border-color: #25d366;
    color: var(--white);
}
.service-seo-copy .section-head h2 {
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
}
.service-copy-panel {
    padding: 30px 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fff6ea, #eef3ff);
    box-shadow: var(--shadow);
}
.service-copy-panel p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.9;
}
.service-copy-panel p:last-child {
    margin-bottom: 0;
}
.service-related {
    background: linear-gradient(180deg, #ffb347, #ff8a1f 58%, #ef7a11);
}
.service-related .section-head h2 {
    color: var(--white);
}
.service-related .section-tag {
    background: rgba(255,255,255,0.22);
    color: var(--blue-dark);
}
.service-related .content-card {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.16);
}
.service-related .content-card h3 {
    color: var(--blue-dark);
}
.service-related .content-card p {
    color: rgba(255,255,255,0.94);
}
.service-related .content-card .btn-primary {
    color: var(--blue-dark);
}
.service-cta-banner {
    margin-top: 0;
}
.service-faq .section-head h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.cta-banner {
    margin: 0 auto 90px;
    padding: 38px;
    display: grid;
    grid-template-columns: 1.3fr auto;
    align-items: center;
    gap: 24px;
    border-radius: 36px;
    background: linear-gradient(135deg, #fff4e4, #eef3ff);
}
.cta-actions {
    display: grid;
    gap: 14px;
}
.cta-action-card {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}
.testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(13, 49, 181, 0.14);
}
.testimonial-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0D31B5, #3159ef);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.testimonial-meta {
    display: grid;
    gap: 4px;
}
.testimonial-meta strong {
    color: var(--blue-dark);
}
.testimonial-meta span {
    color: var(--muted);
}

.site-footer {
    background: #0a1126;
    color: rgba(255,255,255,0.8);
    padding: 70px 0 40px;
}
.site-footer h3 {
    color: var(--white);
}
.footer-logo { width: 220px; margin-bottom: 20px; }
.footer-list li { margin-bottom: 10px; }
.footer-cities li { color: rgba(255,255,255,0.7); }
.footer-list a {
    color: rgba(255,255,255,0.84);
}
.footer-list a:hover {
    color: var(--white);
}
.site-copyright {
    background: #060b1b;
    color: rgba(255,255,255,0.82);
    font-size: .95rem;
}
.site-copyright__inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 0;
}
.site-copyright__inner p {
    margin: 0;
}
.site-copyright a {
    color: #ffbf75;
}
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), #ffb347);
    color: var(--blue-dark);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(9, 17, 38, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 55;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.car-opening-banner-wrap {
    margin-top: 34px;
}
.car-opening-banner {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 42px;
    background-image:
        linear-gradient(120deg, rgba(8, 29, 113, 0.9), rgba(13, 49, 181, 0.78)),
        var(--car-banner-image, url('../images/hero-default.svg'));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-shadow: var(--shadow);
}
.car-opening-banner::after {
    content: "";
    position: absolute;
    inset: auto -70px -90px auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 138, 31, 0.18);
}
.car-opening-banner__content {
    position: relative;
    z-index: 1;
    max-width: 660px;
    color: var(--white);
}
.car-opening-banner__content h2 {
    margin: 14px 0 16px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.02;
}
.car-opening-banner__content p {
    margin: 0 0 24px;
    color: rgba(255,255,255,0.88);
}
.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100% - 24px));
    padding: 20px;
    border-radius: 24px;
    background: rgba(10,17,38,0.95);
    color: white;
    box-shadow: var(--shadow);
    z-index: 60;
}
.cookie-banner.is-hidden { display: none; }
.cookie-buttons { display: flex; gap: 12px; margin-top: 16px; }

.floating-actions {
    position: fixed;
    left: 16px;
    bottom: 16px;
    display: grid;
    gap: 12px;
    z-index: 60;
}
.floating-whatsapp, .floating-call {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    box-shadow: var(--shadow);
}
.floating-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse 1.8s infinite;
}
.floating-call { background: linear-gradient(135deg, var(--orange), #ffb347); }
.floating-whatsapp svg, .floating-call svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.42); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 980px) {
    .service-highlight-grid,
    .split-section,
    .single-grid,
    .contact-grid,
    .footer-grid,
    .cta-banner,
    .stats-grid,
    .card-grid,
    .why-grid,
    .portfolio-grid,
    .testimonial-grid,
    .faq-list {
        grid-template-columns: 1fr;
    }
    .highlight-cards { grid-template-columns: 1fr; }
    .stats-actions { justify-content: flex-start; }
    .why-us {
        background-attachment: scroll, scroll, scroll;
    }
    .service-single {
        background-attachment: scroll, scroll;
        background-position: center, center;
    }
    .service-hero-grid {
        grid-template-columns: 1fr;
    }
    .service-hero-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 860px) {
    .menu-toggle { display: inline-block; margin-left: auto; }
    .nav-panel {
        position: absolute;
        top: calc(100% + 20px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 24px;
        background: rgba(255,255,255,0.98);
        box-shadow: var(--shadow);
    }
    .site-header-home .nav-panel { background: rgba(255,255,255,0.98); }
    .nav-panel.is-open { display: flex; }
    .main-nav,
    .header-extras,
    .header-actions {
        width: 100%;
    }
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .header-extras {
        justify-content: space-between;
        gap: 16px;
    }
}

@media (max-width: 760px) {
    .logo-link img { height: 68px; }
    .header-actions {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .pill { flex: 1; text-align: center; }
    .hero-content, .hero-slider { min-height: 72vh; }
    .home-page .hero-content, .home-page .hero-slider { min-height: 100vh; }
    .hero-content h1, .inner-hero h1 { font-size: 2.3rem; }
    .inner-hero { padding: 80px 0 50px; }
    .section-space { padding: 64px 0; }
    .hero-slide { background-image: var(--hero-mobile); background-position: center top; }
    .site-header-home .nav-row { min-height: 102px; }
    .home-page .hero-content { padding-top: 102px; }
    .car-opening-banner-wrap { margin-top: 26px; }
    .car-opening-banner { padding: 28px 24px; border-radius: 28px; background-attachment: scroll; }
    .site-copyright__inner { align-items: flex-start; }
    .back-to-top { right: 16px; bottom: 92px; width: 48px; height: 48px; }
    .service-highlight { padding-top: 28px; }
    .service-highlight-grid { margin-top: 0; }
  }
