/* =========================================================
   David Team Wear — global styles
   ========================================================= */
:root {
  --navy: #0a1a33;
  --navy-2: #12284d;
  --accent: #ff5a1f;
  --accent-2: #ffb21f;
  --ink: #111827;
  --muted: #5b6475;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 26, 51, .10);
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; line-height: 1.1; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.dark .section-head p { color: #c3cbe0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; border: 2px solid transparent; transition: .25s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e94a10; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 90, 31, .35); }
.btn-outline { border-color: currentColor; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c3cbe0; font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar span { margin-right: 18px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, background .3s; }
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; transition: height .3s ease; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; color: var(--navy); line-height: 1; }
.logo-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--accent); display: grid; place-items: center; font-size: 1.25rem; }
.logo img { height: 52px; width: auto; }
.footer-logo { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 12px; }
.footer-logo img { height: 62px; }
.logo small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: 3px; color: var(--accent); font-weight: 700; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav > li > a { display: block; padding: 10px 14px; font-weight: 600; font-size: .92rem; border-radius: 8px; }
.nav > li > a:hover, .nav > li > a.active { color: var(--accent); }
.has-mega > a::after { content: " ▾"; font-size: .7rem; }
.mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: grid; grid-template-columns: repeat(4, 180px); gap: 24px; opacity: 0; visibility: hidden; transition: .2s; border: 1px solid var(--line); }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega h4 { font-size: .9rem; color: var(--navy); margin-bottom: 10px; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.mega a { display: block; font-size: .87rem; color: var(--muted); padding: 4px 0; }
.mega a:hover { color: var(--accent); padding-left: 4px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .25s; }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; z-index: 100; transform: translateX(100%); transition: .3s; overflow-y: auto; padding: 24px; box-shadow: var(--shadow); }
.mobile-nav.open { transform: none; }
.mobile-nav .close { background: none; border: 0; font-size: 1.8rem; float: right; }
.mobile-nav ul { list-style: none; clear: both; padding-top: 10px; }
.mobile-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-nav details summary { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.mobile-nav details a { padding-left: 14px; font-weight: 400; color: var(--muted); }
.overlay { position: fixed; inset: 0; background: rgba(10, 26, 51, .55); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 20%, #1d3a6e 0%, transparent 60%), linear-gradient(135deg, var(--navy) 0%, #071226 100%); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; min-height: 620px; padding: 60px 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: #c3cbe0; font-size: 1.08rem; max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-badges div { font-size: .85rem; color: #c3cbe0; }
.hero-badges strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: #fff; }
.hero-art { position: relative; height: 480px; }
.hero-art .jersey { position: absolute; width: 58%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
.hero-art .j1 { left: 0; top: 60px; transform: rotate(-10deg); animation-delay: -2s; }
.hero-art .j2 { right: 0; top: 0; width: 64%; z-index: 2; }
.hero-art .j3 { left: 22%; bottom: -10px; width: 46%; transform: rotate(8deg); animation-delay: -4s; z-index: 3; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 30s linear infinite; font-family: var(--font-head); text-transform: uppercase; font-size: 1.25rem; letter-spacing: 1px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 48px; color: var(--navy); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sport category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; display: flex; align-items: flex-end; padding: 22px; color: #fff; isolation: isolate; transition: .3s; }
.cat-tile .bg { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; transition: transform .5s; }
.cat-tile .bg svg { width: 75%; }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 26, 51, .9), transparent 55%); }
.cat-tile:hover .bg { transform: scale(1.07); }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-tile h3 { font-size: 1.4rem; }
.cat-tile p { font-size: .85rem; color: #d7dcea; }
.cat-tile .arrow { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 700; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-media { position: relative; aspect-ratio: 1; background: var(--bg-soft); display: grid; place-items: center; padding: 26px; }
.product-media svg { width: 82%; transition: transform .4s; }
.product-card:hover .product-media svg { transform: scale(1.06) rotate(-2deg); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; }
.badge.new { background: var(--navy); }
.quick { position: absolute; bottom: 14px; left: 50%; transform: translate(-50%, 10px); opacity: 0; transition: .3s; background: var(--navy); color: #fff; border: 0; padding: 9px 18px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.product-card:hover .quick { opacity: 1; transform: translate(-50%, 0); }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: .75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.product-body h3 { font-family: var(--font-body); text-transform: none; font-size: 1rem; letter-spacing: 0; font-weight: 700; }
.product-meta { font-size: .82rem; color: var(--muted); }
.product-body .btn { margin-top: auto; align-self: flex-start; padding: 9px 18px; font-size: .75rem; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { background: var(--navy-2); border-radius: var(--radius); padding: 30px 24px; position: relative; border: 1px solid rgba(255, 255, 255, .06); transition: .3s; }
.process-step:hover { border-color: var(--accent); transform: translateY(-4px); }
.process-step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 3rem; color: transparent; -webkit-text-stroke: 1.5px var(--accent); position: absolute; top: 14px; right: 20px; opacity: .8; }
.process-step .icon { font-size: 2rem; margin-bottom: 18px; }
.process-step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.process-step p { color: #c3cbe0; font-size: .92rem; }

/* ---------- Features / value points ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 30px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .icon { width: 64px; height: 64px; border-radius: 50%; background: #fff1eb; color: var(--accent); display: grid; place-items: center; font-size: 1.7rem; margin: 0 auto 16px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.feature p { color: var(--muted); font-size: .9rem; }

/* ---------- Split / customization ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0 28px; }
.check-list li { padding-left: 28px; position: relative; font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .7rem; display: grid; place-items: center; margin-top: 3px; }
.split-art { background: linear-gradient(135deg, #fff1eb, #e8eefb); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-art > div { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-align: center; font-weight: 600; font-size: .85rem; }
.split-art [data-jersey] { display: block; }
.split-art svg { margin: 0 auto 8px; width: 80%; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent), #ff7d1f); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { opacity: .92; }
.cta-band .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-dark:hover { background: #000; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; cursor: pointer; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 1.2rem; color: var(--accent); transition: .25s; }
.faq details[open] summary::after { content: "−"; background: var(--accent); color: #fff; }
.faq details p, .faq details ul { padding: 0 24px 20px; color: var(--muted); }
.faq details ul { padding-left: 44px; }

/* ---------- Logo strips ---------- */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.strip span { padding: 14px 24px; border: 1px solid var(--line); border-radius: 12px; font-weight: 800; color: var(--navy); letter-spacing: 1px; background: #fff; font-size: .95rem; }
.strip-title { text-align: center; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 34px 0 16px; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), #071226); color: #fff; padding: 80px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 22px); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 10px; }
.page-hero p { color: #c3cbe0; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: .85rem; color: #8e9ab8; margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.sidebar { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sidebar h4 { font-size: 1rem; margin-bottom: 12px; color: var(--navy); }
.sidebar ul { list-style: none; margin-bottom: 26px; }
.sidebar li button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px; display: flex; justify-content: space-between; color: var(--muted); font-weight: 500; }
.sidebar li button:hover, .sidebar li button.active { background: #fff1eb; color: var(--accent); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-toolbar input, .shop-toolbar select { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.shop-toolbar input { min-width: 240px; }
.shop-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); grid-column: 1/-1; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.form-step { padding: 28px 0; border-bottom: 1px dashed var(--line); }
.form-step:first-child { padding-top: 0; }
.form-step:last-of-type { border-bottom: 0; }
.form-step h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.form-step h3 b { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea { padding: 13px 14px; border: 1px solid #d5d9e2; border-radius: 10px; font: inherit; background: #fff; transition: .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.req { color: var(--accent); }

.pick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 12px; padding: 14px 8px; text-align: center; font-size: .82rem; font-weight: 600; transition: .2s; height: 100%; background: #fff; }
.pick span svg { width: 60px; }
.pick input:checked + span { border-color: var(--accent); background: #fff1eb; }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 1.5px solid #d5d9e2; border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: .2s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }

.dropzone { border: 2px dashed #c9cfdb; border-radius: 14px; padding: 34px; text-align: center; color: var(--muted); cursor: pointer; transition: .2s; background: var(--bg-soft); }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #fff1eb; }
.dropzone strong { color: var(--navy); display: block; margin-bottom: 4px; }
.file-list { margin-top: 10px; font-size: .85rem; color: var(--navy); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb758; transform: translateY(-2px); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; align-items: start; }
.info-card { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px; }
.info-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.info-card > p { color: #c3cbe0; margin-bottom: 26px; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.info-item .icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.info-item small { display: block; color: #8e9ab8; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.info-item a:hover { color: var(--accent); }

/* ---------- About ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--accent); }
.stat span { color: #c3cbe0; font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { background: #071226; color: #aab4cc; padding-top: 72px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #fff; transition: .2s; }
.socials a:hover { background: var(--accent); color: #fff; }
.newsletter { display: flex; margin-top: 14px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border: 0; border-radius: 10px 0 0 10px; font: inherit; }
.newsletter button { border: 0; background: var(--accent); color: #fff; padding: 0 18px; border-radius: 0 10px 10px 0; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* ---------- Floating WhatsApp & modal ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ping 2s infinite; z-index: -1; }
@keyframes ping { 75%, 100% { transform: scale(1.6); opacity: 0; } }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(10, 26, 51, .6); opacity: 0; visibility: hidden; transition: .25s; }
.modal.show { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: 20px; width: min(620px, 100%); max-height: 90vh; overflow-y: auto; padding: 32px; position: relative; transform: translateY(20px); transition: .25s; }
.modal.show .modal-box { transform: none; }
.modal-box h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.modal-box > p { color: var(--muted); margin-bottom: 20px; }
.modal-close { position: absolute; top: 14px; right: 16px; background: var(--bg-soft); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; }
.modal-product { display: flex; gap: 20px; align-items: center; }
.modal-product .media { width: 45%; background: var(--bg-soft); border-radius: 14px; padding: 20px; flex-shrink: 0; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 12px; z-index: 200; opacity: 0; transition: .3s; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .product-grid, .cat-grid, .feature-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 100; border-radius: 0; transform: translateX(-100%); transition: .3s; overflow-y: auto; }
  .sidebar.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .shop-layout .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pick-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .hero .container, .split, .cta-band, .contact-layout { grid-template-columns: 1fr; }
  .hero-art { height: 340px; }
  .hero .container { min-height: 0; }
  .cta-band { padding: 36px 24px; }
  .cta-band .actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .product-grid, .shop-layout .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-body .btn { display: none; }
  .cat-grid, .feature-grid, .process-grid, .footer-grid, .grid-2, .grid-3, .check-list { grid-template-columns: 1fr; }
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 22px; }
  .shop-toolbar input { min-width: 0; width: 100%; }
  .modal-product { flex-direction: column; }
  .modal-product .media { width: 70%; }
  .split-art { padding: 20px; }
}

/* =========================================================
   Homepage sections added to match the Fervour layout
   ========================================================= */
/* Promo banners */
.promo-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.promo { position: relative; overflow: hidden; border-radius: 20px; padding: 32px; color: #fff; background: linear-gradient(135deg, var(--p1), var(--p2)); display: flex; align-items: center; min-height: 200px; transition: .3s; isolation: isolate; }
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-lg { grid-row: span 2; min-height: 420px; }
.promo > div:first-child { position: relative; z-index: 1; max-width: 60%; }
.promo h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 6px; }
.promo-lg h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.promo p { color: rgba(255,255,255,.8); margin-bottom: 18px; font-size: .95rem; }
.promo .eyebrow { color: var(--accent-2); }
.promo-art { position: absolute; right: -4%; bottom: -8%; width: 46%; z-index: 0; transform: rotate(-8deg); transition: transform .5s; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.promo-lg .promo-art { width: 52%; right: 0; bottom: 4%; }
.promo:hover .promo-art { transform: rotate(-3deg) scale(1.05); }

/* Manufacturing process rows */
.mfg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.mfg-row:last-child { margin-bottom: 0; }
.mfg-row.reverse .mfg-media { order: 2; }
.mfg-media { border-radius: 24px; overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); background-size: cover; background-position: center; }
.mfg-media.has-photo .mfg-illus { display: none; }
.mfg-illus { position: relative; width: 100%; height: 100%; background: linear-gradient(135deg, var(--m1), var(--m2)); display: grid; place-items: center; }
.mfg-jersey { width: 46%; filter: drop-shadow(0 20px 30px rgba(10,26,51,.25)); }
.mfg-emoji { position: absolute; font-size: clamp(1.8rem, 4vw, 2.8rem); background: #fff; width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.mfg-emoji:nth-of-type(2) { animation-delay: -2s; }
.mfg-emoji:nth-of-type(3) { animation-delay: -4s; }
.swatch-stack { position: absolute; right: 10%; top: 14%; display: flex; flex-direction: column; gap: 8px; }
.swatch-stack i { width: 44px; height: 30px; border-radius: 8px; box-shadow: var(--shadow); border: 3px solid #fff; }
.mfg-check { position: absolute; right: 16%; top: 16%; width: 70px; height: 70px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 2.2rem; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(22,163,74,.4); font-weight: 900; }
.mfg-num { font-family: var(--font-head); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); display: block; margin-bottom: 8px; }
.mfg-text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: 16px; }
.mfg-text p { color: var(--muted); margin-bottom: 14px; }

/* Certificates / shipping / payment logo strips */
.logos-section { padding: 56px 0; }
.logos-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 26px; }
.logos-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin: 12px auto 0; border-radius: 3px; }
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.logo-tile { height: 100px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; text-align: center; font-family: var(--font-body); transition: .25s; padding: 10px; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-tile img { max-height: 70px; width: auto; }
.logo-tile.cert b { display: block; font-size: 1.6rem; color: var(--navy); }
.logo-tile.cert small { color: var(--muted); font-weight: 600; }
#certificates .logo-row { grid-template-columns: repeat(4, 1fr); }

/* Instagram: 4 real posts */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.insta-tile { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; display: block; background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); background-size: cover; background-position: center; box-shadow: var(--shadow); transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s; }
.insta-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10,26,51,.18); }
.insta-tile svg { width: 28px; height: 28px; }
.insta-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; }
.insta-fallback svg { width: 46px; height: 46px; }
.insta-fallback small { opacity: .85; }
.insta-tile.has-photo .insta-fallback { display: none; }
.insta-badge { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; font-size: .8rem; backdrop-filter: blur(4px); z-index: 1; }
.insta-hover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(10,26,51,.62); color: #fff; font-weight: 700; font-size: .9rem; opacity: 0; transition: opacity .35s; z-index: 2; }
.insta-tile:hover .insta-hover, .insta-tile:focus-visible .insta-hover { opacity: 1; }

/* Hero background video */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero.has-video::before { z-index: 1; background-image: linear-gradient(90deg, rgba(7,18,38,.92) 0%, rgba(7,18,38,.7) 45%, rgba(7,18,38,.25) 100%); }
.hero.has-video::after { display: none; }
.hero.has-video .container { z-index: 2; }
.hero.has-video .hero-art { display: none; }
@media (max-width: 820px) { .hero.has-video::before { background-image: linear-gradient(180deg, rgba(7,18,38,.75), rgba(7,18,38,.9)); } }

/* Contact information cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 30px; text-align: center; transition: .25s; display: block; }
a.contact-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.contact-card .icon { font-size: 2rem; margin-bottom: 10px; }
.contact-card small { display: block; color: #8e9ab8; text-transform: uppercase; letter-spacing: 1.5px; font-size: .75rem; margin-bottom: 4px; }
.contact-card strong { font-size: 1.05rem; word-break: break-word; }

@media (max-width: 1080px) {
    .logo-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .promo-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .promo-lg { grid-row: auto; min-height: 280px; }
  .mfg-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .mfg-row.reverse .mfg-media { order: 0; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-row, #certificates .logo-row { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { height: 80px; }
  .promo > div:first-child { max-width: 70%; }
}

/* =========================================================
   Soft motion — gentle "alive" touches
   ========================================================= */
.ease-soft { transition-timing-function: cubic-bezier(.22,1,.36,1); }

/* Directional reveals */
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in.from-left, .reveal.in.from-right, .reveal.in.zoom { transform: none; }

/* Header gets slimmer on scroll */
.header.scrolled .container { height: 64px; }
.header .logo img { transition: height .3s ease; }
.header.scrolled .logo img { height: 44px; }

/* Hero entrance on page load */
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.92); } to { opacity: 1; transform: none; } }
.hero .container > div:first-child > * { opacity: 0; animation: riseIn .9s cubic-bezier(.22,1,.36,1) forwards; }
.hero .container > div:first-child > :nth-child(1) { animation-delay: .1s; }
.hero .container > div:first-child > :nth-child(2) { animation-delay: .22s; }
.hero .container > div:first-child > :nth-child(3) { animation-delay: .34s; }
.hero .container > div:first-child > :nth-child(4) { animation-delay: .46s; }
.hero .container > div:first-child > :nth-child(5) { animation-delay: .58s; }
.hero-art { opacity: 0; animation: popIn 1.1s cubic-bezier(.22,1,.36,1) .35s forwards; transition: translate .6s cubic-bezier(.22,1,.36,1); }
.page-hero .container > * { opacity: 0; animation: riseIn .8s cubic-bezier(.22,1,.36,1) forwards; }
.page-hero .container > :nth-child(2) { animation-delay: .1s; }
.page-hero .container > :nth-child(3) { animation-delay: .2s; }

/* Soft glow drifting behind the hero */
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: 8%; top: 10%; background: radial-gradient(circle, rgba(255,90,31,.22), transparent 65%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }

/* Button shine sweep */
.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-dark::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.btn-primary:hover::after, .btn-dark:hover::after { left: 130%; }

/* Eyebrow line grows in */
.section-head .eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 0; height: 2px; background: var(--accent); margin-right: 0; transition: width .8s cubic-bezier(.22,1,.36,1) .2s, margin .8s; }
.section-head.in .eyebrow::before { width: 26px; margin-right: 10px; }

/* Gentle hover lifts */
.feature .icon { transition: transform .4s cubic-bezier(.22,1,.36,1), background .3s; }
.feature:hover .icon { transform: translateY(-4px) rotate(-6deg); background: var(--accent); color: #fff; }
.feature { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mfg-media { transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s; }
.mfg-row:hover .mfg-media { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10,26,51,.16); }
.cat-tile .arrow { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.cat-tile:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Back-to-top button */
.to-top { position: fixed; right: 26px; bottom: 92px; z-index: 79; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s, transform .35s, background .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .hero .container > div:first-child > *, .hero-art, .page-hero .container > * { opacity: 1 !important; animation: none !important; }
  .reveal, .reveal.from-left, .reveal.from-right, .reveal.zoom { opacity: 1; transform: none; }
}
html, body { overflow-x: clip; }
