/* Home and landing page. The header and footer come from features.css and storefront.css and are not changed here. */

:root {
    --hx-plum: #2a1229;
    --hx-plum-2: #4d2749;
    --hx-rose: #b0704f;
    --hx-gold: #c39a57;
    --hx-gold-light: #efd9ae;
    --hx-ivory: #fffdfb;
    --hx-muted: #6b5a66;
    --hx-line: #efe3e8;
}

/* Hero */
.hx-hero {
    padding: 36px 0 12px;
    background:
        radial-gradient(700px 360px at 92% 0%, rgba(195, 154, 87, 0.16), transparent 70%),
        radial-gradient(640px 320px at 0% 40%, rgba(176, 112, 79, 0.10), transparent 70%);
}

.hx-hero-grid {
    display: grid;
    gap: 36px;
    align-items: center;
}

@media (min-width: 900px) {
    .hx-hero {
        padding: 60px 0 28px;
    }

    .hx-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.hx-eyebrow {
    display: inline-block;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid rgba(176, 112, 79, 0.35);
    border-radius: 999px;
    background: #fff;
    color: var(--hx-rose);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hx-hero h1 {
    margin: 16px 0 12px;
    color: var(--hx-plum);
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.1;
}

.hx-lead {
    max-width: 36rem;
    margin: 0;
    color: var(--hx-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.hx-chips li {
    padding: 7px 13px;
    border: 1px solid var(--hx-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hx-plum);
    font-size: 0.88rem;
}

/* Photo stack in the hero */
.hx-stack {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 330px;
    margin: 0 auto;
}

.hx-card {
    position: absolute;
    width: 46%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 50px -28px rgba(42, 18, 41, 0.55);
}

.hx-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-card-1 {
    left: 0;
    top: 46px;
    transform: rotate(-6deg);
    z-index: 1;
}

.hx-card-2 {
    left: 27%;
    top: 0;
    width: 52%;
    z-index: 3;
}

.hx-card-3 {
    right: 0;
    top: 58px;
    transform: rotate(6deg);
    z-index: 2;
}

.hx-stack-mark {
    display: grid;
    place-items: center;
    height: 100%;
}

.hx-stack-mark img {
    width: 58%;
    height: auto;
}

@media (min-width: 900px) {
    .hx-stack {
        height: 420px;
    }
}

/* Sections */
.hx-section {
    padding: 44px 0 0;
}

.hx-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.hx-head h2 {
    margin: 0;
    color: var(--hx-plum);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

/* Categories */
.hx-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 700px) {
    .hx-cats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .hx-cats {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.hx-cat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    border: 1px solid var(--hx-line);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #fbf1f4);
    color: var(--hx-plum);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hx-cat:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px -22px rgba(42, 18, 41, 0.6);
    text-decoration: none;
}

.hx-cat-name {
    font-weight: 600;
}

.hx-cat-count {
    color: var(--hx-muted);
    font-size: 0.82rem;
}

/* Benefits */
.hx-benefits {
    display: grid;
    gap: 14px;
}

@media (min-width: 800px) {
    .hx-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hx-benefit {
    padding: 24px;
    border: 1px solid var(--hx-line);
    border-radius: 20px;
    background: #fff;
}

.hx-benefit h3 {
    margin: 14px 0 6px;
    color: var(--hx-plum);
    font-size: 1.1rem;
}

.hx-benefit p {
    margin: 0;
    color: var(--hx-muted);
    line-height: 1.55;
}

.hx-num {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hx-plum), var(--hx-plum-2));
    color: var(--hx-gold-light);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Steps */
.hx-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    counter-reset: hx-step;
    list-style: none;
}

@media (min-width: 800px) {
    .hx-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hx-step {
    counter-increment: hx-step;
    position: relative;
    padding: 22px 22px 22px 74px;
    border: 1px solid var(--hx-line);
    border-radius: 18px;
    background: #fff;
}

.hx-step::before {
    content: counter(hx-step);
    position: absolute;
    left: 20px;
    top: 22px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hx-gold-light);
    color: var(--hx-plum);
    font-weight: 700;
}

.hx-step h3 {
    margin: 0 0 4px;
    color: var(--hx-plum);
    font-size: 1.05rem;
}

.hx-step p {
    margin: 0;
    color: var(--hx-muted);
    line-height: 1.5;
}

/* FAQ */
.hx-faq details {
    margin-bottom: 10px;
    padding: 16px 18px;
    border: 1px solid var(--hx-line);
    border-radius: 16px;
    background: #fff;
}

.hx-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--hx-plum);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.hx-faq summary::after {
    content: '+';
    color: var(--hx-rose);
    font-size: 1.3rem;
    line-height: 1;
}

.hx-faq details[open] summary::after {
    content: '\2013';
}

.hx-faq p {
    margin: 10px 0 0;
    color: var(--hx-muted);
    line-height: 1.55;
}

/* Closing band */
.hx-band {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 26px;
    border-radius: 28px;
    background: linear-gradient(120deg, var(--hx-plum), var(--hx-plum-2));
    color: #fbf6f1;
}

.hx-band h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.hx-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 800px) {
    .hx-band {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 40px 48px;
    }
}

.hx-btn-gold {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #efd9ae, #c39a57);
    color: var(--hx-plum);
    font-weight: 700;
    text-decoration: none;
}

.hx-btn-gold:hover {
    text-decoration: none;
    filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .hx-cat {
        transition: none;
    }
}
