/* ==========================================================================
   SAREXP CORPORATE LOGISTICS STYLE SYSTEM
   ========================================================================== */

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;    /* Slate 900 */
    --text-secondary: #334155;  /* Slate 700 */
    --text-muted: #64748b;     /* Slate 500 */
    --accent-blue: #1e3a8a;    /* Deep Blue "SAR" style */
    --accent-red: #991b1b;     /* Dark Red "EXP" style */
    --cyan: #0ea5e9;           /* Electric Cyan accent */
    --whatsapp-green: #25d366; /* WhatsApp Brand Color */
    --border-color: #cbd5e1;   /* Slate 300 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Recreated Authentic Logo Style */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.logo-sar {
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    position: relative;
}

/* Globe behind the "S" */
.logo-globe-bg {
    position: absolute;
    left: 8px;
    top: -2px;
    width: 28px;
    height: 28px;
    opacity: 0.35;
    z-index: 1;
}

.logo-s-letter {
    position: relative;
    z-index: 2;
}

.logo-exp {
    color: var(--accent-red);
    margin-left: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--accent-blue);
}

/* Dropdown Language Switcher */
.lang-select {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
}

.lang-select:hover {
    border-color: var(--accent-blue);
}

/* Hero Section with Plane Background */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), 
                url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=1600') no-repeat center center/cover;
    padding: 100px 0 120px 0;
    color: #ffffff;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-content p {
    color: #cbd5e1;
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-badge {
    background: #eff6ff;
    color: var(--accent-blue);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Form / Calculator Card */
.hero-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
}

/* Section Controls */
.section {
    padding: 100px 0;
    border-bottom: 1px solid #e2e8f0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
}

/* Steps Grid & Cards */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.step-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.step-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #cbd5e1;
}

.step-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: #eff6ff;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

/* Why Section & Statistics */
.why-section {
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-main);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 6px;
}

/* Contact Area */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    color: var(--accent-blue);
    font-size: 18px;
    margin-top: 4px;
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
}

/* Privacy Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-md);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0;
    font-size: 13px;
    border-top: 1px solid #1e293b;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    color: #64748b;
}

.footer-link {
    cursor: pointer;
}

.footer-link:hover {
    color: #ffffff;
}

/* Map Section & Interactive Embed */
.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-wrapper {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #cbd5e1;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

/* Image Gallery Showcase */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 240px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    padding: 20px;
    color: #ffffff;
}

.gallery-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.gallery-sub {
    font-size: 12px;
    color: #cbd5e1;
}

/* LATAM Hub Cards */
.hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.hub-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.hub-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.hub-flag {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.hub-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.hub-transit {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-top: 4px;
}

/* WhatsApp Floating CTA Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--whatsapp-green);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #1eb956;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.whatsapp-float i {
    font-size: 22px;
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1eb956;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: #ffffff;
}

/* Smooth HTML scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .hero-grid, .why-grid, .contact-grid, .map-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 60px 0;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 13px;
    }
    .header-wrap {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 12px;
    }
    .map-wrapper {
        height: 280px;
    }
}



