/* ============================================================
   SJNC homepage — Concept-1 homepage template port (PREVIEW)
   Loaded AFTER styles.css + sjnc-modern.css, ONLY on
   index-highland-style.html. Ports the Concept-1 homepage section
   layouts (.h-* system) onto SJNC content. Hero / trust bar /
   featured listing cards / footer keep SJNC's existing styling.
   Width harmonized to SJNC's 1280px container so edges align.
   ============================================================ */
:root{
  --h-navy:#0A1628; --h-navy-2:#13243f; --h-blue:#1B4D89; --h-blue-dk:#143b6b;
  --h-gold:#C9A84C; --h-gold-dk:#7a5f1a; --h-paper:#fff; --h-warm:#F6F4EF;
  --h-ink:#0A1628; --h-mut:#5b6473; --h-line:rgba(10,22,40,.1);
  --h-ease:cubic-bezier(.16,1,.3,1);
}
/* warm canvas so the white cards + navy bands read against a calm field */
.c1#page-home{background:var(--h-warm)}

/* shared container — matched to SJNC's 1280px so new sections align with
   the hero/featured edges above them */
.c1 .wrapx,.c1 .h-about,.c1 .h-band{width:min(1280px, 100% - 80px);margin-inline:auto}
.c1 .keyb{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#7a5f1a;margin-bottom:12px;display:inline-flex;align-items:center;gap:12px}
.c1 .keyb::before{content:'';width:30px;height:1px;background:var(--h-gold)}

/* buttons */
.h-btn{display:inline-block;padding:15px 30px;border-radius:100px;font-size:15px;font-weight:600;font-family:'DM Sans',sans-serif;cursor:pointer;border:none;transition:.25s var(--h-ease);text-decoration:none}
.h-btn-blue{background:var(--h-blue);color:#fff}
.h-btn-blue:hover{background:var(--h-blue-dk);transform:translateY(-2px)}
.h-btn-gold{background:var(--h-gold);color:var(--h-navy)}
.h-btn-gold:hover{background:#dbbd6b;transform:translateY(-2px)}
.h-btn-line{background:transparent;border:1.5px solid var(--h-navy);color:var(--h-navy)}
.h-btn-line:hover{background:var(--h-navy);color:#fff}

/* generic section + headers */
.c1 .h-sec{padding:44px 0}
.c1 .h-sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:38px}
.c1 .h-sec-head h2{font-family:'Cormorant Garamond',serif;font-weight:700;line-height:1.05;font-size:clamp(32px,4.2vw,52px);color:var(--h-navy);margin:0}
.c1 .h-sec-head .h-lk{color:var(--h-blue);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
.c1 .h-center{text-align:center}
.c1 .h-center .keyb{justify-content:center}
.c1 .h-center .h-sec-head{flex-direction:column;align-items:center;text-align:center}
.c1 .h-lead{max-width:84ch;margin:14px auto 0;color:var(--h-mut);font-weight:300;font-size:19px}

/* about card (rounded, two-col) */
.c1 .h-about{background:#fff;border-radius:28px;overflow:hidden;margin-top:0}
.c1 .h-about-in{display:grid;grid-template-columns:.92fr 1.08fr;gap:56px;align-items:center;padding:56px 56px}
.c1 .h-about-img{border-radius:20px;overflow:hidden;aspect-ratio:1/1}
.c1 .h-about-img img{width:100%;height:100%;object-fit:cover;display:block}
.c1 .h-about h2{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:clamp(30px,3.6vw,46px);color:var(--h-navy);margin:10px 0 18px;line-height:1.08}
.c1 .h-about h2 em{font-style:italic;color:var(--h-blue)}
.c1 .h-about p{color:var(--h-mut);margin-bottom:16px}
.c1 .h-stats{display:flex;gap:40px;margin-top:24px}
.c1 .h-stats .n{font-family:'Cormorant Garamond',serif;font-size:42px;font-weight:700;color:var(--h-blue);line-height:1}
.c1 .h-stats .n b{color:var(--h-gold)}
.c1 .h-stats .l{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--h-mut);margin-top:4px}
.c1 .h-about-cta{margin-top:28px}

/* how it works */
.c1 .h-how{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.c1 .h-step{text-align:center;padding:0 12px}
.c1 .h-step .num{font-family:'Cormorant Garamond',serif;font-size:64px;font-weight:700;color:var(--h-gold);line-height:1}
.c1 .h-step h3{font-family:'Cormorant Garamond',serif;font-size:28px;font-weight:700;color:var(--h-navy);margin:8px 0 10px;line-height:1.1}
.c1 .h-step p{color:var(--h-mut);font-weight:300;font-size:16px}

/* floor-plan showcase (spec cards) */
.c1 .h-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.c1 .h-plan{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 4px 24px rgba(10,22,40,.06);transition:.35s var(--h-ease);cursor:pointer;display:flex;flex-direction:column;text-decoration:none}
.c1 .h-plan:hover{transform:translateY(-6px);box-shadow:0 28px 60px rgba(10,22,40,.14)}
.c1 .h-plan-img{aspect-ratio:3/2;overflow:hidden;position:relative}
.c1 .h-plan-img img{width:calc(100% + 1px);max-width:none;height:100%;object-fit:cover;transition:.7s var(--h-ease)}
.c1 .h-plan:hover .h-plan-img img{transform:scale(1.07)}
.c1 .h-plan-pill{position:absolute;top:12px;left:12px;z-index:1;background:var(--h-gold);color:var(--h-navy);font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:5px 11px;border-radius:100px;box-shadow:0 4px 12px rgba(10,22,40,.18)}
.c1 .h-plan-body{padding:22px 24px 24px;text-align:center;display:flex;flex-direction:column;flex:1}
.c1 .h-plan-name{font-family:'Cormorant Garamond',serif;font-size:28px;font-weight:700;color:var(--h-navy);line-height:1}
.c1 .h-plan-sub{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--h-gold-dk);font-weight:600;margin:6px 0 16px}
.c1 .h-plan-specs{border-top:1px solid var(--h-line);text-align:left}
.c1 .h-plan-specs .row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--h-line);font-size:14px}
.c1 .h-plan-specs .row .k{color:var(--h-mut)}
.c1 .h-plan-specs .row .v{color:var(--h-navy);font-weight:600}
.c1 .h-plan-link{margin-top:auto;padding-top:16px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--h-blue)}
/* models showcase as full-width navy band */
.c1 .h-plans-band{max-width:none;width:100%;margin:0;background:var(--h-navy);padding:64px 0}
.c1 .h-plans-band .h-sec-head h2{color:#fff}
.c1 .h-plans-band .keyb{color:var(--h-gold)}
.c1 .h-plans-band .keyb::before{background:var(--h-gold)}
.c1 .h-plans-band .h-lead{color:rgba(255,255,255,.72)}
.h-allmodels-wrap{text-align:center;margin-top:44px}
.h-allmodels-btn{display:inline-block;background:transparent;border:1.5px solid var(--h-gold);color:var(--h-gold);border-radius:100px;padding:12px 28px;font-size:15px;font-weight:600;letter-spacing:.01em;cursor:pointer;font-family:'DM Sans',sans-serif;transition:.25s var(--h-ease)}
.h-allmodels-btn:hover{background:var(--h-gold);color:var(--h-navy)}

/* communities teaser cards (rounded image cards) */
.c1 .h-comms{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.c1 .h-comm{position:relative;border-radius:24px;overflow:hidden;min-height:340px;display:flex;align-items:flex-end;color:#fff;cursor:pointer;text-decoration:none}
.c1 .h-comm>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:.7s var(--h-ease)}
.c1 .h-comm:hover>img{transform:scale(1.05)}
.c1 .h-comm::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(10,22,40,.86));z-index:1}
.c1 .h-comm-in{position:relative;z-index:2;padding:30px 32px;width:100%}
.c1 .h-comm .pill{display:inline-block;background:var(--h-gold);color:var(--h-navy);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:5px 12px;border-radius:100px;margin-bottom:12px}
.c1 .h-comm h3{font-family:'Cormorant Garamond',serif;font-size:34px;font-weight:700;color:#fff;margin:0 0 4px;line-height:1}
.c1 .h-comm .meta{font-size:14px;color:rgba(255,255,255,.85);margin-bottom:14px}
.c1 .h-comm-stats{display:flex;gap:26px;margin-bottom:6px}
.c1 .h-comm-stats .n{font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:700;color:#fff;line-height:1}
.c1 .h-comm-stats .l{font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.7);margin-top:3px}

/* counties grid — Concept-1 radius + left card text */
.c1 .counties-grid .county-card{border-radius:16px;text-align:left}
.c1 .counties-grid .county-towns{font-size:14px}

/* sell-land band (rounded navy) — KEEPS the SJNC form inside */
.c1 .h-band{margin-top:24px;margin-bottom:24px;background:var(--h-navy);color:#fff;border-radius:28px;padding:56px 56px}
.c1 .h-band .h-band-head{text-align:center;max-width:760px;margin:0 auto 36px}
.c1 .h-band .keyb{color:var(--h-gold);justify-content:center}
.c1 .h-band .keyb::before{background:var(--h-gold)}
.c1 .h-band h2{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:clamp(28px,3.4vw,46px);color:#fff;margin:0 auto 14px;line-height:1.1}
.c1 .h-band h2 em{font-style:italic;color:var(--h-gold)}
.c1 .h-band .h-band-sub{color:rgba(255,255,255,.75);margin:0 auto;font-weight:300;font-size:19px;max-width:74ch}
.c1 .h-band-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:start}
.c1 .h-band-features{display:flex;flex-direction:column;gap:20px}
.c1 .h-band-feature{display:flex;gap:16px;align-items:flex-start}
.c1 .h-band-feature .ic{flex-shrink:0;width:38px;height:38px;border-radius:100px;border:1.5px solid var(--h-gold);color:var(--h-gold);display:flex;align-items:center;justify-content:center}
.c1 .h-band-feature h3{font-size:18px;font-weight:600;color:#fff;margin:0 0 4px}
.c1 .h-band-feature p{font-size:15px;color:rgba(255,255,255,.72);font-weight:300;line-height:1.6;margin:0}
.c1 .h-band-form{background:linear-gradient(165deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border:1px solid rgba(201,168,76,.4);border-radius:20px;padding:32px 30px;backdrop-filter:blur(6px)}
.c1 .h-band-form .land-form-title{font-family:'Cormorant Garamond',serif;font-size:26px;font-weight:700;color:#fff;margin-bottom:8px}
.c1 .h-band-form .land-form-sub{font-size:15px;color:rgba(255,255,255,.72);font-weight:300;line-height:1.6;margin-bottom:24px}

/* responsive */
@media(max-width:980px){
  .c1 .h-band-grid{grid-template-columns:1fr;gap:32px}
}
@media(max-width:880px){
  .c1 .h-about-in,.c1 .h-how,.c1 .h-comms,.c1 .h-plans,.c1 .h-band-grid,
  .c1 .h-about-in>*,.c1 .h-how>*,.c1 .h-comms>*{min-width:0}
  .c1 .h-about-in{grid-template-columns:1fr;gap:30px}
  .c1 .h-comms{grid-template-columns:1fr}
  .c1 .h-plans{grid-template-columns:1fr 1fr}
  .c1 .h-how{grid-template-columns:1fr;gap:30px}
}
@media(max-width:640px){
  .c1 .h-about{padding:34px 22px}
  .c1 .h-about-in{padding:0;gap:26px}
  .c1 .h-about-img{aspect-ratio:16/10}
  .c1 .h-stats{flex-wrap:wrap;gap:22px 30px}
  .c1 .h-band{padding:40px 24px}
  .c1 .h-band h2{font-size:clamp(24px,6vw,32px)}
}
@media(max-width:560px){
  .c1 .h-plans{grid-template-columns:1fr}
  .c1 .h-sec{padding:34px 0}
  .c1 .h-plans-band{padding:44px 0}
}
/* secondary "All communities" header link: comfortable tap area on mobile */
@media(max-width:880px){
  .c1 .h-sec-head .h-lk{display:inline-block;padding:9px 2px;margin-top:4px}
}

/* FAQ panels: softer rounded corners + roomier padding; tighter, even
   stacking and a calmer gap below the group before the footer. */
.c1#page-home details{border-radius:16px!important;border-color:var(--h-line)!important;padding:22px 28px!important;background:#fff!important;box-shadow:0 2px 14px rgba(10,22,40,.04)}
.c1#page-home details summary h3{font-size:21px!important;text-align:left}
.c1#page-home div:has(> details){gap:12px!important}
.c1#page-home section:has(details){padding-bottom:64px!important}

/* HERO STAT BAR — even columns with hairline dividers so the three stats read
   as one tidy unit instead of three floating blocks; tighter number/label. */
.c1 .hero-stats{margin-top:40px;padding-top:34px;gap:0;border-top:1px solid rgba(255,255,255,.18);justify-content:center}
.c1 .hero-stat{padding:0 48px;position:relative;text-align:center}
.c1 .hero-stat + .hero-stat::before{content:"";position:absolute;left:0;top:5px;bottom:5px;width:1px;background:rgba(255,255,255,.16)}
.c1 .hero-stat-num{font-size:44px}
.c1 .hero-stat-label{font-size:10.5px;letter-spacing:.18em;margin-top:9px;color:rgba(255,255,255,.72)}
@media(max-width:560px){
  .c1 .hero-stat{padding:0 22px}
  .c1 .hero-stat-num{font-size:34px}
}

/* Featured now follows the hero directly (trust bar moved down to under How
   It Works, matching HDG) — give it HDG's standard section top padding. */
.c1#page-home > section:has(#featuredListings){padding-top:44px}
/* Featured subtitle: one clean line on desktop (matches the other subheaders) */
.c1#page-home > section:has(#featuredListings) .section-subtitle{max-width:none}

/* TRUST BAR relocated to under How It Works (matches HDG order). The
   #page-home margin-bottom:0 override in sjnc-modern.css assumed the bar sat
   directly under the hero; in its new home it gets HDG's band spacing so it
   reads as a divider between How It Works and the navy Floor Plans band. */
.c1#page-home .s-trust{margin:20px auto 40px}
@media(max-width:560px){
  /* tighter mobile section rhythm */
  .c1#page-home > section:has(#featuredListings){padding-top:34px}
}
