/* =========================================================
   ALPINE FENCE INC — design system
   Trades-professional · Alpine Navy + Cedar Brown + Snow
   43 years of Colorado Springs fence craftsmanship.
   ========================================================= */

:root{
  /* Palette derived from the real Alpine Fence Inc logo — slate steel-blue
     mountains, pine-black timber, warm cedar from their actual fence work. */
  --navy:#243443;         /* slate steel-blue (logo ridge) */
  --navy-deep:#151E27;    /* pine-black (footer / hero base) */
  --navy-tint:#36495C;
  --steel:#5B6E82;        /* logo mountain mid-tone */
  --orange:#B07A43;        /* cedar — primary accent */
  --orange-bright:#D29E63; /* light cedar (fresh-cut) */
  --orange-deep:#8A5A2C;   /* deep cedar (aged) */
  --pine:#2C3D31;          /* supporting evergreen */
  --white:#FFFFFF;
  --ivory:#F5F1E8;         /* warm snow */
  --ink:#11161B;
  --mute:#5E6B78;
  --mute-dark:#9DB0C2;
  --rule:#E3DDD2;          /* warm rule */
  --rule-dark:#24384A;
  --success:#198754;
  --cedar-glow: rgba(176,122,67,.34);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,15,20,.06), 0 1px 3px rgba(11,15,20,.05);
  --shadow-md: 0 4px 10px rgba(11,15,20,.06), 0 10px 30px rgba(11,15,20,.08);
  --shadow-lg: 0 10px 30px rgba(11,15,20,.10), 0 30px 80px rgba(11,15,20,.12);
}

*{box-sizing:border-box}
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.55;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; height:auto;}
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 var(--pad); }

/* ---------- TYPE ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--mono);
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange); font-weight:600;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--orange); }
.h-display{
  font-family:var(--display);
  font-weight:800;
  font-size: clamp(38px, 5.8vw, 76px);
  line-height:1.02;
  letter-spacing:-.025em;
  color:var(--white);
  margin:0;
}
.h-display--ink{ color:var(--ink); }
h1,h2,h3{ font-family:var(--display); font-weight:800; letter-spacing:-.02em; margin:0;}
.h-section{
  font-size: clamp(28px, 3.8vw, 48px);
  line-height:1.1;
  margin:0 0 14px;
}
.h-section--white{ color:var(--white); }
.lead{ font-size:18px; color:var(--mute); max-width:62ch; }
.lead--white{ color:rgba(255,255,255,.78); }
.kicker{
  font-size:11px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--mute); font-weight:700;
}

/* ---------- BUTTONS (BIG TAP TARGETS — HVAC IS 90% MOBILE) ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:18px 26px;
  border-radius:12px;
  font-weight:700; font-size:16px;
  border:0; cursor:pointer;
  min-height:56px;          /* min thumb target */
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{ background:var(--orange); color:var(--white); box-shadow: 0 8px 20px var(--cedar-glow);}
.btn--primary:hover{ background:var(--orange-deep); transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.4); }
.btn--ghost:hover{ border-color:var(--white); background:rgba(255,255,255,.06); }
.btn--ink{ background:var(--navy); color:var(--white); }
.btn--ink:hover{ background:var(--navy-deep); }
.btn--block{ width:100%; justify-content:center; }
.btn--xl{ padding:22px 34px; font-size:18px; min-height:64px; }

.btn-call{
  display:inline-flex; align-items:center; gap:14px;
  background:var(--orange); color:var(--white);
  padding:18px 28px; border-radius:14px;
  font-weight:800; font-size:18px;
  box-shadow: 0 8px 24px var(--cedar-glow);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height:60px;
}
.btn-call:hover{ background:var(--orange-deep); transform:translateY(-1px); }
.btn-call__icon{
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,.22);
  display:grid;place-items:center;
  flex:0 0 36px;
}
.btn-call__icon svg{ width:18px; height:18px; fill:var(--white); }
.btn-call__num{ font-size:20px; letter-spacing:-.01em; }
.btn-call__lab{ font-size:11px; letter-spacing:.18em; text-transform:uppercase; opacity:.85; font-weight:700; }

/* ---------- HEADER ---------- */
.site-header{
  position:sticky; top:0; z-index:80;
  background:var(--white);
  border-bottom:1px solid var(--rule);
}
.hdr{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; height:78px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand__mark{
  width:46px;height:46px; border-radius:11px;
  background:var(--navy); display:grid;place-items:center;
  position:relative; overflow:hidden;
}
.brand__mark svg{ width:28px; height:28px; }
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{ font-weight:800; font-size:17px; letter-spacing:-.01em; color:var(--navy); }
.brand__sub{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); font-weight:600; margin-top:2px;}

.hdr-nav{ display:none; gap:30px; }
.hdr-nav a{
  font-size:14px; font-weight:600; color:var(--ink);
  letter-spacing:.01em; transition:color .15s ease;
}
.hdr-nav a:hover, .hdr-nav a.active{ color:var(--orange); }

.hdr-cta{ display:flex; align-items:center; gap:14px; }
.hdr-phone{
  display:flex; flex-direction:column; line-height:1.05;
  text-align:right;
}
.hdr-phone__lab{ font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--mute); font-weight:700; }
.hdr-phone__num{ font-size:18px; font-weight:800; color:var(--navy); letter-spacing:-.01em; margin-top:3px; white-space:nowrap;}
.hdr-phone__num:hover{ color:var(--orange); }

/* Mobile: compact phone-only chip in header (always visible) */
@media(max-width:899px){
  .hdr-phone{ text-align:right; }
  .hdr-phone__lab{ display:none; }
  .hdr-phone__num{ font-size:15px; padding: 13px 16px; background:var(--orange); color:var(--white); border-radius:10px; box-shadow: 0 4px 10px var(--cedar-glow); margin-top:0; min-height:44px; display:inline-flex; align-items:center;}
  .hdr-phone__num:hover{ color:var(--white); background:var(--orange-deep);}
  .brand__text{ display:none; }
  .brand__mark{ width:42px; height:42px; }
}

.hdr-burger{
  width:46px;height:46px; border:1px solid var(--rule); background:var(--white);
  border-radius:11px; display:grid; place-items:center; cursor:pointer;
}
.hdr-burger span{ display:block; width:18px; height:2px; background:var(--ink); position:relative;}
.hdr-burger span::before,
.hdr-burger span::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink);}
.hdr-burger span::before{ top:-6px; }
.hdr-burger span::after{ top:6px; }

@media(min-width:900px){
  .hdr-nav{ display:flex; }
  .hdr-phone{ display:flex; }
  .hdr-burger{ display:none; }
}

/* mobile menu */
.mob-menu{
  display:none;
  position:fixed; inset:78px 0 auto 0; background:var(--white);
  border-bottom:1px solid var(--rule);
  padding:18px var(--pad) 26px;
  z-index:79;
  box-shadow:var(--shadow-md);
}
.mob-menu.is-open{ display:block; }
.mob-menu a{
  display:block; padding:14px 0; border-bottom:1px solid var(--rule);
  font-weight:600; color:var(--ink);
}
.mob-menu a:last-of-type{ border-bottom:0; }

/* ---------- HERO ---------- */
.hero{
  position:relative; overflow:hidden;
  background:var(--navy-deep);
  color:var(--white);
  isolation:isolate;
}
.hero__bg{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(9,27,48,.55) 0%, rgba(9,27,48,.85) 60%, rgba(9,27,48,.95) 100%),
    url('https://images.unsplash.com/photo-1635340337636-c63b13f4ff32?auto=format&fit=crop&w=2000&q=70') center/cover no-repeat,
    var(--navy-deep);
}
.hero__bg::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(900px 600px at 78% 25%, rgba(255,122,26,.22), transparent 60%);
}
.hero__inner{
  padding: clamp(64px, 12vw, 130px) 0 clamp(72px, 11vw, 120px);
  display:grid; gap:36px;
  max-width: 1100px;
}
.hero__badge{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 14px; border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  font-weight:700; color:rgba(255,255,255,.92);
  width:fit-content;
}
.hero__badge::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background:var(--orange-bright); box-shadow: 0 0 0 4px rgba(210,158,99,.25);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot{ 0%,100%{ box-shadow:0 0 0 3px rgba(210,158,99,.30);} 50%{ box-shadow:0 0 0 7px rgba(210,158,99,0);} }
.hero__title{ max-width: 18ch; }
.hero__title em{ font-style:normal; color:var(--orange); }
.hero__lead{ max-width: 56ch; }
.hero__cta{
  display:flex; flex-wrap:wrap; gap:14px; margin-top: 8px;
}
.hero__meta{
  display:flex; flex-wrap:wrap; gap: clamp(22px, 4vw, 42px);
  padding-top:26px; margin-top: 6px;
  border-top:1px solid rgba(255,255,255,.14);
}
.hero__meta-item{
  display:flex; flex-direction:column; gap:4px;
  font-size:13px; color:rgba(255,255,255,.7);
  letter-spacing:.04em;
}
.hero__meta-item strong{
  font-size: clamp(22px, 2.8vw, 30px); font-weight:800;
  color:var(--white); letter-spacing:-.01em;
}
.hero__meta-item small{ font-size:11px; text-transform:uppercase; letter-spacing:.16em; color:rgba(255,255,255,.55); font-weight:600;}

/* ---------- SERVICE STRIP (sticky, mobile-first) ---------- */
.svc-bar{
  background:var(--orange);
  color:var(--white);
  position:sticky; top:78px; z-index:60;
  border-bottom: 3px solid var(--orange-deep);
}
.svc-bar__inner{
  display:flex; gap:0;
  overflow-x:auto; -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.svc-bar__inner::-webkit-scrollbar{ display:none; }
.svc-bar__item{
  flex:1 0 auto;
  display:flex; align-items:center; gap:10px;
  padding:14px 18px; min-height:56px;
  font-weight:700; font-size:14px;
  color:var(--white);
  white-space:nowrap;
  border-right:1px solid rgba(255,255,255,.18);
  transition:background .15s ease;
}
.svc-bar__item:last-child{ border-right:0; }
.svc-bar__item:hover{ background:var(--orange-deep); }
.svc-bar__item .ico{
  font-size:18px; line-height:1;
}
.svc-bar__item--alert{ background: var(--orange-deep); }
.svc-bar__item--alert:hover{ background:#C8540A; }

@media(min-width:900px){
  .svc-bar__inner{ justify-content:center; gap:0; }
  .svc-bar__item{ flex:0 1 auto; padding:14px 28px; font-size:15px; }
}

/* ---------- SECTIONS ---------- */
.section{ padding: clamp(64px, 9vw, 110px) 0; }
.section--ivory{ background:var(--ivory); }
.section--navy{ background:var(--navy); color:var(--white); }
.section--navy-deep{ background:var(--navy-deep); color:var(--white); }
.section-head{
  display:grid; gap:14px;
  max-width:780px; margin: 0 auto clamp(40px, 6vw, 72px);
  text-align:center;
}
.section-head--left{ margin: 0 0 clamp(40px,6vw,72px); text-align:left; max-width: 720px;}
.section-head .lead{ margin-left:auto; margin-right:auto; }

/* ---------- SERVICES GRID ---------- */
.svc-grid{
  display:grid; gap:18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.svc-card{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 24px;
  display:flex; flex-direction:column; gap:14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position:relative;
}
.svc-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color: var(--orange);
}
.svc-card__icon{
  width:54px; height:54px; border-radius:13px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-bright) 100%);
  display:grid; place-items:center;
  box-shadow: 0 6px 14px var(--cedar-glow);
}
.svc-card__icon svg{ width:26px; height:26px; fill:var(--white); }
.svc-card__title{ font-size:20px; font-weight:800; color:var(--navy); letter-spacing:-.01em;}
.svc-card__blurb{ font-size:15px; color:var(--mute); line-height:1.55;}
.svc-card__list{
  list-style:none; padding:0; margin:6px 0 0;
  display:grid; gap:6px;
}
.svc-card__list li{
  font-size:13px; color:var(--ink); display:flex; gap:8px; align-items:flex-start;
}
.svc-card__list li::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background:var(--orange); margin-top:8px; flex:0 0 6px;
}
.svc-card__cta{
  margin-top:10px;
  display:inline-flex; align-items:center; gap:6px;
  font-weight:700; color:var(--navy); font-size:14px;
}
.svc-card__cta::after{ content:"→"; transition:transform .15s ease;}
.svc-card:hover .svc-card__cta::after{ transform:translateX(4px); }

/* ---------- AREAS ---------- */
.areas{
  display:grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media(min-width:900px){
  .areas{ grid-template-columns: 1fr 1.4fr; gap: 64px; align-items:start;}
}
.areas-grid{
  display:grid; gap:10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.area-tile{
  background:var(--white);
  border:1px solid rgba(255,255,255,.14);
  border-radius:11px;
  padding:16px 18px;
  display:flex; flex-direction:column; gap:4px;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.section--navy-deep .area-tile{ background:rgba(255,255,255,.04); }
.section--navy-deep .area-tile__name{ color:var(--white); }
.section--navy-deep .area-tile__note{ color:var(--mute-dark); }
.area-tile:hover{ border-color: var(--orange); background:rgba(255,122,26,.08); transform:translateY(-2px);}
.area-tile__name{ font-weight:800; letter-spacing:-.01em; color:var(--navy); }
.area-tile__note{ font-size:12px; color:var(--mute); letter-spacing:.02em;}
.area-tile--home{ background: var(--orange) !important; border-color:var(--orange) !important; }
.area-tile--home .area-tile__name, .area-tile--home .area-tile__note{ color:var(--white) !important; }

/* ---------- FAMILY STORY ---------- */
.story{
  display:grid; gap:48px; align-items:center;
  grid-template-columns: 1fr;
}
@media(min-width:900px){ .story{ grid-template-columns: 1.05fr 1fr; gap: 72px;} }
.story__img{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  aspect-ratio: 4 / 5; background: var(--navy-tint);
}
.story__img img{ width:100%; height:100%; object-fit:cover; }
.story__img::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(9,27,48,.55) 100%);
}
.story__img-badge{
  position:absolute; left:20px; bottom:20px;
  background:var(--orange); color:var(--white);
  padding: 10px 16px; border-radius:10px;
  font-size:13px; font-weight:800; letter-spacing:.02em;
  display:flex; align-items:center; gap:8px;
}
.story__pillars{
  display:grid; gap:18px; margin-top:30px;
  grid-template-columns: 1fr;
}
@media(min-width:520px){ .story__pillars{ grid-template-columns: 1fr 1fr; } }
.pillar{
  background: rgba(14,39,66,.04);
  border-left: 3px solid var(--orange);
  padding: 16px 18px;
  border-radius: 0 10px 10px 0;
}
.pillar__lab{ font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--mute); font-weight:700; }
.pillar__val{ font-size:26px; font-weight:800; color:var(--navy); letter-spacing:-.01em; margin-top:4px;}

/* ---------- PLANS ---------- */
.plans{
  display:grid; gap:20px;
  grid-template-columns: 1fr;
}
@media(min-width:760px){ .plans{ grid-template-columns: repeat(3, 1fr);} }
.plan{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius:18px;
  padding: 32px 26px;
  display:flex; flex-direction:column; gap:18px;
  position:relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md);}
.plan--highlight{
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.plan--highlight:hover{ transform: translateY(-10px); }
.plan__tier{ font-size:13px; letter-spacing:.18em; text-transform:uppercase; font-weight:800; color:var(--orange);}
.plan--highlight .plan__tier{ color:var(--orange-bright); }
.plan__tagline{
  font-size:12px; letter-spacing:.14em; text-transform:uppercase; font-weight:700;
  color:var(--mute);
}
.plan--highlight .plan__tagline{ color:rgba(255,255,255,.7);}
.plan__price{ display:flex; align-items:baseline; gap:4px; margin: 6px 0 2px;}
.plan__price strong{ font-size: 48px; font-weight:800; line-height:1; letter-spacing:-.03em; color:var(--navy);}
.plan--highlight .plan__price strong{ color:var(--white);}
.plan__price span{ font-size:16px; color:var(--mute); font-weight:600;}
.plan--highlight .plan__price span{ color:rgba(255,255,255,.6);}
.plan__billed{ font-size:12px; color:var(--mute); letter-spacing:.02em;}
.plan--highlight .plan__billed{ color:rgba(255,255,255,.6); }
.plan__list{ list-style:none; padding:0; margin:0; display:grid; gap:10px; flex:1;}
.plan__list li{ font-size:14px; display:flex; gap:10px; align-items:flex-start; }
.plan__list li::before{
  content:""; width:18px; height:18px; border-radius:50%;
  background: var(--orange); color: var(--white);
  display:inline-block; flex:0 0 18px; margin-top:2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>");
  background-repeat:no-repeat; background-position:center; background-size:14px;
}
.plan__badge{
  position:absolute; top:-12px; right:24px;
  background:var(--orange); color:var(--white);
  font-size:11px; letter-spacing:.16em; text-transform:uppercase; font-weight:800;
  padding: 6px 12px; border-radius:999px;
  box-shadow: 0 4px 10px var(--cedar-glow);
}
.plans-note{ text-align:center; color:var(--mute); font-size:14px; margin-top:24px;}

/* ---------- REVIEWS ---------- */
.reviews{
  display:grid; gap:18px;
  grid-template-columns: 1fr;
}
@media(min-width:760px){ .reviews{ grid-template-columns: repeat(3, 1fr); } }
.review{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius:14px;
  padding:26px 24px;
  display:flex; flex-direction:column; gap:14px;
}
.review__stars{
  display:inline-flex; gap:2px; color:var(--orange);
  font-size:16px;
}
.review__quote{ font-size:16px; line-height:1.55; color:var(--ink); }
.review__author{
  display:flex; align-items:center; gap:12px; margin-top: 4px;
  padding-top:14px; border-top:1px solid var(--rule);
}
.review__avatar{
  width:40px; height:40px; border-radius:50%;
  background: var(--navy);
  color:var(--white);
  display:grid; place-items:center;
  font-weight:800; font-size:14px;
  flex:0 0 40px;
}
.review__name{ font-weight:700; font-size:14px; color:var(--navy);}
.review__src{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); font-weight:700;}
.reviews-strip{
  display:flex; justify-content:center; gap:32px; flex-wrap:wrap;
  margin-top: 32px; padding-top:32px;
  border-top:1px solid var(--rule);
}
.reviews-strip__item{
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.reviews-strip__rating{
  font-size:32px; font-weight:800; color:var(--navy); letter-spacing:-.02em;
  display:flex; align-items:center; gap:6px;
}
.reviews-strip__rating::after{ content:"★"; color:var(--orange); font-size:24px; }
.reviews-strip__src{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); font-weight:700;}

/* ---------- FINANCING ---------- */
.financing{
  background:var(--navy-deep);
  color:var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display:grid; gap:36px; align-items:center;
  grid-template-columns: 1fr;
}
@media(min-width:900px){ .financing{ grid-template-columns: 1.3fr 1fr;} }
.financing__title{ font-size:clamp(28px,3.4vw,40px); font-weight:800; line-height:1.1; letter-spacing:-.02em;}
.financing__title em{ font-style:normal; color:var(--orange); }
.financing__lead{ color:rgba(255,255,255,.78); max-width: 50ch; margin-top:12px;}
.financing__points{ list-style:none; padding:0; margin:24px 0 0; display:grid; gap:10px;}
.financing__points li{ display:flex; gap:10px; align-items:flex-start; font-size:15px;}
.financing__points li::before{
  content:"✓"; width:24px; height:24px; border-radius:50%;
  background: var(--orange); color:var(--white);
  display:grid; place-items:center; font-size:13px; font-weight:800;
  flex:0 0 24px;
}
.financing__card{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  padding: 28px 24px;
  display:grid; gap:14px;
}
.financing__cardlab{ font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--mute-dark); font-weight:700;}
.financing__cardpct{ font-size:64px; font-weight:800; line-height:1; color:var(--orange); letter-spacing:-.03em;}
.financing__cardpct sup{ font-size:32px; vertical-align: top; margin-top:8px;}
.financing__cardcopy{ color:rgba(255,255,255,.78); font-size:14px;}
.financing__cardsmall{ font-size:11px; color:rgba(255,255,255,.45); margin-top:8px; line-height:1.5;}

/* ---------- QUOTE FORM ---------- */
.quote{
  display:grid; gap:48px;
  grid-template-columns: 1fr;
}
@media(min-width:900px){ .quote{ grid-template-columns: 1fr 1.1fr; gap:80px;} }
.quote__intro h2{ color:var(--ink); }
.quote__why{
  list-style:none; padding:0; margin: 26px 0 0;
  display:grid; gap:14px;
}
.quote__why li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--ink);}
.quote__why li::before{
  content:""; width:22px; height:22px; flex:0 0 22px; margin-top:1px;
  border-radius:50%; background:var(--orange);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>");
  background-repeat:no-repeat; background-position:center; background-size:14px;
}
.form{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  display:grid; gap:18px;
}
.form__row{ display:grid; gap:18px; grid-template-columns: 1fr;}
@media(min-width:600px){ .form__row--2{ grid-template-columns: 1fr 1fr;} }
.field{ display:flex; flex-direction:column; gap:6px;}
.field label{
  font-size:12px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--navy);
}
.field input, .field select, .field textarea{
  font-family:inherit; font-size:16px;
  padding:16px 18px; border-radius:10px;
  border:1px solid var(--rule); background:var(--white); color:var(--ink);
  min-height:56px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:0;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,122,26,.14);
}
.field textarea{ resize:vertical; min-height:110px; line-height:1.5;}
.form__note{ font-size:12px; color:var(--mute); }

/* ---------- BRANDS STRIP ---------- */
.brands-strip{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap: clamp(28px, 6vw, 64px);
  padding: 18px 0;
}
.brand-chip{
  font-weight:800; letter-spacing:.02em;
  font-size: clamp(20px, 3vw, 30px);
  color:var(--navy); opacity:.55;
  font-family: var(--font);
}
.brand-chip:hover{ opacity:1; color:var(--orange);}
.brand-chip--white{ color:rgba(255,255,255,.55);}
.brand-chip--white:hover{ color:var(--orange-bright); opacity:1;}

/* ---------- CTA BAND ---------- */
.cta-band{
  background: var(--orange);
  color:var(--white);
  text-align:center;
  padding: clamp(56px, 7vw, 96px) 0;
}
.cta-band__title{ font-size: clamp(32px, 4.6vw, 56px); font-weight:800; letter-spacing:-.02em; line-height:1.1;}
.cta-band__lead{ font-size:18px; opacity:.92; max-width: 50ch; margin: 14px auto 30px;}
.cta-band .btn-call{ background:var(--white); color:var(--navy);}
.cta-band .btn-call .btn-call__icon{ background:rgba(14,39,66,.1);}
.cta-band .btn-call .btn-call__icon svg{ fill:var(--navy);}
.cta-band .btn-call:hover{ background:var(--ivory); }

/* ---------- FOOTER ---------- */
.foot{
  background:var(--navy-deep);
  color: rgba(255,255,255,.78);
  padding: clamp(56px, 7vw, 88px) 0 28px;
}
.foot__grid{
  display:grid; gap:36px;
  grid-template-columns: 1fr;
}
@media(min-width:760px){ .foot__grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;} }
.foot h4{
  font-size:12px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--white); margin: 0 0 14px; font-weight:800;
}
.foot ul{ list-style:none; padding:0; margin:0; display:grid; gap:10px;}
.foot a{ font-size:14px; color: rgba(255,255,255,.7); transition: color .15s ease;}
.foot a:hover{ color: var(--orange-bright);}
.foot__brand{ display:flex; align-items:center; gap:12px; margin-bottom: 16px;}
.foot__brand .brand__mark{ width:50px; height:50px; }
.foot__about{ font-size:14px; color: rgba(255,255,255,.7); line-height:1.6; max-width: 38ch;}
.foot__phone{
  display:flex; flex-direction:column; gap:4px; margin-bottom:14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
}
.foot__phone .lab{ font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--mute-dark); font-weight:700;}
.foot__phone .num{ font-size:22px; font-weight:800; color:var(--white); letter-spacing:-.01em;}
.foot__phone .num:hover{ color: var(--orange-bright);}
.foot__bottom{
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px;
  font-size:12px; color: rgba(255,255,255,.5); letter-spacing:.02em;
}
.foot__credit{ color: rgba(255,255,255,.5);}
.foot__credit a{ color: var(--orange-bright);}

/* ---------- REVEAL (with fallback visibility) ---------- */
.reveal{ opacity:1; transform:none;}        /* fallback open */
.reveal--ready{ opacity:0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease;}
.reveal--in{ opacity:1; transform: translateY(0);}

/* ---------- UTILS ---------- */
.spacer-sm{ height:24px; } .spacer-md{ height:48px;} .spacer-lg{ height:72px;}
.muted{ color:var(--mute);}
.center{ text-align:center; }
.no-wrap{ white-space:nowrap; }

/* ---------- PAGE HEADERS (sub-pages) ---------- */
.page-hero{
  background: var(--navy);
  color:var(--white);
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 4px solid var(--orange);
}
.page-hero__inner{ display:grid; gap:18px; max-width: 800px;}
.page-hero__crumbs{ font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.55); font-weight:700;}
.page-hero__crumbs a{ color: var(--orange-bright);}

/* ===== Mobile fixes ===== */
@media(max-width:600px){
  .hero__inner{ padding-top: 56px; padding-bottom: 64px; gap: 26px;}
  .hero__cta .btn-call{ width:100%; }
  .hero__cta .btn{ width:100%; justify-content:center; }
  .hero__meta{ gap:20px; }
  .svc-bar__item{ padding: 12px 14px; font-size:13px; }
  .section{ padding: 56px 0; }
}

/* =========================================================
   ALPINE FENCE — premium component layer
   real logo · real photography · alpine motifs · motion
   ========================================================= */

/* ---- Real logo lockup (header) ---- */
.brand__logo{ height:50px; width:auto; display:block; }
@media(max-width:899px){ .brand__logo{ height:42px; } }
.brand--logo{ gap:0; }

/* ---- Hero: real photo + parallax + topo ---- */
.hero__bg img{ position:absolute; inset:0; width:100%; height:118%; object-fit:cover; will-change:transform; }
.hero__overlay{ position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(21,30,39,.62) 0%, rgba(21,30,39,.50) 42%, rgba(21,30,39,.90) 100%),
    radial-gradient(1100px 520px at 80% 18%, rgba(176,122,67,.18), transparent 60%);
}
.hero__topo{ position:absolute; inset:0; z-index:0; opacity:.16; pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'><g fill='none' stroke='%23D29E63' stroke-width='1.2'><path d='M0 120 C 200 70 400 170 600 120 S 1000 70 1200 130'/><path d='M0 200 C 220 150 420 250 620 200 S 1000 150 1200 210'/><path d='M0 290 C 200 240 430 340 640 290 S 1010 240 1200 300'/><path d='M0 380 C 230 330 430 430 650 380 S 1000 330 1200 390'/><path d='M0 470 C 210 420 440 520 660 470 S 1010 420 1200 480'/></g></svg>");
  background-size:cover; }
.hero__inner{ position:relative; z-index:1; }
.hero__accent{ color:var(--orange-bright); }
.hero__ctas{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:36px; }
.hero__meta{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:24px; margin-top:48px; padding-top:32px; border-top:1px solid rgba(255,255,255,.16); }
.hero__meta > div{ display:flex; flex-direction:column; gap:5px; }
.hero__meta .num{ font-family:var(--display); font-size:34px; font-weight:800; color:var(--white); letter-spacing:-.03em; line-height:1; }
.hero__meta .lab{ font-family:var(--mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.72); font-weight:500; }
@media (max-width:760px){ .hero__meta{ grid-template-columns:repeat(2,1fr); gap:20px; } .hero__meta .num{ font-size:27px; } }

/* ---- Trust badge row ---- */
.trust-row{ display:flex; flex-wrap:wrap; gap:14px; }
.trust-badge{ display:inline-flex; align-items:center; gap:9px; padding:9px 15px; border-radius:999px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16);
  font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.9); font-weight:500;}
.trust-badge svg{ width:15px; height:15px; fill:var(--orange-bright); }

/* ---- Mountain-ridge divider ---- */
.ridge{ display:block; width:100%; height:46px; }
.ridge path{ fill:currentColor; }
.ridge--ivory{ color:var(--ivory); }
.ridge--navy{ color:var(--navy); }
.ridge--navy-deep{ color:var(--navy-deep); }
.ridge--white{ color:var(--white); }

/* ---- Services cards: link + tint icon ---- */
.svc-card__link{ display:inline-flex; align-items:center; gap:6px; margin-top:auto; padding-top:6px; color:var(--orange-deep); font-weight:700; font-size:13px; letter-spacing:.01em; }
.svc-card__link::after{ content:"→"; transition:transform .15s ease; }
.svc-card:hover .svc-card__link::after{ transform:translateX(4px); }

/* ---- Real-photo gallery (masonry-ish) ---- */
.gallery{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:200px; gap:14px; grid-auto-flow:dense; }
.gallery__item{ position:relative; overflow:hidden; border-radius:16px; background:var(--navy-tint); }
.gallery__item img{ width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover img{ transform:scale(1.07); }
.gallery__item::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(21,30,39,.78)); opacity:.9; }
.gallery__cap{ position:absolute; left:16px; bottom:14px; right:16px; z-index:2; color:#fff; }
.gallery__cap strong{ display:block; font-family:var(--display); font-size:16px; font-weight:700; letter-spacing:-.01em; }
.gallery__cap span{ font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.82); }
.gallery__item--wide{ grid-column:span 2; }
.gallery__item--tall{ grid-row:span 2; }
@media(max-width:900px){ .gallery{ grid-template-columns:repeat(2,1fr); grid-auto-rows:180px; }
  .gallery__item--wide{ grid-column:span 2; } .gallery__item--tall{ grid-row:span 1; } }
@media(max-width:560px){ .gallery{ grid-template-columns:1fr 1fr; grid-auto-rows:150px; }
  .gallery__item--wide{ grid-column:span 2; } }

/* ---- Custom-fabrication feature (differentiator) ---- */
.fab{ display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center; }
.fab__media{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fab__media img{ width:100%; height:100%; object-fit:cover; border-radius:14px; display:block; }
.fab__media .fab__tall{ grid-row:span 2; height:100%; }
.fab__list{ list-style:none; padding:0; margin:20px 0 0; display:grid; gap:12px; }
.fab__list li{ position:relative; padding-left:26px; font-size:15.5px; line-height:1.55; color:rgba(255,255,255,.86); }
.fab__list li::before{ content:""; position:absolute; left:0; top:7px; width:13px; height:13px;
  background:var(--orange-bright);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.6 6.6L22 9l-5 4.8L18.4 21 12 17.3 5.6 21 7 13.8 2 9l7.4-.4z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.6 6.6L22 9l-5 4.8L18.4 21 12 17.3 5.6 21 7 13.8 2 9l7.4-.4z'/></svg>") center/contain no-repeat; }
@media(max-width:860px){ .fab{ grid-template-columns:1fr; gap:28px; } }

/* ---- Services deep blocks ---- */
.svc-deep{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; padding:56px 0; border-bottom:1px solid var(--rule); scroll-margin-top:150px; }
.svc-deep:last-child{ border-bottom:none; }
.svc-deep--rev > .svc-deep__img{ order:2; }
.svc-deep__img{ position:relative; border-radius:18px; overflow:hidden; aspect-ratio:4/3; background:var(--ivory); box-shadow:var(--shadow-md); }
.svc-deep__img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-deep__img:hover img{ transform:scale(1.05); }
.svc-deep__tag{ position:absolute; top:14px; left:14px; z-index:2; font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; background:rgba(21,30,39,.7); color:#fff; padding:6px 11px; border-radius:999px; backdrop-filter:blur(4px); }
.svc-deep__list{ list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px; }
.svc-deep__list li{ position:relative; padding-left:24px; color:var(--ink); font-size:15px; line-height:1.55; }
.svc-deep__list li::before{ content:"▸"; position:absolute; left:0; color:var(--orange); font-weight:900; }
.svc-deep__num{ font-family:var(--mono); font-size:12px; letter-spacing:.14em; color:var(--orange); font-weight:600; text-transform:uppercase; }
@media (max-width:860px){ .svc-deep{ grid-template-columns:1fr; gap:24px; padding:36px 0; } .svc-deep--rev > .svc-deep__img{ order:0; } }

/* ---- Materials / plans ---- */
.plans-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; margin-top:28px; align-items:start; }
.plan-card{ background:var(--white); border:1px solid var(--rule); border-radius:16px; padding:30px 26px; display:flex; flex-direction:column; gap:14px; position:relative; transition:transform .2s ease, box-shadow .2s ease; }
.plan-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.plan-card--featured{ border-color:var(--orange); box-shadow:0 14px 36px rgba(138,90,44,.20); }
.plan-card__flag{ position:absolute; top:-12px; left:26px; background:var(--orange); color:var(--white); font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; padding:5px 12px; border-radius:20px;}
.plan-card__eyebrow{ font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--orange); font-weight:600; }
.plan-card__title{ font-family:var(--display); font-size:30px; font-weight:800; letter-spacing:-.02em; color:var(--navy); margin:0; }
.plan-card__sub{ color:var(--mute); font-size:14px; margin:0; }
.plan-card__list{ list-style:none; padding:0; margin:8px 0 16px; display:grid; gap:9px; }
.plan-card__list li{ position:relative; padding-left:22px; color:var(--ink); font-size:14px; line-height:1.5;}
.plan-card__list li::before{ content:""; position:absolute; left:0; top:6px; width:11px; height:11px; border-radius:3px; background:var(--orange-bright);}
.plans-note{ text-align:center; margin-top:30px; color:var(--mute); }
.plans-note a{ color:var(--orange-deep); font-weight:700; }
@media (max-width:980px){ .plans-grid{ grid-template-columns:1fr; } }

/* ---- Reviews (on dark) ---- */
.reviews-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:24px;}
.review{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:30px 28px; display:flex; flex-direction:column; gap:16px; transition:transform .2s ease, border-color .2s ease; }
.review:hover{ transform:translateY(-4px); border-color:rgba(210,158,99,.5); }
.review__stars{ color:var(--orange-bright); font-size:18px; letter-spacing:3px;}
.review__quote{ color:rgba(255,255,255,.94); font-size:16px; line-height:1.62; margin:0; }
.review__by{ display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:16px; border-top:1px solid rgba(255,255,255,.12);}
.review__ava{ width:42px; height:42px; border-radius:50%; flex:0 0 42px; display:grid; place-items:center; font-family:var(--display); font-weight:700; font-size:15px; color:#fff; background:linear-gradient(135deg,var(--steel),var(--navy-tint)); }
.review__meta strong{ display:block; color:var(--white); font-size:14px; font-weight:700;}
.review__meta span{ color:var(--mute-dark); font-family:var(--mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;}
.reviews-note{ text-align:center; color:rgba(255,255,255,.5); font-size:12px; margin-top:26px;}
.reviews-note a{ color:var(--orange-bright); font-weight:700; }
@media (max-width:860px){ .reviews-grid{ grid-template-columns:1fr; } }

/* ---- Ghost-white button ---- */
.btn--ghost-white{ background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.45); padding:16px 30px; display:inline-flex; align-items:center; gap:8px; border-radius:12px; font-weight:700; min-height:56px; transition:all .2s;}
.btn--ghost-white:hover{ border-color:var(--white); background:rgba(255,255,255,.08); transform:translateY(-1px);}

/* ---- Footer real-logo chip ---- */
.foot__logochip{ display:inline-flex; background:var(--white); border-radius:12px; padding:12px 16px; }
.foot__logochip img{ height:46px; width:auto; }

/* ---- Section helpers ---- */
.section--navy-deep{ background:var(--navy-deep); color:var(--white);}
.section--navy-deep .lead{ color:rgba(255,255,255,.8);}
.section--tight{ padding-top:0; }
.eyebrow--center{ justify-content:center; }
.section--navy .eyebrow, .section--navy-deep .eyebrow{ color:var(--orange-bright); }
.section--navy .eyebrow::before, .section--navy-deep .eyebrow::before{ background:var(--orange-bright); }

/* ---- Count-up ---- */
.countup{ font-variant-numeric:tabular-nums; }

/* ---- Reveal stagger ---- */
.reveal--ready.d1{ transition-delay:.06s;} .reveal--ready.d2{ transition-delay:.12s;}
.reveal--ready.d3{ transition-delay:.18s;} .reveal--ready.d4{ transition-delay:.24s;}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .reveal--ready{ opacity:1 !important; transform:none !important; }
  .hero__bg img{ transform:none !important; }
}


/* ---- Header elevation on scroll ---- */
.site-header.is-stuck{ box-shadow:0 6px 24px rgba(17,22,27,.10); }
.site-header{ transition:box-shadow .2s ease; }
