/* =========================================================
   TOWA Portal - Stay Channel
   URL: /stay
   This CSS is additive and does not replace channel.css.
   ========================================================= */

.towa-stay-page {
    background:
        radial-gradient(circle at 12% 4%, rgba(219, 234, 254, .75), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(220, 252, 231, .65), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f8fafc 100%);
    color: #0f172a;
}

.stay-hero {
    position: relative;
    max-width: 1280px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 34px;
    align-items: center;
    margin: 0 auto;
    padding: 76px 28px 54px;
}

.stay-hero-bg {
    position: absolute;
    inset: 28px 28px 16px;
    z-index: 0;
    border-radius: 38px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.62)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .12);
}

.stay-hero-content,
.stay-hero-card {
    position: relative;
    z-index: 1;
}

.stay-hero-content {
    padding: 46px 54px;
}

.stay-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(239, 246, 255, .92);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .12);
    font-weight: 950;
}

.stay-hero h1 {
    max-width: 720px;
    margin: 24px 0 18px;
    color: #0f172a;
    font-size: clamp(2.6rem, 5.6vw, 5.2rem);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.075em;
}

.stay-hero-content p {
    max-width: 660px;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.9;
}

.stay-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.stay-primary-button,
.stay-secondary-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 950;
}

.stay-primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, #16a34a, #2563eb);
    box-shadow: 0 18px 36px rgba(37, 99, 235, .22);
}

.stay-secondary-button {
    color: #0f172a;
    background: rgba(255,255,255,.94);
    border: 1px solid #e2e8f0;
}

.stay-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.stay-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-weight: 850;
}

.stay-trust-row i {
    color: #22c55e;
}

.stay-hero-card {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 32px;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 64px rgba(15, 23, 42, .13);
}

.stay-card-kicker,
.stay-kicker {
    color: #16a34a;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.stay-hero-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 950;
}

.stay-guide-list {
    display: grid;
    gap: 12px;
}

.stay-guide-list > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 2px 12px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: #f8fafc;
}

.stay-guide-list i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #2563eb;
    background: #eff6ff;
}

.stay-guide-list strong {
    color: #0f172a;
    font-weight: 950;
}

.stay-guide-list span {
    color: #64748b;
    font-size: .88rem;
}

.stay-search-panel,
.stay-category-section,
.stay-picks-section,
.stay-support-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 28px;
}

.stay-search-panel {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
}

.stay-search-panel h2,
.channel-section-heading h2,
.stay-support-section h2 {
    margin: 8px 0 10px;
    color: #0f172a;
    font-size: clamp(1.75rem, 3.2vw, 2.65rem);
    font-weight: 950;
    letter-spacing: -.055em;
}

.stay-search-panel p,
.channel-section-heading p,
.stay-support-section p {
    color: #64748b;
    line-height: 1.8;
}

.stay-search-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.stay-search-form label {
    display: grid;
    gap: 7px;
}

.stay-search-form label span {
    color: #0f172a;
    font-weight: 850;
}

.stay-search-form .form-select {
    min-height: 48px;
    border-radius: 999px;
    border-color: #cbd5e1;
    background-color: #ffffff;
    padding-left: 16px;
}

.channel-section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.stay-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.stay-category-card {
    min-height: 315px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .055);
    transition: transform .18s ease, box-shadow .18s ease;
}

.stay-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, .095);
}

.stay-category-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 20px;
    font-size: 1.35rem;
}

.stay-category-icon.orange { color: #f97316; background: #fff7ed; }
.stay-category-icon.green { color: #16a34a; background: #ecfdf5; }
.stay-category-icon.purple { color: #8b5cf6; background: #f5f3ff; }
.stay-category-icon.blue { color: #2563eb; background: #eff6ff; }

.stay-category-card span {
    color: #64748b;
    font-weight: 850;
}

.stay-category-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1.3;
}

.stay-category-card p {
    color: #64748b;
    line-height: 1.75;
}

.stay-category-card a {
    align-self: end;
    color: #2563eb;
    text-decoration: none;
    font-weight: 950;
}

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

.stay-pick-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 20px 54px rgba(15, 23, 42, .07);
}

.stay-pick-image {
    position: relative;
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.stay-pick-image.tokyo {
    background-image: url("https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?auto=format&fit=crop&w=1000&q=80");
}

.stay-pick-image.ryokan {
    background-image: url("https://images.unsplash.com/photo-1601823984263-b87b59798b70?auto=format&fit=crop&w=1000&q=80");
}

.stay-pick-image.kyoto {
    background-image: url("https://images.unsplash.com/photo-1624253321171-1be53e12f5f4?auto=format&fit=crop&w=1000&q=80");
}

.stay-pick-image span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, .72);
    font-weight: 950;
}

.stay-pick-body {
    padding: 22px;
}

.stay-pick-body h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.28rem;
    font-weight: 950;
}

.stay-pick-body p {
    color: #64748b;
    line-height: 1.75;
}

.stay-pick-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.stay-pick-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #2563eb;
    background: #eff6ff;
    font-weight: 850;
}

.stay-pick-body a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 950;
}

.stay-support-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    margin-bottom: 64px;
    border: 1px solid #dbeafe;
    border-radius: 32px;
    background:
        radial-gradient(circle at 82% 10%, rgba(220, 252, 231, .8), transparent 38%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    box-shadow: 0 20px 58px rgba(15, 23, 42, .07);
}

.stay-support-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.stay-support-tags span {
    padding: 8px 12px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #2563eb;
    background: #ffffff;
    font-weight: 850;
}

@media (max-width: 1199.98px) {
    .stay-hero {
        grid-template-columns: 1fr;
    }

    .stay-hero-card {
        margin: 0 54px 18px;
    }

    .stay-search-panel,
    .stay-support-section {
        grid-template-columns: 1fr;
    }

    .stay-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stay-category-grid,
    .stay-picks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .stay-hero {
        padding: 32px 14px 26px;
    }

    .stay-hero-bg {
        inset: 14px;
        border-radius: 26px;
    }

    .stay-hero-content {
        padding: 34px 20px 16px;
    }

    .stay-hero-card {
        margin: 0 20px 20px;
        border-radius: 24px;
    }

    .stay-hero-actions,
    .stay-primary-button,
    .stay-secondary-button {
        width: 100%;
    }

    .stay-search-panel,
    .stay-category-section,
    .stay-picks-section,
    .stay-support-section {
        padding: 24px 16px;
    }

    .stay-search-form,
    .stay-category-grid,
    .stay-picks-grid {
        grid-template-columns: 1fr;
    }

    .stay-category-card {
        min-height: auto;
    }

    .stay-support-section {
        margin: 0 14px 42px;
    }
}
