/* Homepage — editorial destination hub */

.home-page { background: var(--paper); }

.home-hero {
    position: relative;
    min-height: clamp(22rem, 52vh, 32rem);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #0a4a42 0%, var(--accent) 55%, #128a7a 100%);
}

.home-hero--plain { background: linear-gradient(145deg, #0a4a42 0%, var(--accent) 100%); }

.home-hero__media {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    transform: scale(1.02);
}

.home-hero__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 2.75rem;
    background: linear-gradient(180deg, rgba(20, 18, 16, .15) 0%, rgba(20, 18, 16, .72) 100%);
}

.home-hero__copy {
    max-width: var(--content-max);
    margin: 0 auto;
    color: #fff;
}

.home-hero__eyebrow {
    margin: 0 0 .65rem;
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
}

.home-hero__title {
    margin: 0;
    max-width: 14ch;
    font-family: var(--serif);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.02em;
}

.home-hero__lead {
    margin: 1rem 0 0;
    max-width: 38rem;
    font-family: var(--sans);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.25rem;
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}

.home-btn--primary {
    background: #fff;
    color: var(--accent);
}

.home-btn--primary:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
}

.home-btn--ghost {
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.home-btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
}

.home-shell {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.home-section { margin-bottom: 3rem; }

.home-section__head { margin-bottom: 1.25rem; }

.home-section__head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.home-section__head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -.01em;
}

.home-section__head p {
    margin: .35rem 0 0;
    font-family: var(--sans);
    font-size: .95rem;
    color: var(--muted);
}

.home-section__more {
    flex-shrink: 0;
    font-family: var(--sans);
    font-size: .88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.home-section__more:hover { text-decoration: underline; }

.home-regions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-region {
    position: relative;
    display: block;
    min-height: 13rem;
    overflow: hidden;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
}

.home-region:hover {
    box-shadow: 0 16px 40px rgba(13, 107, 95, .14);
    transform: translateY(-3px);
}

.home-region__img {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    transition: transform .4s ease;
}

.home-region__img--fallback {
    background: linear-gradient(145deg, var(--accent) 0%, #0a4a42 100%);
}

.home-region:hover .home-region__img { transform: scale(1.06); }

.home-region__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .15rem;
    min-height: 13rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, transparent 30%, rgba(20, 18, 16, .78) 100%);
}

.home-region__name {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.home-region__meta {
    font-family: var(--sans);
    font-size: .78rem;
    color: rgba(255, 255, 255, .82);
}

.home-destinations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.home-destination {
    position: relative;
    display: block;
    min-height: 9.5rem;
    overflow: hidden;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}

.home-destination:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(13, 107, 95, .12);
}

.home-destination__img {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    transition: transform .35s ease;
}

.home-destination__img--fallback {
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
}

.home-destination:hover .home-destination__img { transform: scale(1.05); }

.home-destination__name {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: 9.5rem;
    padding: .85rem;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, transparent 40%, rgba(20, 18, 16, .75) 100%);
}

.home-guides {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-guide {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.home-guide:hover {
    border-color: var(--brand-primary-muted);
    box-shadow: 0 12px 32px rgba(13, 107, 95, .1);
    transform: translateY(-2px);
}

.home-guide__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: center/cover no-repeat;
}

.home-guide__thumb--placeholder {
    background: linear-gradient(135deg, var(--accent-soft) 0%, #d4ebe6 100%);
}

.home-guide__body {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .9rem 1rem 1.1rem;
}

.home-guide__body time {
    font-family: var(--sans);
    font-size: .75rem;
    color: var(--muted);
}

.home-guide__title {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    transition: color .15s;
}

.home-guide:hover .home-guide__title { color: var(--accent); }

.home-guide__excerpt {
    font-family: var(--sans);
    font-size: .85rem;
    line-height: 1.45;
    color: var(--muted);
}

.home-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
    background: var(--accent-soft);
    border: 1px solid var(--brand-primary-muted);
    border-radius: 14px;
}

.home-cta__label {
    margin: 0 0 .25rem;
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
}

.home-cta h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
}

.home-cta p {
    margin: .4rem 0 0;
    max-width: 32rem;
    font-family: var(--sans);
    font-size: .92rem;
    color: var(--text-body);
}

@media (max-width: 900px) {
    .home-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-guides { grid-template-columns: 1fr 1fr; }
    .home-section__head--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .home-regions,
    .home-destinations,
    .home-guides { grid-template-columns: 1fr; }
    .home-cta { flex-direction: column; align-items: flex-start; }
}
