/* ESE Transfer - Professional Design System */
:root {
    --primary: #111111;
    --primary-dark: #000000;
    --primary-light: #2a2a2a;
    --accent: #d4a023;
    --accent-light: #f0c14b;
    --text: #2d3436;
    --text-light: #636e72;
    --text-muted: #949ca3;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-alt: #f0f2f5;
    --border: #e2e6ea;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

a { transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* ─── NAVBAR (centered logo) ─── */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: .5rem 0;
    transition: transform .35s ease, box-shadow .3s ease;
    box-shadow: none;
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}
.navbar.nav-hidden {
    transform: translateY(-100%);
}
.navbar .container {
    position: relative;
    min-height: 72px;
}
.navbar .navbar-collapse {
    display: flex !important;
    justify-content: center;
    align-items: center;
}
.navbar-brand-center {
    padding: 0;
    margin: 0 2rem;
    flex-shrink: 0;
    line-height: 1;
    position: relative;
    z-index: 11;
}
.navbar-brand-center img {
    height: 96px;
    width: auto;
    transition: var(--transition);
    margin-top: -12px;
    margin-bottom: -12px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.1));
}
.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .25rem;
}
.navbar-left { margin-left: auto; }
.navbar-right { margin-right: auto; }

/* Language switcher */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: .75rem;
    padding-left: .75rem;
    border-left: 1px solid var(--border);
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 20px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    opacity: .6;
    transition: var(--transition);
}
.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lang-btn:hover, .lang-btn.active {
    opacity: 1;
    transform: scale(1.15);
}
.lang-btn.active { box-shadow: 0 0 0 2px var(--accent); }
.navbar .nav-link {
    color: var(--text) !important;
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .02em;
    padding: .5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
    background: var(--bg-light);
}
.navbar-toggler {
    border: 1px solid var(--border);
    padding: .35rem .6rem;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111111' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── HERO ─── */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 100px 0 40px;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="50" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: cover;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.hero .lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,.85);
    max-width: 640px;
    margin-bottom: 2rem;
}
.hero .badge-accent {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: .8rem;
    padding: .4rem 1rem;
    border-radius: 6px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ─── PAGE HEADER ─── */
.page-header-section {
    background: linear-gradient(160deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 140px 0 60px;
    text-align: center;
}
.page-header-section h1 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: .5rem;
}
.page-header-section .breadcrumb {
    justify-content: center;
    margin: 0;
    padding: 0;
    background: none;
}
.page-header-section .breadcrumb-item a {
    color: var(--accent-light);
    text-decoration: none;
}
.page-header-section .breadcrumb-item a:hover { color: var(--white); }
.page-header-section .breadcrumb-item.active { color: rgba(255,255,255,.7); }
.page-header-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.4);
}
.page-header-section .lead {
    color: rgba(255,255,255,.8);
    font-size: 1.05rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
    background: var(--primary);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: .75rem 1.75rem;
    border-radius: 10px;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,60,94,.25);
}
.btn-accent {
    background: var(--accent);
    border: none;
    color: var(--primary-dark);
    font-weight: 700;
    padding: .75rem 1.75rem;
    border-radius: 10px;
    transition: var(--transition);
}
.btn-accent:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,160,35,.3);
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,.5);
    color: var(--white);
    font-weight: 600;
    padding: .7rem 1.75rem;
    border-radius: 10px;
    background: transparent;
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    padding: .75rem 1.75rem;
    border-radius: 10px;
    border: none;
}
.btn-whatsapp:hover {
    background: #1fb855;
    color: #fff;
    transform: translateY(-2px);
}

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section-alt { padding: 80px 0; background: var(--bg-light); }
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 48px; height: 3px;
    background: var(--accent);
    border-radius: 3px;
}
.section-title p {
    color: var(--text-light);
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 1rem;
}

/* ─── CARDS ─── */
.card-ese {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.card-ese:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.card-ese .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.card-ese .card-body { padding: 1.75rem; }
.card-ese .card-title {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}
.card-ese .card-text {
    color: var(--text-light);
    font-size: .925rem;
    line-height: 1.7;
}

/* Service card (homepage) */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px;
    background: var(--accent);
    border-radius: 0 0 4px 4px;
    transition: var(--transition);
}
.service-card:hover::before { width: 100%; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card .service-icon {
    width: 72px; height: 72px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: .6rem;
}
.service-card p {
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
.service-card .service-link:hover {
    color: var(--primary);
    gap: .6rem;
}

/* Generic card icon (used elsewhere) */
.card-ese .card-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}
.card-ese:hover .card-icon {
    background: var(--primary);
    color: var(--white);
}

/* Feature list inside cards */
.feature-list {
    list-style: none;
    padding: 0;
    margin: .75rem 0 0;
}
.feature-list li {
    padding: .3rem 0;
    font-size: .9rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.feature-list li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ─── PROMO BOX (hero) ─── */
.promo-box {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}
.promo-box .promo-title {
    font-weight: 700;
    font-size: .875rem;
    text-transform: uppercase;
    color: var(--accent-light);
    letter-spacing: .03em;
    margin-bottom: .75rem;
}
.promo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .4rem;
}
.promo-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: rgba(255,255,255,.9);
}
.promo-list li i {
    color: var(--accent-light);
    font-size: .8rem;
    flex-shrink: 0;
}

/* ─── VEHICLE CARDS ─── */
.vehicle-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.vehicle-card .card-img-top {
    height: 220px;
    object-fit: cover;
}
.vehicle-card .card-body {
    padding: 1.1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.vehicle-card .card-title {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.35;
}
.vehicle-card .card-text {
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: .35rem;
    color: var(--text-light);
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}
.vehicle-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: .28rem .6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
}
.vehicle-badge i { color: var(--accent); font-size: .75rem; }

/* ─── PRICING TABLE ─── */
.price-table {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.price-table-header {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    text-align: center;
}
.price-table-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
}
.price-table table {
    width: 100%;
    margin: 0;
}
.price-table table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-light);
    padding: .75rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.price-table table td {
    padding: .75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: .925rem;
}
.price-table table tr:last-child td { border-bottom: none; }
.price-table table tr:hover td { background: var(--bg-light); }
.price-value {
    font-weight: 700;
    color: var(--primary);
}

/* ─── INFO BOX ─── */
.info-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
}
.info-box p { margin: 0; color: var(--text-light); font-size: .9rem; }
.info-box i { color: var(--accent); }

/* ─── CONTACT ─── */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-item label {
    display: block;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: 500;
}
.contact-info-item a,
.contact-info-item span {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}
.contact-info-item a:hover { color: var(--primary); }

/* ─── FORM INPUTS ─── */
.form-control {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .65rem 1rem;
    font-size: .925rem;
    color: var(--text);
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,60,94,.1);
}

/* ─── CTA ─── */
.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 { color: var(--white); font-size: 1.75rem; margin-bottom: .5rem; }
.cta-section p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }

/* ─── FOOTER ─── */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.7);
    padding: 48px 0 24px;
}
.site-footer h6 {
    color: var(--white);
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}
.site-footer a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .875rem;
    display: block;
    padding: .2rem 0;
}
.site-footer a:hover { color: var(--accent-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 2rem;
    padding-top: 1.25rem;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.45);
}

/* ─── FLOATING BUTTONS ─── */
.floating-btn {
    position: fixed;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
}
.floating-btn:hover { transform: scale(1.1); }
.floating-whatsapp {
    bottom: 24px; right: 24px;
    background: #25d366; color: #fff;
}
.floating-whatsapp:hover { color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.floating-call {
    bottom: 88px; right: 24px;
    background: var(--primary); color: #fff;
}
.floating-call:hover { color: #fff; box-shadow: 0 8px 24px rgba(26,60,94,.35); }

/* ─── MAP ─── */
.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ─── RESPONSIVE ─── */
@media (min-width: 992px) {
    .promo-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
    .navbar {
        padding: .35rem 0;
    }
    .navbar .container {
        min-height: 84px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .navbar .navbar-collapse {
        display: none !important;
        flex-direction: column;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: .75rem;
        margin-top: 0;
        box-shadow: var(--shadow);
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        z-index: 1001;
        align-items: stretch;
    }
    .navbar .navbar-collapse.show {
        display: flex !important;
    }
    .navbar-brand-center {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 1002;
        max-width: calc(100% - 68px);
    }
    .navbar-brand-center img {
        height: 72px;
        margin-top: 0;
        margin-bottom: 0;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    .navbar-toggler {
        right: 12px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    .navbar-left,
    .navbar-right {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }
    .navbar-left .nav-item,
    .navbar-right .nav-item { width: 100%; }
    .navbar-left .nav-link,
    .navbar-right .nav-link { width: 100%; }
    .navbar-right {
        margin-top: .35rem;
        padding-top: .35rem;
        border-top: 1px solid var(--border);
    }
    .nav-lang {
        width: 100%;
        border-left: 0;
        padding-left: 0;
        margin-left: 0;
        justify-content: flex-start;
    }
    .hero { min-height: 100vh; min-height: 100dvh; padding: 118px 0 40px; }
    .hero h1 { font-size: 2rem; }
    .hero .badge-accent {
        font-size: .75rem;
        padding: .36rem .85rem;
        margin-bottom: .9rem;
    }
}
@media (max-width: 576px) {
    .hero h1 { font-size: 1.625rem; }
    .hero .lead { font-size: 1rem; }
    .section, .section-alt { padding: 56px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .page-header-section { padding: 100px 0 40px; }
    .page-header-section h1 { font-size: 1.75rem; }
    .vehicle-card .card-img-top { height: 190px; }
    .vehicle-card .card-body { padding: .95rem .9rem .9rem; }
    .vehicle-card .card-title { font-size: 1rem; }
    .vehicle-card .card-text {
        font-size: .86rem;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        min-height: 3.1em;
    }
}
