﻿/* =========================================================
   TOWA Travel - Recommended Routes Page
   Clean CSS
   ========================================================= */

.towa-routes-page {
    --route-text: #2d2a28;
    --route-muted: #746a66;
    --route-soft-text: #8a6d68;
    --route-accent: #ff7f73;
    --route-accent-dark: #cf655c;
    --route-border: rgba(255, 120, 110, .22);
    --route-border-soft: #f3e1dd;
    --route-card-shadow: 0 14px 36px rgba(148, 99, 88, .08);
    --route-card-shadow-hover: 0 20px 42px rgba(148, 99, 88, .13);
    background: linear-gradient(180deg, #fffaf7 0%, #ffffff 42%, #fff 100%);
    color: var(--route-text);
}

    .towa-routes-page a {
        transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    /* =========================================================
   Breadcrumb
   ========================================================= */

    .towa-routes-page .towa-breadcrumb {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .55rem .85rem;
        border-radius: 999px;
        background: #fff3f1;
        color: var(--route-soft-text);
        font-size: .92rem;
    }

        .towa-routes-page .towa-breadcrumb a {
            color: var(--route-soft-text);
            text-decoration: none;
        }

            .towa-routes-page .towa-breadcrumb a:hover {
                color: var(--route-accent-dark);
            }

    /* =========================================================
   Hero: left text + right image
   ========================================================= */

    .towa-routes-page .route-hero {
        display: grid;
        grid-template-columns: minmax(0, 52%) minmax(360px, 48%);
        align-items: stretch;
        position: relative;
        overflow: hidden;
        min-height: 430px;
        padding: 0;
        border: 1px solid var(--route-border);
        border-radius: 28px;
        background: radial-gradient(circle at 12% 18%, rgba(255, 130, 150, .16), transparent 34%), #fff;
        box-shadow: 0 18px 46px rgba(255, 120, 110, .08);
    }

        .towa-routes-page .route-hero__badge,
        .towa-routes-page .route-hero h1,
        .towa-routes-page .route-hero p,
        .towa-routes-page .route-hero__actions {
            grid-column: 1;
            position: relative;
            z-index: 2;
        }

    .towa-routes-page .route-hero__badge {
        align-self: end;
        width: fit-content;
        margin: 72px 64px 0;
        padding: .55rem .85rem;
        border-radius: 999px;
        background: #fff3f1;
        color: #ec695f;
        font-size: .86rem;
        font-weight: 800;
    }

    .towa-routes-page .route-hero h1 {
        max-width: 560px;
        margin: 24px 64px 0;
        color: #252220;
        font-size: clamp(2.4rem, 4.4vw, 4.4rem);
        line-height: 1.12;
        font-weight: 900;
        letter-spacing: -.04em;
    }

    .towa-routes-page .route-hero p {
        max-width: 560px;
        margin: 22px 64px 0;
        color: #625a56;
        font-size: 1.02rem;
        line-height: 1.9;
    }

    .towa-routes-page .route-hero__actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
        margin: 30px 64px 72px;
    }

    .towa-routes-page .route-hero__visual {
        grid-column: 2;
        grid-row: 1 / 6;
        position: relative;
        z-index: 1;
        min-height: 430px;
        background-image: linear-gradient(90deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.18) 18%, rgba(255,255,255,0) 42%), url("../images/travel/recommended-routes/route-custom-sea.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0 28px 28px 0;
    }

    /* =========================================================
   Buttons
   ========================================================= */

    .towa-routes-page .route-btn-primary,
    .towa-routes-page .route-btn-ghost {
        min-width: 144px;
        padding: .78rem 1.25rem;
        border-radius: 999px;
        font-weight: 700;
    }

    .towa-routes-page .route-btn-primary {
        border: 0;
        background: var(--route-accent);
        color: #fff;
        box-shadow: 0 12px 26px rgba(255, 127, 115, .26);
    }

        .towa-routes-page .route-btn-primary:hover,
        .towa-routes-page .route-btn-primary:focus {
            color: #fff;
            transform: translateY(-1px);
        }

    .towa-routes-page .route-btn-ghost {
        border: 1px solid rgba(255, 127, 115, .28);
        background: #fff;
        color: var(--route-accent-dark);
    }

        .towa-routes-page .route-btn-ghost:hover,
        .towa-routes-page .route-btn-ghost:focus {
            color: var(--route-accent-dark);
            transform: translateY(-1px);
            box-shadow: 0 10px 22px rgba(207, 101, 92, .1);
        }

    /* =========================================================
   Filter / contact cards
   ========================================================= */

    .towa-routes-page .route-filter-card,
    .towa-routes-page .route-contact-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.4rem;
        padding: 1.35rem;
        border: 1px solid var(--route-border-soft);
        border-radius: 24px;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 12px 34px rgba(153, 112, 96, .07);
    }

    .towa-routes-page .route-contact-card {
        position: relative;
        z-index: 1;
    }

    .towa-routes-page .section-kicker {
        margin-bottom: .45rem;
        color: #e27469;
        font-size: .85rem;
        font-weight: 900;
        letter-spacing: .04em;
    }

    .towa-routes-page .route-filter-card h2,
    .towa-routes-page .route-contact-card h2,
    .towa-routes-page .section-heading h2 {
        margin-bottom: .55rem;
        font-size: clamp(1.45rem, 2.4vw, 2.05rem);
        font-weight: 800;
    }

    .towa-routes-page .route-filter-card p,
    .towa-routes-page .route-contact-card p,
    .towa-routes-page .section-heading p {
        margin-bottom: 0;
        color: var(--route-muted);
        line-height: 1.8;
    }

    .towa-routes-page .route-chip-list {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-end;
        gap: .65rem;
        min-width: 260px;
    }

    .towa-routes-page .route-chip {
        padding: .55rem .9rem;
        border-radius: 999px;
        background: #fff6ee;
        color: #9b625b;
        font-weight: 700;
        text-decoration: none;
    }

        .towa-routes-page .route-chip:hover,
        .towa-routes-page .route-chip:focus {
            color: #9b625b;
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(199, 130, 103, .12);
        }

    /* =========================================================
   Sections
   ========================================================= */

    .towa-routes-page .section-heading {
        max-width: 720px;
        margin-bottom: 1.45rem;
    }

    /* =========================================================
   Route cards
   ========================================================= */

    .towa-routes-page .route-card {
        overflow: hidden;
        border: 1px solid #f1e3df;
        border-radius: 26px;
        background: #fff;
        box-shadow: var(--route-card-shadow);
        transition: transform .18s ease, box-shadow .18s ease;
    }

        .towa-routes-page .route-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--route-card-shadow-hover);
        }

    .towa-routes-page .route-card__media {
        position: relative;
        display: flex;
        align-items: flex-end;
        min-height: 190px;
        padding: 1.1rem;
        overflow: hidden;
        background: #fff0e6;
    }

        .towa-routes-page .route-card__media img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .towa-routes-page .route-card__media::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(180deg, rgba(0,0,0,0) 46%, rgba(0,0,0,.28) 100%);
        }

        .towa-routes-page .route-card__media span {
            position: relative;
            z-index: 2;
            display: inline-flex;
            padding: .45rem .78rem;
            border-radius: 999px;
            background: rgba(255, 255, 255, .88);
            color: #8a5f59;
            font-weight: 800;
        }

    .towa-routes-page .route-card__media--osaka {
        background: linear-gradient(135deg, #ffe1c6, #ffd5df);
    }

    .towa-routes-page .route-card__media--kyoto {
        background: linear-gradient(135deg, #f8dfc6, #ffecc6);
    }

    .towa-routes-page .route-card__media--tokyo {
        background: linear-gradient(135deg, #dcecff, #ffe0ee);
    }

    .towa-routes-page .route-card__media--family {
        background: linear-gradient(135deg, #dcf6eb, #fff0bd);
    }

    .towa-routes-page .route-card__media--shopping {
        background: linear-gradient(135deg, #ffe2ec, #efe1ff);
    }

    .towa-routes-page .route-card__media--custom {
        background: linear-gradient(135deg, #ffe7c9, #e8f4ff);
    }

    .towa-routes-page .route-card__body {
        padding: 1.3rem;
    }

    .towa-routes-page .route-card__meta {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
        margin-bottom: .8rem;
    }

        .towa-routes-page .route-card__meta span {
            padding: .32rem .64rem;
            border-radius: 999px;
            background: #fff4f2;
            color: #c9675f;
            font-size: .82rem;
            font-weight: 700;
        }

    .towa-routes-page .route-card h3 {
        margin-bottom: .65rem;
        font-size: 1.25rem;
        font-weight: 800;
    }

    .towa-routes-page .route-card p {
        color: var(--route-muted);
        line-height: 1.75;
    }

    .towa-routes-page .route-timeline,
    .towa-routes-page .route-feature-list {
        display: grid;
        gap: .55rem;
        margin: 1rem 0 1.15rem;
        padding-left: 1.25rem;
        color: #5b5350;
    }

    .towa-routes-page .route-card__link {
        color: #e27469;
        font-weight: 800;
        text-decoration: none;
    }

        .towa-routes-page .route-card__link:hover,
        .towa-routes-page .route-card__link:focus {
            color: #c8564f;
        }

    /* =========================================================
   Guide steps
   ========================================================= */

    .towa-routes-page .guide-step {
        padding: 1.25rem;
        border: 1px solid #f0e0dc;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(148, 99, 88, .06);
    }

        .towa-routes-page .guide-step span {
            display: inline-flex;
            margin-bottom: .8rem;
            color: #ff8b7f;
            font-weight: 900;
            font-size: 1.35rem;
        }

        .towa-routes-page .guide-step h3 {
            margin-bottom: .5rem;
            font-size: 1.1rem;
            font-weight: 800;
        }

        .towa-routes-page .guide-step p {
            margin-bottom: 0;
            color: var(--route-muted);
            line-height: 1.75;
        }

    /* =========================================================
   Page TOC
   ========================================================= */

    .towa-routes-page .towa-page-toc {
        position: sticky;
        top: 96px;
        width: 170px;
        padding: .9rem .85rem;
        border-left: 2px solid #ffe0dc;
        color: #8d7772;
    }

    .towa-routes-page .towa-page-toc__title {
        margin-bottom: .55rem;
        color: #4a403d;
        font-size: .86rem;
        font-weight: 800;
    }

    .towa-routes-page .towa-page-toc a {
        display: block;
        padding: .34rem 0;
        color: #8d7772;
        font-size: .9rem;
        text-decoration: none;
    }

        .towa-routes-page .towa-page-toc a:hover,
        .towa-routes-page .towa-page-toc a:focus {
            color: #e27469;
        }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991.98px) {
    .towa-routes-page .route-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

        .towa-routes-page .route-hero__badge,
        .towa-routes-page .route-hero h1,
        .towa-routes-page .route-hero p,
        .towa-routes-page .route-hero__actions,
        .towa-routes-page .route-hero__visual {
            grid-column: 1;
        }

    .towa-routes-page .route-hero__badge {
        margin: 44px 28px 0;
    }

    .towa-routes-page .route-hero h1 {
        margin: 22px 28px 0;
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }

    .towa-routes-page .route-hero p {
        margin: 18px 28px 0;
    }

    .towa-routes-page .route-hero__actions {
        margin: 26px 28px 34px;
    }

    .towa-routes-page .route-hero__visual {
        grid-row: auto;
        min-height: 260px;
        border-radius: 0 0 28px 28px;
        background-image: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 42%), url("../images/travel/recommended-routes/route-custom-sea.jpg");
    }

    .towa-routes-page .route-filter-card,
    .towa-routes-page .route-contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .towa-routes-page .route-chip-list {
        justify-content: flex-start;
        min-width: auto;
    }
}

@media (max-width: 575.98px) {
    .towa-routes-page .towa-breadcrumb {
        font-size: .86rem;
    }

    .towa-routes-page .route-hero {
        border-radius: 22px;
    }

    .towa-routes-page .route-hero__badge {
        margin: 34px 22px 0;
    }

    .towa-routes-page .route-hero h1 {
        margin: 20px 22px 0;
        letter-spacing: -.03em;
    }

    .towa-routes-page .route-hero p {
        margin: 16px 22px 0;
        font-size: .96rem;
    }

    .towa-routes-page .route-hero__actions {
        margin: 24px 22px 30px;
    }

    .towa-routes-page .route-btn-primary,
    .towa-routes-page .route-btn-ghost {
        width: 100%;
    }

    .towa-routes-page .route-hero__visual {
        min-height: 220px;
        border-radius: 0 0 22px 22px;
    }

    .towa-routes-page .route-filter-card,
    .towa-routes-page .route-contact-card,
    .towa-routes-page .route-card__body,
    .towa-routes-page .guide-step {
        padding: 1.1rem;
    }
}
