/* ============================================================
   Convotherm brand overlay for the Odoo replica design system.
   Loaded AFTER odoo-replica.css — only re-tints the accent so the
   proposal reads as Convotherm's, not Odoo's.
   Palette sampled from the live convotherm.com DOM:
     primary red #C8102E · light #F26173 · dark #96091F
     near-black #0A0A0A / #141414 · light #F7F7F7 · body grey #444
   Convotherm uses Open Sans and no display face.
   ============================================================ */
:root{
  --purple:#C8102E;
  --purple-dark:#96091F;
  --purple-light:#FBE7EA;
  --teal:#96091F;
  --coral:#F26173;
  --ink:#0A0A0A;
  --body:#444444;
  --muted:#8A8A8A;
  --line:#E4E4E4;
  --bg-alt:#F7F7F7;
}

/* Convotherm has no handwriting face — headings run in Open Sans 800.
   Open Sans is wider than Caveat at the same px, so sizes step down. */
body{font-family:'Open Sans',system-ui,-apple-system,sans-serif;font-size:16.5px}
h1,h2,h3{font-family:'Open Sans',system-ui,sans-serif;font-weight:800;letter-spacing:-.025em;line-height:1.12}
.section-h{font-size:clamp(1.9rem,3.4vw,2.7rem)}
.page-hero h1{font-size:clamp(1.9rem,4vw,3rem);max-width:15em}
.od-card h3{font-family:'Open Sans',sans-serif}

/* Accent-dependent utility classes from the base sheet */
.ink-purple{color:var(--purple);text-decoration-color:rgba(200,16,46,.45)}
.w-coral{color:#C8102E}
.od-hl-coral{background:rgba(242,97,115,.32)}
.od-u-blue{background:linear-gradient(#C8102E,#C8102E) 0 90%/100% 5px no-repeat}
.od-u-teal{background:linear-gradient(#F26173,#F26173) 0 90%/100% 5px no-repeat}

/* Warm-cream hero backgrounds → Convotherm's cool near-white */
.page-hero,.hero{background:linear-gradient(180deg,#F7F7F7 0%,#fff 64%)}

/* Sharp-ish corners suit the brand's industrial tone better than pills */
.btn{border-radius:4px}
.chip{border-radius:4px}

/* ---- Page furniture shared by the proposal pages ---- */
.xc-img{display:block;width:100%;border-radius:12px;border:1px solid var(--line);
  box-shadow:0 26px 60px -26px rgba(10,10,10,.30)}
.xc-shot{max-width:960px;margin:44px auto 0}
.xc-section{padding:76px 0}
.xc-section.alt{background:var(--bg-alt)}

.img-duo{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:960px;margin:40px auto 0}
@media(max-width:640px){.img-duo{grid-template-columns:1fr}}

.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;max-width:1020px;margin:44px auto 0;text-align:left}
@media(max-width:820px){.feat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.feat-grid{grid-template-columns:1fr}}
.feat-grid h4{font-size:15.5px;font-weight:800;color:var(--ink);margin-bottom:6px;letter-spacing:-.01em}
.feat-grid p{font-size:14px;color:var(--body);line-height:1.65}

.advisor-list{list-style:none;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:28px}
.advisor-list li{background:#fff;border:1px solid var(--line);border-radius:4px;padding:6px 15px;
  font-size:12.5px;font-weight:600;color:var(--body)}

.stat-row{display:flex;justify-content:center;gap:52px;flex-wrap:wrap;margin-top:40px}
.stat-item{text-align:center}
.stat-num{font-size:2.6rem;font-weight:800;color:var(--purple);line-height:1;letter-spacing:-.03em}
.stat-label{font-size:13px;color:var(--muted);font-weight:600;margin-top:8px;max-width:12em}

/* Dark band — Convotherm's near-black with a red wash */
.mobile-band{background:linear-gradient(160deg,#050505 0%,#141414 55%,#0A0A0A 100%);
  color:#fff;padding:68px 0;text-align:center;position:relative;overflow:hidden}
.mobile-band::before{content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 60% 70% at 50% 0%,rgba(200,16,46,.16) 0%,transparent 65%)}
.mobile-band .container{position:relative}
.mobile-band h2{font-size:clamp(1.7rem,3vw,2.2rem);color:#fff;margin-bottom:16px}
.mobile-band p{color:rgba(255,255,255,.82);font-size:16.5px;max-width:640px;margin:0 auto 30px}
.mobile-pill{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);border-radius:4px;
  padding:8px 18px;font-size:12.5px;font-weight:600;color:#fff;display:inline-block;margin:5px}

/* Customer quote block, mirroring the Odoo industry-page testimonial */
.quote-band{max-width:820px;margin:0 auto;text-align:center}
.quote-band blockquote{font-size:clamp(1.25rem,2.4vw,1.7rem);font-weight:700;color:var(--ink);
  line-height:1.45;letter-spacing:-.02em}
.quote-band .q-mark{font-size:3.4rem;line-height:1;color:var(--purple);font-weight:800;display:block;margin-bottom:6px}
.quote-band cite{display:block;margin-top:22px;font-style:normal;font-size:14px;color:var(--muted);font-weight:600}
.quote-band cite b{display:block;color:var(--ink);font-size:15.5px;font-weight:800}
.quote-note{font-size:12px;color:var(--muted);margin-top:18px}

/* App strip */
.app-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;max-width:900px;margin:44px auto 0}
@media(max-width:820px){.app-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:460px){.app-strip{grid-template-columns:repeat(2,1fr)}}
.app-strip .app-tile small{display:block;font-size:11.5px;color:var(--muted);font-weight:600;text-align:center;line-height:1.4}

/* Scope table */
.scope-table{max-width:900px;margin:40px auto 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.scope-row{display:grid;grid-template-columns:200px 1fr;gap:0;border-bottom:1px solid var(--line)}
.scope-row:last-child{border-bottom:none}
.scope-row>div{padding:16px 22px}
.scope-row>div:first-child{background:var(--bg-alt);font-weight:800;color:var(--ink);font-size:14px}
.scope-row>div:last-child{font-size:14.5px;color:var(--body);line-height:1.6}
@media(max-width:640px){.scope-row{grid-template-columns:1fr}.scope-row>div:first-child{padding-bottom:6px}}

.benefit-band{background:var(--purple)}

/* Installed-base strip — the four maxx models Odoo would track by serial */
.model-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;max-width:960px;margin:44px auto 0}
@media(max-width:640px){.model-strip{grid-template-columns:1fr 1fr}}
.model-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 14px 16px;text-align:center}
.model-card img{width:100%;height:150px;object-fit:contain;margin-bottom:12px}
.model-card b{display:block;font-size:15px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.model-card small{display:block;font-size:11.5px;color:var(--muted);font-weight:600;margin-top:3px}

/* ============================================================
   Reference-faithful layout pieces.
   odoo.com/industries/hvac-services marks one phrase per section
   with a hand-drawn scribble in a DIFFERENT colour each time
   (blue / yellow / red / green). Convotherm has one brand colour,
   so the variation carries through mark SHAPE instead of hue.
   ============================================================ */
.mk{position:relative;white-space:nowrap}
/* A nowrap mark longer than a phone viewport pushes past the edge — let it wrap there */
@media(max-width:600px){.mk{white-space:normal}.mk-circle::after{inset:-14% -4%}}
.mk-under{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 46 4, 104 15, 197 6' stroke='%23C8102E' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 0 100%/100% .38em no-repeat;padding-bottom:.16em}
.mk-scribble{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C 52 4, 118 17, 196 7' stroke='%23C8102E' stroke-width='3.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M9 19 C 66 11, 132 21, 191 14' stroke='%23F26173' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 0 100%/100% .52em no-repeat;padding-bottom:.24em}
.mk-fill{background:rgba(242,97,115,.34);box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:.04em .22em;border-radius:3px}
.mk-circle{padding:.1em .55em}
.mk-circle::after{content:'';position:absolute;inset:-24% -8%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 70' preserveAspectRatio='none'%3E%3Cpath d='M104 5 C 40 2, 6 18, 8 36 C 10 56, 70 68, 120 65 C 172 62, 196 48, 193 32 C 190 15, 150 4, 96 6' stroke='%23C8102E' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;pointer-events:none}

/* Hero: reference gives the image a 50% top-left radius (arch/teardrop) */
.hero-arch{border-top-left-radius:50%!important;overflow:hidden}
.hero-arch img{display:block;width:100%;border-top-left-radius:50%}

/* Reference stacks two screenshots, the second offset behind the first */
.shot-stack{position:relative;padding:0 0 30px 34px}
.shot-stack .back{position:absolute;left:0;top:0;width:74%;z-index:0;opacity:.97}
.shot-stack .front{position:relative;z-index:1;width:100%;margin-top:54px}
@media(max-width:900px){.shot-stack{padding:0}.shot-stack .back{display:none}.shot-stack .front{margin-top:0}}

/* Reference sets the subscriptions screenshot on a soft circular blob */
.shape-circle{position:relative;display:flex;align-items:center;justify-content:center;padding:38px 20px}
.shape-circle::before{content:'';position:absolute;width:min(94%,460px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(200,16,46,.11) 0%,rgba(200,16,46,.04) 62%,transparent 72%)}
.shape-circle img{position:relative;z-index:1}

/* Reference's "Done! But wait! There's more!" interstitial */
.npc{display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 0 4px;flex-wrap:wrap}
.npc-avatar{width:54px;height:54px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;
  background:var(--purple);color:#fff;font-weight:800;font-size:18px;letter-spacing:-.02em}
.npc-bubble{background:#fff;border:1px solid var(--line);border-radius:999px;padding:14px 30px;
  box-shadow:0 14px 34px -20px rgba(10,10,10,.35);font-weight:700;color:var(--ink);font-size:15.5px}
.npc-bubble b{color:var(--purple)}

/* Reference lays apps out as horizontal cards, not vertical tiles */
.app-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1000px;margin:44px auto 0;text-align:left}
@media(max-width:900px){.app-cards{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.app-cards{grid-template-columns:1fr}}
.app-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:8px;
  padding:14px 18px 14px 14px;transition:transform .18s,box-shadow .18s,border-color .18s}
.app-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px -22px rgba(10,10,10,.35);border-color:rgba(200,16,46,.35)}
.app-card img{width:54px;height:54px;flex:none;background:#fff;border-radius:6px;padding:5px;box-shadow:0 2px 8px -3px rgba(10,10,10,.25)}
.app-card b{display:block;font-size:15px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.app-card span{display:block;font-size:12.5px;color:var(--muted);font-weight:600;line-height:1.45;margin-top:2px}

/* ============================================================
   End-to-end process flow (BPMN swimlanes).
   Four lanes, strictly sequential hand-offs, one gateway —
   so lane BLOCKS read better than a 14-column grid and still
   wrap cleanly on a phone.
   ============================================================ */
.flow{max-width:1080px;margin:48px auto 0;text-align:left}
/* minmax(0,1fr) — without it the overflow-x tracks below widen the whole grid */
.lane{display:grid;grid-template-columns:186px minmax(0,1fr);border:1px solid var(--line);border-top:none;background:#fff}
.lane:first-child{border-top:1px solid var(--line);border-radius:10px 10px 0 0}
.lane:last-child{border-radius:0 0 10px 10px}
.lane-head{background:var(--bg-alt);border-right:1px solid var(--line);padding:20px 18px;display:flex;
  flex-direction:column;justify-content:center;gap:7px}
.lane-head b{font-size:14px;font-weight:800;color:var(--ink);letter-spacing:-.01em;line-height:1.3}
.lane-app{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--purple);
  text-transform:uppercase;letter-spacing:.07em}
.lane-app img{width:16px;height:16px}
.lane-body{padding:22px 20px;display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0}

/* A sequence never wraps — it scrolls, so the arrows always read left-to-right */
.track{display:flex;align-items:stretch;gap:10px;flex-wrap:nowrap;overflow-x:auto;min-width:0;
  scrollbar-width:thin;scrollbar-color:#CFCFCF transparent;padding-bottom:2px}
.track>.arrow,.track>.node-note,.track>.node.start,.track>.node.end,.track>.node.gate{align-self:center}
.track::-webkit-scrollbar{height:6px}
.track::-webkit-scrollbar-thumb{background:#CFCFCF;border-radius:3px}
.track::-webkit-scrollbar-track{background:transparent}

.node{display:inline-flex;flex:none;align-items:center;justify-content:center;text-align:center;background:#fff;
  border:1px solid #C9C9C9;border-radius:8px;padding:11px 15px;font-size:13px;font-weight:600;color:var(--ink);
  line-height:1.35;min-height:52px;width:158px}
.node.start,.node.end{border-radius:50%;width:52px;height:52px;padding:0;font-size:10.5px;font-weight:700;
  border-width:2px}
.node.wide{width:212px}
.node.start{border-color:var(--purple)}
.node.end{border-color:#0A0A0A;border-width:3px}
.node.end.declined{border-color:#9A9A9A;color:var(--muted)}
.node.gate{width:56px;height:56px;min-height:0;padding:0;transform:rotate(45deg);border-color:var(--purple);
  margin:12px 14px}
.node.gate span{transform:rotate(-45deg);font-size:17px;font-weight:800;color:var(--purple)}
.node.msg{border-style:dashed}
.node.hl{border-color:var(--purple);box-shadow:0 0 0 3px rgba(200,16,46,.09)}
.arrow{color:#9A9A9A;font-size:16px;flex:none;user-select:none}
.node-note{display:block;font-size:10.5px;font-weight:600;color:var(--muted);margin-top:3px}

.branch{display:flex;flex-direction:column;gap:10px;padding-left:14px;min-width:0;
  border-left:2px dashed rgba(200,16,46,.28)}
.branch-track{display:flex;align-items:stretch;flex-wrap:nowrap;gap:10px;overflow-x:auto;min-width:0;
  scrollbar-width:thin;scrollbar-color:#CFCFCF transparent;padding-bottom:2px}
.branch-track>.arrow,.branch-track>.node-note,.branch-track>.branch-tag,
.branch-track>.node.start,.branch-track>.node.end{align-self:center}
.branch-track::-webkit-scrollbar{height:6px}
.branch-track::-webkit-scrollbar-thumb{background:#CFCFCF;border-radius:3px}
.branch-tag{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;padding:4px 10px;
  border-radius:4px;flex:none;width:44px;text-align:center}
.branch-tag.yes{background:rgba(200,16,46,.1);color:var(--purple)}
.branch-tag.no{background:#EFEFEF;color:var(--muted)}

@media(max-width:720px){
  .lane{grid-template-columns:1fr}
  .lane-head{border-right:none;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;
    flex-wrap:wrap;gap:6px 12px;padding:13px 16px}
  .lane-head b br{display:none}
  .lane-body{padding:16px 14px}
  .node{width:140px;font-size:12.5px;padding:10px 12px}
  .node.wide{width:180px}
}

.flow-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:22px;
  font-size:12px;color:var(--muted);font-weight:600}
.flow-legend i{font-style:normal;color:var(--purple)}

/* Three brand marks plus a hamburger will not fit a 375px nav */
@media(max-width:520px){
  .brand-logo{height:20px}
  .brand-logo-tn{height:17px}
  .brand i{font-size:13px}
  .brand{gap:6px}
}
