@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');
:root {
    --ink: #20251f;
    --green: #244638;
    --green-dark: #183629;
    --cream: #f5f2e9;
    --paper: #fbfaf6;
    --orange: #d98b55;
    --muted: #777b72;
    --line: #deded4;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6
}

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

button,
input,
select,
textarea {
    font: inherit
}

.site-header {
    height: 88px;
    padding: 0 7.2%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(32, 37, 31, .09);
    background: var(--paper);
    position: relative;
    z-index: 5
}

.brand {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -1.8px
}

.brand span {
    color: var(--orange)
}

.main-nav {
    display: flex;
    gap: 38px;
    margin-left: 90px;
    font-size: 13px;
    color: #50574f
}

.main-nav a:hover,
.login-link:hover,
.footer-links a:hover {
    color: var(--orange)
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px
}

.login-link {
    font-weight: 600
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    border-radius: 3px;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: .2s
}

.button-dark {
    background: var(--green-dark);
    color: white
}

.button-dark:hover {
    background: #315a45;
    transform: translateY(-1px)
}

.button-small {
    padding: 11px 17px
}

.button-light {
    background: var(--cream);
    color: var(--green-dark)
}

.button-outline {
    border: 1px solid var(--green);
    color: var(--green);
    background: transparent
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 24px
}

.hero {
    min-height: 650px;
    background: var(--cream);
    padding: 82px 7.2% 70px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 5%;
    align-items: center;
    overflow: hidden
}

.hero-copy {
    max-width: 630px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 20px
}

.hero h1,
.page-hero h1 {
    font-size: clamp(48px, 5.4vw, 76px);
    line-height: 1.08;
    letter-spacing: -3px;
    margin: 0 0 24px;
    font-weight: 500
}

.hero h1 em,
.page-hero h1 em,
.steps-intro h2 em,
.faq-heading h2 em {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--green);
    letter-spacing: -2px
}

.hero-description {
    max-width: 490px;
    color: #60665d;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 22px
}

.hero-tags {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.hero-tags span,
.pill {
    font-size: 10px;
    letter-spacing: .3px;
    background: #e8e8dc;
    border-radius: 30px;
    padding: 7px 12px;
    color: #4b5b4d
}

.hero-search-card {
    background: white;
    padding: 13px;
    box-shadow: 0 14px 40px #29372b12;
    max-width: 720px
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
    gap: 7px
}

.search-form label,
.stack-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #60665d;
    padding: 8px 10px
}

.search-form input,
.stack-form input,
.stack-form select,
.stack-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    background: transparent;
    color: var(--ink);
    outline: none;
    font-size: 13px;
    min-width: 0
}

.search-form input:focus,
.stack-form input:focus,
.stack-form textarea:focus {
    border-color: var(--green)
}

.search-form .button {
    white-space: nowrap;
    height: 49px
}

.microcopy {
    font-size: 11px;
    color: #777b72;
    margin-top: 14px
}

.hero-art {
    height: 470px;
    position: relative;
    background: #e7e5d7;
    border-radius: 48% 48% 4px 4px;
    overflow: hidden;
    margin: 0 2% 0 0
}

.hero-art:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 300px;
    background: #c6d0bd;
    border-radius: 50%;
    left: -80px;
    bottom: 45px
}

.hero-art:after {
    content: "";
    position: absolute;
    width: 330px;
    height: 260px;
    background: #d6b994;
    border-radius: 50%;
    right: -95px;
    bottom: 5px
}

.art-sun {
    position: absolute;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #e0a56e;
    top: 58px;
    right: 85px
}

.art-route {
    position: absolute;
    z-index: 2;
    top: 62px;
    left: 48px;
    right: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-dark)
}

.art-route i {
    height: 1px;
    border-top: 1px dashed var(--green);
    flex: 1;
    margin: 0 18px
}

.art-road {
    position: absolute;
    z-index: 1;
    left: -20px;
    right: -20px;
    bottom: 86px;
    height: 130px;
    background: #f6f3e9;
    transform: rotate(-12deg);
    border-top: 2px solid #c9c6b8;
    border-bottom: 2px solid #c9c6b8
}

.art-car {
    position: absolute;
    z-index: 3;
    width: 260px;
    height: 92px;
    background: var(--green);
    border-radius: 65px 75px 25px 25px;
    left: 50%;
    top: 53%;
    transform: translate(-50%, -50%) rotate(-7deg);
    box-shadow: 0 20px 24px #1c332c30
}

.art-car:before {
    content: "";
    position: absolute;
    left: 58px;
    top: -45px;
    width: 145px;
    height: 65px;
    background: #315b48;
    border-radius: 65px 75px 0 0
}

.car-window {
    position: absolute;
    z-index: 2;
    left: 76px;
    top: -34px;
    width: 115px;
    height: 42px;
    background: #d8dfd2;
    border-radius: 45px 48px 0 0
}

.car-wheel {
    position: absolute;
    bottom: -15px;
    width: 42px;
    height: 42px;
    background: #252b27;
    border: 7px solid #aaa99b;
    border-radius: 50%
}

.wheel-one {
    left: 42px
}

.wheel-two {
    right: 42px
}

.art-caption {
    position: absolute;
    z-index: 4;
    bottom: 35px;
    left: 34px;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.35
}

.art-caption strong {
    color: var(--green)
}

.art-stamp {
    position: absolute;
    z-index: 4;
    right: 25px;
    bottom: 30px;
    font-size: 8px;
    letter-spacing: 1.5px;
    text-align: center;
    border: 1px solid #697c6c;
    border-radius: 50%;
    padding: 18px 12px;
    color: var(--green)
}

.intro-strip {
    display: flex;
    justify-content: space-between;
    padding: 22px 7.2%;
    background: var(--green-dark);
    color: #f4f1e7;
    font-size: 10px;
    letter-spacing: 1.6px
}

.intro-strip span:last-child {
    color: #d1d7ca;
    letter-spacing: .3px
}

.section {
    padding: 100px 7.2%
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px
}

.section-heading h2,
.faq-heading h2,
.content-section h2 {
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    font-weight: 500;
    margin: 0
}

.section-heading>p,
.section-subtitle {
    color: var(--muted);
    font-size: 13px
}

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

.route-card {
    min-height: 225px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.route-one {
    background: #e9e4d6
}

.route-two {
    background: #dce4d8
}

.route-three {
    background: #eadfd3
}

.route-number {
    font-size: 11px;
    letter-spacing: 1px
}

.route-province {
    font-size: 11px;
    color: #62695f
}

.route-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 23px
}

.route-line i {
    height: 1px;
    background: #7f8d7d;
    flex: 1;
    position: relative
}

.route-line i:after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green)
}

.route-arrow {
    position: absolute;
    right: 24px;
    top: 22px;
    font-size: 20px;
    color: var(--green)
}

.journeys-section {
    background: #f4f2eb
}

.text-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    border-bottom: 1px solid #9aa99b;
    padding-bottom: 4px
}

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

.journey-card {
    background: white;
    padding: 24px;
    border: 1px solid #e9e8df
}

.journey-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px
}

.journey-card-top strong {
    font-size: 18px;
    color: var(--green)
}

.journey-card-top small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400
}

.journey-route {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 14px
}

.journey-route span {
    color: var(--orange)
}

.journey-card p {
    font-size: 12px;
    color: #62695f
}

.muted {
    color: var(--muted)!important
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    border: 1px dashed #c9cbbf;
    color: var(--muted)
}

.empty-state h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500
}

.empty-state .button {
    margin-top: 12px
}

.steps-section {
    background: var(--green-dark);
    color: #f5f2e9;
    padding: 95px 10%;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 12%
}

.steps-intro .eyebrow {
    color: #c5d0bf
}

.steps-intro h2 {
    font-size: 43px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -1.6px;
    margin: 0 0 20px
}

.steps-intro h2 em {
    color: #d5b18d
}

.steps-intro>p:not(.eyebrow) {
    color: #c7cec4;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 28px
}

.steps-list article {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 25px;
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #ffffff2b
}

.steps-list article:last-child {
    margin-bottom: 0
}

.steps-list article>span {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #c9b28f;
    padding-top: 8px
}

.steps-list h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 7px
}

.steps-list p {
    font-size: 12px;
    color: #c8d0c7;
    margin: 0;
    max-width: 450px;
    line-height: 1.8
}

.faq-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 12%
}

.faq-heading h2 {
    font-size: 45px
}

.faq-heading h2 em {
    color: var(--green)
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 19px;
    display: flex;
    justify-content: space-between;
    gap: 15px
}

.faq-list summary:after {
    content: "+";
    font-family: var(--sans);
    color: var(--green)
}

.faq-list details[open] summary:after {
    content: "−"
}

.faq-list p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 600px;
    margin: 13px 0 3px
}

.site-footer {
    background: #eeece3;
    padding: 50px 7.2% 22px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px
}

.footer-brand {
    font-size: 25px
}

.footer-top p {
    font-size: 12px;
    color: var(--muted)
}

.footer-links {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 11px
}

.footer-bottom {
    border-top: 1px solid #d7d6cc;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #777b72
}

.page-hero {
    background: var(--cream);
    padding: 75px 7.2% 65px
}

.page-hero h1 {
    font-size: 58px
}

.page-hero>p:not(.eyebrow) {
    color: var(--muted);
    max-width: 570px
}

.search-form-page {
    max-width: 1000px;
    background: white;
    padding: 12px;
    margin-top: 35px
}

.results-section {
    padding-top: 65px
}

.auth-wrap {
    padding: 60px 20px 90px;
    display: flex;
    justify-content: center;
    background: #f7f6f0
}

.auth-panel {
    background: white;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border: 1px solid #e9e8df
}

.auth-panel h1 {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 10px
}

.auth-panel>p {
    color: var(--muted);
    font-size: 13px
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px
}

.stack-form label {
    padding: 0;
    font-size: 11px
}

.stack-form .button {
    margin-top: 8px
}

.auth-foot {
    font-size: 12px!important;
    margin-top: 22px
}

.auth-foot a {
    color: var(--green);
    font-weight: 700
}

.alert,
.success {
    padding: 12px 14px;
    background: #f8e9e3;
    color: #8b3d28;
    font-size: 12px;
    margin: 18px 0
}

.success {
    background: #e8f0e5;
    color: #315a45
}

.wide-panel {
    max-width: 680px
}

.form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 24px;
    align-items: start
}

.detail-card {
    padding: 35px
}

.booking-panel {
    background: var(--cream);
    padding: 28px
}

.booking-panel h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 29px
}

.small {
    font-size: 10px
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap
}

.dashboard-section {
    padding-top: 60px
}

.dashboard-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.dashboard-columns h2 {
    font-family: var(--serif);
    font-weight: 500
}

.compact-card {
    margin-bottom: 12px
}

.standalone-steps {
    display: block
}

.standalone-steps .steps-list {
    max-width: 850px;
    margin: auto;
    background: var(--green-dark);
    padding: 55px
}

.content-section {
    max-width: 950px;
    margin: auto
}

.content-section h2 {
    font-size: 28px;
    margin: 30px 0 15px
}

.content-section p,
.content-section li {
    color: #656b62;
    font-size: 14px;
    line-height: 1.9
}

.content-section li {
    margin-bottom: 8px
}

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

.stat-card {
    background: var(--cream);
    padding: 25px
}

.stat-card span {
    display: block;
    font-size: 12px;
    color: var(--muted)
}

.stat-card strong {
    font-size: 35px;
    color: var(--green)
}

.table-wrap {
    overflow: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px
}

th,
td {
    text-align: left;
    padding: 13px;
    border-bottom: 1px solid var(--line)
}

th {
    color: var(--green)
}

@media(max-width:900px) {
    .site-header {
        padding: 0 5%;
        height: 76px
    }
    .main-nav {
        margin-left: 45px;
        gap: 20px
    }
    .hero {
        padding: 65px 5%;
        grid-template-columns: 1fr .85fr;
        gap: 3%
    }
    .hero-art {
        height: 390px
    }
    .section {
        padding: 75px 5%
    }
    .steps-section {
        padding: 75px 6%;
        gap: 7%
    }
    .faq-section {
        gap: 7%
    }
    .route-line {
        font-size: 18px
    }
    .search-form {
        grid-template-columns: 1fr 1fr
    }
    .search-form .button {
        grid-column: span 2
    }
    .site-footer {
        padding-left: 5%;
        padding-right: 5%
    }
}

@media(max-width:650px) {
    .site-header {
        height: 70px
    }
    .brand {
        font-size: 25px
    }
    .menu-toggle {
        display: block;
        margin-left: auto
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 20px 6%;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 15px
    }
    .main-nav.is-open {
        display: flex
    }
    .header-actions {
        margin-left: 18px;
        gap: 12px
    }
    .header-actions .login-link {
        display: none
    }
    .button-small {
        padding: 10px 12px;
        font-size: 11px
    }
    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 58px 6% 35px;
        gap: 35px
    }
    .hero h1 {
        font-size: 53px;
        letter-spacing: -2.5px
    }
    .hero-description {
        font-size: 13px
    }
    .hero-art {
        height: 330px;
        margin: 0 3%
    }
    .art-car {
        transform: translate(-50%, -50%) scale(.8) rotate(-7deg)
    }
    .intro-strip {
        padding: 17px 6%;
        font-size: 8px;
        gap: 15px
    }
    .intro-strip span:last-child {
        text-align: right
    }
    .section {
        padding: 65px 6%
    }
    .section-heading {
        align-items: start;
        gap: 15px;
        flex-direction: column
    }
    .section-heading h2 {
        font-size: 35px
    }
    .route-grid,
    .journey-grid {
        grid-template-columns: 1fr
    }
    .route-card {
        min-height: 190px
    }
    .steps-section {
        display: block;
        padding: 65px 7%
    }
    .steps-intro {
        margin-bottom: 45px
    }
    .steps-intro h2 {
        font-size: 38px
    }
    .steps-list article {
        grid-template-columns: 75px 1fr;
        gap: 15px
    }
    .steps-list h3 {
        font-size: 21px
    }
    .faq-section {
        display: block
    }
    .faq-heading {
        margin-bottom: 35px
    }
    .faq-heading h2 {
        font-size: 39px
    }
    .footer-top {
        display: block
    }
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 25px
    }
    .footer-bottom {
        gap: 12px;
        flex-direction: column
    }
    .page-hero {
        padding: 60px 6% 45px
    }
    .page-hero h1 {
        font-size: 48px
    }
    .search-form,
    .search-form-page {
        grid-template-columns: 1fr
    }
    .search-form .button {
        grid-column: auto
    }
    .search-form label {
        padding: 8px 3px
    }
    .auth-panel {
        padding: 27px 22px
    }
    .form-two,
    .detail-layout,
    .dashboard-columns,
    .stats-grid {
        grid-template-columns: 1fr
    }
    .detail-layout {
        padding-top: 45px
    }
    .dashboard-actions {
        align-items: stretch
    }
    .standalone-steps .steps-list {
        padding: 30px 22px
    }
    .section-heading .text-link {
        align-self: flex-start
    }
}


/* ==========================================================
   TOWNLINK HOMEPAGE REDESIGN - ADDITIVE OVERRIDES
   Original shared page styles above are intentionally kept.
   ========================================================== */


/* HOMEPAGE HERO */

.hero {
    min-height: 680px;
    padding: 75px 7.2%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 45px;
    align-items: center;
    background: var(--cream);
    overflow: visible;
}

.hero-content {
    max-width: 680px;
    min-width: 0;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 25px;
}

.hero-label-dot,
.live-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    flex: 0 0 8px;
    background: #759b72;
    border-radius: 50%;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(48px, 5.2vw, 72px);
    line-height: 1.08;
    letter-spacing: -3px;
    margin: 0 0 24px;
    font-weight: 500;
    color: var(--ink);
}

.hero h1 em,
.page-hero h1 em,
.steps-intro h2 em,
.faq-heading h2 em {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--green);
    letter-spacing: -2px;
}

.hero-description {
    max-width: 510px;
    color: #60665d;
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 22px;
}

.hero-benefits {
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
    margin: 25px 0 32px;
}

.hero-benefits span {
    font-size: 11px;
    color: #505b50;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-benefits i {
    font-style: normal;
    color: var(--green);
    font-weight: 700;
}

.hero-search-card {
    background: #fff;
    padding: 22px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 720px;
}

.search-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
}

.search-heading strong {
    font-size: 13px;
    color: var(--ink);
}

.search-icon {
    color: var(--green);
    font-size: 20px;
    margin-right: 8px;
}

.search-caption {
    font-size: 9px;
    letter-spacing: 1px;
    color: #93998e;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
    gap: 7px;
}

.hero-search-card .search-form {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.search-form label,
.stack-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #60665d;
    padding: 8px 10px;
}

.hero-search-card .search-form label {
    padding: 0;
    gap: 7px;
}

.field-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #727a70;
}

.search-input {
    display: flex;
    align-items: center;
    border: 1px solid #e7e8df;
    border-radius: 5px;
    padding: 0 12px;
    height: 48px;
    gap: 10px;
    transition: border-color .2s ease;
}

.search-input:focus-within {
    border-color: var(--green);
}

.search-input>span {
    color: var(--green);
    font-size: 14px;
}

.search-form input,
.stack-form input,
.stack-form select,
.stack-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    background: transparent;
    color: var(--ink);
    outline: none;
    font-size: 13px;
    min-width: 0;
}

.search-input input {
    border: 0;
    outline: none;
    width: 100%;
    min-width: 0;
    font-size: 12px;
    background: transparent;
    padding: 0;
}

.search-form input:focus,
.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
    border-color: var(--green);
}

.search-form .button {
    white-space: nowrap;
    height: 49px;
}

.hero-search-card .search-button {
    grid-column: span 2;
    width: 100%;
    height: 48px;
    border-radius: 5px;
}

.hero-note {
    margin-top: 18px;
    font-size: 10px;
    color: #777f74;
}

.hero-note span {
    color: var(--orange);
    margin-right: 5px;
}


/* HERO PHOTOGRAPH */

.hero-visual {
    height: 500px;
    min-width: 0;
    position: relative;
    overflow: visible;
    border-radius: 9px;
    background: #dce2d8;
    box-shadow: 0 18px 45px rgba(32, 45, 34, .12);
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 9px;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    border-radius: 9px;
    background: linear-gradient(to top, rgba(15, 37, 26, .82), rgba(15, 37, 26, .05) 65%);
    pointer-events: none;
}

.image-top-tag {
    position: absolute;
    top: 22px;
    left: 22px;
    background: rgba(255, 255, 255, .94);
    padding: 10px 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 700;
}

.hero-image-content {
    position: absolute;
    left: 30px;
    bottom: 50px;
    color: white;
}

.hero-image-content>span {
    font-size: 9px;
    letter-spacing: 2px;
}

.hero-image-content h2 {
    font-family: var(--serif);
    font-size: 39px;
    line-height: 1.2;
    font-weight: 500;
    margin: 12px 0 20px;
}

.hero-image-content a {
    display: inline-block;
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    padding-bottom: 5px;
    font-size: 11px;
    font-weight: 600;
}

.floating-route-card {
    position: absolute;
    bottom: -30px;
    left: -35px;
    width: 285px;
    background: white;
    border-radius: 7px;
    padding: 19px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .13);
    z-index: 2;
}

.floating-route-top {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1px;
    color: #7b8278;
}

.route-icon {
    color: var(--green);
    font-size: 16px;
}

.floating-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
}

.floating-route strong {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
}

.floating-route small {
    display: block;
    font-size: 9px;
    color: #8b9088;
}

.route-connector {
    flex: 1;
    border-top: 1px dashed #9aa89b;
}

.route-card-bottom {
    border-top: 1px solid #eeeeea;
    padding-top: 12px;
    font-size: 9px;
    color: #858b81;
}


/* TRUST STRIP */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px 7.2%;
    background: white;
    border-bottom: 1px solid #eaeae3;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.trust-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf1e9;
    border-radius: 50%;
    color: var(--green);
    font-size: 17px;
}

.trust-item strong,
.trust-item small {
    display: block;
}

.trust-item strong {
    font-size: 11px;
}

.trust-item small {
    color: #858b82;
    font-size: 9px;
}


/* CONTENT SECTIONS */

.section {
    padding: 100px 7.2%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 35px;
}

.section-heading h2,
.faq-heading h2,
.content-section h2 {
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    font-weight: 500;
    margin: 0;
}

.section-heading>p,
.section-subtitle {
    color: var(--muted);
    font-size: 13px;
}

.section-subtitle {
    font-size: 12px;
    margin-top: 12px;
}


/* ROUTE CARDS */

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

.route-card {
    min-height: 235px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 7px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
}

.route-one {
    background: #e9e4d6;
}

.route-two {
    background: #dce4d8;
}

.route-three {
    background: #eadfd3;
}

.route-number {
    font-size: 10px;
    letter-spacing: 1px;
}

.route-province {
    font-size: 9px;
    letter-spacing: 1.2px;
    color: #62695f;
}

.route-arrow {
    position: static;
    font-size: 19px;
    color: var(--green);
}

.route-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-card-content {
    margin-top: 45px;
}

.route-card-content h3 {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    margin: 8px 0;
}

.route-card-content h3 span {
    color: var(--green);
}

.route-card-content p {
    font-size: 10px;
    color: #70786e;
}


/* JOURNEY LISTINGS */

.journeys-section {
    background: #f4f2eb;
}

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

.journey-card {
    background: white;
    padding: 23px;
    border: 1px solid #e9e8df;
    border-radius: 7px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.journey-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
}

.journey-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}

.journey-card-top strong,
.journey-price {
    font-size: 18px;
    color: var(--green);
    font-weight: 700;
}

.journey-card-top small,
.journey-price small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
}

.journey-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--serif);
    font-size: 22px;
    margin: 25px 0;
}

.journey-route>div {
    min-width: 0;
}

.journey-route strong {
    font-size: 19px;
    display: block;
    overflow-wrap: anywhere;
}

.journey-route>span {
    color: var(--orange);
}

.route-small-label {
    font-family: var(--sans);
    display: block;
    font-size: 8px;
    letter-spacing: 1px;
    color: #92978d;
    margin-bottom: 5px;
}

.journey-arrow {
    font-size: 19px;
    color: var(--orange);
}

.journey-details {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    padding: 16px 0;
    border-top: 1px solid #eeeeea;
    border-bottom: 1px solid #eeeeea;
}

.journey-details div {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 10px;
    color: #697267;
}

.journey-details div span {
    color: var(--green);
}

.driver-information {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 17px;
}

.driver-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: #e8eee5;
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.driver-details {
    flex: 1;
    min-width: 0;
}

.driver-details strong,
.driver-details small {
    display: block;
}

.driver-details strong {
    font-size: 10px;
}

.driver-details small {
    font-size: 9px;
    color: #8b9187;
    overflow-wrap: anywhere;
}

.journey-view-button {
    background: var(--green);
    color: white;
    padding: 10px 12px;
    font-size: 10px;
    border-radius: 3px;
    white-space: nowrap;
}

.journey-view-button:hover {
    background: var(--green-dark);
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    border: 1px dashed #c9cbbf;
    color: var(--muted);
    background: rgba(255, 255, 255, .45);
}

.empty-state h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
}

.empty-state .button {
    margin-top: 12px;
}


/* HOW IT WORKS */

.steps-section {
    background: var(--green-dark);
    color: #f5f2e9;
    padding: 95px 10%;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 12%;
}

.steps-intro .eyebrow {
    color: #c5d0bf;
}

.steps-intro h2 {
    font-size: 43px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -1.6px;
    margin: 0 0 20px;
}

.steps-intro h2 em {
    color: #d5b18d;
}

.steps-intro>p:not(.eyebrow) {
    color: #c7cec4;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.steps-list article {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 25px;
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #ffffff2b;
}

.steps-list article:last-child {
    margin-bottom: 0;
}

.steps-list article>span {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d5b18d;
    font-size: 10px;
}

.steps-list h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 7px;
}

.steps-list p {
    font-size: 12px;
    color: #c8d0c7;
    margin: 0;
    max-width: 450px;
    line-height: 1.8;
}


/* FAQ */

.faq-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 12%;
}

.faq-heading h2 {
    font-size: 45px;
}

.faq-heading h2 em {
    color: var(--green);
}

.faq-heading>p:not(.eyebrow) {
    font-size: 12px;
    color: #858b82;
    margin-top: 15px;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 19px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary:after {
    content: "+";
    font-family: var(--sans);
    color: var(--green);
}

.faq-list details[open] summary:after {
    content: "−";
}

.faq-list p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 600px;
    margin: 13px 0 3px;
}


/* FOOTER */

.site-footer {
    background: #eeece3;
    padding: 50px 7.2% 22px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px;
}

.footer-brand {
    font-size: 25px;
}

.footer-top p {
    font-size: 12px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 11px;
}

.footer-bottom {
    border-top: 1px solid #d7d6cc;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #777b72;
}


/* TABLET */

@media (max-width: 1000px) {
    .site-header {
        padding: 0 5%;
    }
    .main-nav {
        margin-left: 45px;
        gap: 20px;
    }
    .hero {
        padding: 60px 5%;
        gap: 30px;
        grid-template-columns: 1fr .9fr;
    }
    .hero-visual {
        height: 430px;
    }
    .floating-route-card {
        left: -15px;
        width: 260px;
    }
    .section {
        padding: 75px 5%;
    }
    .steps-section {
        padding: 75px 6%;
        gap: 7%;
    }
    .faq-section {
        gap: 7%;
    }
    .route-card-content h3 {
        font-size: 20px;
    }
    .site-footer {
        padding-left: 5%;
        padding-right: 5%;
    }
}


/* MOBILE */

@media (max-width: 700px) {
    .site-header {
        height: 70px;
        padding: 0 5%;
    }
    .brand {
        font-size: 25px;
    }
    .menu-toggle {
        display: block;
        margin-left: auto;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 20px 6%;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 15px;
    }
    .main-nav.is-open {
        display: flex;
    }
    .header-actions {
        margin-left: 18px;
        gap: 12px;
    }
    .header-actions .login-link {
        display: none;
    }
    .button-small {
        padding: 10px 12px;
        font-size: 11px;
    }
    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 48px 6% 65px;
        gap: 35px;
    }
    .hero h1 {
        font-size: 49px;
        letter-spacing: -2.5px;
    }
    .hero-description {
        font-size: 13px;
    }
    .hero-benefits {
        gap: 10px;
    }
    .hero-benefits span {
        font-size: 10px;
    }
    .hero-search-card {
        padding: 17px;
    }
    .search-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .search-caption {
        display: none;
    }
    .hero-search-card .search-form {
        grid-template-columns: 1fr;
    }
    .hero-search-card .search-button {
        grid-column: auto;
    }
    .hero-visual {
        width: 100%;
        height: 350px;
        margin-bottom: 25px;
    }
    .hero-image-content {
        left: 20px;
        bottom: 30px;
    }
    .hero-image-content h2 {
        font-size: 30px;
    }
    .floating-route-card {
        width: 245px;
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
    }
    .trust-strip {
        grid-template-columns: 1fr 1fr;
        gap: 23px 12px;
        padding: 30px 6%;
    }
    .trust-item {
        gap: 8px;
    }
    .trust-item strong {
        font-size: 10px;
    }
    .trust-item small {
        font-size: 8px;
    }
    .section {
        padding: 65px 6%;
    }
    .section-heading {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }
    .section-heading h2 {
        font-size: 35px;
    }
    .route-grid,
    .journey-grid {
        grid-template-columns: 1fr;
    }
    .route-card {
        min-height: 200px;
    }
    .steps-section {
        display: block;
        padding: 65px 7%;
    }
    .steps-intro {
        margin-bottom: 45px;
    }
    .steps-intro h2 {
        font-size: 38px;
    }
    .steps-list article {
        grid-template-columns: 40px 1fr;
        gap: 15px;
    }
    .steps-list h3 {
        font-size: 21px;
    }
    .faq-section {
        display: block;
    }
    .faq-heading {
        margin-bottom: 35px;
    }
    .faq-heading h2 {
        font-size: 39px;
    }
    .footer-top {
        display: block;
    }
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 25px;
    }
    .footer-bottom {
        gap: 12px;
        flex-direction: column;
    }
    .page-hero {
        padding: 60px 6% 45px;
    }
    .page-hero h1 {
        font-size: 48px;
    }
    .search-form,
    .search-form-page {
        grid-template-columns: 1fr;
    }
    .search-form .button {
        grid-column: auto;
    }
    .search-form label {
        padding: 8px 3px;
    }
    .auth-panel {
        padding: 27px 22px;
    }
    .form-two,
    .detail-layout,
    .dashboard-columns,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .detail-layout {
        padding-top: 45px;
    }
    .dashboard-actions {
        align-items: stretch;
    }
    .standalone-steps .steps-list {
        padding: 30px 22px;
    }
    .section-heading .text-link {
        align-self: flex-start;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 42px;
    }
    .hero-benefits {
        flex-direction: column;
    }
    .trust-strip {
        grid-template-columns: 1fr;
    }
    .journey-route strong {
        font-size: 16px;
    }
    .driver-information {
        flex-wrap: wrap;
    }
    .journey-view-button {
        margin-left: auto;
    }
}


/* ==========================================================
   TOWNLINK HERO IMAGE — FLOATING CARD POSITION FIX
   Keeps POPULAR JOURNEY clear of the image's top label and
   bottom caption on desktop, tablet and mobile.
   ========================================================== */

.hero-visual {
    position: relative;
    overflow: visible;
    isolation: isolate;
    margin-bottom: 150px;
}

.hero-image-overlay {
    z-index: 1;
}

.image-top-tag {
    z-index: 4;
}

.hero-image-content {
    z-index: 2;
    max-width: calc(100% - 50px);
}

.floating-route-card {
    left: auto;
    right: 0;
    bottom: -150px;
    width: min(285px, calc(100% - 20px));
    z-index: 5;
}


/* Tablet */

@media (max-width: 1000px) and (min-width: 701px) {
    .hero-visual {
        margin-bottom: 150px;
    }
    .floating-route-card {
        right: 0;
        bottom: -150px;
        width: min(265px, calc(100% - 16px));
    }
}


/* Mobile: place the route card below the image instead of
   floating over any of the image text. */

@media (max-width: 700px) {
    .hero-visual {
        height: auto;
        margin: 0 0 0;
        padding-bottom: 0;
        overflow: visible;
    }
    .hero-image {
        height: 350px;
    }
    .hero-image-content {
        left: 20px;
        right: 20px;
        bottom: 30px;
        max-width: none;
        z-index: 2;
    }
    .floating-route-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: min(285px, calc(100% - 24px));
        margin: 16px auto 0;
        z-index: 5;
    }
}

@media (max-width: 380px) {
    .hero-image {
        height: 320px;
    }
    .hero-image-content {
        left: 16px;
        right: 16px;
        bottom: 22px;
    }
    .hero-image-content h2 {
        font-size: 27px;
    }
}


/* ==========================================================
   MOBILE HERO IMAGE TEXT CLEARANCE
   Keep "Your road..." text anchored inside the photo while
   the Popular Journey card remains in its own row underneath.
   Desktop and tablet layouts above are not changed.
   ========================================================== */

@media (max-width: 700px) {
    .hero-visual {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: 350px auto !important;
        align-content: start !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    .hero-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 350px !important;
        min-height: 350px !important;
        display: block !important;
        object-fit: cover !important;
    }
    .hero-image-overlay {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        height: 350px !important;
        z-index: 1 !important;
    }
    .image-top-tag {
        top: 18px !important;
        z-index: 4 !important;
    }
    /* Anchor the caption to the photo, not the full container.
       This prevents the card below from pushing the caption down. */
    .hero-image-content {
        left: 20px !important;
        right: 20px !important;
        bottom: calc(100% - 320px) !important;
        max-width: none !important;
        z-index: 2 !important;
    }
    .floating-route-card {
        grid-column: 1 !important;
        grid-row: 2 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: min(285px, calc(100% - 24px)) !important;
        max-width: 100% !important;
        margin: 16px auto 0 !important;
        z-index: 5 !important;
    }
}

@media (max-width: 380px) {
    .hero-visual {
        grid-template-rows: 320px auto !important;
    }
    .hero-image {
        height: 320px !important;
        min-height: 320px !important;
    }
    .hero-image-overlay {
        height: 320px !important;
    }
    .hero-image-content {
        left: 16px !important;
        right: 16px !important;
        bottom: calc(100% - 298px) !important;
    }
    .hero-image-content h2 {
        font-size: 27px !important;
    }
}