/* =============================================================================
   Home page section system (profezzo-home2.css), loads after profezzo-brand.css.
   One pattern everywhere: small label, two-weight headline, one line, then
   sample screens or cards. Backgrounds alternate white, grey honeycomb and ink.
   ============================================================================= */

.hs{ padding:96px 0; position:relative; background:var(--card); }
.hs-tight{ padding:56px 0; }
.hs-alt{ background-color:var(--bg2); background-image:var(--tex-hex); border-block:1px solid var(--line); }
.hs-ink{ background-color:var(--brand-ink); background-image:var(--tex-hex-light); color:#eef4f3; }
.hs-ink h2,.hs-ink h3{ color:#fff; }
.hs-ink .hs-sub,.hs-ink p{ color:#b3c6c4; }
.hs-ink .hs-eye{ color:#ff7a7e; }

.hs-eye{ font-family:var(--mono); font-size:12px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-text); margin-bottom:14px; }
.center{ text-align:center; }
.hs-head{ max-width:720px; margin-bottom:48px; }
.hs-head.center{ margin-inline:auto; }
.hs h2,.hero h1{ font-size:clamp(32px,3.6vw,50px); line-height:1.1; letter-spacing:-.025em; text-wrap:balance; }
.hero h1{ font-size:clamp(40px,4.6vw,64px); }
.lt{ font-weight:400; }
.hs h2 b,.hero h1 b{ font-weight:700; }
.hs-sub{ margin-top:16px; font-size:17px; color:var(--muted); max-width:620px; }
.hs-head.center .hs-sub{ margin-inline:auto; }
.split-head{ max-width:none; display:flex; justify-content:space-between; align-items:flex-end; gap:32px; flex-wrap:wrap; }
.split-head > div{ max-width:640px; min-width:0; }
.split-head .hs-sub{ max-width:380px; margin-top:0; }
.hero .hs-eye{ margin-bottom:20px; }

/* Clients */
.flag-row{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:8px; }
.flag-tile{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:34px 20px; min-height:170px;
  background:var(--card); border:1px solid var(--line); border-radius:16px; text-align:center; transition:border-color .2s, transform .2s; }
.flag-tile:hover{ border-color:var(--line-strong); transform:translateY(-2px); }
.flag-tile img{ max-height:62px; max-width:80%; width:auto; object-fit:contain; }
.flag-tile span{ font-weight:600; font-size:15px; }
#customers .marquee{ margin-top:28px; }
.marquee-item{ border-right:0; padding:0 30px; }
.marquee-item img{ max-height:40px; }

/* Cards with sample screens */
.ws-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.pr-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ws-card{ background:var(--card); border:1px solid var(--line); border-radius:18px; padding:14px 14px 24px; min-width:0; display:flex; flex-direction:column; }
.ws-card h3{ font-size:18px; margin:4px 10px 8px; }
.ws-card > p:last-child{ font-size:14.5px; color:var(--muted); margin:0 10px; }
.chip{ align-self:flex-start; margin:18px 10px 8px; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--brand-ink); background:var(--bg2); border:1px solid var(--line); border-radius:999px; padding:3px 10px; }

.mock{ background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:12px; font-size:13px; display:grid; gap:7px;
  background-image:var(--tex-grid); min-height:168px; align-content:start; }
.mk-bar{ display:flex; justify-content:space-between; font-weight:600; padding:2px 4px 6px; border-bottom:1px solid var(--line); }
.mk-bar em{ font-style:normal; font-family:var(--mono); font-size:11px; color:var(--faint); }
.mk-row{ display:flex; justify-content:space-between; align-items:center; gap:10px; background:var(--card); border:1px solid var(--line); border-radius:8px; padding:7px 10px; }
.mk-row span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mk-row b{ font-variant-numeric:tabular-nums; white-space:nowrap; }
.mk-total{ background:var(--brand-ink); color:#fff; border-color:var(--brand-ink); }
.pill{ font-style:normal; font-size:11px; font-weight:600; white-space:nowrap; padding:2px 8px; border-radius:999px; background:var(--bg2); color:var(--brand-ink); }
.p-red{ background:#fde8e8; color:#b30e13; }
.p-ink{ background:var(--brand-ink); color:#fff; }
.t-red{ color:#b30e13; }
.mk-age{ display:grid; grid-template-columns:88px 1fr; gap:10px; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:8px; padding:9px 10px; }
.mk-age i{ height:8px; border-radius:6px; background:var(--bg2); position:relative; overflow:hidden; }
.mk-age i::after{ content:""; position:absolute; inset:0 auto 0 0; width:var(--w); background:var(--brand-ink); border-radius:6px; }
.mk-age i.t-bg-red::after{ background:var(--brand-red); }

/* Paper and labels */
.paper{ background:#fff; background-image:none; padding:16px 18px; gap:9px; box-shadow:inset 0 0 0 1px var(--line); }
.pp-head{ display:flex; justify-content:space-between; font-size:12px; border-bottom:2px solid var(--brand-ink); padding-bottom:6px; }
.pp-head span{ font-family:var(--mono); color:var(--faint); }
.pp-line{ height:6px; background:var(--bg2); border-radius:4px; width:80%; }
.pp-line.s{ width:55%; }
.pp-table{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:5px; margin-top:4px; }
.pp-table span{ height:12px; background:var(--bg2); border-radius:3px; }
.pp-table span:nth-child(-n+3){ background:var(--brand-ink); opacity:.85; }
.pp-sign{ margin-top:6px; font-family:var(--mono); font-size:10.5px; color:var(--faint); border-top:1px dashed var(--line-strong); padding-top:6px; }
.labels{ grid-template-columns:1fr 1fr; gap:10px; }
.lb{ background:#fff; border:1px solid var(--line-strong); border-radius:6px; padding:9px; display:flex; gap:9px; align-items:center; font-size:11.5px; font-weight:600; line-height:1.3; }
.qr{ width:34px; height:34px; flex:none; border-radius:3px;
  background:
    conic-gradient(var(--brand-ink) 25%, transparent 0 50%, var(--brand-ink) 0 75%, transparent 0) 0 0/8.5px 8.5px,
    #fff; box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 5px var(--brand-ink); }

.also{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:28px; padding-top:20px; border-top:1px solid var(--line); }
.also span{ font-size:13px; border:1px solid var(--line); border-radius:999px; padding:4px 12px; background:var(--card); }
.also .also-l{ border:0; background:none; padding:0 6px 0 0; font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--faint); }

/* Order flow on ink */
.hs-ink .order-flow li{ border-top-color:rgba(255,255,255,.35); }
.hs-ink .order-flow li:last-child{ border-top-color:var(--brand-red); }
.hs-ink .order-flow li::before{ color:#ff7a7e; }
.hs-ink .order-flow p{ color:#b3c6c4; }

/* Numbers */
.nb-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.nb-grid > *{ min-width:0; }
.nb-list{ list-style:none; margin-top:26px; display:grid; gap:12px; }
.nb-list li{ padding-left:18px; position:relative; color:var(--muted); font-size:15.5px; }
.nb-list li::before{ content:""; position:absolute; left:0; top:.6em; width:7px; height:7px; border-radius:2px; background:var(--brand-red); }
.nb-list b{ color:var(--text); }
.dash{ background-color:var(--card); padding:16px; gap:14px; box-shadow:0 30px 60px -36px var(--shadow); }
.kpis{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.kpis div{ border:1px solid var(--line); border-radius:10px; padding:12px; background:var(--card); display:grid; gap:2px; }
.kpis em{ font-style:normal; font-size:12px; color:var(--faint); }
.kpis b{ font-size:22px; font-variant-numeric:tabular-nums; }
.bars{ height:120px; display:flex; align-items:flex-end; gap:10px; padding:8px 6px 0; border-top:1px solid var(--line); }
.bars i{ flex:1; height:var(--h); background:var(--bg2); border-radius:5px 5px 0 0; }
.bars i.now{ background:var(--brand-red); }

/* Quote */
.quote{ max-width:860px; margin:0 auto; text-align:center; }
.quote blockquote{ font-size:clamp(22px,2.4vw,30px); line-height:1.35; font-weight:500; letter-spacing:-.01em; }
.quote blockquote::before{ content:"“"; display:block; font-size:64px; line-height:.6; color:var(--brand-red); margin-bottom:10px; }
.quote figcaption{ margin-top:18px; color:var(--muted); font-size:15px; }
.quote a{ color:var(--accent-text); font-weight:600; }

/* Control */
.ctl-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:start; }
.ctl-grid > *{ min-width:0; }
.ctl-list{ list-style:none; display:grid; }
.ctl-list li{ display:grid; gap:4px; padding:18px 0 18px 44px; border-bottom:1px solid rgba(255,255,255,.12); position:relative; }
.ctl-list li:first-child{ border-top:1px solid rgba(255,255,255,.12); }
.ctl-list li::before{ content:"✓"; position:absolute; left:0; top:18px; width:28px; height:28px; border-radius:8px; display:grid; place-items:center;
  font-size:14px; color:#fff; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.04); }
.ctl-list b{ color:#fff; font-size:16px; }
.ctl-list span{ color:#b3c6c4; font-size:14.5px; }

/* Insights */
.in-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.in-card{ display:flex; flex-direction:column; gap:10px; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--card); min-width:0; transition:border-color .2s, transform .2s; }
.in-card:hover{ border-color:var(--line-strong); transform:translateY(-2px); }
.in-card em{ font-style:normal; font-family:var(--mono); font-size:11.5px; color:var(--faint); }
.in-card h3{ font-size:18px; line-height:1.3; }
.in-card p{ font-size:14.5px; color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.in-card .read{ margin-top:auto; font-weight:600; color:var(--accent-text); font-size:14px; }

/* Closing */
.closing-band{ padding:110px 0; }
.closing-band h2{ max-width:760px; margin:0 auto 32px; }
.hero-ctas.center{ justify-content:center; }
.closing-band .closing-foot{ text-align:center; margin-top:20px; font-size:14px; color:#93abaa; }

@media (max-width:1080px){ .ws-grid,.pr-grid,.in-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px){ .nb-grid,.ctl-grid{ grid-template-columns:1fr; gap:36px; } .flag-row{ grid-template-columns:1fr; } }
@media (max-width:620px){ .hs{ padding:64px 0; } .hs-tight{ padding:40px 0; } .ws-grid,.pr-grid,.in-grid{ grid-template-columns:1fr; } .hs-head{ margin-bottom:32px; } .closing-band{ padding:72px 0; } }
