/* ATESCA: public site
   Light, editorial system. Outfit headings, Inter body, ATESCA green + harvest gold (colours come from Settings). */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --brand: #1e5b3e; --accent: #e8a33d; --on-brand: #fff; --on-accent: #1d1405;
  --ink: #10231a; --body: #48544d; --muted: #6a776f; --line: #e3e9e4;
  --surface: #f6f8f3; --surface-2: #edf2ea;
  --navy: color-mix(in srgb, var(--brand) 45%, #03140b);
  --tint: color-mix(in srgb, var(--brand) 7%, white);
  --radius: 16px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(12,30,20,.05), 0 2px 6px rgba(12,30,20,.05);
  --shadow: 0 18px 40px -18px rgba(12,30,20,.22);
  --head: 'Outfit', 'Inter', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; color: var(--body); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.02em; }
h3, h4 { font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.icon { flex: none; }
.lead { font-size: 1.12rem; color: var(--body); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.45rem; border-radius: 10px; font: inherit; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; line-height: 1.2; position: relative; overflow: hidden; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .55rem .95rem; font-size: .86rem; border-radius: 8px; }
.btn-sm .icon { width: 15px; height: 15px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 82%, black); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, black); }
.btn-outline { border-color: #cfd3df; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-accent::after, .btn-primary::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.3), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-accent:hover::after, .btn-primary:hover::after { left: 125%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .93rem; color: var(--brand); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow.back:hover .icon { transform: translateX(-4px); }

/* ---------- Admin bar ---------- */
.adminbar { background: #000; color: #9ca3af; font-size: .8rem; display: flex; justify-content: center; gap: 1rem; padding: .3rem 1rem; }
.adminbar a { color: #fff; display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.8) blur(12px); -webkit-backdrop-filter: saturate(1.8) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(12,30,20,.2); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1.5rem; position: relative; transition: height .3s ease; }
.site-header.scrolled .nav { height: 68px; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--ink); line-height: 1.1; }
.logo-text { font-family: var(--head); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; white-space: nowrap; }
.logo small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.site-header .logo small { display: none; }
.logo-icon { width: 52px; height: 42px; display: grid; place-items: center; flex: none; transition: width .3s, height .3s; }
.logo-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.site-header.scrolled .logo-icon { width: 46px; height: 36px; }
.logo-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex: none; }
.logo-full { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .55rem .9rem; color: var(--body); font-weight: 500; font-size: .95rem; border-radius: 8px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-cta { display: flex; gap: .75rem; align-items: center; }
.menu-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; place-items: center; cursor: pointer; color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c6d6cb; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; }
.topbar a { color: #c6d6cb; }
.topbar a:hover { color: #fff; }
.tb-group { display: flex; align-items: center; gap: 1.5rem; }
.tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.tb-item .icon { color: var(--accent); }
.tb-item b { color: #fff; font-weight: 600; }
.tb-social { display: flex; gap: .85rem; }

/* ---------- Hero (dark photo) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #cfdcd2; padding: 7.5rem 0 3.5rem; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, none) center / cover no-repeat; animation: kenburns 16s ease-out both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--navy) 96%, transparent) 0%, color-mix(in srgb, var(--navy) 88%, transparent) 50%, color-mix(in srgb, var(--navy) 50%, transparent) 100%); }
.hero-copy { max-width: 690px; }
.kicker { display: inline-flex; align-items: center; gap: .65rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 1.4rem; }
.kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; animation: lineGrow .8s .3s ease both; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.16rem; max-width: 580px; margin-bottom: 2.25rem; color: #cfdcd2; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
/* Stats sit along the bottom of the hero */
.hero-trust { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-trust > div { padding: 1.75rem 1.5rem 0 0; }
.hero-trust > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.1); }
.hero-trust strong { display: block; font-family: var(--head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.hero-trust span { font-size: .9rem; color: #9fb4a6; }
.scroll-cue { position: absolute; right: 2rem; top: 50%; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
.scroll-cue:hover { border-color: #fff; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@keyframes lineGrow { from { width: 0; } to { width: 32px; } }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---------- Sections ---------- */
section { padding: 6.5rem 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy); color: #c6d6cb; }
.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; text-align: left; flex-wrap: wrap; }
.section-head.row > div { max-width: 640px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: .75rem; }
.section-head h2, .h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.grid-plat { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }

/* ---------- Services: editorial list ---------- */
.svc-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
.svc-intro { position: sticky; top: 120px; }
.svc-intro p { font-size: 1.06rem; margin-bottom: 2rem; }
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 56px 1fr 28px; gap: 1.4rem; align-items: start; padding: 1.75rem .25rem; border-bottom: 1px solid var(--line); color: inherit; transition: background-color .25s, padding .25s; }
.svc-row:hover { background: var(--surface); padding-left: 1rem; padding-right: 1rem; }
.svc-row .s-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; transition: background-color .25s, color .25s, transform .25s; }
.svc-row:hover .s-icon { background: var(--brand); color: var(--on-brand); transform: rotate(-6deg); }
.svc-row h3 { font-size: 1.2rem; margin: .2rem 0 .35rem; transition: color .2s; }
.svc-row p { margin: 0; color: var(--muted); font-size: .96rem; }
.svc-row .s-arrow { color: #b4b9c8; margin-top: .45rem; transition: color .2s, transform .2s; }
.svc-row:hover h3, .svc-row:hover .s-arrow { color: var(--brand); }
.svc-row:hover .s-arrow { transform: translateX(4px); }

/* ---------- Service cards (photo on top) ---------- */
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: box-shadow .3s, transform .3s, border-color .3s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.svc-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); position: relative; display: block; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-media.noimg { aspect-ratio: auto; height: 34px; background: none; }
.svc-icon { position: absolute; left: 1.5rem; bottom: -24px; width: 52px; height: 52px; border-radius: 12px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(3,20,11,.45); transition: transform .3s, background-color .3s, color .3s; }
.svc-card:hover .svc-icon { transform: translateY(-4px) rotate(-6deg); background: var(--accent); color: var(--on-accent); }
.svc-body { padding: 2.25rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.svc-body h3 a { color: var(--ink); }
.svc-body h3 a:hover { color: var(--brand); }
.svc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.section-dark .section-head p { color: #b9c2dd; }
.section-dark .plat-card { border-color: transparent; }

/* ---------- Product cards ---------- */
.plat-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s, border-color .3s; color: var(--body); }
.plat-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.plat-media { aspect-ratio: 16 / 10; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; position: relative; color: #b4b9c8; }
.plat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.plat-card:hover .plat-media img { transform: scale(1.05); }
.plat-tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); color: var(--ink); font-size: .74rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.plat-body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.plat-body h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.plat-body h3 a { color: var(--ink); }
.plat-body h3 a:hover { color: var(--brand); }
.plat-body > p { font-size: .95rem; color: var(--muted); }
.ussd { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--ink) !important; background: var(--surface); border: 1px dashed #cdd2e0; padding: .35rem .75rem; border-radius: 8px; align-self: flex-start; }
.ussd .icon { color: var(--accent); }
.plat-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; flex-wrap: wrap; }
.ussd-box { display: inline-flex; align-items: center; gap: .9rem; padding: .9rem 1.2rem; border: 1.5px dashed color-mix(in srgb, var(--brand) 30%, white); border-radius: 12px; margin: .25rem 0 .5rem; background: var(--surface); }
.ussd-box > span { width: 44px; height: 44px; border-radius: 10px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.ussd-box small { display: block; color: var(--muted); font-size: .8rem; }
.ussd-box strong { font-family: var(--head); font-size: 1.45rem; color: var(--ink); letter-spacing: .02em; }

/* ---------- Founder band ---------- */
.founder-band { background: var(--navy); color: #c6d6cb; position: relative; overflow: hidden; }
.founder-band::after { content: ""; position: absolute; right: -8rem; bottom: -8rem; width: 26rem; height: 26rem; border-radius: 50%; border: 60px solid color-mix(in srgb, var(--accent) 12%, transparent); pointer-events: none; }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; position: relative; z-index: 1; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: center top; border-radius: 22px; }
.founder-photo::before { content: ""; position: absolute; inset: -1rem 1.5rem 1.5rem -1rem; border: 2px solid var(--accent); border-radius: 24px; }
.founder-photo img { position: relative; }
.founder-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.founder-copy .prose { color: #c6d6cb; font-size: 1.08rem; }
.founder-copy .prose p:first-child { font-size: 1.2rem; color: #e4e7f3; }
.founder-sign { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); }
.founder-sign strong { display: block; font-family: var(--head); color: #fff; font-size: 1.1rem; }
.founder-sign span { color: var(--accent); font-size: .9rem; font-weight: 600; }
.founder-sign .flags { margin-left: auto; font-size: .88rem; color: #9fb4a6; }

/* ---------- Split (About page) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-media { position: relative; }
.photo-wrap { border-radius: 22px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.photo-wrap img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: center top; }
.founder-media .photo-wrap img { object-position: center 50%; }
.split-media .ph { aspect-ratio: 4 / 4.6; border-radius: 22px; background: var(--surface); display: grid; place-items: center; color: #b4b9c8; }
.founder-tag { position: absolute; right: -1.5rem; bottom: 2.5rem; background: #fff; padding: .9rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.founder-tag strong { display: block; font-family: var(--head); color: var(--ink); font-size: 1rem; }
.founder-tag span { font-size: .84rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1.75rem 0 2.25rem; display: grid; gap: .85rem 1.5rem; grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; gap: .65rem; align-items: center; color: var(--ink); font-weight: 600; font-size: .96rem; }
.checklist .icon { width: 22px; height: 22px; color: var(--on-brand); background: var(--brand); border-radius: 50%; padding: 4px; }

/* ---------- Stats & steps (About page) ---------- */
.stats-band { background: var(--brand); color: var(--on-brand); padding: 4rem 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats > div { padding: .5rem 1rem; border-right: 1px solid color-mix(in srgb, var(--on-brand) 20%, transparent); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--head); font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.stats span { opacity: .85; font-size: .95rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; padding: 2rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, transform .3s; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.step-num { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand); margin-bottom: 1.1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; margin: 0; display: flex; flex-direction: column; }
.quote-card .q-mark .icon { color: color-mix(in srgb, var(--brand) 14%, white); }
.stars { color: var(--accent); display: flex; gap: 2px; }
.stars .icon { fill: currentColor; }
.quote-card blockquote { margin: 1rem 0 1.75rem; color: var(--ink); font-size: 1.02rem; flex: 1; }
.person { display: flex; align-items: center; gap: .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.person strong { display: block; color: var(--ink); font-size: .95rem; }
.person span span { font-size: .85rem; color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blog cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s, border-color .3s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.post-media { aspect-ratio: 16 / 10; background: var(--surface-2); display: grid; place-items: center; color: #b4b9c8; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.2rem; line-height: 1.35; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--brand); }
.post-body p { flex: 1; color: var(--muted); font-size: .95rem; }
.meta { font-size: .84rem; color: var(--muted); display: flex; gap: .45rem; align-items: center; margin-bottom: .7rem; flex-wrap: wrap; }
.meta .icon { color: var(--accent); }

/* ---------- Video ---------- */
.video-frame { max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro p { margin: .75rem 0 1.75rem; font-size: 1.04rem; }
.faq-list { display: grid; gap: .85rem; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: color-mix(in srgb, var(--brand) 30%, white); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--head); font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); flex: none; transition: background-color .2s, transform .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--brand); border-radius: 2px; transition: transform .3s, background-color .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon { background: var(--brand); transform: rotate(180deg); }
.faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: #fff; }
.faq[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 1.4rem 1.25rem; color: var(--muted); }
.faq-a p { margin: 0; }
.faq[open] .faq-a { animation: rise .35s ease both; }

/* ---------- CTA band (full width) ---------- */
.cta-wrap { background: var(--brand); padding: 4.5rem 0; position: relative; overflow: hidden; }
.cta-wrap::after { content: ""; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: rgba(0,0,0,.16); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; color: color-mix(in srgb, var(--on-brand) 85%, transparent); }
.cta h2 { color: var(--on-brand); font-size: clamp(1.7rem, 3vw, 2.35rem); max-width: 640px; margin-bottom: .5rem; }
.cta p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Inner page header (dark photo) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #cfdcd2; padding: 5rem 0 4.25rem; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, none) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--navy) 88%, transparent); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -.035em; margin-bottom: .5rem; }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; color: #cfdcd2; }
.crumbs { font-size: .86rem; margin-bottom: 1rem; color: #9fb4a6; display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs a { color: #cfdcd2; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); font-weight: 600; }
.crumbs.dark, .crumbs.dark a { color: var(--muted); }
.crumbs.dark a:hover { color: var(--brand); }
.page-hero .meta { margin: .75rem 0 0; color: #cfdcd2; }

/* ---------- Prose ---------- */
.prose { font-size: 1.04rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; }
.prose h3 { font-size: 1.25rem; margin: 1.75rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: 14px; margin: 1.5rem 0; }
.prose blockquote { border-left: 4px solid var(--accent); margin: 1.75rem 0; padding: .9rem 1.4rem; background: var(--surface); color: var(--ink); border-radius: 0 12px 12px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* ---------- Services page ---------- */
.side-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3.5rem; justify-content: center; }
.side-index a { padding: .6rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .9rem; display: inline-flex; gap: .45rem; align-items: center; background: #fff; transition: border-color .2s, color .2s; }
.side-index a .icon { color: var(--accent); }
.side-index a:hover { border-color: var(--brand); color: var(--brand); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; padding: 4rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-row:first-of-type { padding-top: 0; }
.service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.service-row:nth-of-type(even) .sr-media { order: 2; }
.sr-media { position: relative; }
.sr-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.sr-media .svc-icon { position: absolute; right: 1.5rem; bottom: -24px; width: 60px; height: 60px; border-radius: 14px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; box-shadow: var(--shadow); }
.sr-media.noimg { background: var(--surface); border-radius: 20px; aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--brand); }
.service-row h2 { font-size: 1.85rem; }
.row-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* ---------- Product / shop detail ---------- */
.product-page { padding-top: 2.5rem; }
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: start; }
.pd-media { border-radius: 20px; background: var(--surface); aspect-ratio: 1 / .9; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); position: sticky; top: 110px; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.plat-detail-media { aspect-ratio: 3 / 2; }
.pd-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .35rem 0 1rem; }
.pd-info .prose { margin-top: 1.25rem; }
.pd-price { font-family: var(--head); font-size: 1.9rem; font-weight: 800; color: var(--brand); display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.pd-price s { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.save { font-size: .78rem; background: color-mix(in srgb, var(--accent) 18%, white); color: var(--ink); padding: .3rem .65rem; border-radius: 6px; font-weight: 700; }
.stock { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .9rem; color: #047857; margin-bottom: 1.25rem; }
.stock.out { color: #b91c1c; }
.pd-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0; }
.perks { display: grid; gap: .9rem; padding: 1.5rem; background: var(--surface); border-radius: 14px; }
.perks div { display: flex; gap: .7rem; align-items: center; font-size: .95rem; color: var(--ink); }
.perks .icon { color: var(--brand); }
.pd-desc { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); max-width: 820px; }
.related { margin-top: 4.5rem; }
.related h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.product-media { aspect-ratio: 1 / .8; background: var(--surface); position: relative; display: grid; place-items: center; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-ph { color: #b4b9c8; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; text-transform: uppercase; }
.tag.out { background: #4b5563; color: #fff; }
.product-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.product-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.product h3 { font-size: 1.02rem; margin: 0; }
.product h3 a { color: var(--ink); }
.price { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.price strong { font-size: 1.12rem; color: var(--brand); font-weight: 700; }
.price s { color: var(--muted); font-size: .88rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .7rem; margin-top: auto; border-top: 1px solid var(--line); }
.product-foot .view { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.shop-bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--body); font-size: .9rem; font-weight: 500; background: #fff; display: inline-flex; gap: .45rem; align-items: center; }
.chip.active, .chip:hover { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.shop-search { display: flex; gap: .5rem; flex-wrap: wrap; }
.shop-search select { width: auto; }
.search-input { position: relative; display: block; margin: 0; }
.search-input .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-input .input { padding-left: 2.6rem; min-width: 250px; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }

/* ---------- Blog post ---------- */
.post-section { padding-top: 3.5rem; }
.post-cover { border-radius: 20px; margin-bottom: 2.25rem; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.post-section .lead { font-size: 1.2rem; color: var(--ink); }
.post-section .back { margin-top: 2.5rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem; align-items: start; }
.contact-panel { background: var(--navy); color: #c6d6cb; border-radius: 20px; padding: 2.4rem; }
.contact-panel h2 { color: #fff; font-size: 1.45rem; }
.contact-panel > p { margin-bottom: 1.75rem; }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.1); align-items: flex-start; }
.info-row .i { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--accent); display: grid; place-items: center; flex: none; }
.info-row h4 { margin: 0 0 .1rem; font-family: 'Inter', sans-serif; font-size: .78rem; color: #9fb4a6; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.info-row p, .info-row a { margin: 0; color: #fff; font-weight: 500; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.4rem; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .4rem; }
.input { width: 100%; padding: .85rem 1rem; border: 1px solid #d3d7e2; border-radius: 10px; font: inherit; font-size: .96rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
textarea.input { resize: vertical; }
.error-text { color: #b91c1c; font-size: .84rem; display: block; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .95rem 1.2rem; border-radius: 10px; margin-bottom: 1.25rem; display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.map { width: 100%; height: 400px; border: 0; border-radius: 20px; margin-top: 3rem; display: block; }

/* ---------- Gallery + lightbox ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-item { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--surface); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem; background: linear-gradient(transparent, color-mix(in srgb, var(--navy) 88%, transparent)); color: #fff; opacity: 0; transform: translateY(8px); transition: .3s; }
.gallery-item:hover .gallery-cap { opacity: 1; transform: none; }
.gallery-cap strong { display: block; font-family: var(--head); }
.gallery-cap span { font-size: .85rem; opacity: .85; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3,20,11,.92); display: none; place-items: center; padding: 2rem; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #dfe4f2; margin-top: 1rem; font-size: .95rem; }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------- Misc ---------- */
.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty .icon { color: #c4ccd8; margin: 0 auto 1rem; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.notfound { text-align: center; padding: 8rem 0; }
.notfound .big { display: block; font-family: var(--head); font-size: clamp(5rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--brand); }
.notfound p { color: var(--muted); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb4a6; padding: 5rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; }
.site-footer .logo { color: #fff; margin-bottom: 1.25rem; }
.site-footer .logo small { color: #9fb4a6; }
.site-footer .logo-icon { width: 58px; height: 48px; background: #fff; border-radius: 10px; padding: 6px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.site-footer a { color: #9fb4a6; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { margin-top: 5px; color: var(--accent); }
.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.socials a:hover { background: var(--accent); color: var(--on-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 4rem; }
.footer-bottom .container { padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .875rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; }
.wa-float { position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 60; transition: transform .2s; animation: waPulse 2.6s ease-in-out 2s infinite; }
.wa-float:hover { transform: scale(1.06); }
@keyframes waPulse { 0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.2), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 6px 18px rgba(0,0,0,.2), 0 0 0 14px rgba(37,211,102,0); } }

/* ---------- Motion ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; pointer-events: none; }
.anim [data-reveal] { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.anim [data-reveal="up"] { transform: translateY(36px); }
.anim [data-reveal="left"] { transform: translateX(-48px); }
.anim [data-reveal="right"] { transform: translateX(48px); }
.anim [data-reveal="zoom"] { transform: scale(.94); }
.anim [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .28s; }
.hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .52s; }
.hero-media { animation: rise 1s .3s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > :nth-child(2) { animation-delay: .1s; }
.page-hero .container > :nth-child(3) { animation-delay: .2s; }
.to-top { position: fixed; right: 28px; bottom: 94px; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; background: var(--navy); color: #fff; cursor: pointer; z-index: 59; display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(3,20,11,.5); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s, background-color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); }
.to-top .arrow { position: relative; transition: transform .2s; }
.to-top:hover .arrow { transform: translateY(-2px); }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 3; stroke: rgba(255,255,255,.15); }
.to-top .ring .ring-fill { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .menu-toggle { display: grid; }
  .nav-links { position: absolute; top: 100%; left: -20px; right: -20px; background: #fff; flex-direction: column; align-items: stretch; padding: .5rem 20px 1rem; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 16px 24px -16px rgba(12,30,20,.25); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links li:last-child a { border-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  section { padding: 4.5rem 0; }
  .hero { padding: 4.5rem 0 2.5rem; }
  .hero-trust { grid-template-columns: 1fr 1fr; margin-top: 3.5rem; }
  .hero-trust > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .scroll-cue { display: none; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .hero-grid, .svc-layout, .founder-grid, .faq-layout, .split, .product-detail, .contact-grid, .service-row { grid-template-columns: 1fr; gap: 2.75rem; }
  .svc-intro, .faq-intro, .pd-media { position: static; }
  .hero-media { max-width: 520px; }
  .hero-card { left: -.5rem; }
  .hero-card.alt { right: -.5rem; }
  .service-row:nth-of-type(even) .sr-media { order: 0; }
  .founder-tag { right: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 2.75rem 2rem; }
  .cta-wrap { padding-bottom: 4.5rem; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .stats > div:nth-child(2) { border-right: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-cap { opacity: 1; transform: none; }
  .to-top { right: 24px; bottom: 90px; }
}
@media (max-width: 700px) {
  .checklist, .form-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.75rem; }
  .search-input .input { min-width: 0; }
  .shop-search, .search-input { width: 100%; }
  .form-card, .contact-panel { padding: 1.6rem; }
  .founder-sign .flags { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card.alt { display: none; }
  .svc-row { grid-template-columns: 48px 1fr; }
  .svc-row .s-icon { width: 48px; height: 48px; }
  .svc-row .s-arrow { display: none; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::after, .hero-copy > *, .kicker::before, .scroll-cue span, .page-hero .container > *, .wa-float, .faq-a { animation: none !important; }
  .scroll-progress { display: none; }
  * { transition: none !important; }
}

/* ---------- ATESCA additions ---------- */
/* Mission & vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 2rem; }
.mv-card { background: var(--tint); border: 1px solid color-mix(in srgb, var(--brand) 14%, white); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; }
.mv-card h3 { font-size: 1.05rem; margin: .7rem 0 .35rem; }
.mv-card p { margin: 0; font-size: .95rem; line-height: 1.6; }
.mv-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }

/* Why partner */
.why-section { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.lead-muted { font-size: 1.05rem; color: var(--muted); max-width: 56ch; }
.why-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-item h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.why-item p { margin: 0; font-size: .95rem; line-height: 1.6; }
.why-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, white); color: color-mix(in srgb, var(--accent) 70%, #3a2400); }
.why-media { position: relative; display: grid; place-items: center; }
.why-media::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 35%, white), color-mix(in srgb, var(--brand) 22%, white)); z-index: 0; }
.why-media img { position: relative; z-index: 1; max-width: 100%; max-height: 520px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(12,30,20,.18)); }

/* Partner logo strip */
.partners-section { overflow: hidden; }
.logo-marquee { position: relative; overflow: hidden; padding: .5rem 0 .25rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 1.25rem; width: max-content; animation: logoScroll 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-tile { flex: none; width: 190px; height: 118px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, white); }
.logo-tile img { max-width: 100%; max-height: 82px; object-fit: contain; }
.logo-tile span { font-family: var(--head); font-weight: 700; color: var(--ink); text-align: center; }
@keyframes logoScroll { to { transform: translateX(calc(-50% - .625rem)); } }

/* Partner cards (Partners page) */
.partner-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.partner-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.partner-logo { display: grid; place-items: center; height: 170px; padding: 1.5rem 2rem; background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.partner-logo img { max-width: 100%; max-height: 118px; object-fit: contain; transition: transform .3s; }
.partner-card:hover .partner-logo img { transform: scale(1.05); }
.partner-initials { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 800 1.6rem var(--head); }
.partner-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.partner-body h3 { font-size: 1.12rem; margin: 0; }
.partner-body h3 a { color: var(--ink); text-decoration: none; }
.partner-body p { margin: 0 0 .5rem; font-size: .94rem; line-height: 1.6; flex: 1; }
.partner-type { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--tint); padding: .25rem .65rem; border-radius: 999px; }
.partner-detail { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 3rem; align-items: start; }
.partner-detail-logo { display: grid; place-items: center; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.5rem; box-shadow: var(--shadow); }
.partner-detail-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Video file */
.video-frame video { width: 100%; height: 100%; display: block; background: #000; object-fit: cover; }

/* Footer credit */
.dev-credit { opacity: .85; }
.dev-credit a { color: var(--accent); font-weight: 600; text-decoration: none; }
.dev-credit a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .mv-grid { grid-template-columns: 1fr; }
  .partner-detail { grid-template-columns: 1fr; gap: 1.75rem; }
  .partner-detail-logo { max-width: 320px; }
  .why-media { order: -1; }
  .why-media img { max-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logo-track [aria-hidden="true"] { display: none; }
}

/* "Why partner" with a regular photo (not a cut-out) */
.why-media.is-photo::before { display: none; }
.why-media.is-photo { padding: 0 0 18px 18px; }
.why-media.is-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 62%; border-radius: 26px; background: color-mix(in srgb, var(--accent) 55%, white); z-index: 0; }
.why-media.is-photo img { position: relative; z-index: 1; width: 100%; max-height: none; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 40%; border-radius: 24px; filter: none; box-shadow: var(--shadow); }

/* Hero overlay: dark only behind the headline, so the products in the photo stay visible */
.hero::before { background: linear-gradient(100deg, color-mix(in srgb, var(--navy) 90%, transparent) 0%, color-mix(in srgb, var(--navy) 74%, transparent) 34%, color-mix(in srgb, var(--navy) 22%, transparent) 60%, color-mix(in srgb, var(--navy) 6%, transparent) 100%); }
.hero h1, .hero-lead, .kicker { text-shadow: 0 2px 14px rgba(3,20,11,.35); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 82%, transparent) 0%, color-mix(in srgb, var(--navy) 66%, transparent) 70%, color-mix(in srgb, var(--navy) 80%, transparent) 100%); }
}
.hero::before { background:
  linear-gradient(0deg, color-mix(in srgb, var(--navy) 82%, transparent) 0%, color-mix(in srgb, var(--navy) 35%, transparent) 22%, transparent 40%),
  linear-gradient(100deg, color-mix(in srgb, var(--navy) 90%, transparent) 0%, color-mix(in srgb, var(--navy) 74%, transparent) 34%, color-mix(in srgb, var(--navy) 22%, transparent) 60%, color-mix(in srgb, var(--navy) 6%, transparent) 100%); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 82%, transparent) 0%, color-mix(in srgb, var(--navy) 66%, transparent) 70%, color-mix(in srgb, var(--navy) 85%, transparent) 100%); }
}
