/* Homepage — client mockup */
.site-main--home {
    padding: 0;
}

.home-section {
    padding: 70px 0;
}

.section-title {
    font-size: clamp(22px, 3vw, 32px);
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-brown);
}

/* Hero */
.home-hero {
    position: relative;
    min-height: var(--tf-hero-min-height, 30vh);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    margin-top: 0;
}

.home-hero__overlay {
    display: none;
}

.home-hero__logo {
    display: block;
    max-width: 220px;
    width: auto;
    height: auto;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 20px 80px;
}

.home-hero__title {
    font-size: clamp(28px, 4.5vw, 48px);
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.15;
    border: none;
}

.home-hero__tagline {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 32px;
    display: block;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.home-hero__actions .btn {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.06em;
    border-radius: 4px;
}

/* Brands */
.home-brands {
    background: var(--light-cream);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.brand-card__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px 12px;
    line-height: 0;
    position: relative;
    z-index: 1;
    min-height: 120px;
}

.brand-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 28px 20px 24px;
}

.brand-card__link:hover {
    color: inherit;
    text-decoration: none;
}

.brand-card__link .brand-card__logo {
    display: block;
    margin: 0 auto 16px;
}

.brand-card__lines {
    list-style: none;
    margin: 0;
    padding: 0;
}

.brand-card__line {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-brown);
}

.brand-card--lines {
    padding-bottom: 0;
}

.brand-card--lines:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.brand-card--lines .brand-card__link:hover .brand-card__line {
    color: var(--secondary-orange);
}

.brand-card__logo {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-card--compact {
    padding-bottom: 16px;
}

.brand-card--compact .brand-card__logo-link {
    padding: 20px 16px 8px;
    min-height: 100px;
}

.brand-card--compact .btn {
    margin-top: 4px;
}

.brand-card__name {
    font-size: 18px;
    margin: 16px 16px 8px;
    color: var(--primary-brown);
}

.brand-card__desc {
    font-size: 13px;
    color: #666;
    margin: 0 16px 16px;
}

.btn-brand--purple { background: var(--accent-purple); color: #fff !important; border-radius: 4px; }
.btn-brand--orange { background: var(--secondary-orange); color: #fff !important; border-radius: 4px; }
.btn-brand--yellow { background: #F2B824; color: var(--primary-brown) !important; border-radius: 4px; }
.btn-brand--green { background: var(--accent-green); color: #fff !important; border-radius: 4px; }

/* Moments */
.home-moments {
    background: #fff;
    min-height: var(--tf-moments-min-height, 420px);
    display: flex;
    align-items: center;
}

.moments-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.moments-split__content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.moments-split__text {
    margin-bottom: 28px;
    line-height: 1.8;
}

.moments-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.moments-feature {
    text-align: center;
}

.moments-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border: 2px solid var(--primary-brown);
    border-radius: 50%;
    font-size: 24px;
}

.moments-feature__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-brown);
}

.moments-split__media {
    position: relative;
}

.moments-split__media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

/* Featured Treats slider */
.home-featured {
    background: var(--light-cream);
    padding-bottom: 60px;
}

.home-featured .section-title {
    margin-bottom: 32px;
}

.home-featured .tf-slider--featured {
    margin-top: 0;
}

.home-featured .container {
    max-width: 1200px;
}

/* Promos */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.promo-card {
    position: relative;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    text-decoration: none;
    color: #fff;
}

.promo-card--late { background: #2a1a4e; }
.promo-card--tea { background: #1e3d2f; }

.promo-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.promo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.promo-card__title,
.promo-card__text,
.promo-card .btn {
    position: relative;
    z-index: 1;
}

.promo-card__title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

.promo-card__text {
    font-size: 13px;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.btn-promo-purple { background: var(--accent-purple); color: #fff; border-radius: 4px; }
.btn-promo-gold { background: #F2B824; color: var(--primary-brown); border-radius: 4px; }

@media (max-width: 992px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .moments-split { grid-template-columns: 1fr; }
    .moments-split__media img { mask-image: none; height: 280px; }
}

@media (max-width: 768px) {
    .brands-grid, .promo-grid { grid-template-columns: 1fr; }
    .home-hero__actions { flex-direction: column; align-items: center; }
    .footer-badges__inner { grid-template-columns: 1fr; }
}