/* Page: home-commercial-renovations */

:root {
  --brand-orange:  #e8722a;
  --text-dark:     #333333;
  --text-body:     #4a4a4a;
  --text-muted:    #888888;
  --bg-white:      #ffffff;
  --bg-light:      #f5f5f5;
  --bg-dark:       #1e1e1e;
  --border:        #e5e5e5;
  --font-primary:  'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;
  --container:     1200px;
  --radius:        4px;
  --shadow:        0 10px 40px rgba(0,0,0,0.08);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.07);
  --tr:            0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}

/* ANIMATIONS */
@keyframes slideInLeft  { from { opacity:0; transform:translateX(-150px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideInRight { from { opacity:0; transform:translateX(150px);  } to { opacity:1; transform:translateX(0); } }
@keyframes fadeUp       { from { opacity:0; transform:translateY(40px);   } to { opacity:1; transform:translateY(0); } }

.anim-left  { animation: slideInLeft  1s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.anim-right { animation: slideInRight 1s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.anim-up    { animation: fadeUp       0.9s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.d1 { animation-delay: 0.10s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.40s; }
.d4 { animation-delay: 0.55s; }

/* SHARED */
.label {
  color: var(--brand-orange);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
}

.h2 {
  font-family: var(--font-primary);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.12;
  margin-bottom: 20px;
}

.h2--white { color: #fff; }

.lead {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
}
.lead + .lead { margin-top: 16px; }
.lead--white  { color: rgba(255,255,255,0.65); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-orange);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background var(--tr), transform var(--tr);
}
.btn-primary:hover { background: #d4631c; transform: translateY(-2px); }
.btn-primary svg   { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--tr), color var(--tr);
}
.btn-outline:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

/* =============================================
   1. HERO — full-width dark with bottom orange strip
   ============================================= */
.hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,114,42,0.13) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg, transparent 0, transparent 38px,
    rgba(255,255,255,0.015) 38px, rgba(255,255,255,0.015) 39px
  );
}

.hero__top {
  position: relative;
  z-index: 2;
  padding: 110px 0 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.hero__eyebrow {
  color: var(--brand-orange);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 28px;
}

.hero__title span { color: var(--brand-orange); }

.hero__desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.60);
  margin-bottom: 40px;
}

/* Right: two stacked orange + dark highlight blocks */
.hero__highlights {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__hl {
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.hero__hl--orange { background: var(--brand-orange); }
.hero__hl--dark   { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }

.hero__hl-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.hero__hl-icon svg {
  width: 18px; height: 18px;
  stroke: #fff; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.hero__hl-title {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.hero__hl-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* =============================================
   2. INTRO — H1 body, 2-col white
   ============================================= */
.intro {
  background: var(--bg-white);
  padding: 100px 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro__tag {
  display: inline-block;
  background: rgba(232,114,42,0.10);
  border-left: 3px solid var(--brand-orange);
  padding: 7px 18px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 22px;
}

/* =============================================
   3. RESIDENTIAL RENOVATION EXPERTISE
      Light bg — full-width H2 top, then tab-style cards
   ============================================= */
.residential {
  background: var(--bg-light);
  padding: 100px 0;
}

.residential__header {
  margin-bottom: 56px;
  max-width: 700px;
}

.residential__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.res-tab {
  background: var(--bg-white);
  padding: 0;
  overflow: hidden;
  transition: background var(--tr);
}

.res-tab__head {
  background: var(--bg-dark);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.res-tab__head::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--brand-orange);
}

.res-tab__num {
  font-family: var(--font-primary);
  font-size: 60px;
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  letter-spacing: -3px;
  position: absolute;
  top: 12px; right: 20px;
}

.res-tab__icon {
  width: 50px; height: 50px;
  background: rgba(232,114,42,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.res-tab__icon svg {
  width: 24px; height: 24px;
  stroke: var(--brand-orange); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.res-tab__h3 {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.res-tab__body {
  padding: 36px 40px;
}

.res-tab__text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
}

/* =============================================
   4. COMMERCIAL SPACE MODERNIZATION
      White bg — H2 left sticky / H3 rows right
   ============================================= */
.commercial {
  background: var(--bg-white);
  padding: 100px 0;
}

.commercial__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.commercial__left {
  position: sticky;
  top: 40px;
}

.commercial__left .lead {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.commercial__rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.commercial__row {
  border-left: 4px solid var(--border);
  padding: 32px 36px;
  transition: border-color var(--tr), background var(--tr);
  background: var(--bg-white);
}

.commercial__row:hover {
  border-left-color: var(--brand-orange);
  background: var(--bg-light);
}

.commercial__row-label {
  color: var(--brand-orange);
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.commercial__row-h3 {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.commercial__row-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
}

/* =============================================
   5. PHASED EXECUTION WITH OCCUPIED SPACES
      Dark bg — full-width header + 2-col layout
   ============================================= */
.phased {
  background: var(--bg-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.phased::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,114,42,0.09) 0%, transparent 55%);
}

.phased__inner {
  position: relative;
  z-index: 1;
}

.phased__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.phased__header .label { color: var(--brand-orange); }
.phased__header .h2   { color: #fff; margin-bottom: 0; }

.phased__header-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.60);
  line-height: 1.8;
}

.phased__body {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  max-width: 820px;
  border-left: 3px solid var(--brand-orange);
  padding-left: 28px;
}

/* Phase steps row */
.phased__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: rgba(255,255,255,0.04);
}

.phased__step {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background var(--tr);
}

.phased__step:last-child { border-right: none; }
.phased__step:hover { background: rgba(255,255,255,0.06); }

.phased__step-num {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 800;
  color: rgba(232,114,42,0.30);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -2px;
}

.phased__step-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.phased__step-text {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* =============================================
   6. CTA
   ============================================= */
.cta {
  background: var(--bg-white);
  padding: 100px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 64px 72px;
  border-left: 5px solid var(--brand-orange);
  box-shadow: var(--shadow);
}

.cta__eyebrow {
  color: var(--brand-orange);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.cta__title {
  font-family: var(--font-primary);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta__desc {
  font-size: 15px;
  color: var(--text-body);
  max-width: 420px;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero__top         { grid-template-columns: 1fr; }
  .hero__highlights  { flex-direction: row; flex-wrap: wrap; }
  .hero__hl          { flex: 1; min-width: 220px; }

  .intro__grid       { grid-template-columns: 1fr; gap: 40px; }

  .residential__tabs { grid-template-columns: 1fr; }

  .commercial__grid  { grid-template-columns: 1fr; }
  .commercial__left  { position: static; }

  .phased__header    { grid-template-columns: 1fr; gap: 24px; }
  .phased__steps     { grid-template-columns: 1fr 1fr; }

  .cta__inner        { flex-direction: column; padding: 48px 36px; }

  @keyframes slideInLeft  { from { opacity:0; } to { opacity:1; } }
  @keyframes slideInRight { from { opacity:0; } to { opacity:1; } }
  .anim-left, .anim-right { transform: none !important; }
}

@media (max-width: 640px) {
  .intro, .residential, .commercial, .phased, .cta { padding: 60px 0; }
  .container  { padding: 0 20px; }
  .hero__top  { padding: 80px 0 60px; }
  .phased__steps { grid-template-columns: 1fr; }
  .hero__highlights { flex-direction: column; }
}
