

:root {
    
    --m-primary: var(--color-primary);
    --m-accent: var(--color-primary);
    --m-accent-2: var(--color-secondary);
    
    --m-surface-dark:
        linear-gradient(135deg, rgba(var(--color-primary-rgb), .18) 0%, transparent 55%),
        linear-gradient(225deg, rgba(var(--color-primary-rgb), .10) 0%, transparent 50%),
        linear-gradient(180deg, color-mix(in srgb, var(--color-text) 92%, #000) 0%, color-mix(in srgb, var(--color-primary) 35%, #0a1628) 50%, #030d1a 100%);
    
    --m-emerald: var(--color-whatsapp);
    --m-emerald-light: var(--color-whatsapp-dark);
    --m-bg: var(--color-background);
    --m-fg: #0a0a0a;
    --m-muted: #6b7280;
    --m-border: #e5e7eb;
    --m-card: var(--color-background);
    --m-wa: var(--color-whatsapp);
    --m-radius: 14px;
    --m-radius-lg: 18px;
    --m-radius-xl: 22px;
    --m-shadow-card: 0 4px 24px rgba(13,35,57,.06);
    --m-shadow-lg: 0 20px 50px rgba(13,35,57,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-family, sans-serif); }

body.tpl-modern {
    --color-text: #0a0a0a;
    --m-nav-h: 64px;
    --m-header-h: calc(var(--m-nav-h) + var(--saas-trust-strip-h, 38px));
    --m-header-wash: color-mix(in srgb, var(--color-primary) 7%, var(--color-background));
    --m-header-line: color-mix(in srgb, var(--color-text) 10%, var(--color-background));
    --m-nav-muted: #6b7280;
    --m-on-primary: var(--color-background);
    --m-header-shadow: 0 1px 0 var(--m-header-line), 0 10px 28px color-mix(in srgb, var(--color-text) 6%, transparent);
    font-family: var(--font-family, sans-serif);
    color: var(--m-fg);
    background: var(--m-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 0;
}
@media (min-width: 1024px) {
    body.tpl-modern {
        --m-nav-h: 76px;
    }
}

body.tpl-modern img { max-width: 100%; height: auto; display: block; }

body.tpl-modern a { text-decoration: none; }
body.tpl-modern h1,
body.tpl-modern h2,
body.tpl-modern h3,
body.tpl-modern h4 { line-height: 1.15; font-weight: 800; }

.rgf-wrap { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }

.rgf-topbar {
    background: linear-gradient(90deg, var(--m-primary), var(--m-accent));
    color: #fff;
    font-size: .8rem;
    display: none;
}
@media (min-width: 1024px) { .rgf-topbar { display: block; } }
.rgf-topbar-inner {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 38px;
}
.rgf-topbar-item {
    color: rgba(255,255,255,.9);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    transition: color .15s;
}
.rgf-topbar-item:hover { color: #fff; }
.rgf-topbar-spacer { flex: 1; }
.rgf-topbar-wa i { color: #fff; }


body.tpl-modern .rgf-chrome {
    position: sticky;
    top: 0;
    z-index: 220;
}
body.tpl-modern .rgf-header {
    height: var(--m-nav-h, 64px);
    background: var(--color-background);
    border-top: 0;
    border-bottom: 0;
    box-shadow: var(--m-header-shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.tpl-modern.nav-open .rgf-header {
    background: var(--color-background);
    box-shadow: var(--m-header-shadow);
}
body.tpl-modern .rgf-header-inner {
    width: min(1200px, calc(100% - 1.25rem));
    margin-inline: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
@media (min-width: 1024px) {
    body.tpl-modern .rgf-header-inner {
        width: min(1200px, calc(100% - 2rem));
        gap: 1.5rem;
    }
}


body.tpl-modern .rgf-logo-link {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(68vw, 300px);
    z-index: 222;
    text-decoration: none;
    gap: 0;
}
body.tpl-modern .rgf-logo-plate {
    display: contents;
}
body.tpl-modern .rgf-logo-link img,
body.tpl-modern .rgf-logo-link [data-saas-brand="logo"],
body.tpl-modern .rgf-brand-img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: min(58vw, 210px);
    object-fit: contain;
    object-position: left center;
}
body.tpl-modern .rgf-logo-link [data-saas-brand="wordmark"] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    max-width: min(58vw, 240px);
}
body.tpl-modern .rgf-logo-link [data-saas-brand="wordmark-mark"] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 800;
    background: var(--color-primary);
    color: var(--m-on-primary);
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
}
body.tpl-modern .rgf-logo-link [data-saas-brand="wordmark-text"] {
    font-size: clamp(1.05rem, 2.4vw, 1.28rem);
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--m-fg);
    line-height: 1.1;
}
@media (min-width: 1024px) {
    body.tpl-modern .rgf-logo-link {
        flex: 0 1 auto;
        max-width: 340px;
    }
    body.tpl-modern .rgf-logo-link img,
    body.tpl-modern .rgf-logo-link [data-saas-brand="logo"],
    body.tpl-modern .rgf-brand-img {
        height: 48px;
        max-height: 48px;
        max-width: 260px;
    }
    body.tpl-modern .rgf-logo-link [data-saas-brand="wordmark-mark"] {
        width: 40px;
        height: 40px;
        font-size: .9rem;
        border-radius: 11px;
    }
    body.tpl-modern .rgf-logo-link [data-saas-brand="wordmark-text"] {
        font-size: 1.35rem;
    }
}


body.tpl-modern .rgf-nav {
    display: none;
}
@media (min-width: 1024px) {
    body.tpl-modern .rgf-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        gap: .15rem;
        min-width: 0;
    }
}
body.tpl-modern .rgf-nav-link {
    position: relative;
    padding: .55rem .85rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--m-nav-muted);
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}
body.tpl-modern .rgf-nav-link:hover {
    color: var(--m-fg);
    background: color-mix(in srgb, var(--color-text) 4%, var(--color-background));
}
body.tpl-modern .rgf-nav-link.is-current {
    color: var(--m-fg);
    font-weight: 700;
    background: transparent;
    font-weight: 700;
}
body.tpl-modern .rgf-nav-link.is-current::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .28rem;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transform: translateX(-50%);
}
body.tpl-modern .rgf-nav-link.is-current::before {
    content: none;
    display: none;
}


body.tpl-modern .rgf-header-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-shrink: 0;
    z-index: 222;
}
body.tpl-modern .rgf-header-cta {
    display: none;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 1.15rem;
    border-radius: 11px;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
    background: var(--color-primary) !important;
    color: var(--m-on-primary) !important;
    border: 0 !important;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--color-primary) 28%, transparent) !important;
    white-space: nowrap;
    transition: background .18s ease, box-shadow .18s ease, transform .15s ease;
}
body.tpl-modern .rgf-header-cta:hover {
    background: color-mix(in srgb, var(--color-primary) 82%, var(--color-text)) !important;
    color: var(--m-on-primary) !important;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--color-primary) 34%, transparent) !important;
    transform: translateY(-1px);
}
body.tpl-modern .rgf-header-phone {
    display: none !important;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    border: 1px solid var(--m-header-line);
    background: transparent;
    color: var(--m-fg);
    place-items: center;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body.tpl-modern .rgf-header-phone svg {
    display: block;
    width: 18px;
    height: 18px;
}
body.tpl-modern .rgf-header-phone:hover {
    background: var(--m-header-wash);
    border-color: color-mix(in srgb, var(--color-primary) 32%, var(--color-background));
    color: var(--m-fg);
}
@media (min-width: 1024px) {
    body.tpl-modern .rgf-header-cta { display: inline-flex; }
    body.tpl-modern .rgf-header-phone { display: grid !important; }
}


body.tpl-modern .rgf-burger {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    margin: 0 0 0 .15rem !important;
    border: 1px solid var(--m-header-line) !important;
    border-radius: 10px;
    background: var(--color-background) !important;
    color: var(--color-text) !important;
    cursor: pointer;
    flex: 0 0 auto !important;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 10050 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body.tpl-modern .rgf-burger-line {
    display: block !important;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: currentColor !important;
    transform-origin: center;
    transition: transform .2s ease, opacity .15s ease;
}
body.tpl-modern .rgf-burger:hover,
body.tpl-modern .rgf-burger:focus-visible {
    background: var(--m-header-wash) !important;
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-background)) !important;
    color: var(--m-fg) !important;
    outline: none;
}
body.tpl-modern .rgf-burger.is-open {
    background: var(--color-primary) !important;
    color: var(--m-on-primary) !important;
    border-color: var(--color-primary) !important;
}
body.tpl-modern .rgf-burger.is-open .rgf-burger-line-1 {
    transform: translateY(7px) rotate(45deg);
}
body.tpl-modern .rgf-burger.is-open .rgf-burger-line-2 {
    opacity: 0;
}
body.tpl-modern .rgf-burger.is-open .rgf-burger-line-3 {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 1023px) {
    body.tpl-modern .rgf-burger {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10050 !important;
    }
    body.tpl-modern .rgf-header-actions {
        display: flex !important;
        flex: 0 0 auto !important;
        margin-left: auto;
    }
    body.tpl-modern .rgf-logo-link {
        max-width: calc(100% - 4.25rem) !important;
    }
}
@media (min-width: 1024px) {
    body.tpl-modern .rgf-burger { display: none !important; }
}


body.tpl-modern .rgf-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 210;
    background: color-mix(in srgb, var(--color-text) 42%, transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.tpl-modern .rgf-drawer-backdrop[hidden] { display: none !important; }
body.tpl-modern .rgf-drawer-backdrop.is-open {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
}
body.tpl-modern .rgf-drawer {
    position: fixed;
    top: var(--m-header-h);
    right: 0;
    left: auto;
    bottom: 0;
    width: min(88vw, 320px);
    max-width: 100%;
    z-index: 215;
    background: var(--color-background);
    border-left: 1px solid var(--m-header-line);
    border-top: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: -16px 0 40px color-mix(in srgb, var(--color-text) 16%, transparent);
    transform: translateX(105%);
    transition: transform .24s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}
body.tpl-modern .rgf-drawer[hidden] { display: none !important; }
body.tpl-modern .rgf-drawer.is-open {
    display: flex !important;
    transform: translateX(0);
    pointer-events: auto;
}
body.tpl-modern.nav-open { overflow: hidden; }
body.tpl-modern .rgf-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--m-header-line);
    background: var(--color-background);
    flex-shrink: 0;
}
body.tpl-modern .rgf-drawer-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: calc(100% - 3.5rem);
    text-decoration: none;
    color: inherit;
}
body.tpl-modern .rgf-drawer-brand img,
body.tpl-modern .rgf-drawer-brand [data-saas-brand="logo"],
body.tpl-modern .rgf-drawer-brand .rgf-brand-img {
    height: 34px;
    max-height: 34px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
body.tpl-modern .rgf-drawer-brand [data-saas-brand="wordmark"] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}
body.tpl-modern .rgf-drawer-brand [data-saas-brand="wordmark-mark"] {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: .72rem;
    font-weight: 800;
    background: var(--color-primary);
    color: var(--m-on-primary);
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
}
body.tpl-modern .rgf-drawer-brand [data-saas-brand="wordmark-text"] {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--m-fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.tpl-modern .rgf-drawer-hint {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--m-nav-muted);
    flex-shrink: 0;
}
body.tpl-modern .rgf-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: .35rem 0 .5rem;
    flex: 1 1 auto;
    min-height: 0;
}
body.tpl-modern .rgf-drawer-link {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: .95rem 1.2rem .95rem 1.25rem;
    margin: 0;
    border-radius: 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--m-fg);
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-left: 3px solid transparent !important;
    box-shadow: none !important;
    transition: color .15s ease, border-color .15s ease;
    overflow: visible;
    white-space: normal;
}
body.tpl-modern .rgf-drawer-link:hover {
    background: transparent !important;
    background-image: none !important;
    color: var(--m-fg);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
body.tpl-modern .rgf-drawer-link.is-current {
    background: transparent !important;
    background-image: none !important;
    color: var(--m-fg) !important;
    font-weight: 700;
    font-weight: 800;
    border-left: 3px solid var(--color-primary) !important;
    box-shadow: none !important;
}
body.tpl-modern .rgf-drawer-link.is-current::before,
body.tpl-modern .rgf-drawer-link.is-current::after,
body.tpl-modern .rgf-drawer-link::before,
body.tpl-modern .rgf-drawer-link::after {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}
body.tpl-modern .rgf-drawer-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: .85rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--m-header-line);
    background: var(--color-background);
    flex-shrink: 0;
}
body.tpl-modern .rgf-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 800;
    background: var(--color-primary);
    color: var(--m-on-primary);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--color-primary) 26%, transparent);
}
body.tpl-modern .rgf-drawer-cta:hover {
    background: color-mix(in srgb, var(--color-primary) 82%, var(--color-text));
    color: var(--m-on-primary);
}

body.tpl-modern .rgf-drawer-contact {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--m-header-line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-background);
}
body.tpl-modern .rgf-drawer-contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    width: 100%;
    min-height: 48px;
    padding: .7rem .95rem;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--m-fg);
    text-decoration: none;
    overflow: hidden;
}
body.tpl-modern .rgf-drawer-contact-row + .rgf-drawer-contact-row {
    border-top: 1px solid var(--m-header-line);
}
body.tpl-modern .rgf-drawer-contact-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 9px;
    background: var(--m-header-wash);
    color: var(--m-fg);
    font-size: 1.05rem;
    line-height: 1;
}
body.tpl-modern .rgf-drawer-contact-ico svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
body.tpl-modern .rgf-drawer-contact-ico i {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
    width: auto;
    height: auto;
}
body.tpl-modern .rgf-drawer-contact-txt {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
body.tpl-modern .rgf-drawer-phone:hover {
    background: color-mix(in srgb, var(--color-text) 3%, var(--color-background));
    color: var(--m-fg);
}
body.tpl-modern .rgf-drawer-wa .rgf-drawer-contact-ico {
    background: color-mix(in srgb, var(--color-whatsapp) 16%, var(--color-background));
    color: var(--color-whatsapp);
}
body.tpl-modern .rgf-drawer-wa:hover {
    background: color-mix(in srgb, var(--color-whatsapp) 8%, var(--color-background));
    color: var(--color-whatsapp-dark);
}
@media (min-width: 1024px) {
    body.tpl-modern .rgf-drawer,
    body.tpl-modern .rgf-drawer-backdrop {
        display: none !important;
    }
}

[class*="rgf-btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: .9rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s, filter .15s;
}
[class*="rgf-btn"]:hover { transform: translateY(-1px); }
.rgf-btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.rgf-btn-sm { padding: .5rem .9rem; font-size: .8rem; border-radius: 12px; }
.rgf-btn-primary {
    background: var(--m-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,.3);
}
.rgf-btn-primary:hover { background: var(--m-accent); filter: brightness(.88); color: #fff; }
.rgf-btn-accent {
    background: var(--m-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,.32);
}
.rgf-btn-accent:hover { background: var(--m-accent); filter: brightness(.88); color: #fff; }
.rgf-btn-ink {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}
.rgf-btn-ink:hover { background: #1e293b; color: #fff; }

body.tpl-modern a#reservationBtn,
body.tpl-modern a#reservationBtn.rgf-btn-ink,
body.tpl-modern a#reservationBtn.rgf-btn-accent {
    background: var(--color-primary) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 22px rgba(var(--color-primary-rgb), .28);
}
body.tpl-modern a#reservationBtn:hover {
    background: color-mix(in srgb, var(--color-primary) 82%, #000) !important;
    color: #fff !important;
}
body.tpl-modern a[data-track-type="reservation"],
body.tpl-modern form[action="/rezervasyon"] .rgf-search-submit {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 8px 18px rgba(var(--color-primary-rgb), .28);
}
body.tpl-modern a[data-track-type="reservation"]:hover,
body.tpl-modern form[action="/rezervasyon"] .rgf-search-submit:hover {
    background: color-mix(in srgb, var(--color-primary) 82%, #000) !important;
    color: #fff !important;
    border-color: color-mix(in srgb, var(--color-primary) 82%, #000) !important;
    filter: none;
}
.rgf-btn-outline {
    background: #fff;
    border: 1.5px solid var(--m-accent);
    color: var(--m-accent);
}
.rgf-btn-outline:hover { border-color: var(--m-accent); color: var(--m-accent); background: #fff; }
.rgf-btn-ghost {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.42);
    color: #fff;
    backdrop-filter: blur(8px);
}
.rgf-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.14); }
.rgf-btn-wa {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    color: #fff;
}
.rgf-btn-wa:hover { color: #fff; filter: brightness(1.05); }
.rgf-btn-round {
    width: 42px; height: 42px; padding: 0;
    border-radius: 12px;
    border: 1px solid var(--m-border);
    background: #fff;
    color: var(--m-muted);
    display: inline-flex; align-items: center; justify-content: center;
}
.rgf-btn-round:hover { border-color: var(--m-accent); color: var(--m-accent); }


.rgf-section { padding: 3.5rem 0; }
.rgf-section-white { background: #fff; }
.rgf-section-head { text-align: center; max-width: 38rem; margin: 0 auto 2rem; }
.rgf-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    color: var(--m-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .5rem;
}
.rgf-section-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    color: var(--m-fg, #0d1b2e);
    margin-bottom: .5rem;
}
.rgf-section-lead { color: var(--m-muted); }

.rgf-car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
@media (min-width: 1024px) { .rgf-car-grid { grid-template-columns: repeat(3, 1fr); } }
.rgf-car-card {
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-xl);
    overflow: visible;
    box-shadow: var(--m-shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.rgf-car-card:hover { transform: translateY(-4px); box-shadow: var(--m-shadow-lg); }
.rgf-car-media {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    background: linear-gradient(180deg, #f3f6fa 0%, #fff 100%);
    overflow: hidden;
}
.rgf-car-media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: .75rem;
    transition: transform .28s ease;
}
.rgf-car-card:hover .rgf-car-media img { transform: scale(1.05); }
.rgf-car-media-empty { display: grid; place-items: center; height: 100%; color: #cbd5e1; font-size: 3rem; }
.rgf-car-badge {
    position: absolute; top: 10px;
    z-index: 2;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}
.rgf-badge-pop { left: 10px; background: var(--m-accent); color: #fff; }
.rgf-badge-disc { right: 10px; background: var(--color-primary); color: #fff; }
.rgf-car-body { padding: .9rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.rgf-car-cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
    color: #4b5563;
}
.rgf-car-name { font-size: 1.1rem; font-weight: 800; color: #1a1a1a; line-height: 1.2; }
.rgf-car-name-link { text-decoration: none; color: inherit; display: block; }
.rgf-car-name-link:hover .rgf-car-name { color: #111827; }
.rgf-car-feat-chips {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 .25rem;
    padding: 0;
}
.rgf-feat-chip {
    display: inline-block;
    padding: 0;
    margin: 0;
    border-radius: 0;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.35;
    white-space: nowrap;
    background: transparent;
    color: #64748b;
    border: 0;
}
.rgf-car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem .8rem;
    list-style: none;
    margin: .35rem 0 .35rem;
    padding: .7rem 0 .5rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.rgf-car-specs li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    min-width: 0;
}
.rgf-car-specs li i {
    color: #374151;
    width: 16px;
    margin-top: .15rem;
    flex-shrink: 0;
    text-align: center;
}
.rgf-car-specs span {
    display: block;
    min-width: 0;
    font-size: .68rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.2;
    letter-spacing: normal;
}
.rgf-car-specs small,
.rgf-car-specs strong {
    display: contents;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
}

body.tpl-modern .rgf-car-pricing,
body.tpl-modern .car-price-section {
    display: block;
    margin-top: .2rem;
    width: 100%;
    overflow: visible;
    position: relative;
    z-index: 2;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
body.tpl-modern .car-price-row,
body.tpl-modern .price-box,
body.tpl-modern .price-box.deposit {
    display: contents;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
body.tpl-modern .rgf-car-pricing {
    margin-top: auto;
    padding-top: 0.35rem;
    border: 0;
    background: none !important;
    box-shadow: none !important;
}
body.tpl-modern .rgf-car-pricing .rgf-price-block {
    
}
body.tpl-modern .rgf-car-pricing [class*="rgf-price-was"] {
    display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap;
}
body.tpl-modern .rgf-car-pricing .rgf-price-strike {
    font-size: 0.72rem; font-weight: 500; color: #9ca3af; opacity: 1; text-decoration: line-through;
}
body.tpl-modern .rgf-car-pricing [class*="rgf-price-disc"] {
    font-size: 0.68rem; font-weight: 600; color: #6b7280; opacity: 1;
}
body.tpl-modern .rgf-car-pricing .rgf-price-main {
    display: flex; align-items: baseline; gap: 0.28rem; flex-wrap: wrap; line-height: 1.05;
}
body.tpl-modern .rgf-car-pricing .rgf-price-amount {
    font-size: 1.55rem; font-weight: 750; letter-spacing: -0.03em; color: #1a1a1a; line-height: 1.05;
}
body.tpl-modern .rgf-car-pricing .rgf-price-unit {
    font-size: 0.8rem; font-weight: 500; color: #6b7280; opacity: 1;
}
body.tpl-modern .rgf-car-pricing .rgf-price-deposit {
    margin: 0;
}
body.tpl-modern .rgf-car-pricing .rgf-price-deposit strong {
    font-weight: 500;
}
.rgf-car-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .5rem;
    margin-top: .55rem;
    width: 100%;
}
.rgf-car-actions-main {
    display: flex;
    width: 100%;
}
.rgf-car-actions-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: .5rem;
    width: 100%;
}
.rgf-car-actions-row > * {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}
.rgf-car-actions [class*="rgf-btn"] {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 44px;
    padding: .55rem .5rem;
    font-size: .78rem;
    border-radius: 10px;
    white-space: nowrap;
    color: #fff !important;
}
.rgf-car-actions [class*="rgf-btn"]:hover {
    transform: translateY(-1px);
}
.rgf-car-actions .rgf-btn-outline {
    background: #fff !important;
    border: 1.5px solid var(--m-accent) !important;
    color: var(--m-accent) !important;
    box-shadow: none !important;
}
.rgf-car-actions .rgf-btn-ink {
    background: var(--m-accent) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--m-accent) 28%, transparent) !important;
}
.rgf-car-actions .rgf-btn-ink:hover {
    filter: brightness(0.94);
    color: #fff !important;
}
.rgf-car-actions .rgf-btn-wa {
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, var(--color-whatsapp-dark) 100%) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--color-whatsapp) 30%, transparent) !important;
}
.rgf-car-actions .rgf-btn-wa:hover {
    background: linear-gradient(135deg, var(--color-whatsapp-dark) 0%, var(--color-whatsapp-darker) 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--color-whatsapp) 40%, transparent) !important;
}
.rgf-car-actions .rgf-btn-primary {
    background: var(--m-accent) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--m-accent) 32%, transparent) !important;
}
.rgf-car-actions .rgf-btn-primary:hover {
    filter: brightness(0.94);
    color: #fff !important;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--m-accent) 40%, transparent) !important;
}

.rgf-fleet-more { text-align: center; margin-top: 2rem; }

.rgf-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) { .rgf-bento { grid-template-columns: repeat(4, 1fr); } }
.rgf-bento-item {
    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
}
.rgf-bento-item strong { display: block; font-size: 1.85rem; font-weight: 900; color: var(--m-fg); line-height: 1; }
.rgf-bento-item span { font-size: .82rem; color: var(--m-muted); }

.rgf-why-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 640px) { .rgf-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rgf-why-grid { grid-template-columns: repeat(3, 1fr); } }
.rgf-why-card {
    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-lg);
    padding: 1.5rem;
    transition: transform .2s, box-shadow .2s;
}
.rgf-why-card:hover { transform: translateY(-3px); box-shadow: var(--m-shadow-card); }
.rgf-why-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(96,165,250,.08));
    color: var(--m-fg);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.rgf-why-card h3 { font-size: 1.05rem; color: var(--m-fg); margin-bottom: .4rem; }
.rgf-why-card p { font-size: .9rem; color: var(--m-muted); }

.rgf-cta {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: var(--m-radius-xl);
    text-align: center;
    background: linear-gradient(120deg, var(--m-primary) 0%, var(--m-primary) 55%, var(--m-accent-2) 100%);
    color: #fff;
}
.rgf-cta h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: .75rem; }
.rgf-cta p { color: rgba(255,255,255,.7); max-width: 44ch; margin: 0 auto 1.5rem; }
.rgf-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }


body.tpl-modern .rgf-footer {
    --ft-fg: color-mix(in srgb, var(--color-background) 82%, transparent);
    --ft-fg-soft: color-mix(in srgb, var(--color-background) 55%, transparent);
    --ft-line: color-mix(in srgb, var(--color-background) 14%, transparent);
    --ft-ink: var(--color-background);
    --ft-panel: color-mix(in srgb, var(--color-text) 94%, #000);
    --ft-panel-2: color-mix(in srgb, var(--color-primary) 18%, #060d16);
    --ft-chip: color-mix(in srgb, var(--color-background) 8%, transparent);
    --ft-chip-hover: color-mix(in srgb, var(--color-primary) 42%, transparent);
    --ft-band-fg: var(--color-background);
    --ft-band-fg-soft: color-mix(in srgb, var(--color-background) 78%, transparent);
    --ft-band-line: color-mix(in srgb, var(--color-background) 28%, transparent);
    --ft-band-hover: color-mix(in srgb, var(--color-text) 12%, transparent);
    --ft-band-phone: var(--color-primary);
    --ft-band-wa: var(--color-whatsapp);
    position: relative;
    margin-top: 0;
    padding: 0 0 1rem;
    color: var(--ft-fg);
    background:
        linear-gradient(180deg, var(--ft-panel) 0%, var(--ft-panel-2) 100%);
    overflow: clip;
}
body.tpl-modern .rgf-footer a {
    color: var(--ft-fg);
    text-decoration: none;
    transition: color .15s ease, background .15s ease, opacity .15s ease;
}
body.tpl-modern .rgf-footer a:hover { color: var(--ft-ink); }


body.tpl-modern .rgf-footer-band {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--color-primary);
    border-bottom: 0;
    box-shadow: none;
    color: var(--ft-band-fg);
}
body.tpl-modern .rgf-footer-band:has(> :nth-child(2)) {
    grid-template-columns: 1fr 1fr;
}
body.tpl-modern .rgf-footer-band-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .18rem;
    min-height: 3.75rem;
    padding: .85rem 1.25rem;
    color: var(--ft-band-fg) !important;
    border: 0;
    background: transparent;
    transition: background .15s ease;
}
body.tpl-modern .rgf-footer-band:has(> :nth-child(2)) .rgf-footer-band-cell + .rgf-footer-band-cell {
    border-left: 1px solid var(--ft-band-line);
}
body.tpl-modern .rgf-footer-band-kicker {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ft-band-fg-soft);
    opacity: 1;
}
body.tpl-modern .rgf-footer-band-main {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.15;
    color: var(--ft-band-fg);
}
body.tpl-modern .rgf-footer-band-main i { font-size: 1rem; color: inherit; }
body.tpl-modern .rgf-footer-band-phone .rgf-footer-band-kicker,
body.tpl-modern .rgf-footer-band-wa .rgf-footer-band-kicker {
    color: var(--ft-band-fg-soft);
}
body.tpl-modern .rgf-footer-band-phone:hover,
body.tpl-modern .rgf-footer-band-wa:hover {
    background: var(--ft-band-hover);
    color: var(--ft-band-fg) !important;
}
body.tpl-modern .rgf-footer-band-wa .rgf-footer-band-main i {
    color: color-mix(in srgb, #fff 55%, var(--color-whatsapp));
}

body.tpl-modern .rgf-footer-inner {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
    padding-top: 1.15rem;
    padding-bottom: .25rem;
}
@media (max-width: 1023px) {
    body.tpl-modern .rgf-footer-inner {
        padding-bottom: .5rem;
    }
}


body.tpl-modern .rgf-footer-strip {
    display: grid;
    gap: 1.15rem 2rem;
    margin-bottom: 1.15rem;
    align-items: start;
}
@media (min-width: 860px) {
    body.tpl-modern .rgf-footer-strip {
        grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
    }
}

body.tpl-modern .rgf-footer-brand { min-width: 0; }
body.tpl-modern .rgf-footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: .45rem;
    max-width: 200px;
}
body.tpl-modern .rgf-footer-logo-img {
    height: 36px;
    max-height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
body.tpl-modern .rgf-footer-tagline {
    font-size: .8rem;
    line-height: 1.4;
    max-width: 28ch;
    margin: 0;
    color: var(--ft-fg-soft);
}
body.tpl-modern .rgf-footer-brand-email {
    display: inline-flex;
    align-items: flex-start;
    gap: .4rem;
    margin-top: .55rem;
    font-size: .78rem;
    line-height: 1.35;
    color: var(--ft-fg-soft);
    max-width: 100%;
}
body.tpl-modern .rgf-footer-brand-email i {
    width: .85rem;
    flex-shrink: 0;
    margin-top: .2rem;
    font-size: .7rem;
    color: color-mix(in srgb, var(--color-primary) 65%, var(--color-background));
}
body.tpl-modern .rgf-footer-brand-email:hover { color: var(--ft-ink); }
body.tpl-modern .rgf-footer-social {
    display: flex;
    gap: .4rem;
    margin-top: .75rem;
}
body.tpl-modern .rgf-footer-social a {
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--ft-ink) !important;
    background: var(--ft-chip);
}
body.tpl-modern .rgf-footer-social a:hover {
    background: var(--ft-chip-hover);
}

body.tpl-modern .rgf-footer-rail {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    min-width: 0;
}


body.tpl-modern .rgf-footer-nav,
body.tpl-modern .rgf-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem .55rem;
    margin: 0;
    padding: 0;
}
body.tpl-modern .rgf-footer-nav a,
body.tpl-modern .rgf-footer-legal a {
    display: inline;
    padding: 0;
    border-radius: 0;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--ft-fg) !important;
    background: transparent;
    white-space: nowrap;
    line-height: 1.55;
}
body.tpl-modern .rgf-footer-nav a:not(:last-child)::after,
body.tpl-modern .rgf-footer-legal a:not(:last-child)::after {
    content: "·";
    margin-left: .55rem;
    color: var(--ft-fg-soft);
    font-weight: 500;
    pointer-events: none;
}
body.tpl-modern .rgf-footer-nav a:hover,
body.tpl-modern .rgf-footer-legal a:hover {
    color: var(--ft-ink) !important;
    background: transparent;
}
body.tpl-modern .rgf-footer-legal {
    padding-top: .35rem;
    border-top: 1px solid var(--ft-line);
}
body.tpl-modern .rgf-footer-legal a {
    font-size: .72rem;
    font-weight: 550;
    color: var(--ft-fg-soft) !important;
}

body.tpl-modern .rgf-footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.1rem;
    margin: .15rem 0 0;
}
body.tpl-modern .rgf-footer-meta > a,
body.tpl-modern .rgf-footer-meta > span {
    display: inline-flex;
    align-items: flex-start;
    gap: .4rem;
    font-size: .78rem;
    line-height: 1.35;
    color: var(--ft-fg-soft);
    max-width: 100%;
}
body.tpl-modern .rgf-footer-meta i {
    width: .85rem;
    flex-shrink: 0;
    margin-top: .2rem;
    font-size: .7rem;
    color: color-mix(in srgb, var(--color-primary) 65%, var(--color-background));
}
body.tpl-modern .rgf-footer-meta > a:hover { color: var(--ft-ink); }


body.tpl-modern .rgf-footer-firma {
    --ff-label: color-mix(in srgb, var(--color-background) 88%, transparent);
    --ff-text: color-mix(in srgb, var(--color-background) 58%, transparent);
    --ff-muted: color-mix(in srgb, var(--color-background) 40%, transparent);
    --ff-line: var(--ft-line);
    --ff-panel: color-mix(in srgb, var(--color-background) 5%, transparent);
    width: 100%;
    margin: 0 0 .85rem;
    padding: .85rem .9rem;
    border: 0;
    border-radius: 8px;
    background: var(--ff-panel);
    box-shadow: none;
    overflow: visible;
}
body.tpl-modern .rgf-footer-firma-head {
    margin: 0 0 0.55rem;
}
body.tpl-modern .rgf-footer-firma h3 {
    margin: 0;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ff-label);
}
body.tpl-modern .rgf-footer-firma-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem 1rem;
    margin: 0;
}
@media (max-width: 860px) {
    body.tpl-modern .rgf-footer-firma-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    body.tpl-modern .rgf-footer-firma-grid { grid-template-columns: 1fr; }
}
body.tpl-modern [class*="rgf-footer-firma-row"] {
    display: grid;
    gap: 0.06rem;
    margin: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
body.tpl-modern [class*="rgf-footer-firma-row--wide"] { grid-column: 1 / -1; }
body.tpl-modern [class*="rgf-footer-firma-row"] dt {
    margin: 0;
    font-size: .62rem;
    font-weight: 700;
    color: var(--ff-label);
}
body.tpl-modern [class*="rgf-footer-firma-row"] dd {
    margin: 0;
    font-size: .76rem;
    line-height: 1.4;
    color: var(--ff-text);
    overflow-wrap: anywhere;
}
body.tpl-modern .rgf-footer-firma-note {
    margin: 0.65rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid var(--ff-line);
    width: 100%;
    max-width: none;
    font-size: .66rem;
    line-height: 1.5;
    color: var(--ff-muted);
}

body.tpl-modern .rgf-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: .45rem 1rem;
    padding: .85rem 0 0;
    border-top: 1px solid var(--ft-line);
    font-size: .74rem;
    color: var(--ft-fg-soft);
}
body.tpl-modern .rgf-footer-bottom p { margin: 0; }
body.tpl-modern .rgf-footer-bottom-slogan {
    max-width: 40ch;
    text-align: right;
}
@media (max-width: 640px) {
    body.tpl-modern .rgf-footer-bottom { flex-direction: column; }
    body.tpl-modern .rgf-footer-bottom-slogan { text-align: left; }
}

[class*="rgf-btn-accent"].rgf-btn-round {
    background: var(--m-accent);
    color: #fff;
    border-color: var(--m-accent);
}
[class*="rgf-btn-accent"].rgf-btn-round:hover {
    filter: brightness(.88);
    color: #fff;
}
[class*="rgf-btn-wa"].rgf-btn-round {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    color: #fff;
    border: none;
}
[class*="rgf-btn-wa"].rgf-btn-round:hover {
    filter: brightness(1.05);
    color: #fff;
}

.rgf-totop {
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px)); right: 18px;
    z-index: 95;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--m-accent);
    color: #fff;
    display: none;
    align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--m-shadow-lg);
}
@media (min-width: 1024px) { .rgf-totop { bottom: 24px; } }

html:has(body.tpl-modern) { overflow-x: clip; max-width: 100%; }

.rgf-page-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    min-width: 0;
}
.rgf-page-split > * { min-width: 0; }
@media (max-width: 900px) {
    
    .rgf-page-split > *:first-child { order: 1; }
    .rgf-page-split > *:last-child { order: -1; }
}
@media (min-width: 901px) {
    .rgf-page-split { grid-template-columns: 1fr 420px; gap: 2rem; }
}
.rgf-page-split-aside { position: static; }
@media (min-width: 901px) {
    .rgf-page-split-aside { position: sticky; top: 90px; }
}

.rgf-cols-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
}
@media (min-width: 640px) {
    .rgf-cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    .rgf-cols-2 { grid-template-columns: 1fr; }
}

.rgf-date-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 480px) {
    .rgf-date-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    .rgf-date-row { grid-template-columns: 1fr; }
}

.rgf-car-detail-img {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 200px;
    height: clamp(200px, 48vw, 380px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f3f6fa 0%, #fff 100%);
    border-radius: var(--m-radius);
    border: 1px solid var(--m-border);
    box-shadow: var(--m-shadow-card);
    margin-bottom: 1.5rem;
}
body.tpl-modern .rgf-car-detail-img img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1rem 1.25rem;
    box-sizing: border-box;
    display: block;
}
@media (min-width: 901px) {
    .rgf-car-detail-img {
        height: min(380px, 42vh);
    }
}

.rgf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-top: 1.75rem;
    padding: 1.5rem;
    background: var(--m-card);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow-card);
    border: 1px solid var(--m-border);
    max-width: 100%;
}
.rgf-filter-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1 1 9rem;
    min-width: 0;
}
.rgf-filter-field label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--m-muted);
}
.rgf-filter-field select,
.rgf-filter-field input {
    padding: .7rem .85rem;
    border-radius: 8px;
    border: 1px solid var(--m-border);
    background: var(--m-bg);
    color: var(--m-fg);
    font-family: inherit;
    font-size: .9rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.rgf-filter-actions { flex-shrink: 0; align-self: flex-end; }
@media (max-width: 479px) {
    .rgf-filter-field { flex: 1 1 100%; }
    .rgf-filter-actions { width: 100%; }
    .rgf-filter-actions [class*="rgf-btn"] { width: 100%; justify-content: center; }
}

@media (max-width: 479px) {
    .rgf-search-row { grid-template-columns: 1fr; }
}

.rgf-filter-tog { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.rgf-filter-btn { display: none; }
@media (max-width: 768px) {
    .rgf-section-head:has(+ .rgf-filter-tog) .rgf-eyebrow,
    .rgf-section-head:has(+ .rgf-filter-tog) .rgf-section-lead { display: none; }
    .rgf-section-head:has(+ .rgf-filter-tog) .rgf-section-title { font-size: 1.2rem; margin: 0 0 .5rem; }
    .rgf-section:has(.rgf-filter-tog) { padding-top: 1rem; padding-bottom: .6rem; }
    .rgf-filter-btn {
        display: flex; align-items: center; justify-content: center; gap: .4rem;
        width: 100%; margin: 0 0 .5rem; padding: .55rem .8rem;
        border: 1px solid var(--m-border,#e5e7eb); border-radius: 10px;
        background: var(--m-card,#fff); font-weight: 700; font-size: .88rem; cursor: pointer;
    }
    .rgf-filter-tog:not(:checked) ~ .rgf-filters { display: none; }
    .rgf-filters { margin-top: 0; padding: .7rem; gap: .45rem; }
    .rgf-filter-field label { display: none; }
    .rgf-filter-actions { display: none; }
}

.rgf-price-box {
    background: var(--m-bg,#f9fafb);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--m-border,#e5e7eb);
}
.rgf-period-seg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-bottom: .85rem;
    padding: 4px;
    gap: 3px;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--m-bg,#f3f4f6);
    box-sizing: border-box;
}
.rgf-period-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    background: transparent;
    margin: 0;
    padding: 0 .35rem;
    min-height: 44px;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--m-muted,#6b7280);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 10px;
    line-height: 1;
}
.rgf-period-btn + .rgf-period-btn { border-left: 0; }
.rgf-period-btn.is-active {
    background: var(--m-accent);
    color: #fff;
    box-shadow: 0 1px 3px rgba(15,23,42,.14);
}
.rgf-period-btn:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 1px; }
@media (max-width: 720px) {
    .rgf-price-box .rgf-period-btn,
    .rgf-cd-price .rgf-period-btn { font-size: .72rem; letter-spacing: 0; min-height: 44px; }
    .rgf-price-now { font-size: clamp(1.4rem, 7vw, 1.85rem); }
}
.rgf-period-dd {
    appearance: auto;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    padding: .28rem .5rem;
    border: 1px solid var(--m-border,#e5e7eb);
    border-radius: 8px;
    background: #fff;
    color: var(--m-fg,#111827);
    max-width: 100%;
    white-space: nowrap;
    cursor: pointer;
}
[data-period-old][hidden],
[data-period-badge][hidden],
.rgf-disc-pill[hidden] { display: none !important; }
.rgf-price-kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--m-muted,#6b7280);
    margin-bottom: .3rem;
}
.rgf-price-old { font-size: .9rem; color: var(--m-muted,#9ca3af); text-decoration: line-through; }
.rgf-price-now { font-size: 2rem; font-weight: 800; color: var(--m-fg); line-height: 1.1; }
.rgf-price-now [data-period-unit] { font-size: .9rem; font-weight: 500; color: var(--m-muted,#6b7280); }
.rgf-disc-pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-top: .1rem;
    padding: .12rem .45rem;
    border-radius: 999px;
    background: rgba(185, 28, 28, .08);
    color: color-mix(in srgb, var(--color-primary) 82%, #000);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.25;
    border: 1px solid rgba(185, 28, 28, .14);
}
.rgf-avail {
    display: flex; align-items: center; gap: .4rem;
    margin-top: .5rem; font-size: .82rem; color: var(--color-whatsapp); font-weight: 600;
}

.rgf-legal-head { padding: 2.2rem 0 1rem; }
.rgf-crumb {
    display: flex; align-items: center; gap: .4rem;
    font-size: .82rem; color: var(--m-muted); margin-bottom: .75rem;
}
.rgf-crumb a:hover { color: var(--m-fg); text-decoration: underline; text-underline-offset: 0.15em; }
.rgf-legal { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
    .rgf-legal { grid-template-columns: 240px 1fr; align-items: start; }
}
.rgf-legal-nav {
    border: 1px solid var(--m-border); border-radius: var(--m-radius, 12px);
    padding: 1.15rem 1rem; background: var(--m-card, #fff);
}
@media (min-width: 900px) { .rgf-legal-nav { position: sticky; top: 88px; } }
.rgf-legal-nav h2 {
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--m-muted); margin-bottom: .7rem;
}
.rgf-legal-nav ul { list-style: none; display: flex; flex-direction: column; gap: .15rem; }
.rgf-legal-nav a {
    display: block; padding: .55rem .7rem; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--m-fg);
}
.rgf-legal-nav a:hover,
.rgf-legal-nav a.is-current { background: var(--m-bg, #f9fafb); color: var(--m-fg); }
.rgf-legal-article {
    border: 1px solid var(--m-border); border-radius: var(--m-radius, 12px);
    background: var(--m-card, #fff); padding: clamp(1.4rem, 3vw, 2.2rem);
    box-shadow: var(--m-shadow-card, 0 2px 12px rgba(0,0,0,.06));
}
.rgf-prose { font-size: .95rem; line-height: 1.8; color: var(--m-fg); }
.rgf-prose p { margin-bottom: .85rem; }
.rgf-legal-empty { color: var(--m-muted); }
.rgf-legal-meta {
    margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--m-border);
    font-size: .8rem; color: var(--m-muted);
}
.rgf-legal-section { padding-bottom: 3.5rem; }

.rgf-period-menu { position: relative; display: inline-block; width: auto; background: transparent; }
.rgf-period-trigger {
    appearance: none; -webkit-appearance: none;
    border: 1px solid #e5e7eb;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .55rem center;
    border-radius: 999px;
    padding: .38rem 1.7rem .38rem .9rem;
    font-size: .8rem; font-weight: 600; color: var(--m-fg, #0d1b2e);
    white-space: nowrap; cursor: pointer; line-height: 1.3;
    box-shadow: none;
    height: auto;
    min-width: 0;
}
body.tpl-modern .rgf-car-pricing .rgf-period-trigger {
    background-color: #fff;
    border: 1px solid #e5e7eb;
}
.rgf-period-panel {
    position: absolute; top: calc(100% + 4px); right: 0;
    min-width: max(100%, 7.6rem);
    width: max-content;
    max-width: min(100%, 12rem);
    background: #fff; border: 1px solid var(--m-border, #e5e7eb); border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
    padding: .28rem; z-index: 40;
}
.rgf-period-panel[hidden] { display: none !important; }
.rgf-period-opt {
    display: block; width: 100%; text-align: left; border: 0; background: transparent;
    padding: .45rem .7rem; border-radius: 8px; font-size: .8rem; font-weight: 600;
    white-space: nowrap; cursor: pointer; color: var(--m-fg, #0d1b2e);
}
.rgf-period-opt:hover,
.rgf-period-opt.is-active { background: #f1f5f9; }


.car-price-block, .rgf-price-block {
    display: block !important; box-sizing: border-box; width: 100%; margin: .15rem 0 .2rem;
    padding: .4rem 0 .15rem !important; border-radius: 0; border: 0 !important;
    background: none !important; box-shadow: none !important; text-align: left;
}
.car-price-split, .rgf-price-split {
    display: flex !important; align-items: center; justify-content: space-between; gap: .65rem 1rem; width: 100%;
}
.car-price-daily, .rgf-price-daily {
    display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-width: 0;
}
.car-price-main, .rgf-price-main { display: flex !important; align-items: baseline; gap: .3rem; flex-wrap: wrap; line-height: 1.05; }
.car-price-amount, .rgf-price-amount {
    font-size: 1.6rem !important; font-weight: 750 !important; letter-spacing: -.035em; line-height: 1.05 !important;
    color: #1a1a1a !important; opacity: 1 !important;
}
.car-price-unit, .rgf-price-unit {
    font-size: .8rem !important; font-weight: 500 !important;
    color: #6b7280 !important; opacity: 1 !important;
}
.car-price-deposit, .rgf-price-deposit {
    display: flex !important; flex-direction: column; align-items: flex-end; gap: .18rem; margin: 0 !important; padding: 0 !important;
    background: none !important; border: 0 !important; text-align: right; flex-shrink: 0; opacity: 1 !important;
    font-size: inherit !important; font-weight: inherit !important;
}
.car-price-deposit-label, .rgf-price-deposit-label {
    display: block !important; font-size: .6875rem !important; font-weight: 700 !important; letter-spacing: .12em !important;
    text-transform: uppercase !important; line-height: 1.2 !important;
    color: #6b7280 !important; opacity: 1 !important;
}
.car-price-deposit-value, .rgf-price-deposit-value {
    display: block !important; font-size: .95rem !important; font-weight: 600 !important; letter-spacing: -.01em; line-height: 1.2 !important;
    color: #4b5563 !important; opacity: 1 !important;
}
.car-price-strike, .rgf-price-strike {
    display: inline; font-size: .72rem; font-weight: 500;
    color: #9ca3af; text-decoration: line-through; margin: 0; opacity: 1;
}
@media (max-width: 380px) {
    .car-price-split, .rgf-price-split { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .car-price-deposit, .rgf-price-deposit { align-items: flex-start; text-align: left; }
}
.car-actions-row, .rgf-car-actions-row { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; }
.car-actions-row > *, .rgf-car-actions-row > * { flex: 1 1 0 !important; min-width: 0 !important; }

