﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --brand-navy: #082032;
    --brand-deep: #0b3a53;
    --brand-sea: #0f6a8b;
    --brand-mist: #dff6ff;
    --brand-sand: #fffaf2;
    --brand-amber: #ff9f1c;
    --brand-green: #1f9d7a;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --border-soft: rgba(8, 32, 50, 0.08);
    --text-strong: #102a43;
    --text-soft: #486581;
}

html {
    scroll-padding-top: 88px;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-strong);
    background:
        radial-gradient(circle at top left, rgba(255, 159, 28, 0.15), transparent 28%),
        radial-gradient(circle at top right, rgba(15, 106, 139, 0.12), transparent 32%),
        linear-gradient(180deg, #f8fbfd 0%, #ffffff 18%, #f7fbff 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-text h1,
.section-title,
.home-hero-title {
    font-family: 'Space Grotesk', sans-serif;
}

.top-bar-modern {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-deep));
}

.top-bar-modern .top-bar-right a {
    color: rgba(255, 255, 255, 0.84);
}

.top-bar-modern .top-bar-right a:hover {
    color: #fff;
}

.desktop-only {
    display: inline-flex;
}

.navbar {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
}

.logo-icon {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-sea));
    box-shadow: 0 14px 30px rgba(11, 58, 83, 0.18);
}

.logo-text h1 {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-sea));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span {
    color: var(--text-soft);
    letter-spacing: 0.16em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-sea);
    background: rgba(15, 106, 139, 0.08);
}

.nav-phone,
.btn.btn-primary,
.mobile-cta-primary {
    background: linear-gradient(135deg, var(--brand-amber), #ff7b00) !important;
    color: #fff !important;
    box-shadow: 0 18px 35px rgba(255, 123, 0, 0.22);
}

.btn.btn-outline {
    border: 1px solid rgba(8, 32, 50, 0.1);
    color: var(--brand-navy);
    background: rgba(255, 255, 255, 0.72);
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 42px;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 159, 28, 0.18), transparent 26%),
        radial-gradient(circle at 85% 18%, rgba(15, 106, 139, 0.2), transparent 28%),
        linear-gradient(140deg, rgba(8, 32, 50, 0.98), rgba(11, 58, 83, 0.94) 40%, rgba(17, 101, 129, 0.9) 100%);
    z-index: 0;
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: auto -120px -120px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(4px);
}

.home-hero-grid,
.page-shell-grid,
.search-seo-band-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: center;
}

.hero-side-stack {
    display: grid;
    gap: 18px;
}

.hero-badge-modern,
.search-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.home-hero-title {
    font-size: clamp(2.5rem, 5vw, 5.1rem);
    color: #fff;
    line-height: 0.96;
    letter-spacing: -0.05em;
    max-width: 11ch;
    margin-bottom: 18px;
}

.home-hero-title span {
    color: #b8f3ff;
}

.home-hero-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    max-width: 58ch;
    margin-bottom: 24px;
}

.home-hero-actions {
    margin-bottom: 20px;
}

.hero-inline-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-inline-points span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.search-panel,
.glass-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(7, 34, 51, 0.18);
    backdrop-filter: blur(18px);
}

.hero-visual-board,
.page-media-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 30px 80px rgba(7, 34, 51, 0.18);
    overflow: hidden;
}

.hero-main-image {
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 159, 28, 0.22), transparent 28%),
        linear-gradient(135deg, #effaff, #dff6ff);
    padding: 18px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 35px rgba(8, 32, 50, 0.2));
}

.hero-mini-card {
    position: absolute;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 30px rgba(8, 32, 50, 0.12);
    border: 1px solid rgba(8, 32, 50, 0.06);
}

.hero-mini-card img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.hero-mini-card strong,
.page-media-copy h3 {
    display: block;
    color: var(--brand-navy);
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-mini-card span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

.hero-mini-card:nth-of-type(2) {
    left: -16px;
    bottom: 28px;
    width: min(320px, calc(100% - 32px));
}

.hero-mini-card-dark {
    right: -14px;
    top: 28px;
    width: min(300px, calc(100% - 32px));
    background: rgba(8, 32, 50, 0.92);
}

.hero-mini-card-dark strong,
.hero-mini-card-dark span {
    color: #fff;
}

.page-media-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
    margin-bottom: 16px;
}

.page-media-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.page-media-copy {
    padding: 4px 2px 0;
}

.search-panel-top h3,
.glass-panel h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--brand-navy);
}

.search-panel-top p,
.search-panel-note,
.glass-panel p,
.page-lead,
.about-list li,
.route-card p,
.metric-card span,
.modern-contact-card p,
.footer-modern p {
    color: var(--text-soft);
}

.search-input-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(8, 32, 50, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    margin: 18px 0 16px;
}

.search-input-shell svg {
    width: 22px;
    height: 22px;
    fill: var(--brand-sea);
    flex: 0 0 auto;
}

.search-input-shell input {
    border: 0;
    outline: 0;
    width: 100%;
    font: inherit;
    color: var(--text-strong);
    background: transparent;
}

.quick-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.quick-chip {
    border: 0;
    border-radius: 999px;
    background: rgba(15, 106, 139, 0.08);
    color: var(--brand-sea);
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-chip:hover {
    transform: translateY(-1px);
    background: rgba(15, 106, 139, 0.14);
}

.search-results {
    display: grid;
    gap: 10px;
}

.search-result-card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(223, 246, 255, 0.5);
    border: 1px solid rgba(15, 106, 139, 0.08);
    text-decoration: none;
}

.search-result-card strong {
    color: var(--brand-navy);
    font-size: 1rem;
}

.search-result-card span {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 106, 139, 0.12);
}

.search-empty {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(8, 32, 50, 0.05);
    color: var(--text-soft);
}

.metric-strip,
.route-hub,
.search-seo-band,
.page-shell {
    padding: 32px 0 18px;
}

.metric-strip-grid,
.route-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.metric-card,
.route-card,
.modern-contact-card {
    padding: 22px;
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 44px rgba(16, 42, 67, 0.08);
}

.metric-card strong,
.route-card h3,
.modern-contact-card h4 {
    display: block;
    font-size: 1.2rem;
    color: var(--brand-navy);
    margin-bottom: 6px;
}

.route-card {
    min-height: 180px;
}

.route-card-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(8, 32, 50, 0.96), rgba(15, 106, 139, 0.92));
}

.route-card-featured h3,
.route-card-featured p {
    color: #fff;
}

.route-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.services-modern {
    background: transparent;
}

.services-grid-modern {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid-modern .service-card {
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(16, 42, 67, 0.08);
}

.services-grid-modern .service-card a {
    color: var(--brand-sea);
    font-weight: 800;
}

.search-seo-band {
    padding: 42px 0;
}

.page-shell-soft {
    padding-top: 56px;
}

.page-shell .section-title,
.search-seo-band .section-title {
    margin-bottom: 12px;
}

.about-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.about-list li {
    position: relative;
    padding-left: 22px;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-amber);
}

.contact-modern {
    padding-top: 20px;
    padding-bottom: 100px;
}

.modern-contact-card a {
    color: var(--brand-navy);
    font-weight: 800;
    font-size: 1.18rem;
}

.footer-modern {
    background: linear-gradient(180deg, #081b29, #07131d);
}

.footer-modern .footer-grid {
    gap: 28px;
}

.footer-modern a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-modern a:hover {
    color: #fff;
}

.mobile-cta-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1200;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(8, 32, 50, 0.92);
    box-shadow: 0 20px 40px rgba(8, 32, 50, 0.24);
    backdrop-filter: blur(12px);
}

.mobile-cta-bar a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
    font-size: 0.94rem;
    background: rgba(255, 255, 255, 0.08);
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .home-hero-grid,
    .page-shell-grid,
    .search-seo-band-grid,
    .metric-strip-grid,
    .route-grid,
    .services-grid-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .route-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .desktop-only,
    .top-bar-left {
        display: none;
    }

    .top-bar-modern .container {
        justify-content: center;
    }

    .navbar .container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .home-hero {
        padding-top: 36px;
    }

    .home-hero-grid,
    .page-shell-grid,
    .search-seo-band-grid,
    .metric-strip-grid,
    .route-grid,
    .services-grid-modern,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero-title {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
        max-width: none;
    }

    .search-panel,
    .glass-panel,
    .hero-visual-board,
    .page-media-card,
    .metric-card,
    .route-card,
    .modern-contact-card,
    .services-grid-modern .service-card {
        border-radius: 22px;
        padding: 20px;
    }

    .hero-main-image {
        min-height: 240px;
    }

    .hero-main-image img {
        max-height: 210px;
    }

    .hero-mini-card,
    .hero-mini-card:nth-of-type(2),
    .hero-mini-card.hero-mini-card-dark {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    .page-media-grid {
        grid-template-columns: 1fr;
    }

    .page-media-grid img {
        height: 190px;
    }

    .route-card-featured {
        grid-column: span 1;
    }

    .hero-inline-points {
        gap: 8px;
    }

    .hero-inline-points span,
    .quick-chip {
        font-size: 0.88rem;
    }

    .nav-phone {
        display: none !important;
    }

    .mobile-cta-bar {
        display: grid;
    }

    body {
        padding-bottom: 94px;
    }
}
