/* ============================================
   Mercurio Sur — Transporte Ejecutivo
   Style: Modern Dark + Gold
   ============================================ */
/* ---------- RESET ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
/* ---------- COLORS ---------- */
:root {
    --green: #2d6b42;
    --green-light: #4a9e62;
    --green-dark: #1a4a2e;
    --bg: #ffffff;
    --bg-card: #f8f8f8;
    --bg-card-hover: #f0f0f0;
    --bg-section: #f5f5f5;
    --text: #1a1a1a;
    --text-muted: #666666;
    --border: #e0e0e0;
    --border-accent: rgba(45, 107, 66, 0.2);
}
.gold { color: var(--green); }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
/* ---------- TYPOGRAPHY ---------- */
.section {
    padding: 120px 0;
    position: relative;
}
.section-dark {
    background: var(--bg-section);
}
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(45, 107, 66, 0.1);
    border: 1px solid var(--border-accent);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}
/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green), #1a3a2a);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(45, 107, 66, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 107, 66, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}
.btn-full {
    width: 100%;
    justify-content: center;
}
/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 6px 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-img {
    height: 75px;
    width: auto;
}
.nav-logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--text);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--green);
    background: rgba(45, 107, 66, 0.08);
}
/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(45, 107, 66, 0.1), transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(45, 107, 66, 0.07), transparent 50%),
        linear-gradient(160deg, #f0f7f0 0%, #ffffff 50%, #f8fbf8 100%);
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0) 50%),
        url('../img/van-desert.jpg') center 40% / cover no-repeat;
    opacity: 0.25;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(45, 107, 66, 0.1);
    border: 1px solid var(--border-accent);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 30px;
}
.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 4.2rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-scroll i {
    font-size: 0.9rem;
}
/* ---------- SERVICES ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.service-card:hover::before {
    transform: translateX(100%);
}
.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 107, 66, 0.1);
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--green);
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: rgba(45, 107, 66, 0.2);
    transform: scale(1.05);
}
.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--green), #1a3a2a);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(45, 107, 66, 0.2);
}
.about-content .section-tag {
    margin-bottom: 16px;
}
.about-content .section-title {
    margin-bottom: 24px;
}
.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--green);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* ---------- FLEET ---------- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}
.fleet-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.fleet-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.fleet-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.fleet-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.fleet-card:hover .fleet-img-wrapper img {
    transform: scale(1.05);
}
.fleet-info {
    padding: 24px 28px 28px;
}
.fleet-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.fleet-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-card {
    display: flex;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
}
.contact-card:hover {
    border-color: var(--border-accent);
}
.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 107, 66, 0.1);
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--green);
    flex-shrink: 0;
}
.contact-detail h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.contact-detail a,
.contact-detail p {
    color: var(--text);
    font-size: 0.95rem;
    text-decoration: none;
}
.contact-detail a:hover {
    color: var(--green);
}
/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(45, 107, 66, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}
.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.footer-links ul,
.footer-contact ul {
    list-style: none;
}
.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}
.footer-links ul li a,
.footer-contact ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--green);
}
.footer-contact ul li i {
    width: 18px;
    color: var(--green);
    margin-right: 8px;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
/* ---------- ANIMATIONS ---------- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ---------- RESPONSIVE ---------- */
/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-image {
        order: -1;
    }
    .about-image-badge {
        bottom: -16px;
        right: 16px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-link {
        font-size: 1.1rem;
        padding: 14px 18px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    .fleet-img-wrapper {
        height: 220px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 24px;
    }
    .about-stats {
        gap: 24px;
        justify-content: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-image-badge {
        position: static;
        margin-top: 16px;
        display: inline-flex;
    }
    .hero-scroll {
        display: none;
    }
}
/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .about-image-badge {
        font-size: 0.8rem;
        padding: 12px 18px;
    }
    .nav-logo-text {
        font-size: 1.1rem;
    }
    .nav-logo-img {
        height: 55px;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    z-index: 999;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
}
