:root {
    --cmx-navy: #12384e;
    --cmx-navy-dark: #082635;
    --cmx-blue: #255b7d;
    --cmx-cyan: #79c6d5;
    --cmx-silver: #d7e0e5;
    --cmx-silver-dark: #91a4af;
    --cmx-ink: #1f2d35;
    --cmx-muted: #536772;
    --cmx-line: #d8e4e9;
    --cmx-surface: #f4f8fa;
    --cmx-white: #fff;
    --cmx-danger: #b42318;
    --cmx-success: #176b45;
}

html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body.home-page { overflow-x: clip; color: var(--cmx-ink); background: #fff; }
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-container { width: min(92%, 1230px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.home-kicker { display: inline-flex; align-items: center; width: fit-content; padding: 7px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.home-kicker--blue { border-color: #b8dce5; color: #17617d; background: #eaf6f8; }
.home-section { padding: clamp(56px, 7vw, 92px) 0; }
.home-section__heading { max-width: 760px; margin-bottom: 32px; }
.home-section__heading h2 { margin: 12px 0 10px; color: var(--cmx-navy); font-size: clamp(1.8rem, 3.2vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; }
.home-section__heading p { margin: 0; color: var(--cmx-muted); font-size: 1.03rem; line-height: 1.65; }

.home-hero { min-height: 720px; }
.home-page .home-hero { margin-top: -20px; }
.home-hero__copy { min-width: 0; }
.home-hero__lead { max-width: 680px; margin: 0; color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.58; }
.home-button { border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button:focus-visible, .home-whatsapp-link:focus-visible, .purchase-mode-card a:focus-visible, .home-category-card:focus-visible, .additional-category-links a:focus-visible, .mobile-conversion-bar a:focus-visible, .faq-list summary:focus-visible { outline: 3px solid #bdeaf2; outline-offset: 3px; }
.home-button--retail { color: #0a3345; background: #c7eef3; border-color: #c7eef3; box-shadow: 0 12px 28px rgba(4,26,38,.18); }
.home-button--wholesale { color: var(--cmx-navy-dark); background: linear-gradient(135deg,#f9fbfc 0%,var(--cmx-silver) 42%,#edf2f4 70%,#b8c6ce 100%); border-color: var(--cmx-silver-dark); box-shadow: 0 14px 30px rgba(8,38,53,.24), inset 0 1px 0 rgba(255,255,255,.95); }
.home-button--wholesale:hover { background: linear-gradient(135deg,#fff 0%,#e8eef1 40%,#c4d0d6 100%); border-color: #718995; }
.home-button--outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.home-whatsapp-link { min-height: 48px; display: inline-flex; align-items: center; gap: 7px; padding: 0 8px; color: #fff; font-weight: 800; text-underline-offset: 4px; }
.home-search { max-width: 650px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 28px; padding: 7px; border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(4,24,35,.25); }
.home-search input { min-width: 0; min-height: 48px; padding: 0 14px; border: 0; border-radius: 8px; color: var(--cmx-ink); background: transparent; font: inherit; }
.home-search input:focus { outline: 3px solid #8fd6e3; }
.home-search button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px; color: #fff; background: var(--cmx-navy); font: inherit; font-weight: 900; cursor: pointer; }
.home-search-examples { max-width: 650px; margin: 10px 0 0; color: rgba(255,255,255,.86); font-size: .86rem; line-height: 1.5; }
.home-search-examples span { font-weight: 900; }

.purchase-selector { min-width: 0; padding: clamp(18px,2.5vw,28px); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(7,34,48,.68); box-shadow: 0 28px 62px rgba(2,17,25,.3); backdrop-filter: blur(10px); }
.purchase-selector__eyebrow { margin: 0 0 6px; color: #bdeaf2; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.purchase-selector h2 { margin: 0 0 18px; color: #fff; font-size: clamp(1.55rem,2.4vw,2.1rem); }
.purchase-selector__cards { display: grid; gap: 13px; }
.purchase-mode-card { padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: var(--cmx-ink); background: #fff; }
.purchase-mode-card--wholesale { border: 2px solid var(--cmx-silver-dark); background: linear-gradient(145deg,#fff 0%,#f1f5f7 100%); box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(8,38,53,.12); }
.svg-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 9px; color: var(--cmx-navy); background: #e8f5f7; }
.svg-icon svg, .benefit-item__icon svg, .catalog-cta__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.purchase-mode-card h3 { margin: 0 0 7px; color: var(--cmx-navy); font-size: 1.05rem; line-height: 1.25; }
.purchase-mode-card p { margin: 0 0 11px; color: var(--cmx-muted); font-size: .9rem; line-height: 1.5; }
.purchase-mode-card a { color: #175b75; font-weight: 900; text-underline-offset: 3px; }

.benefit-strip { position: relative; z-index: 3; border-bottom: 1px solid var(--cmx-line); background: #fff; box-shadow: 0 14px 40px rgba(18,56,78,.08); }
.benefit-strip__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.benefit-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 25px 18px; border-right: 1px solid var(--cmx-line); }
.benefit-item:last-child { border-right: 0; }
.benefit-item__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: #17617d; background: #e7f5f8; }
.benefit-item h2 { margin: 0 0 5px; color: var(--cmx-navy); font-size: .98rem; }
.benefit-item p { margin: 0; color: var(--cmx-muted); font-size: .82rem; line-height: 1.45; }

.home-section--categories { background: var(--cmx-surface); }
.home-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.home-category-card { min-width: 0; overflow: hidden; border: 1px solid var(--cmx-line); border-radius: 14px; color: inherit; background: #fff; box-shadow: 0 12px 30px rgba(18,56,78,.08); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.home-category-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,56,78,.14); }
.home-category-card__image { aspect-ratio: 3/2; display: block; overflow: hidden; background: #eef4f6; }
.home-category-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.home-category-card:hover img { transform: scale(1.03); }
.home-category-card__image img.is-placeholder { padding: 12%; object-fit: contain; }
.home-category-card__content { display: grid; gap: 8px; padding: 18px; }
.home-category-card__content strong { color: var(--cmx-navy); font-size: 1.12rem; }
.home-category-card__content small { min-height: 2.8em; color: var(--cmx-muted); font-size: .88rem; line-height: 1.4; }
.home-category-card__content > span { color: #17617d; font-size: .88rem; font-weight: 900; }

.wholesale-section { padding: clamp(60px,8vw,105px) 0; color: #fff; background: linear-gradient(135deg,#0b2f43,#14556f 58%,#1d718a); }
.wholesale-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(480px,1.15fr); gap: clamp(32px,6vw,74px); align-items: start; }
.wholesale-copy { position: sticky; top: 110px; }
.wholesale-copy h2 { margin: 14px 0; color: #fff; font-size: clamp(2rem,4vw,3.4rem); line-height: 1.05; }
.wholesale-copy > p { color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.65; }
.check-list { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; font-weight: 750; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #aee8d0; font-weight: 950; }
.wholesale-copy__actions { display: flex; flex-wrap: wrap; gap: 11px; }
.wholesale-form-card { padding: clamp(22px,4vw,38px); border-radius: 18px; color: var(--cmx-ink); background: #fff; box-shadow: 0 28px 66px rgba(2,18,27,.3); }
.wholesale-form-card__heading > span { color: #17617d; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.wholesale-form-card__heading h2 { margin: 6px 0; color: var(--cmx-navy); font-size: clamp(1.6rem,3vw,2.2rem); }
.wholesale-form-card__heading p { margin: 0 0 24px; color: var(--cmx-muted); }
.form-status { display: grid; gap: 4px; margin-bottom: 18px; padding: 14px; border-radius: 9px; }
.form-status.is-success { color: #0e5938; border: 1px solid #a8dfc8; background: #eaf8f1; }
.form-status.is-error { color: #8e251d; border: 1px solid #efb4ae; background: #fff0ee; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.form-field { min-width: 0; display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.form-field--full { grid-column: 1/-1; }
.form-field label, .form-field legend { color: #263943; font-size: .88rem; font-weight: 850; }
.form-field input:not([type=radio]):not([type=checkbox]), .form-field select, .form-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b9cbd2; border-radius: 8px; color: var(--cmx-ink); background: #fff; font: inherit; }
.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #23779a; outline: 3px solid rgba(47,127,161,.2); }
.form-field [aria-invalid=true] { border-color: var(--cmx-danger) !important; }
.field-error { min-height: 1.1em; color: var(--cmx-danger); font-size: .78rem; font-weight: 750; }
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-group label, .consent-field label { min-height: 42px; display: flex; align-items: center; gap: 9px; font-weight: 650; }
.radio-group input, .consent-field input { width: 19px; height: 19px; flex: 0 0 19px; accent-color: #17617d; }
.consent-field { padding-top: 4px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.wholesale-form__submit { width: 100%; margin-top: 8px; font: inherit; }
.form-privacy-note { margin: 10px 0 0; color: var(--cmx-muted); font-size: .78rem; text-align: center; }
.form-general-error { display: block; margin: 8px 0; }

.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.why-grid article { position: relative; min-height: 235px; padding: 28px; overflow: hidden; border: 1px solid var(--cmx-line); border-radius: 14px; background: linear-gradient(145deg,#fff,#f3f8fa); }
.why-number { color: #7dbccb; font-size: 2rem; font-weight: 950; }
.why-grid h3 { margin: 22px 0 9px; color: var(--cmx-navy); font-size: 1.3rem; }
.why-grid p { margin: 0; color: var(--cmx-muted); line-height: 1.6; }

.catalog-cta { padding: 42px 0; background: #e7f4f7; }
.catalog-cta__inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; align-items: center; }
.catalog-cta__icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--cmx-navy); }
.catalog-cta__icon svg { width: 38px; height: 38px; }
.catalog-cta__inner > div > span { color: #17617d; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.catalog-cta h2 { margin: 4px 0; color: var(--cmx-navy); font-size: clamp(1.5rem,2.8vw,2.15rem); }
.catalog-cta p { margin: 0; color: var(--cmx-muted); }

.additional-categories { background: var(--cmx-surface); }
.additional-category-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.additional-category-links a { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 16px; border: 1px solid var(--cmx-line); border-radius: 9px; color: var(--cmx-navy); background: #fff; font-weight: 850; text-decoration: none; }
.additional-category-links a:hover { border-color: #72b5c5; }

.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: clamp(30px,6vw,80px); align-items: start; }
.faq-layout .home-section__heading { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--cmx-line); border-radius: 10px; background: #fff; }
.faq-list summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; color: var(--cmx-navy); font-weight: 850; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: #17617d; font-size: 1.45rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 18px 18px; color: var(--cmx-muted); line-height: 1.65; }
.mobile-conversion-bar { display: none; }

@media (min-width: 769px) and (max-width: 1200px) {
    .home-page footer { padding-inline: clamp(24px, 4vw, 48px); }
    .home-page .footer-container { grid-template-columns: minmax(210px,.8fr) minmax(280px,1.2fr) minmax(210px,.8fr); gap: clamp(22px,3vw,36px); }
    .home-page .footer-left,
    .home-page .footer-center,
    .home-page .footer-right,
    .home-page .description { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
}

@media (max-width: 1080px) {
    .benefit-strip__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .benefit-item:nth-child(2) { border-right: 0; }
    .benefit-item:nth-child(-n+2) { border-bottom: 1px solid var(--cmx-line); }
    .wholesale-layout { grid-template-columns: 1fr; }
    .wholesale-copy { position: static; max-width: 760px; }
    .home-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
    html { scroll-padding-top: 86px; }
    .home-page .home-hero { margin-top: 0; }
    .home-hero { min-height: 0; }
    .home-hero__inner { width: min(92%,100% - 28px); padding: 34px 0 42px; gap: 30px; }
    .home-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .home-whatsapp-link { grid-column: 1/-1; width: fit-content; }
    .purchase-selector { backdrop-filter: none; }
    .home-category-grid, .why-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .why-grid article:last-child { grid-column: 1/-1; }
    .catalog-cta__inner { grid-template-columns: auto 1fr; }
    .catalog-cta__inner > .home-button { grid-column: 1/-1; width: 100%; }
    .additional-category-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-layout .home-section__heading { position: static; }
}

@media (max-width: 600px) {
    body.home-page { padding-bottom: 64px; }
    .home-page main,
    .home-page section,
    .home-page .home-hero__inner,
    .home-page .home-hero__copy,
    .home-page .purchase-selector,
    .home-page .purchase-selector__cards,
    .home-page .purchase-mode-card,
    .home-page .wholesale-layout,
    .home-page .wholesale-form-card,
    .home-page .catalog-cta__inner,
    .home-page .faq-layout { min-width: 0; max-width: 100%; }
    .home-page .header,
    .home-page .header-top,
    .home-page .header .search-box { width: 100%; max-width: 100%; overflow-x: clip; }
    .home-page footer { width: 100%; max-width: 100%; padding-inline: 16px; overflow-x: clip; }
    .home-page .footer-container,
    .home-page .footer-left,
    .home-page .footer-center,
    .home-page .footer-right,
    .home-page .footer-center form,
    .home-page .description { width: 100%; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
    .home-page .header-top { grid-template-columns: 40px minmax(0,1fr) minmax(36px,86px); }
    .home-page .header .actions,
    .home-page .header .session-actions { min-width: 0; max-width: 86px; }
    .home-container { width: min(92%,100% - 24px); }
    .home-section { padding: 52px 0; }
    .home-kicker { font-size: .67rem; }
    .home-hero__lead { font-size: 1rem; }
    .home-hero h1,
    .home-hero p,
    .purchase-selector h2,
    .purchase-mode-card h3,
    .purchase-mode-card p,
    .home-search-examples { max-width: 100%; overflow-wrap: anywhere; }
    .home-hero__actions { grid-template-columns: 1fr; margin: 18px 0; }
    .home-whatsapp-link { grid-column: auto; }
    .home-search { grid-template-columns: 1fr; padding: 6px; }
    .home-search,
    .home-search input,
    .home-search button,
    .home-button { min-width: 0; max-width: 100%; white-space: normal; }
    .home-search button { width: 100%; }
    .home-search-examples { font-size: .78rem; }
    .purchase-selector { padding: 16px; }
    .purchase-mode-card { padding: 16px; }
    .benefit-strip__grid, .home-category-grid, .why-grid, .additional-category-links, .form-grid { grid-template-columns: 1fr; }
    .benefit-item { border-right: 0; border-bottom: 1px solid var(--cmx-line); }
    .benefit-item:last-child { border-bottom: 0; }
    .home-category-card__content small { min-height: 0; }
    .wholesale-section { padding: 54px 0; }
    .wholesale-form-card { padding: 20px 16px; border-radius: 12px; }
    .wholesale-copy__actions { display: grid; }
    .why-grid article, .why-grid article:last-child { grid-column: auto; min-height: 0; }
    .catalog-cta__inner { grid-template-columns: 1fr; text-align: left; }
    .mobile-conversion-bar { position: fixed; z-index: 8000; left: 0; right: 0; bottom: 0; height: 64px; display: grid; grid-template-columns: 1fr 1fr; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; border-top: 1px solid #c7d7de; background: rgba(255,255,255,.97); box-shadow: 0 -10px 30px rgba(13,48,65,.16); }
    .mobile-conversion-bar a { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff; background: var(--cmx-navy); font-weight: 900; text-decoration: none; }
    .mobile-conversion-bar a:last-child { color: var(--cmx-navy-dark); border: 1px solid var(--cmx-silver-dark); background: linear-gradient(135deg,#f9fbfc,var(--cmx-silver) 55%,#b8c6ce); }
    footer { margin-bottom: 0; }
}

@media (max-width: 360px) {
    .home-hero__inner { width: calc(100% - 20px); }
    .home-hero h1 { font-size: 1.9rem; }
    .home-button { padding-inline: 13px; font-size: .88rem; }
    .purchase-mode-card p { font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-button, .home-category-card, .home-category-card__image img { transition: none; }
}
