/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TOP BAR ===== */
.topbar {
    background: #0D2137;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar strong {
    color: #f0c040;
}

.topbar-links {
    display: flex;
    gap: 20px;
}

.topbar-links a {
    color: #94a3b8;
    font-size: 0.8rem;
}

.topbar-links a:hover {
    color: #f0c040;
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e8ecf1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #0D2137;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #64748b;
    display: block;
}

.nav { flex: 1; }

.nav-list {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.nav-list a {
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-list a:hover {
    color: #1a3a6b;
    background: #f1f5f9;
}

.header-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #1a3a6b;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-primary {
    background: #1a3a6b;
    color: #fff;
    border-color: #1a3a6b;
}

.btn-primary:hover {
    background: #0D2137;
    border-color: #0D2137;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,33,55,0.3);
}

.btn-accent {
    background: #f0c040;
    color: #0D2137;
    border-color: #f0c040;
    font-weight: 700;
}

.btn-accent:hover {
    background: #e5b530;
    border-color: #e5b530;
}

.btn-outline {
    background: transparent;
    color: #1a3a6b;
    border-color: #1a3a6b;
}

.btn-outline:hover {
    background: #1a3a6b;
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(160deg, #0D2137 0%, #1a3a6b 40%, #2c5aa0 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(240,192,64,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44,90,160,0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-badge {
    display: inline-block;
    background: rgba(240,192,64,0.15);
    color: #f0c040;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(240,192,64,0.3);
}

.hero-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-text p {
    font-size: 1.1rem;
    color: #b0bec5;
    max-width: 550px;
    margin: 0 auto;
}

/* ===== SEARCH BOX ===== */
.search-box {
    background: #fff;
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

.search-box h3 {
    color: #1a3a6b;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.search-field {
    flex: 1;
}

.search-field-sm {
    flex: 0.7;
}

.search-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-field .optional {
    text-transform: none;
    font-weight: 400;
    color: #94a3b8;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon svg {
    position: absolute;
    left: 14px;
    pointer-events: none;
    z-index: 1;
}

.input-icon input,
.input-icon select {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-icon input:focus,
.input-icon select:focus {
    outline: none;
    border-color: #1a3a6b;
    box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
    background: #fff;
}

.swap-btn {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.swap-btn:hover {
    background: #e2e8f0;
    border-color: #1a3a6b;
}

.btn-search {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    background: rgba(13,33,55,0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.trust-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 500;
}

/* ===== SECTION DEFAULTS ===== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0D2137;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-header .section-title {
    margin-bottom: 4px;
}

.section-header .section-subtitle {
    margin-bottom: 0;
}

/* ===== OFFERS ===== */
.offers {
    padding: 80px 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.offer-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 24px 20px;
    position: relative;
    transition: all 0.3s;
}

.offer-card:hover {
    border-color: #1a3a6b;
    box-shadow: 0 8px 30px rgba(13,33,55,0.1);
    transform: translateY(-4px);
}

.offer-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #27ae60;
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-badge.hot {
    background: #e74c3c;
}

.offer-route {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 12px;
}

.offer-city {
    font-weight: 700;
    color: #0D2137;
    font-size: 0.92rem;
}

.offer-details {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.offer-class,
.offer-duration {
    font-size: 0.78rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}

.offer-price {
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
}

.price-label {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a3a6b;
}

.price-value small {
    font-size: 1rem;
}

.offers-disclaimer {
    margin-top: 24px;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
}

/* ===== CLASSES ===== */
.classes {
    padding: 80px 0;
    background: #f8fafc;
}

.classes .section-title,
.classes .section-subtitle {
    text-align: center;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.class-card {
    background: #fff;
    border: 2px solid #e8ecf1;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.class-card:hover {
    border-color: #1a3a6b;
    box-shadow: 0 12px 40px rgba(13,33,55,0.08);
}

.class-card.featured {
    border-color: #f0c040;
    box-shadow: 0 12px 40px rgba(240,192,64,0.15);
}

.class-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #f0c040;
    color: #0D2137;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.class-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.class-icon.convencional { background: #e8f4f8; color: #0D2137; }
.class-icon.executivo { background: #fef3cd; color: #0D2137; }
.class-icon.leito { background: #e8ecf1; color: #0D2137; }

.class-card h3 {
    font-size: 1.3rem;
    color: #0D2137;
    margin-bottom: 16px;
}

.class-card ul {
    text-align: left;
    margin-bottom: 20px;
}

.class-card ul li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.class-card ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #27ae60;
    flex-shrink: 0;
}

.class-card ul li:last-child {
    border-bottom: none;
}

.class-price {
    display: inline-block;
    background: #f1f5f9;
    color: #1a3a6b;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== ROUTES ===== */
.routes {
    padding: 80px 0;
}

.routes .section-title,
.routes .section-subtitle {
    text-align: center;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.route-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border: 2px solid #e8ecf1;
    border-radius: 14px;
    transition: all 0.25s;
    cursor: pointer;
}

.route-card:hover {
    border-color: #1a3a6b;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13,33,55,0.08);
}

.route-from,
.route-to {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0D2137;
}

.route-arrow {
    flex-shrink: 0;
}

/* ===== APP SECTION ===== */
.app-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #0D2137 0%, #1a3a6b 100%);
    color: #fff;
    overflow: hidden;
}

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

.app-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.app-text p {
    color: #b0bec5;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.app-features {
    list-style: none;
    margin-bottom: 32px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 12px;
    color: #fff;
    transition: all 0.2s;
}

.store-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.store-btn small {
    font-size: 0.7rem;
    display: block;
    color: #94a3b8;
}

.store-btn strong {
    font-size: 1rem;
    display: block;
}

/* PHONE MOCKUP */
.app-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 260px;
    height: 460px;
    background: #000;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a3a6b 0%, #2c5aa0 100%);
    border-radius: 26px;
    padding: 40px 16px 16px;
    overflow: hidden;
}

.mock-header {
    color: #f0c040;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.mock-search {
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.mock-field {
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    margin-bottom: 10px;
}

.mock-btn {
    height: 36px;
    background: #f0c040;
    border-radius: 8px;
}

.mock-card {
    height: 80px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 12px;
}

.mock-card.short {
    height: 50px;
}

/* ===== STATS ===== */
.stats-section {
    padding: 60px 0;
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8ecf1;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a3a6b;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 8px;
    color: #64748b;
    font-weight: 500;
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
}

.faq .section-title,
.faq .section-subtitle {
    text-align: center;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item.active {
    border-color: #1a3a6b;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: #0D2137;
}

.faq-question svg {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: #1a3a6b;
}

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

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

.faq-answer p {
    padding: 0 24px 18px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer a {
    color: #1a3a6b;
    font-weight: 600;
}

/* ===== ABOUT ===== */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text p {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}

.about-data h3 {
    color: #0D2137;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.company-info {
    background: #fff;
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid #e8ecf1;
}

.company-info li {
    padding: 10px 0;
    font-size: 0.92rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.company-info li:last-child {
    border-bottom: none;
}

.company-info li strong {
    color: #0D2137;
}

/* ===== CONTACT ===== */
.contact {
    padding: 80px 0;
}

.contact .section-title,
.contact .section-subtitle {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e8ecf1;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: #1a3a6b;
    box-shadow: 0 8px 30px rgba(13,33,55,0.06);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-card h3 {
    color: #0D2137;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-card p {
    color: #64748b;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.contact-highlight {
    font-size: 1.15rem !important;
    margin-bottom: 4px !important;
}

.contact-highlight a {
    color: #1a3a6b;
    font-weight: 700;
}

.contact-highlight a:hover {
    color: #f0c040;
}

.contact-detail {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
}

/* ===== FOOTER ===== */
.footer {
    background: #0D2137;
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer .logo-text {
    color: #f0c040;
    margin-bottom: 12px;
    display: block;
}

.footer-col p {
    font-size: 0.88rem;
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    transition: all 0.2s;
}

.footer-col ul li a:hover {
    color: #f0c040;
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

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

.footer-social a:hover {
    background: #f0c040;
    color: #0D2137;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods h4 {
    font-size: 0.82rem !important;
    margin-bottom: 10px !important;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-icon {
    background: rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 4px;
}

.footer-regulation {
    font-size: 0.78rem !important;
    color: #475569 !important;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #333;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
    border-top: 1px solid #e8ecf1;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 0.88rem;
    color: #475569;
}

.cookie-content a {
    color: #1a3a6b;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 80px 0;
}

.legal-updated {
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 40px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    color: #0D2137;
    font-size: 1.2rem;
    margin: 35px 0 12px;
    padding-top: 15px;
    border-top: 1px solid #e8ecf1;
}

.legal-content h3:first-child {
    border-top: none;
    margin-top: 0;
}

.legal-content h4 {
    color: #1a3a6b;
    font-size: 1.02rem;
    margin: 20px 0 8px;
}

.legal-content p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-content ul {
    margin: 10px 0 15px 20px;
    list-style: disc;
}

.legal-content ul li {
    color: #475569;
    font-size: 0.92rem;
    margin-bottom: 6px;
    padding-left: 5px;
    line-height: 1.6;
}

.legal-content a {
    color: #1a3a6b;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #f0c040;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 24px;
        gap: 4px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid #e8ecf1;
    }

    .nav-list.active {
        display: flex;
    }

    .header-actions { display: none; }

    .hero { padding: 40px 0 0; }

    .hero-text h2 {
        font-size: 1.9rem;
    }

    .search-box {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .search-row {
        flex-direction: column;
    }

    .swap-btn { align-self: center; }

    .search-field-sm { flex: 1; }

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

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

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

    .app-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-features {
        display: inline-block;
        text-align: left;
    }

    .app-buttons { justify-content: center; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .section-title {
        font-size: 1.6rem;
    }

    .trust-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.5rem;
    }

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

    .stat-card { padding: 20px 12px; }

    .stat-number { font-size: 2.2rem; }

    .phone-frame {
        width: 220px;
        height: 380px;
    }

    .offer-route {
        flex-direction: column;
        gap: 4px;
    }

    .offer-route svg {
        transform: rotate(90deg);
    }
}
