/* =========================================================
   COMMERCIAL PAINTING PAGE — dedicated stylesheet
   Built on the shared tokens in common.css
   ========================================================= */
.ip-kicker{display:inline-block;font-size:11.5px;font-weight:600;letter-spacing:2.4px;
  text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.ip-h2{font-family:var(--serif);font-size:33px;font-weight:700;color:var(--ink);line-height:1.22}

/* ---- 1. STATS BAND (overlaps hero) ---- */
.ip-stats{position:relative;z-index:6;margin-top:-46px}
.ips-wrap{background:linear-gradient(135deg,#16294a,var(--navy) 60%,#0e1f37);border-radius:14px;
  display:grid;grid-template-columns:repeat(5,1fr);padding:20px 8px;box-shadow:0 24px 46px rgba(18,39,66,.3)}
.ips-item{display:flex;align-items:center;gap:14px;padding:6px 18px;position:relative;color:#fff}
.ips-item+.ips-item::before{content:"";position:absolute;left:0;top:14%;height:72%;width:1px;background:rgba(255,255,255,.14)}
.ips-ic{color:var(--gold);font-size:29px;flex-shrink:0}
.ips-num{font-size:23px;font-weight:700;line-height:1}
.ips-label{font-size:10.5px;color:rgba(255,255,255,.66);margin-top:3px}

/* ---- 2. ABOUT / INTRO ---- */
.ip-about{padding:60px 0}
.ipa-grid{display:grid;grid-template-columns:0.92fr 1.18fr;gap:58px;align-items:center}
.ipa-media{position:relative;min-height:340px}
.ipa-media .img-b{width:72%;height:330px;object-fit:cover;border-radius:14px;margin-left:auto;display:block;
  box-shadow:0 26px 48px rgba(18,39,66,.2)}
.ipa-media .img-a{position:absolute;left:0;top:40px;width:52%;height:200px;object-fit:cover;border-radius:14px;
  border:5px solid #fff;box-shadow:0 20px 40px rgba(18,39,66,.22)}
.ipa-promise{position:absolute;left:6px;bottom:-6px;background:#fff;border-radius:12px;padding:18px 20px;
  box-shadow:0 18px 38px rgba(18,39,66,.18);max-width:220px}
.ipa-promise b{display:block;font-size:15px;font-weight:700;color:var(--ink);margin-bottom:6px}
.ipa-promise span{font-size:11.5px;color:var(--body);line-height:1.5}
.ipa-body .ip-h2{margin-bottom:16px}
.ipa-body>p{font-size:14px;color:var(--body);line-height:1.85;margin-bottom:14px;text-align:justify;text-justify:inter-word}
.ipa-checks{display:grid;grid-template-columns:1fr 1fr;gap:13px 26px;margin-top:24px}
.ipa-checks li{display:flex;align-items:center;gap:11px;font-size:13px;color:var(--ink);font-weight:500}
.ipa-checks li i{width:22px;height:22px;flex-shrink:0;border-radius:50%;background:var(--cream);
  border:1px solid var(--gold-soft);color:var(--gold);display:grid;place-items:center;font-size:9px}

/* ---- 3. COMMERCIAL SERVICES (6 premium cards) ---- */
.cm-services{background:var(--cream);padding:58px 0}
.cm-services .head-center{margin-bottom:38px}
.cm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.csvc{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:28px 26px;box-shadow:var(--shadow-sm);
  transition:transform .35s cubic-bezier(.25,.8,.25,1),box-shadow .35s ease,border-color .35s ease}
.csvc:hover{transform:translateY(-5px);box-shadow:0 16px 30px rgba(18,39,66,.10);border-color:rgba(182,143,87,.28)}
.csvc-head{display:flex;align-items:center;gap:15px;margin-bottom:14px}
.csvc-ic{width:54px;height:54px;flex-shrink:0;border-radius:15px;font-size:21px;color:#fff;
  background:linear-gradient(135deg,#c9a670,var(--gold) 55%,#a67c45);display:grid;place-items:center;
  box-shadow:0 10px 20px rgba(182,143,87,.32)}
.csvc-head h3{font-family:var(--serif);font-size:17.5px;font-weight:700;color:var(--ink);line-height:1.28}
.csvc>p{font-size:13px;color:var(--body);line-height:1.8;margin-bottom:16px;text-align:justify;text-justify:inter-word}
.csvc-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.csvc-tags li{font-size:11px;font-weight:500;color:var(--ink);background:var(--cream);
  border:1px solid var(--gold-soft);padding:6px 12px;border-radius:30px;line-height:1;transition:.25s ease}
.csvc:hover .csvc-tags li{border-color:rgba(182,143,87,.4)}

/* ---- 4. WHY BUSINESSES CHOOSE US (8 value cards) ---- */
.cm-why{padding:60px 0}
.cm-why .head-center{margin-bottom:40px}
.cm-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cm-wc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px 22px;box-shadow:var(--shadow-sm);
  transition:transform .35s cubic-bezier(.25,.8,.25,1),box-shadow .35s ease,border-color .35s ease}
.cm-wc:hover{transform:translateY(-4px);box-shadow:0 14px 26px rgba(18,39,66,.09);border-color:rgba(182,143,87,.26)}
.cm-wc-ic{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-size:20px;color:var(--gold);
  background:linear-gradient(135deg,rgba(182,143,87,.16),rgba(182,143,87,.05));border:1px solid var(--gold-soft);
  margin-bottom:16px;transition:background .35s ease,color .35s ease,transform .35s ease}
.cm-wc:hover .cm-wc-ic{background:linear-gradient(135deg,#c9a670,var(--gold) 55%,#a67c45);color:#fff;transform:scale(1.05)}
.cm-wc h3{font-size:15px;font-weight:700;color:var(--ink);line-height:1.3;margin-bottom:8px}
.cm-wc p{font-size:12.5px;color:var(--body);line-height:1.7;text-align:justify;text-justify:inter-word}

/* ---- 5. PROCESS (7 steps) ---- */
.ip-process{background:var(--cream);padding:58px 0}
.ip-process .head-center{margin-bottom:40px}
.ipp-steps{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;position:relative}
.ipp-steps::before{content:"";position:absolute;top:27px;left:7%;right:7%;height:2px;
  background:repeating-linear-gradient(90deg,var(--gold) 0 5px,transparent 5px 11px);opacity:.55;z-index:0}
.ipp-step{text-align:center;position:relative;z-index:1;padding:0 4px}
.ipp-ic{width:54px;height:54px;margin:0 auto;border-radius:50%;
  background:linear-gradient(150deg,#1c3559,var(--navy));color:var(--gold);display:grid;place-items:center;
  font-size:20px;box-shadow:0 10px 20px rgba(18,39,66,.28);border:4px solid var(--cream)}
.ipp-num{font-size:14px;font-weight:700;color:var(--gold);margin:15px 0 5px}
.ipp-step h3{font-size:12.5px;font-weight:600;color:var(--ink);margin-bottom:6px;line-height:1.28}
.ipp-step p{font-size:11px;color:var(--body);line-height:1.55}

/* ---- 6. PROPERTIES WE PAINT (navy chip band) ---- */
.cm-types{background:linear-gradient(135deg,#16294a,var(--navy) 60%,#0e1f37);color:#fff;padding:54px 0;text-align:center}
.cm-types .ip-kicker{color:var(--gold)}
.cm-types h2{font-family:var(--serif);font-size:30px;font-weight:700;margin:6px 0 28px;line-height:1.2}
.cm-types-list{display:flex;flex-wrap:wrap;justify-content:center;gap:13px 14px;max-width:980px;margin:0 auto}
.cm-types-list span{font-size:13px;font-weight:500;letter-spacing:.3px;color:rgba(255,255,255,.9);
  border:1px solid rgba(182,143,87,.45);background:rgba(182,143,87,.08);padding:12px 22px;border-radius:32px;transition:.3s ease}
.cm-types-list span:hover{background:rgba(182,143,87,.2);border-color:rgba(182,143,87,.85);transform:translateY(-2px)}

/* ---- 7. GALLERY ---- */
.ip-gallery{padding:56px 0 58px}
.ip-gallery .head-center{margin-bottom:30px}
.ipg-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:32px}
.ipg-item{height:160px;border-radius:12px;overflow:hidden;box-shadow:var(--shadow-sm);display:block}
.ipg-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ipg-item:hover img{transform:scale(1.08)}

/* ---- 8. BUILT FOR BUSINESSES (closing split + CTA) ---- */
.cm-closing{padding:6px 0 60px}
.cm-closing-grid{display:grid;grid-template-columns:1.08fr .92fr;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.cm-closing-body{background:linear-gradient(135deg,#16294a,var(--navy) 65%,#0e1f37);color:#fff;
  padding:52px 46px;display:flex;flex-direction:column;justify-content:center}
.cm-closing-body .ip-kicker{color:var(--gold)}
.cm-closing-body h2{font-family:var(--serif);font-size:30px;font-weight:700;line-height:1.22;margin:6px 0 16px}
.cm-closing-body>p{font-size:13.5px;color:rgba(255,255,255,.82);line-height:1.85;margin-bottom:14px;
  text-align:justify;text-justify:inter-word}
.cm-closing-body .btn{align-self:flex-start;margin-top:12px}
.cm-closing-img{position:relative;min-height:340px}
.cm-closing-img::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(18,39,66,.32),transparent 60%)}
.cm-closing-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1040px){
  .ipa-grid{grid-template-columns:1fr;gap:56px}

  /* ABOUT media: remove the desktop overlap on smaller screens.
     Show BOTH images cleanly side-by-side, promise becomes a full-width card below. */
  .ipa-media{position:static;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .ipa-media .img-b{position:static;width:100%;height:280px;margin:0;border-radius:14px}
  .ipa-media .img-a{position:static;width:100%;height:280px;inset:auto;top:auto;left:auto;border:0;border-radius:14px}
  .ipa-promise{position:static;grid-column:1 / -1;max-width:none;margin:0;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
  .ipa-promise b{margin-bottom:4px}

  .cm-grid{grid-template-columns:1fr 1fr;gap:20px}
  .cm-why-grid{grid-template-columns:1fr 1fr;gap:18px}
  .ipp-steps{grid-template-columns:repeat(4,1fr);gap:30px 10px}
  .ipp-steps::before{display:none}
  .cm-closing-grid{grid-template-columns:1fr}
  .cm-closing-img{min-height:260px;order:-1}
  .ipg-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:860px){
  /* IMPORTANT: common.css paints the whole <body> navy on mobile for the home
     page's dark theme. This content page has light sections with dark text, so
     on that navy body the text became navy-on-navy (invisible). Restore a light
     canvas here (page-scoped). 'html body' out-specifies the shared 'body' rule. */
  html body{background:var(--white)}

  .ip-stats{margin-top:-30px}
  .ips-wrap{grid-template-columns:1fr 1fr;gap:22px 6px;padding:26px 14px}
  .ips-item{padding:6px 12px}
  .ips-item:nth-child(odd)::before{display:none}
  .ips-item:last-child{grid-column:1 / -1;justify-content:center}
  .ip-h2,.cm-types h2,.cm-closing-body h2{font-size:26px}

  /* Left-align long paragraphs — justify makes ugly word-gaps in narrow columns */
  .ipa-body>p,.csvc>p,.cm-wc p,.cm-closing-body>p{text-align:left}

  .ipa-checks{grid-template-columns:1fr}
  .cm-grid{grid-template-columns:1fr;gap:18px}
  .ipp-steps{grid-template-columns:1fr 1fr;gap:28px 10px}
  .ipg-grid{grid-template-columns:1fr 1fr}
  .cm-closing-body{padding:40px 24px}
}
@media (max-width:520px){
  /* stack the two About images one under the other */
  .ipa-media{grid-template-columns:1fr}
  .ipa-media .img-b,.ipa-media .img-a{height:230px}

  .ipg-grid{grid-template-columns:1fr}
  .cm-why-grid{grid-template-columns:1fr}
  .ipp-steps{grid-template-columns:1fr}
  .csvc{padding:24px 20px}
}