/* Layout from the approved business pages. Shared site chrome is styled in header.css / lower.css. */
.business {
  --paper:#fbfaf6; --text:#182f3e; --trim:#dfdfd8; --soft:#eff4f3;
  --accent:#38beef; --label:#155e75;
  color:var(--text); background:var(--paper); font:400 16px/1.85 var(--font-body);
}
.business.suppliers { --accent:#ec6da9; --label:#88345d; --soft:#f6f2ef }
.business .wrap { width:min(1168px,calc(100% - 64px)); margin:auto }
.business section { padding:clamp(50px,5vw,74px) 0 }
.business .alt { background:var(--soft) }
.business #stores { background:#eaf4f6 }
.business :is(h1,h2,h3,p,ul,ol,figure) { margin:0 }
.business :is(h1,h2,h3) { color:inherit; font-family:var(--font-round); font-weight:900; letter-spacing:0 }
.business h2 { margin:0 0 10px; font-size:clamp(27px,2.7vw,38px); line-height:1.4 }
.business h3 { font-size:clamp(19px,1.6vw,23px); line-height:1.5 }
.business .lead { margin:12px 0 0; max-width:none; text-align:left; font-size:16px }
.business .business-hero {
  border-bottom:1px solid var(--trim); padding:clamp(32px,4vw,58px) 0 32px;
  background:linear-gradient(90deg,#38beef 50%,#ec6da9 50% 80%,#ffe109 80%) top/100% 5px no-repeat,
             linear-gradient(110deg,#fcfaf4 35%,#edf7fa);
}
.business .hero-layout { width:min(1224px,calc(100% - 64px)); margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,84px); align-items:center }
.business .hero-copy { min-width:0 }
.business .hero-copy h1 { margin:16px 0; font-size:clamp(30px,3.45vw,51px); line-height:1.34; text-wrap:balance }
.business .hero-copy h1 span { display:block; margin-bottom:12px; font-size:clamp(17px,1.45vw,23px) }
.business h1 em { font-style:normal; background:linear-gradient(transparent 84%,#aceafa 84%); }
.business .franchise-mark { display:block; width:86px; height:auto }
.business.franchise h1 { text-wrap:wrap }
.business.franchise h1 em { display:inline-block }
.business .hero-store { position:relative }
.business .hero-store img { display:block; width:100%; aspect-ratio:1.55; object-fit:cover; border-radius:70px 18px 70px 18px; box-shadow:8px 8px #38beef }
.business .hero-store::before, .business .hero-store::after, .business #contact .wrap::after {
  content:''; position:absolute; width:58px; height:58px; background:#ffe109; top:-10px; right:-12px;
  mask:url('/assets/icons/star-fill.svg') center/contain no-repeat; transform:rotate(14deg); pointer-events:none;
}
.business .hero-store::after { width:32px; height:32px; top:auto; bottom:10px; left:-14px; background:#ec6da9 }
.business .btns { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px }
.business .btn {
  display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:12px 17px;
  background:white; border:1px solid #c6cbc9; border-radius:40px; color:var(--text);
  font:700 14px/1.5 var(--font-body); text-decoration:none;
}
.business .btn::after { content:'›'; font-size:1.2em }
.business .btn-white { background:#192f40; border-color:#192f40; color:white }
.business .btn:hover { box-shadow:0 2px 8px #172b4024; text-decoration:underline }
.business .kpis { width:min(1224px,calc(100% - 64px)); display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--trim); border-radius:16px; background:white; padding:22px 8px; margin:42px auto 0 }
.business .kpi { padding:0 clamp(14px,2vw,30px); border-left:1px solid var(--trim) }
.business .kpi:first-child { border:0 }
.business .kpi b { display:block; font:bold clamp(22px,2.2vw,32px)/1.4 var(--font-round) }
.business .kpi b::before { content:''; display:inline-block; width:8px; height:8px; margin-right:9px; border-radius:50%; background:#38beef; vertical-align:middle }
.business .kpi:nth-child(2) b::before { background:#ec6da9 }
.business .kpi:nth-child(3) b::before { background:#ffe109 }
.business .kpi span { display:block; margin-top:4px; font-size:14px }
.business.suppliers .business-hero {
  background:linear-gradient(90deg,#38beef 50%,#ec6da9 50% 80%,#ffe109 80%) top/100% 5px no-repeat,
    radial-gradient(ellipse 19% 100% at 0% 28%,#e1f4f8 76%,transparent 77%),radial-gradient(ellipse 17% 86% at 100% 15%,#faeaf0 80%,transparent 81%);
}
.business.suppliers .hero-layout { width:100%; grid-template-columns:minmax(0,1fr) minmax(0,2.9fr) minmax(0,1fr); gap:2%; text-align:center }
.business.suppliers .hero-copy h1 { font-size:clamp(28px,3.4vw,54px) }
.business.suppliers .hero-copy h1 strong { display:inline-block; font-weight:inherit }
.business.suppliers .hero-copy em { color:#993e69; background:linear-gradient(transparent 85%,#f4cfdf 85%) }
.business.suppliers .btns { justify-content:center }
.business.suppliers .hero-copy .lead { text-align:center; max-width:620px; margin-inline:auto }
.business .hero-side { width:100%; height:clamp(205px,19vw,335px); object-fit:cover; border-radius:0 36px 36px 0 }
.business .produce { border-radius:36px 0 0 36px; transform:translateY(16px) }
.business.suppliers .kpis { max-width:1168px }
.business :is(.grid2,.grid3,.mgrid,.cat-grid,.gallery,.steps,.callout) { display:grid; gap:20px; margin-top:30px }
.business .grid2,.business .callout { grid-template-columns:repeat(2,minmax(0,1fr)) }
.business :is(.grid3,.mgrid,.cat-grid,.gallery) { grid-template-columns:repeat(3,minmax(0,1fr)) }
.business :is(.card,.cat,.phase,.mcard,.steps li,.callout,.catalogue-status) { min-width:0; padding:clamp(18px,2vw,30px); background:#fff; border:1px solid var(--trim); border-radius:14px }
.business .grid3 .card { border-top:3px solid #a7dfea }
.business .grid3 .card:nth-child(3n + 2) { border-top-color:#f0bfd6 }
.business .grid3 .card:nth-child(3n) { border-top-color:#eee291 }
.business .num { display:inline-block; padding:2px 11px; margin-bottom:10px; border-radius:6px; background:#e6f6f8; color:#155369; font-weight:800; letter-spacing:.08em }
.business :is(.card,.cat):nth-child(3n + 2) .num { background:#fcebf3; color:#803657 }
.business :is(.card,.cat):nth-child(3n) .num { background:#fff5cb; color:#695516 }
.business :is(.card,.mcard,.cat) p { margin:8px 0 0 }
.business :is(.card,.explorer-actions) .btn { margin-top:15px; padding:8px 16px }
.business .note,.business .disclaimer { font-size:14px; color:#4f5f64 }
.business p.note { margin-top:16px }
.business table { width:100%; border-collapse:collapse; font-size:15px; margin:14px 0 0; align-self:start }
.business th,.business td { padding:10px 13px; border-block:1px solid #dce2e2; text-align:left; vertical-align:middle; overflow-wrap:anywhere }
.business th { background:#eff4f5 }
.business td.r { text-align:right; font-weight:700 }
.business #overview td { text-align:left; font-weight:400 }
.business #overview .card { margin-top:28px }
.business #overview table { margin:0 }
.business :is(#results,#model,#info) h3::before { content:''; display:inline-block; width:4px; height:.95em; background:var(--accent); margin-right:8px }
@media(min-width:761px) {
  .business #results .grid2 { row-gap:0 }
  .business #results .card { display:grid; grid-row:span 3; grid-template-rows:subgrid; align-content:start }
  .business #results .table-heading { grid-row:1 }
  .business #results table { grid-row:2 }
  .business #results .table-notes { grid-row:3 }
}
.business .mcard { display:flex; flex-direction:column; overflow-wrap:anywhere }
.business .machine-photo { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; margin-bottom:16px }
.business .machine-description { white-space:pre-line; flex:1 }
.business .mval { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:4px 10px; border-top:1px solid var(--trim); padding-top:12px; margin-top:20px; font-size:14px }
.business .mval strong { margin-left:auto; font-size:21px }
.business .catalogue-status { grid-column:1/-1 }
.business .gallery { gap:14px }
.business .gallery img { display:block; width:100%; aspect-ratio:1.9; object-fit:cover; border-radius:10px }
.business .cat-grid .cat { padding:0; overflow:hidden }
.business .cat img { display:block; width:100%; aspect-ratio:2; object-fit:cover }
.business .cat .body { padding:24px }
.business .cat ul,.business .phase ul { list-style:disc; padding:12px 0 0 1.3em; margin-top:12px; border-top:1px solid var(--trim) }
.business .phase p { margin-top:6px }
.business .callout { background:#edf7f9; margin:0; align-items:center }
.business .callout ol { padding-left:1.5em }
.business .callout h3 { margin:10px 0 }
.business .steps { grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; padding:0; gap:32px; counter-reset:step }
.business .steps li { position:relative; counter-increment:step; padding:22px }
.business .steps li::before { content:counter(step,decimal-leading-zero); display:block; margin-bottom:12px; color:var(--label); font-weight:900; letter-spacing:.08em }
.business .steps li:not(:last-child)::after { content:'→'; position:absolute; left:100%; top:50%; width:34px; text-align:center; transform:translateY(-50%); font-size:21px; color:var(--label) }
.business .steps b { display:block; margin-bottom:8px }
.business details { margin-top:10px; border:1px solid var(--trim); border-radius:10px; background:white; padding:16px 24px }
.business summary { display:flex; align-items:baseline; gap:14px; cursor:pointer; font-weight:700; list-style:none }
.business summary::-webkit-details-marker { display:none }
.business summary::before { content:'Q'; color:var(--label); font-weight:900 }
.business summary::after { content:'+'; margin-left:auto }
.business details[open] summary::after { content:'−' }
.business details p { margin:8px 18px 0 28px }
.business details a { text-decoration:underline; color:var(--label) }
.business #contact { padding-bottom:0; color:var(--text); background:transparent; text-align:left }
.business #contact .wrap { position:relative; padding:clamp(28px,4vw,60px); border-radius:26px 12px; background:#203b4b; color:#fff }
.business #contact .wrap::after { top:auto; bottom:14%; right:7%; width:36px; height:36px }
.business #contact .btn { margin:16px 0 12px; background:#ffe109; border-color:#ffe109; color:#172b39 }
.business #contact p:last-child { font-size:14px }
.business section:has(.disclaimer),.business section:has(.callout) { padding:32px 0 54px }
@media(max-width:900px) {
  .business .steps { grid-template-columns:1fr; gap:34px }
  .business .steps li:not(:last-child)::after { content:'↓'; top:100%; left:50%; width:auto; height:35px; line-height:35px; transform:translateX(-50%) }
}
@media(max-width:760px) {
  .business .wrap,.business .hero-layout,.business .kpis { width:calc(100% - 36px) }
  .business .hero-layout,.business :is(.grid2,.grid3,.cat-grid,.callout,.mgrid) { grid-template-columns:1fr }
  .business .hero-store { margin-right:8px }
  .business .hero-store img { border-radius:40px 12px }
  .business.suppliers .hero-layout { width:calc(100% - 36px); grid-template-columns:1fr 1fr; gap:16px }
  .business.suppliers .hero-copy { grid-column:1/-1; grid-row:1 }
  .business .hero-side { height:auto; aspect-ratio:1.5; border-radius:18px; transform:none }
  .business .kpis { grid-template-columns:1fr 1fr; gap:16px 0; padding:16px 4px; margin-top:28px }
  .business .kpi:nth-child(odd) { border-left:0 }
  .business .kpi span { font-size:13px }
  .business .cat .body { padding:18px }
  .business .gallery { grid-template-columns:1fr 1fr; gap:8px }
  .business .mval { margin-top:14px }
  .business th,.business td { padding:8px; font-size:14px }
  .business #overview th { width:32% }
  .business details { padding:14px }
  .business #contact .wrap::after { top:10px; right:12px; width:22px; height:22px }
}
