/* =========================================================
   SitePhoenix — How It Works refinements
   Roofing design direction selector
   ========================================================= */

/* ---------------------------------------------------------
   HERO TYPOGRAPHY FIX
   Give "evidence," enough room before the comma
   --------------------------------------------------------- */

.process-hero-copy h1 span{
  display:inline-block;
  padding-right:.10em;
  padding-bottom:.07em;
  margin-right:-.02em;
  line-height:1.07;
}

/* ---------------------------------------------------------
   FOUR-STAGE PROCESS MAP
   --------------------------------------------------------- */

.process-map{
  padding-top:36px;
  padding-bottom:36px;
}

.process-map article strong{
  font-size:1.02rem;
}

.process-map>i{
  height:40px;
}

/* ---------------------------------------------------------
   STEP 03 — CHOOSE
   --------------------------------------------------------- */

.choose-step{
  background:#fff;
}

.choose-step .step-copy{
  margin-bottom:42px;
}

.choose-step .step-copy>p:last-child{
  color:var(--slate);
}

/* ---------------------------------------------------------
   DIRECTION INTRO
   --------------------------------------------------------- */

.direction-intro{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:36px;
  margin-bottom:30px;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
}

.direction-intro strong{
  max-width:690px;
  font-size:1.08rem;
  line-height:1.6;
}

.direction-intro span{
  flex:0 0 auto;
  color:var(--ember);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* =========================================================
   SIX DESIGN DIRECTION CARDS
   ========================================================= */

.direction-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}

.direction-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:650px;
  padding:18px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--ivory);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.direction-card:hover{
  transform:translateY(-4px);
  border-color:rgba(242,100,48,.35);
  box-shadow:0 22px 50px rgba(17,19,24,.10);
}

.direction-card .selector-dot{
  position:absolute;
  top:14px;
  right:14px;
  z-index:20;
  width:18px;
  height:18px;
  border:2px solid rgba(17,19,24,.22);
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 8px rgba(17,19,24,.08);
}

/* =========================================================
   LARGE HOMEPAGE PREVIEW
   ========================================================= */

.direction-preview{
  position:relative;
  display:grid;
  grid-template-rows:170px 1fr;
  height:350px;
  min-height:350px;
  margin-bottom:22px;
  overflow:hidden;
  border:1px solid rgba(17,19,24,.10);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 28px rgba(17,19,24,.09);
}

/* =========================================================
   ROOFING PHOTO AREAS
   ========================================================= */

.roof-photo{
  position:relative;
  overflow:hidden;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.roof-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(17,19,24,.04) 0%,rgba(17,19,24,.08) 55%,rgba(17,19,24,.45) 100%);
}

.roof-photo-label{
  position:absolute;
  left:12px;
  bottom:10px;
  z-index:3;
  padding:5px 8px;
  border-radius:999px;
  color:#fff;
  background:rgba(17,19,24,.72);
  font-size:.45rem;
  font-weight:800;
  letter-spacing:.10em;
}

/* Free-to-use Pexels roofing photography */
.roof-photo-clean{
  background-color:#dbe5ea;
  background-image:url('https://images.pexels.com/photos/37704251/pexels-photo-37704251.jpeg?auto=compress&cs=tinysrgb&w=1200');
  background-position:center 38%;
}

.roof-photo-warm{
  background-color:#ead1ba;
  background-image:url('https://images.pexels.com/photos/8576025/pexels-photo-8576025.jpeg?auto=compress&cs=tinysrgb&w=1200');
  background-position:center 38%;
}

.roof-photo-bold{
  background-color:#1a1c22;
  background-image:url('https://images.pexels.com/photos/37623622/pexels-photo-37623622.jpeg?auto=compress&cs=tinysrgb&w=1200');
  background-position:center 48%;
}

.roof-photo-heritage{
  background-color:#596875;
  background-image:url('https://images.pexels.com/photos/37521406/pexels-photo-37521406.jpeg?auto=compress&cs=tinysrgb&w=1200');
  background-position:center center;
}

.roof-photo-direct{
  background-color:#9fc9bd;
  background-image:url('https://images.pexels.com/photos/31771166/pexels-photo-31771166.jpeg?auto=compress&cs=tinysrgb&w=1200');
  background-position:center 42%;
}

.roof-photo-premium{
  background-color:#393532;
  background-image:url('https://images.pexels.com/photos/17485781/pexels-photo-17485781.jpeg?auto=compress&cs=tinysrgb&w=1200');
  background-position:center 45%;
}

/* =========================================================
   MINI HOMEPAGE COMMON STYLES
   ========================================================= */

.mini-homepage{
  position:relative;
  overflow:hidden;
}

.mini-homepage header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 12px;
  font-size:.42rem;
  font-weight:800;
}

.mini-homepage header strong{
  font-size:.48rem;
  letter-spacing:.04em;
}

.mini-homepage header span{
  text-align:right;
  opacity:.78;
}

.mini-hero{
  padding:15px 14px;
}

.mini-hero small{
  display:block;
  margin-bottom:7px;
  font-size:.42rem;
  font-weight:800;
  letter-spacing:.10em;
}

.mini-hero h4{
  margin:0 0 8px;
  font-size:.88rem;
  line-height:1.05;
  letter-spacing:-.035em;
}

.mini-hero p{
  margin:0 0 10px;
  font-size:.52rem;
  line-height:1.45;
}

.mini-hero b{
  display:inline-block;
  padding:6px 9px;
  border-radius:999px;
  font-size:.46rem;
  font-weight:800;
}

/* =========================================================
   CARD 1 — CLEAN & PROFESSIONAL
   ========================================================= */

.direction-card.clean{background:#f7fafc}
.clean-homepage{color:#192b37;background:#fff}
.clean-homepage header{border-bottom:1px solid #dce4e9;background:#fff}
.clean-homepage .mini-hero{display:grid;grid-template-columns:1.4fr .65fr;gap:12px}
.clean-homepage .mini-hero small{color:#516e80}
.clean-homepage .mini-hero b{color:#fff;background:#19324a}
.clean-homepage aside{display:flex;flex-direction:column;justify-content:center;padding:10px;border-radius:9px;background:#e9f0f4}
.clean-homepage aside strong{color:#19324a;font-size:.8rem}
.clean-homepage aside span{margin-top:4px;color:#5c6d77;font-size:.42rem}

/* =========================================================
   CARD 2 — WARM & LOCAL
   ========================================================= */

.direction-card.warm{background:#fff6ed}
.warm-homepage{color:#633b2c;background:#fffaf4}
.warm-homepage header{background:#f3dfcc}
.warm-homepage .mini-hero{padding-right:38px}
.warm-homepage .mini-hero small{color:#b35f3f}
.warm-homepage .mini-hero h4{font-family:Georgia,serif;font-weight:700}
.warm-homepage .mini-hero b{color:#fff7ef;background:#b55f3f}
.mini-review{margin:8px 0 9px;padding:7px 8px;border-left:3px solid #d29b77;color:#704735;background:#f6e8dc;font-size:.45rem;line-height:1.35}

/* =========================================================
   CARD 3 — BOLD & MODERN
   ========================================================= */

.direction-card.bold{color:#fff;background:#1b1d23;border-color:#30323a}
.direction-card.bold>p{color:rgba(255,255,255,.65)}
.direction-card.bold .feel{color:rgba(255,255,255,.9)}
.bold-homepage{color:#fff;background:#15171c}
.bold-homepage header{background:#111318;border-bottom:1px solid #34363e}
.bold-homepage header strong{color:#ff6e35;font-size:.6rem}
.bold-homepage .mini-hero{position:relative;min-height:144px;background:linear-gradient(110deg,#17191f 0%,#17191f 67%,#f26430 67%,#f26430 100%)}
.bold-homepage .mini-hero small{color:#ff9b70}
.bold-homepage .mini-hero h4{max-width:70%;font-size:1.04rem;line-height:.94}
.bold-homepage .mini-hero b{color:#111318;background:#fff}
.bold-rule{width:55%;height:3px;margin:10px 0;border-radius:10px;background:#f26430}

/* =========================================================
   CARD 4 — HERITAGE & CRAFT-LED
   ========================================================= */

.direction-card.heritage{background:#edf1f2}
.heritage-homepage{color:#29353d;background:#e7ecee}
.heritage-brand{display:flex;flex-direction:column;align-items:center;padding:12px 10px 7px;border-bottom:1px solid #aeb9bf;text-align:center;background:#d9e0e3}
.heritage-brand small{color:#6d7d86;font-size:.38rem;letter-spacing:.13em}
.heritage-brand strong{margin-top:2px;font-family:Georgia,serif;font-size:.74rem;letter-spacing:.01em}
.heritage-brand span{margin-top:2px;color:#53636d;font-size:.38rem}
.heritage-homepage .mini-hero{text-align:center}
.heritage-homepage .mini-hero h4{font-family:Georgia,serif;font-weight:700}
.heritage-homepage .mini-hero b{color:#f4f0e8;background:#38444d}

/* =========================================================
   CARD 5 — DIRECT & ENQUIRY-LED
   ========================================================= */

.direction-card.direct{background:#eef8f4}
.direct-homepage{color:#123d34;background:#f2faf7}
.direct-homepage header{color:#fff;background:#11624f}
.direct-homepage .mini-hero{display:grid;grid-template-columns:1.35fr .65fr;gap:10px}
.direct-homepage .mini-hero small{color:#23816b}
.direct-homepage .mini-hero b{color:#fff;background:#11624f}
.direct-homepage ul{list-style:none;margin:0;padding:9px;border-radius:9px;background:#d9eee7;font-size:.42rem;font-weight:700;line-height:1.7}

/* =========================================================
   CARD 6 — PREMIUM & ESTABLISHED
   ========================================================= */

.direction-card.premium{color:#f7f3ed;background:#211f1d;border-color:#393532}
.direction-card.premium>p{color:rgba(247,243,237,.65)}
.direction-card.premium .feel{color:#f3e8d9}
.premium-homepage{color:#f5efe6;background:#25221f}
.premium-homepage header{border-bottom:1px solid rgba(230,192,140,.24);background:#1d1b19}
.premium-homepage header strong{color:#e6c08c}
.premium-homepage .mini-hero{padding:18px}
.premium-homepage .mini-hero small{color:#d4af7e}
.premium-homepage .mini-hero h4{max-width:90%;font-family:Georgia,serif;font-size:.96rem;font-weight:400;line-height:1.15}
.premium-homepage .mini-hero b{color:#201d1b;background:#e6c08c}

/* =========================================================
   CARD TEXT & SWATCHES
   ========================================================= */

.direction-card h3{margin:0 34px 9px 0;font-size:1.22rem;line-height:1.2;letter-spacing:-.03em}
.direction-card>p{margin:0;color:var(--slate);font-size:.87rem;line-height:1.7}
.direction-card .feel{display:block;margin-top:16px;color:var(--obsidian);font-size:.71rem;font-weight:800;line-height:1.55}
.direction-card .swatches{display:flex;gap:7px;margin-top:auto;padding-top:18px}
.direction-card .swatches i{width:19px;height:19px;border:1px solid rgba(17,19,24,.10);border-radius:50%}
.clean .swatches i:nth-child(1){background:#fff}.clean .swatches i:nth-child(2){background:#19324a}.clean .swatches i:nth-child(3){background:#dfe7ec}
.warm .swatches i:nth-child(1){background:#fff8f1}.warm .swatches i:nth-child(2){background:#b55f3f}.warm .swatches i:nth-child(3){background:#704735}
.bold .swatches i:nth-child(1){background:#17191f}.bold .swatches i:nth-child(2){background:#ff6e35}.bold .swatches i:nth-child(3){background:#f3f4f6}
.heritage .swatches i:nth-child(1){background:#38444d}.heritage .swatches i:nth-child(2){background:#8ea0aa}.heritage .swatches i:nth-child(3){background:#e7ecee}
.direct .swatches i:nth-child(1){background:#11624f}.direct .swatches i:nth-child(2){background:#eef7f3}.direct .swatches i:nth-child(3){background:#e3b25f}
.premium .swatches i:nth-child(1){background:#201d1b}.premium .swatches i:nth-child(2){background:#e6c08c}.premium .swatches i:nth-child(3){background:#f7f3ed}

/* =========================================================
   REASSURANCE PANEL
   ========================================================= */

.choice-reassurance{margin-top:32px;padding:32px 34px;border-radius:22px;color:#fff;background:var(--obsidian)}
.choice-reassurance h3{margin:0 0 10px;font-size:1.45rem;letter-spacing:-.03em}
.choice-reassurance>p{max-width:900px;margin:0;color:rgba(255,255,255,.67);line-height:1.8}
.approval-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-top:26px;border-top:1px solid rgba(255,255,255,.14)}
.approval-strip span{padding:19px 18px 0 0;color:#fff;font-size:.79rem;font-weight:800}
.approval-strip span+span{padding-left:18px;border-left:1px solid rgba(255,255,255,.14)}
.approval-strip b{margin-right:8px;color:var(--gold)}

@media(max-width:1000px){
  .direction-grid{grid-template-columns:1fr 1fr}
  .direction-card{min-height:640px}
}

@media(max-width:720px){
  .process-hero-copy h1 span{padding-right:.12em;margin-right:-.01em}
  .direction-intro{align-items:flex-start;flex-direction:column;gap:10px}
  .direction-grid{grid-template-columns:1fr}
  .direction-card{min-height:auto}
  .direction-preview{height:340px;min-height:340px;grid-template-rows:165px 1fr}
  .approval-strip{grid-template-columns:1fr}
  .approval-strip span{padding:15px 0}
  .approval-strip span+span{padding-left:0;border-top:1px solid rgba(255,255,255,.14);border-left:0}
}
