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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Animation Classes */
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.animate-slide-down { animation: slideDown 0.4s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

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

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a1a2e;
    transition: color 0.2s;
}

.logo:hover {
    color: #2563eb;
}

.logo svg {
    width: 28px;
    height: 28px;
    color: #2563eb;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #2563eb;
}

.nav-cta {
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 6px;
}

.nav-cta:hover {
    background: #1d4ed8 !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle .menu-icon {
    display: block;
}

.mobile-toggle .close-icon {
    display: none;
}

.mobile-toggle.active .menu-icon {
    display: none;
}

.mobile-toggle.active .close-icon {
    display: block !important;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: #ffffff;
    padding: 4rem 1.5rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.partner-tag {
    font-size: 0.8rem;
    color: #cbd5e1;
    background: rgba(255,255,255,0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Search Box */
.search-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.search-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1.5rem;
}

.search-tab {
    background: none;
    border: none;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}

.search-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group select,
.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    width: 100%;
    padding: 0.9rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.search-btn:hover {
    background: #1d4ed8;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* Trust Bar */
.trust-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e5e5e5;
    padding: 2rem 1.5rem;
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.trust-label {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Sections */
.section {
    padding: 4rem 1.5rem;
}

.section-alt {
    background: #f8fafc;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Deals Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.deal-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.deal-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.deal-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.deal-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.deal-body {
    padding: 1.25rem;
}

.deal-route {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.deal-airline {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.deal-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.deal-date {
    font-size: 0.85rem;
    color: #4b5563;
}

.deal-price {
    text-align: right;
}

.deal-price-label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
}

.deal-price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

/* Routes */
.routes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.route-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}

.route-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.route-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.route-info span {
    font-size: 0.85rem;
    color: #6b7280;
}

.route-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    white-space: nowrap;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.75rem;
    transition: box-shadow 0.2s;
}

.testimonial-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #f59e0b;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-info p {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2563eb;
    transition: all 0.2s;
}

.faq-item.active .faq-icon {
    background: #2563eb;
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.75rem;
    text-align: center;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #2563eb;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

.cta-center {
    text-align: center;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #22c55e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.whatsapp-cta:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.whatsapp-cta svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: background 0.2s;
}

.social-link:hover {
    background: #2563eb;
    color: #fff;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    text-align: center;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 99;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ============================================
   RESPONSIVE STYLES - Mobile First Approach
   ============================================ */

/* Large Tablets */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-partners {
        justify-content: center;
    }

    .routes-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 99;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }

    .mobile-toggle {
        display: block;
        z-index: 100;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-partners {
        gap: 0.5rem;
    }

    .partner-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.65rem;
    }

    /* Search Box */
    .search-box {
        padding: 1.25rem;
    }

    .search-tabs {
        gap: 1rem;
    }

    .search-tab {
        font-size: 0.85rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .form-group select,
    .form-group input {
        padding: 0.7rem 0.85rem;
        font-size: 0.9rem;
    }

    .search-btn {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    /* Trust Bar */
    .trust-bar {
        padding: 1.5rem 1rem;
    }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .trust-item {
        padding: 0.5rem;
    }

    .trust-icon {
        width: 40px;
        height: 40px;
    }

    .trust-icon svg {
        width: 20px;
        height: 20px;
    }

    .trust-number {
        font-size: 1.25rem;
    }

    .trust-label {
        font-size: 0.75rem;
    }

    /* Sections */
    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* Deals */
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .deal-card {
        border-radius: 8px;
    }

    .deal-image {
        height: 140px;
    }

    .deal-body {
        padding: 1rem;
    }

    .deal-route {
        font-size: 1rem;
    }

    .deal-airline {
        font-size: 0.8rem;
    }

    .deal-price-value {
        font-size: 1.25rem;
    }

    /* Routes */
    .route-card {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .route-info h3 {
        font-size: 0.95rem;
    }

    .route-info span {
        font-size: 0.8rem;
    }

    .route-price {
        font-size: 1rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* FAQ */
    .faq-list {
        gap: 0.6rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        padding: 0 1.25rem 1rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .whatsapp-cta {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }

    /* Floating WhatsApp */
    .floating-whatsapp {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .search-tabs {
        gap: 0.75rem;
    }

    .search-tab {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .trust-inner {
        grid-template-columns: 1fr 1fr;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .deal-image {
        height: 120px;
    }

    .deal-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .deal-price {
        text-align: left;
    }

    .route-card {
        padding: 1rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .search-box {
        padding: 1rem;
    }

    .section {
        padding: 2.5rem 0.75rem;
    }

    .partner-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .search-box {
        max-height: 90vh;
        overflow-y: auto;
    }
}
