:root {
    --primary: #1e3a8a; /* Navy blue */
    --primary-light: rgba(30, 58, 138, 0.05);
    --secondary: #f97316; /* International Orange */
    --secondary-hover: #ea580c;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.promo-bar {
    background: linear-gradient(90deg, #ea580c, #f97316, #f97316, #ea580c);
    color: white;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    width: 100%;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-title);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.btn-dark {
    background-color: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #1e40af;
}

/* Hero Section */
.hero {
    background-color: var(--white);
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(249, 115, 22, 0.08);
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 900px) {
    .hero-buttons {
        justify-content: center;
    }
}

.hero-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    object-fit: cover;
    max-height: 450px;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-grey {
    background-color: #f1f5f9;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Tracking tool card */
.track-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.track-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .track-input-group {
        flex-direction: column;
    }
}

.track-input {
    flex-grow: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1.05rem;
    outline: none;
    transition: var(--transition);
}

.track-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}

.track-btn {
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.track-btn:hover {
    background-color: #1e40af;
}

/* Tracking Result Timeline styles */
.track-results {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: none;
}

.track-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.status-badge.in-transit {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    border: 1px solid rgba(30, 58, 138, 0.2);
}

.status-badge.held {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.ready {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.timeline {
    position: relative;
    padding-left: 2.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 9px;
    width: 2px;
    height: 90%;
    background-color: var(--border);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-item.active .timeline-dot {
    border-color: var(--primary);
    background-color: var(--primary);
}

.timeline-item.alert .timeline-dot {
    border-color: var(--danger);
    background-color: var(--danger);
}

.timeline-item.completed .timeline-dot {
    border-color: var(--success);
    background-color: var(--success);
}

.timeline-title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.15rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text);
}

/* Cotizador Section */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.form-group select, .form-group input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group select:focus, .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}

.calc-results {
    background-color: var(--primary-light);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid rgba(30, 58, 138, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-results-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.calc-row span:first-child {
    color: var(--text-muted);
}

.calc-row span:last-child {
    font-weight: 600;
}

.calc-row.total {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 850;
    color: var(--primary);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.shipping-badge {
    background-color: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--secondary-hover);
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

/* Shipping locker form section */
.locker-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.locker-box h3 {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.locker-box p {
    color: #93c5fd;
    margin-bottom: 2.5rem;
}

.locker-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .locker-form {
        grid-template-columns: 1fr;
    }
}

.locker-full {
    grid-column: 1 / -1;
}

.locker-form label {
    color: #93c5fd;
}

.locker-form input, .locker-form select, .locker-form textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.locker-form input:focus, .locker-form select:focus, .locker-form textarea:focus {
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Chat Widget Operations */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    transition: var(--transition);
}

.chat-btn:hover {
    transform: scale(1.05);
    background-color: var(--secondary-hover);
}

.chat-box {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 340px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-family: var(--font-title);
    font-size: 1rem;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.25rem;
}

.chat-messages {
    padding: 1.25rem;
    height: 250px;
    overflow-y: auto;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.msg {
    max-width: 85%;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.4;
}

.msg-bot {
    background-color: var(--white);
    color: var(--text);
    align-self: flex-start;
    border: 1px solid var(--border);
}

.msg-user {
    background-color: var(--secondary);
    color: var(--white);
    align-self: flex-end;
}

.chat-options {
    padding: 0.75rem;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.chat-opt {
    background-color: var(--light);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.chat-opt:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: scale(0.95);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--secondary-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-align: left;
}

/* Footer */
footer {
    background-color: #0c152a;
    color: #64748b;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-title);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary);
}

/* Visual Stepper Quick Guide */
.stepper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 900px) {
    .stepper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .stepper-grid {
        grid-template-columns: 1fr;
    }
}
.step-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.2rem 1.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.08);
    border-color: var(--secondary);
}
.step-number {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(249, 115, 22, 0.15);
}
.step-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}
.step-card:hover .step-icon {
    background-color: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}
.step-card h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

