/* Homepage sections */

.hero { padding: 28px 0 0; }
.hero-grid {
    min-height: 500px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(15,59,51,.08);
    border-radius: 24px;
    background: var(--surface-alt);
    box-shadow: 0 18px 45px rgba(56,45,33,.08);
}
.hero-grid::after { content: none; }
.hero-copy, html[dir="ltr"] .hero-copy {
    grid-column: auto;
    align-self: center;
    padding: clamp(40px, 5.4vw, 76px);
    text-align: start;
}
.hero-copy h1 { max-width: 650px; margin: 12px 0 20px; color: var(--primary-dark); font-size: clamp(52px, 5vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
.hero-copy p:not(.eyebrow) { max-width: 580px; margin: 0; color: #4e5551; font-size: 16px; line-height: 1.85; }
.hero-actions { margin-top: 28px; gap: 12px; }
.hero-actions .btn { min-height: 48px; }
.hero-image { position: relative; grid-column: auto; height: auto; min-height: 500px; max-height: none; overflow: hidden; border-radius: 0; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239,233,223,.2), transparent 28%); pointer-events: none; }
html[dir="ltr"] .hero-image::after { background: linear-gradient(270deg, rgba(239,233,223,.2), transparent 28%); }
.hero-image img { width: 100%; height: 100%; object-position: center; }

.benefits-strip { padding: 20px 0 0; }
.benefits-grid { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 9px 25px rgba(23,26,24,.05); }
.benefits-grid > div { min-height: 104px; padding: 20px 24px; }
.benefits-grid > div > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: rgba(15,59,51,.07); font-size: 21px; }
.benefits-grid strong { color: var(--text-primary); font-size: 15px; }
.benefits-grid small { color: var(--text-secondary); font-size: 13px; }

.section { padding: 72px 0 0; }
.section-head { margin-bottom: 28px; }
.section-head h2, .centered-head h2 { margin: 4px 0 0; color: var(--primary-dark); font-size: clamp(28px, 3vw, 36px); line-height: 1.25; }
.eyebrow { color: var(--accent-dark); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.section-link { min-height: 40px; display: inline-flex; align-items: center; color: var(--primary); font-size: 14px; font-weight: 700; }
.section-link:hover { color: var(--accent-dark); }
.section-link span { display: inline-block; margin-inline-start: 7px; }
html[dir="ltr"] .section-link span { transform: rotate(180deg); }
.muted-band { margin-top: 72px; padding: 56px 0; background: var(--surface-alt); }
.muted-band + .section { padding-top: 72px; }

.clearance-section {
    width: min(1540px, calc(100% - 32px));
    margin: 72px auto 0;
    padding: 56px 0;
    border: 1px solid rgba(183, 123, 63, .16);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(247, 241, 232, .92), rgba(255, 255, 255, .98));
    box-shadow: 0 16px 38px rgba(58, 44, 30, .06);
}
.clearance-section + .muted-band { margin-top: 72px; }
.clearance-description { max-width: 620px; margin: 10px 0 0; color: var(--text-secondary); line-height: 1.8; }
.clearance-product-grid.is-partial { justify-content: center; }
.clearance-product-grid.clearance-count-1 { grid-template-columns: minmax(0, 295px); }
.clearance-product-grid.clearance-count-2 { grid-template-columns: repeat(2, minmax(0, 295px)); }
.clearance-product-grid.clearance-count-3 { grid-template-columns: repeat(3, minmax(0, 295px)); }

.card-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; margin-top: 16px; }
.card-actions .btn { min-width: 0; min-height: 42px; padding-inline: 10px; font-size: 12px; }
.card-actions > :only-child { grid-column: 1 / -1; }

.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.muted-band .category-card { aspect-ratio: 1 / 1.08; }
.category-card { border-radius: 16px; box-shadow: 0 10px 25px rgba(9,43,37,.08); }
.category-card::after { background: linear-gradient(180deg, transparent 34%, rgba(9,43,37,.9) 100%); }
.category-card-copy { width: 100%; display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px; }
.category-card-copy > div { min-width: 0; }
.category-card-copy b { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-size: 16px; }
.category-arrow-icon { width: 17px; height: 17px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[dir="ltr"] .category-card-copy b { transform: rotate(180deg); }
.category-card span { display: block; font-size: 18px; font-weight: 700; }
.category-card small { font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 48px 24px; border: 1px dashed #cfc7bc; border-radius: 16px; text-align: center; background: rgba(255,255,255,.58); }
.empty-state > span { color: var(--accent); font-size: 36px; }
.empty-state h3 { margin: 8px 0 4px; color: var(--primary-dark); }
.empty-state p { margin: 0; color: var(--text-secondary); }

.why-section { position: relative; isolation: isolate; width: min(1540px, calc(100% - 32px)); margin: 72px auto 0; padding: 58px 24px 30px; overflow: hidden; border: 0; border-radius: 28px 28px 0 0; color: var(--primary-dark); background: transparent; box-shadow: none; }
.why-section::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("hero-menswear.png") center 43% / cover no-repeat; filter: saturate(.75); -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.58) 38%, rgba(0,0,0,.18) 70%, transparent 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.58) 38%, rgba(0,0,0,.18) 70%, transparent 90%, transparent 100%); }
.why-section::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 12%, rgba(255,255,255,.8), transparent 34%), linear-gradient(to bottom, rgba(247,244,238,0) 38%, rgba(247,244,238,.38) 58%, rgba(247,244,238,.82) 78%, var(--background) 92%, var(--background) 100%); pointer-events: none; }
.why-section .container { width: min(1400px, calc(100% - 24px)); }
.why-section .centered-head { max-width: 920px; padding-inline: 20px; }
.why-section .centered-head .eyebrow { width: max-content; margin: 0 auto 18px; padding: 8px 20px; border: 1px solid rgba(200,121,63,.14); border-radius: 999px; color: #9a612e; background: rgba(255,255,255,.78); box-shadow: 0 8px 20px rgba(62,46,31,.05); font-size: 14px; }
.why-section .centered-head .eyebrow::before, .why-section .centered-head .eyebrow::after { content: "✦"; margin-inline: 9px; color: #c08a4e; }
.why-section .centered-head h2 { margin: 0; color: var(--primary-dark); font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.why-section .centered-head > p:not(.eyebrow) { max-width: 760px; margin: 18px auto 0; color: #454945; font-size: 17px; line-height: 1.9; }
.why-head-divider { width: 210px; margin: 20px auto 0; display: flex; align-items: center; gap: 14px; color: #b7793e; font-size: 15px; }
.why-head-divider::before, .why-head-divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(15,59,51,.58)); }
.why-head-divider::after { background: linear-gradient(90deg, rgba(15,59,51,.58), transparent); }
.why-grid { gap: 22px; margin-top: 42px; }
.why-grid article { position: relative; min-height: 340px; padding: 34px 28px 30px; border: 1px solid rgba(221,214,204,.82); border-bottom: 6px solid var(--primary); border-radius: 22px; text-align: center; background: rgba(255,255,255,.92); box-shadow: 0 15px 35px rgba(36,32,27,.09); backdrop-filter: blur(8px); transition: transform 250ms ease, box-shadow 250ms ease; }
.why-grid article:nth-child(even) { border-bottom-color: #c7a47d; }
.why-grid article:hover { transform: translateY(-6px); box-shadow: 0 22px 42px rgba(36,32,27,.14); }
.feature-number { position: absolute; inset-block-start: 26px; inset-inline-start: 26px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #a66e38; background: #f6f2eb; font-size: 15px; font-weight: 800; }
.feature-icon { width: 104px; height: 104px; margin: 18px auto 22px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #d8a45f; background: radial-gradient(circle at 34% 28%, #164c41, #072f29 72%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 25px rgba(9,43,37,.18); }
.feature-icon svg { width: 50px; height: 50px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.why-grid h3 { margin: 0 0 12px; color: var(--primary-dark); font-size: 21px; font-weight: 800; }
.why-grid p { max-width: 265px; min-height: 68px; margin: 0 auto; color: #6c6d68; font-size: 14px; line-height: 1.9; }
.why-grid article::after { content: ""; width: 44px; height: 3px; margin: 22px auto 0; display: block; border-radius: 99px; background: #b77b3f; }

.contact-methods-section { padding: 72px 0 0; }
.contact-methods { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); overflow: hidden; border-radius: 18px; }
.contact-methods > a, .contact-methods > .contact-method { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; }
.contact-methods > * + * { border-inline-start: 1px solid var(--border); }
.contact-methods > * > span { color: var(--primary); font-size: 27px; }
.contact-methods small, .contact-methods strong { display: block; }
.contact-methods small { color: var(--text-secondary); }
.contact-methods strong { max-width: 250px; overflow-wrap: anywhere; font-size: 14px; }
.contact-cta-section { padding-bottom: 72px; }
.contact-cta {
    position: relative;
    isolation: isolate;
    min-height: 338px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(36px, 6vw, 82px);
    overflow: hidden;
    padding: 54px clamp(40px, 5vw, 68px);
    border: 1px solid rgba(99, 199, 161, .08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 42% 5%, rgba(29, 126, 91, .28), transparent 29%),
        radial-gradient(circle at 0 100%, rgba(13, 183, 112, .26), transparent 23%),
        linear-gradient(125deg, #032d27 0%, #064237 53%, #022d28 100%);
    box-shadow: 0 18px 38px rgba(8, 39, 33, .2);
}
.contact-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 680px;
    height: 680px;
    right: auto;
    left: -250px;
    inset-block-end: -470px;
    border: 1px solid rgba(55, 198, 144, .32);
    border-radius: 50%;
    outline: 1px solid rgba(55, 198, 144, .18);
    outline-offset: 90px;
}
.contact-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 138px;
    height: 92px;
    left: 40px;
    inset-block-start: 50px;
    opacity: .32;
    background-image: radial-gradient(circle, #36bd8b 1.5px, transparent 1.8px);
    background-size: 17px 17px;
}
.contact-cta-copy { position: relative; z-index: 1; max-width: 730px; }
.contact-cta .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: #df985f; font-size: 15px; font-weight: 750; }
.contact-cta-sparkle { width: 24px; height: 24px; display: grid; place-items: center; color: #f0bd45; }
.contact-cta-sparkle svg { width: 24px; height: 24px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.contact-cta h2 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(34px, 3.8vw, 50px); font-weight: 850; line-height: 1.45; letter-spacing: -.035em; text-wrap: balance; }
.contact-cta h2 strong { color: #70d4ac; font: inherit; }
.contact-cta-rule { width: min(100%, 560px); height: 16px; margin: 20px 0 14px; display: flex; align-items: center; }
.contact-cta-rule::before,
.contact-cta-rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(214, 172, 90, .38)); }
.contact-cta-rule::after { background: linear-gradient(90deg, rgba(214, 172, 90, .38), transparent); }
.contact-cta-rule i { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #f0ca61; box-shadow: 0 0 11px 3px rgba(240, 202, 97, .5); transform: rotate(45deg); }
.contact-cta .contact-cta-description { display: flex; align-items: center; gap: 11px; margin: 0; color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.7; }
.contact-cta-description-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: #25a77c; }
.contact-cta-description-icon svg { width: 29px; height: 29px; display: block; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.contact-cta-actions { position: relative; z-index: 1; min-width: 400px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-self: center; }
.contact-cta-actions .btn { min-height: 64px; padding: 14px 22px; gap: 12px; border: 1px solid transparent; border-radius: 13px; font-size: 15px; font-weight: 800; box-shadow: 0 10px 24px rgba(0, 22, 18, .2); }
.contact-cta-actions .btn-whatsapp { border-color: rgba(107, 224, 177, .18); background: linear-gradient(135deg, #209d70, #17865f); }
.contact-cta-actions .btn-whatsapp:hover { background: linear-gradient(135deg, #27ac7c, #1a9168); }
.contact-cta-actions .btn-light { color: #123f35; background: #fff; }
.contact-cta-actions .btn-light:hover { color: #0a332a; background: #f7faf8; }
.contact-cta-button-icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; }
.contact-cta-button-icon svg { width: 26px; height: 26px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-cta-button-icon .contact-cta-whatsapp-icon { width: 25px; height: 25px; fill: currentColor; stroke: none; }
html[dir="ltr"] .contact-cta::before { right: -250px; left: auto; }
html[dir="ltr"] .contact-cta::after { right: 40px; left: auto; }

.site-footer { padding-top: 56px; background: #08251f; }
.footer-grid { grid-template-columns: 1.45fr repeat(3, 1fr); gap: 48px; }
.footer-grid h3, .footer-grid h4 { color: #fff; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.7); }
.footer-grid a:hover { color: #fff; }
.footer-brand img { width: 72px; height: 72px; padding: 4px; background: rgba(255,255,255,.96); }

@media (max-width: 1180px) {
    .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
    .hero-grid { min-height: 470px; }
    .hero-image { min-height: 470px; }
    .hero-copy { padding: 42px; }
    .hero-copy h1 { font-size: clamp(44px, 5vw, 56px); }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-cta { grid-template-columns: 1fr; min-height: 0; }
    .contact-cta-actions { min-width: 0; width: min(100%, 430px); justify-self: start; }
}

@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-image { order: -1; min-height: 0; height: auto; aspect-ratio: 16 / 10; }
    .hero-copy, html[dir="ltr"] .hero-copy { padding: 36px 32px 40px; }
    .hero-copy h1 { font-size: clamp(38px, 8vw, 48px); }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .contact-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-methods > * + * { border-inline-start: 0; }
    .contact-methods > *:nth-child(even) { border-inline-start: 1px solid var(--border); }
    .contact-methods > *:nth-child(n+3) { border-top: 1px solid var(--border); }
    .contact-cta { padding: 40px 36px; }
    .contact-cta-actions { justify-content: start; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
    .clearance-product-grid.clearance-count-2,
    .clearance-product-grid.clearance-count-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .clearance-product-grid.clearance-count-3 > .product-card:last-child { grid-column: 1 / -1; width: calc((100% - 22px) / 2); justify-self: center; }
}

@media (max-width: 640px) {
    .container { width: min(1240px, calc(100% - 32px)); }
    .hero { padding-top: 16px; }
    .hero-grid { border-radius: 18px; }
    .hero-image { aspect-ratio: 4 / 3; }
    .hero-copy, html[dir="ltr"] .hero-copy { padding: 28px 22px 32px; }
    .hero-copy h1 { margin-block: 8px 14px; font-size: clamp(34px, 10vw, 42px); }
    .hero-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.75; }
    .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 22px; }
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefits-grid > div { min-height: 118px; padding: 16px; text-align: center; }
    .benefits-grid > div > span { margin-inline: auto; }
    .section { padding-top: 56px; }
    .muted-band { margin-top: 56px; padding-block: 48px; }
    .clearance-section { width: calc(100% - 20px); margin-top: 56px; padding-block: 44px; border-radius: 20px; }
    .clearance-section + .muted-band { margin-top: 56px; }
    .clearance-product-grid.clearance-count-3 > .product-card:last-child { width: calc((100% - 16px) / 2); }
    .section-head { gap: 12px; margin-bottom: 22px; }
    .section-head h2, .centered-head h2 { font-size: 28px; }
    .card-actions { grid-template-columns: 1fr; }
    .category-grid { gap: 12px; }
    .home-category-grid .category-card:nth-child(n+5) { display: none; }
    .category-card-copy { padding: 14px; }
    .category-card span { font-size: 15px; }
    .category-card-copy b { width: 30px; height: 30px; flex-basis: 30px; }
    .why-section { width: calc(100% - 20px); margin-top: 56px; padding: 40px 10px 18px; border-radius: 20px; }
    .why-section .container { width: calc(100% - 16px); }
    .why-section .centered-head { padding-inline: 8px; }
    .why-section .centered-head h2 { font-size: 31px; }
    .why-section .centered-head > p:not(.eyebrow) { font-size: 15px; }
    .why-grid { grid-template-columns: 1fr; margin-top: 32px; }
    .why-grid article { min-height: 315px; padding: 28px 22px 26px; }
    .contact-methods-section { padding-top: 56px; }
    .contact-methods { grid-template-columns: 1fr; }
    .contact-methods > *:nth-child(even) { border-inline-start: 0; }
    .contact-methods > * + * { border-top: 1px solid var(--border); }
    .contact-cta-section { padding-bottom: 56px; }
    .contact-cta { gap: 28px; padding: 34px 24px; border-radius: 20px; }
    .contact-cta::after { left: 18px; inset-block-start: 24px; opacity: .22; }
    html[dir="ltr"] .contact-cta::after { right: 18px; left: auto; }
    .contact-cta h2 { font-size: clamp(29px, 8vw, 38px); line-height: 1.5; }
    .contact-cta .contact-cta-description { align-items: flex-start; font-size: 14px; }
    .contact-cta-actions { width: 100%; grid-template-columns: 1fr; }
    .contact-cta-actions .btn {
        width: 100%;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .card-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-image { aspect-ratio: 1 / .82; }
    .section-head h2, .centered-head h2 { font-size: 26px; }
    .clearance-product-grid.clearance-count-1,
    .clearance-product-grid.clearance-count-2,
    .clearance-product-grid.clearance-count-3 { grid-template-columns: minmax(0, 420px); }
    .clearance-product-grid.clearance-count-3 > .product-card:last-child { grid-column: auto; width: 100%; }
}

@media (max-width: 360px) {
    .container { width: min(1240px, calc(100% - 24px)); }
    .hero-copy, html[dir="ltr"] .hero-copy { padding-inline: 18px; }
    .hero-copy h1 { font-size: 34px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .benefits-grid > div + div { border-inline-start: 0; border-top: 1px solid var(--border); }
    .category-card-copy b { display: none; }
    .card-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
}
