/* ==========================================================================
   HOUSE FLOOR PLANS PAGE
   Uses color tokens & base classes defined in style.css
   ========================================================================== */

/* ===== Page hero ===== */
.fp-hero{ background:var(--green-100); padding:80px 0 64px; }
.fp-hero__inner{ max-width:820px; }
.fp-hero h1{ font-size:clamp(2rem,4.5vw,2.9rem); }
.fp-hero h1 span{ color:var(--gold-600); }
.fp-hero__lead{ font-size:1.05rem; max-width:620px; }

.fp-steps{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  margin-top:56px; position:relative;
}
.fp-steps::before{
  content:""; position:absolute; top:26px; left:52px; right:52px; height:2px;
  background:var(--line); z-index:0;
}
.fp-step{ position:relative; z-index:1; text-align:center; padding:0 12px; }
.fp-step__num{
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; margin:0 auto 16px;
  border-radius:50%; background:var(--white); border:2px solid var(--line);
  font-family:var(--font-display); font-weight:700; color:var(--ink-soft);
}
.fp-step h3{ font-size:1rem; letter-spacing:0.03em; }
.fp-step p{ font-size:0.85rem; }
.fp-step--active .fp-step__num{ background:var(--green-800); border-color:var(--green-800); color:var(--white); }
.fp-step--active h3{ color:var(--green-800); }

/* ===== Home Construction Packages (accordion table) ===== */
.hc-packages{ padding:96px 0; background:var(--white); }
.hc-table{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; }
.hc-col{
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--paper); overflow:hidden;
}
.hc-col--featured{ border-color:var(--gold-500); box-shadow:var(--shadow); transform:translateY(-8px); }
.hc-col__head{ background:var(--gold-500); color:var(--green-900); padding:22px 20px; text-align:center; position:relative; }
.hc-col--featured .hc-col__head{ background:var(--green-800); color:var(--white); }
.hc-col__tag{
  position:absolute; top:-1px; right:16px;
  background:var(--gold-500); color:var(--green-900);
  font-family:var(--font-display); font-size:0.7rem; font-weight:700;
  padding:4px 10px; border-radius:0 0 6px 6px;
}
.hc-col__head h3{ margin:0 0 6px; color:inherit; font-size:1.05rem; letter-spacing:0.03em; }
.hc-col__head p{ margin:0; color:inherit; font-family:var(--font-display); font-weight:800; font-size:1.6rem; }
.hc-col__head p span{ font-size:1.1rem; vertical-align:top; }
.hc-col__head p em{ font-style:normal; font-family:var(--font-body); font-weight:500; font-size:0.75rem; opacity:0.85; margin-left:4px; }

.hc-rows{ padding:8px 0; }
.hc-row{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  background:none; border:none; border-bottom:1px solid var(--line);
  padding:16px 20px; text-align:left; cursor:pointer;
  font-family:var(--font-body); font-weight:600; color:var(--ink); font-size:0.92rem;
}
.hc-row:last-of-type{ border-bottom:none; }
.hc-row i{ font-style:normal; color:var(--gold-600); font-size:1.1rem; transition:transform .2s ease; }
.hc-row[aria-expanded="true"] i{ transform:rotate(45deg); }
.hc-row[aria-expanded="true"]{ color:var(--green-800); }
.hc-panel{
  max-height:0; overflow:hidden; transition:max-height .25s ease;
  background:var(--white); padding:0 20px;
}
.hc-panel.is-open{ max-height:160px; padding:0 20px 16px; }
.hc-panel p{ margin:0; font-size:0.85rem; color:var(--ink-soft); }

.hc-note{ font-size:0.82rem; color:var(--ink-soft); text-align:center; margin-top:32px; }

/* ===== Architectural Design Packages (comparison table) ===== */
.design-packages{ padding:96px 0; background:var(--green-100); }
.dp-table-wrap{ overflow-x:auto; background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); }
.dp-table{ width:100%; border-collapse:collapse; min-width:760px; }
.dp-table th,.dp-table td{ padding:14px 18px; text-align:center; border-bottom:1px solid var(--line); }
.dp-table td:first-child{ text-align:left; font-weight:600; color:var(--ink); font-size:0.9rem; }
.dp-table__label{ background:var(--white); }
.dp-head{ padding:20px 18px; color:var(--white); }
.dp-head span{ display:block; font-family:var(--font-display); font-size:0.72rem; letter-spacing:0.08em; opacity:0.85; text-transform:uppercase; }
.dp-head strong{ display:block; font-family:var(--font-display); font-size:1.05rem; margin-top:4px; }
.dp-head small{ display:block; font-size:0.72rem; opacity:0.85; margin-top:4px; font-weight:400; }
.dp-price{ font-family:var(--font-display); font-weight:800; font-size:1.3rem; margin-top:10px; }
.dp-price em{ font-style:normal; font-family:var(--font-body); font-weight:500; font-size:0.7rem; opacity:0.85; }
.dp-head--1{ background:var(--green-700); }
.dp-head--2{ background:var(--green-800); }
.dp-head--3{ background:var(--gold-500); color:var(--green-900); }
.dp-table tbody tr:nth-child(even){ background:var(--paper); }
.dp-table td.yes{ color:var(--green-800); font-weight:700; }
.dp-table td.no{ color:#b23b3b; }

/* ===== Journey timeline ===== */
.journey{ padding:96px 0; background:var(--white); }
.journey__list{ position:relative; max-width:760px; margin:0 auto; }
.journey__list::before{
  content:""; position:absolute; left:26px; top:8px; bottom:8px; width:2px;
  background:var(--line);
}
.journey__item{ position:relative; display:flex; gap:24px; padding-bottom:28px; }
.journey__item:last-child{ padding-bottom:0; }
.journey__num{
  flex-shrink:0; width:54px; height:54px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--white); border:2px solid var(--line);
  font-family:var(--font-display); font-weight:700; color:var(--ink-soft);
  position:relative; z-index:1;
}
.journey__item--active .journey__num{ background:var(--gold-500); border-color:var(--gold-500); color:var(--green-900); }
.journey__card{
  flex:1; background:var(--paper); border:1px solid var(--line);
  border-radius:var(--radius); padding:18px 22px;
}
.journey__card h3{ font-size:1.02rem; margin-bottom:4px; }
.journey__card p{ margin:0; font-size:0.88rem; }

/* ===== Deliverables ===== */
.deliverables{ padding:96px 0; background:var(--green-100); }
.deliverables__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.deliverable-card{ background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.deliverable-card__head{
  background:var(--gold-500); color:var(--green-900);
  font-family:var(--font-display); font-weight:700; font-size:0.95rem;
  padding:14px 18px; display:flex; align-items:center; gap:12px;
}
.deliverable-card__head span{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:4px;
  background:var(--green-900); color:var(--white); font-size:0.8rem;
}
.deliverable-card img{ width:100%; height:200px; object-fit:cover; display:block; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:960px){
  .fp-steps{ grid-template-columns:repeat(2,1fr); row-gap:32px; }
  .fp-steps::before{ display:none; }
  .hc-table{ grid-template-columns:1fr; }
  .hc-col--featured{ transform:none; order:-1; }
  .deliverables__grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:600px){
  .deliverables__grid{ grid-template-columns:1fr; }
  .journey__item{ gap:16px; }
  .journey__card{ padding:14px 16px; }
}

.fp-banner{ position:relative; color:var(--white); overflow:hidden; }
.fp-banner__media{ position:absolute; inset:0; }
.fp-banner__img{ width:100%; height:100%; object-fit:cover; }
.fp-banner__scrim{
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(14,51,32,0.92) 0%, rgba(14,51,32,0.78) 45%, rgba(14,51,32,0.32) 82%);
}
.fp-banner__content{ position:relative; padding:96px 24px 88px; max-width:700px; }
.fp-banner .eyebrow{ color:var(--gold-500); }
.fp-banner h1{ color:var(--white); font-size:clamp(2rem,4.5vw,2.9rem); margin-bottom:14px; }
.fp-banner h1 span{ color:var(--gold-500); }
.fp-banner__lead{ color:rgba(255,255,255,0.88); font-size:1.05rem; max-width:600px; margin:0; }