/* ========================================
   LANDAR EXPRESS - PROFESSIONAL DESIGN
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Professional Blues */
    --primary-navy: #0a2540;
    --primary-blue: #1e3a5f;
    --primary-dark: #162d4a;

    /* Accent Colors - Trust & Security */
    --accent-teal: #00d4aa;
    --accent-cyan: #00b8d4;
    --accent-blue: #0091ea;

    /* Neutrals */
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --bg-gray: #e8ecf1;
    --text-dark: #1a2332;
    --text-gray: #4a5568;
    --text-light: #718096;
    --border-color: #d1dae6;

    /* Status Colors */
    --status-pending: #ff9800;
    --status-process: #2196f3;
    --status-transit: #9c27b0;
    --status-delivered: #4caf50;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 8px 24px rgba(10, 37, 64, 0.15);
    --shadow-xl: 0 12px 40px rgba(10, 37, 64, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-cyan) 100%);
    --gradient-hero: linear-gradient(135deg, #0a2540 0%, #1e3a5f 50%, #00517a 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* ========================================
   NAVIGATION
   ======================================== */
.main-nav {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo-link {
    display: block;
    text-decoration: none;
}

.nav-logo {
    height: 50px;
    width: auto;
    display: block;
}

/* Footer Logo adjustments */
.footer-logo-img {
    height: 40px;
    /* Slightly smaller in footer */
    width: auto;
    filter: brightness(0) invert(1);
    /* Make it white for dark background */
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-navy);
    background: var(--bg-light);
}

.nav-link.active {
    color: var(--primary-navy);
    font-weight: 600;
}

.nav-link.nav-cta {
    background: var(--gradient-accent);
    color: white;
    font-weight: 600;
    padding: 10px 24px;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 30px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 184, 212, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 1.3rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-primary {
    background: white;
    color: var(--primary-navy);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ========================================
   SECTIONS
   ======================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.services-section,
.coverage-section,
.trust-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-teal);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card.featured .service-title {
    color: white;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-gray);
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-gray);
    border-top: 1px solid var(--bg-gray);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.95);
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   COVERAGE SECTION
   ======================================== */
.coverage-section {
    background: var(--bg-white);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.coverage-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.coverage-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.coverage-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.country-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.country-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.country-flag {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.country-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.country-info {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    background: var(--gradient-primary);
    color: white;
}

.trust-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.trust-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.trust-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.trust-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.95;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.trust-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-feature-icon {
    font-size: 2.5rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.btn-cta {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-lg);
    font-size: 1.1rem;
    padding: 18px 40px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: var(--primary-navy);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 40px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========================================
   TRACKING PAGE
   ======================================== */
.tracking-page {
    min-height: calc(100vh - 80px);
    background: var(--bg-light);
}

.tracking-header {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 30px;
    text-align: center;
}

.tracking-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.tracking-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.tracking-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.tracking-page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========================================
   TAB SELECTOR
   ======================================== */
.tab-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-gray);
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.tab-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: white;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-option:hover {
    background: var(--bg-light);
}

.tab-option.active {
    background: white;
    border-bottom-color: var(--accent-teal);
}

.tab-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.tab-info {
    text-align: left;
}

.tab-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.tab-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   CONTENT WRAPPER
   ======================================== */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px 80px;
}

.tracking-section {
    display: none;
}

.tracking-section.active {
    display: block;
}

/* ========================================
   SEARCH PANEL
   ======================================== */
.search-panel {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.search-panel h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.panel-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.search-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.input-wrapper input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.btn-consultar {
    padding: 14px 36px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-consultar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-consultar:active {
    transform: translateY(0);
}

.format-hint {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* ========================================
   RESULT PANEL
   ======================================== */
.result-panel {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.result-header {
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.guia-display {
    text-align: center;
    margin-bottom: 25px;
}

.guia-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.guia-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: 'Courier New', monospace;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 20px 0;
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.1);
    color: var(--status-pending);
    border-left: 4px solid var(--status-pending);
}

.status-badge.processing {
    background: rgba(33, 150, 243, 0.1);
    color: var(--status-process);
    border-left: 4px solid var(--status-process);
}

.status-badge.transit {
    background: rgba(156, 39, 176, 0.1);
    color: var(--status-transit);
    border-left: 4px solid var(--status-transit);
}

.status-badge.delivered {
    background: rgba(76, 175, 80, 0.1);
    color: var(--status-delivered);
    border-left: 4px solid var(--status-delivered);
}

.status-icon {
    font-size: 1.5rem;
}

.status-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.status-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.timeline {
    margin: 35px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 45px;
    bottom: -30px;
    width: 2px;
    background: var(--border-color);
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-marker.active {
    background: var(--accent-teal);
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.2);
}

.timeline-marker.inactive {
    background: var(--bg-light);
    color: var(--text-light);
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   INFO PANEL
   ======================================== */
.info-panel {
    margin-top: 30px;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    border-radius: 8px;
}

.info-box.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.info-box h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========================================
   CUSTOM ALERTS
   ======================================== */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.custom-alert.show {
    display: flex;
}

.alert-content {
    background: white;
    border-radius: 16px;
    padding: 35px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideDown 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.alert-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.alert-message {
    flex: 1;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.alert-message strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.alert-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.custom-alert.error .alert-content {
    border-left: 5px solid #f44336;
}

.custom-alert.success .alert-content {
    border-left: 5px solid #4caf50;
}

.custom-alert.warning .alert-content {
    border-left: 5px solid #ff9800;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   TRACKING PAGE - NEW DESIGN
   ======================================== */
.tracking-body {
    background: var(--bg-light);
}

.tracking-hero {
    position: relative;
    background: var(--gradient-primary);
    padding: 80px 30px 120px;
    text-align: center;
    overflow: hidden;
}

.tracking-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 184, 212, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.tracking-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.tracking-hero-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tracking-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.tracking-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.tracking-main {
    padding: 0 30px 80px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.tracking-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Search Card */
.tracking-search-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.search-card-header {
    display: flex;
    gap: 20px;
    padding: 35px;
    background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
}

.search-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.search-icon {
    font-size: 2rem;
}

.search-header-text h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.search-header-text p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.search-card-body {
    padding: 40px 35px;
}

.tracking-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.label-icon {
    font-size: 1.2rem;
}

.input-group {
    display: flex;
    align-items: stretch;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.input-group:focus-within {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.input-prefix {
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: var(--bg-light);
    color: var(--text-gray);
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid var(--border-color);
}

.form-input {
    flex: 1;
    padding: 16px 18px;
    border: none;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
}

.form-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.hint-icon {
    font-size: 1rem;
}

.btn-track {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-track:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-track:active {
    transform: translateY(0);
}

.btn-track .btn-icon {
    font-size: 1.4rem;
}

.search-card-footer {
    padding: 25px 35px;
    background: #f0f9ff;
    border-top: 1px solid var(--border-color);
}

.info-badge {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-badge-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-badge-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.info-badge-text p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* Result Panel */
.tracking-result-panel {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--bg-light);
}

.guia-display {
    margin-bottom: 25px;
}

.guia-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.guia-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.status-badge.pending {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
    color: var(--status-pending);
    border-left: 5px solid var(--status-pending);
}

.status-badge.processing {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
    color: var(--status-process);
    border-left: 5px solid var(--status-process);
}

.status-badge.transit {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(156, 39, 176, 0.05) 100%);
    color: var(--status-transit);
    border-left: 5px solid var(--status-transit);
}

.status-badge.delivered {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    color: var(--status-delivered);
    border-left: 5px solid var(--status-delivered);
}

.status-icon {
    font-size: 2rem;
}

.status-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.status-info p {
    font-size: 1rem;
    opacity: 0.85;
}

.timeline {
    margin: 40px 0;
}

.timeline h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.timeline-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 50px;
    bottom: -35px;
    width: 3px;
    background: linear-gradient(180deg, var(--border-color) 0%, transparent 100%);
}

.timeline-marker {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-marker.active {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 0 0 5px rgba(0, 212, 170, 0.2);
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(0, 212, 170, 0.2);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(0, 212, 170, 0.1);
    }
}

.timeline-marker.inactive {
    background: var(--bg-light);
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.6;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f9ff 100%);
    border-left: 4px solid #2196f3;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.info-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.info-box a {
    color: var(--accent-teal);
    font-weight: 600;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Help Section */
.tracking-help {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.help-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.help-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.help-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.help-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn-help {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-help:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-help span {
    font-size: 1.2rem;
}

.help-features {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.help-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.help-feature-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 184, 212, 0.05) 100%);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.help-feature-item span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 40px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .coverage-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.7rem;
    }

    .brand-icon {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 80vh;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .services-section,
    .coverage-section,
    .trust-section,
    .cta-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-features {
        grid-template-columns: 1fr;
    }

    .tab-selector {
        grid-template-columns: 1fr;
        margin-top: 0;
        border-radius: 0;
    }

    .content-wrapper {
        padding: 30px 20px;
    }

    .search-panel,
    .result-panel {
        padding: 25px;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .btn-consultar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 30px;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .tracking-page-title {
        font-size: 2rem;
    }
}