/* ============================================================
   Banner Buildings — Configurator
   style.css — Mobile-first
   ============================================================ */

:root {
  --pine: #0F436F;
  --pine-dark: #0B3558;
  --pine-light: #2A5E86;
  --bark: #1E2A33;
  --sand: #FFFFFF;
  --sand-dark: #F1F3F6;
  --cream: #FFFFFF;
  --white: #FFFFFF;
  --charcoal: #1E1F22;
  --slate: #3E4650;
  --muted: #6C7580;
  --amber: #DA222E;
  --amber-dark: #B51B24;
  --red: #DA222E;
  --green: #27AE60;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --ease: cubic-bezier(0.22,1,0.36,1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--pine-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; padding: 14px 28px;
  border-radius: var(--radius-md); transition: all 0.2s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--amber); color: var(--white); box-shadow: 0 2px 8px rgba(212,146,42,0.3); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }
.mobile-price-bar .btn:disabled,
.mobile-price-bar .btn.is-disabled {
  background: #ccc;
  color: var(--white);
  border-color: #ccc;
  box-shadow: none;
  cursor: not-allowed;
}
.btn-secondary { background: transparent; color: var(--pine); border: 2px solid var(--pine); }
.btn-secondary:hover { background: var(--pine); color: var(--white); }
.btn-finance { background: var(--green); color: var(--white); border: 2px solid var(--green); box-shadow: 0 2px 8px rgba(39,174,96,0.3); }
.btn-finance:hover { background: #1f9b55; transform: translateY(-1px); }
.btn-finance:active { background: var(--white); color: var(--green); }
.btn-finance:focus-visible { outline: 3px solid rgba(39,174,96,0.35); outline-offset: 2px; }
.btn-outline { background: transparent; color: var(--slate); border: 1.5px solid var(--sand-dark); }
.btn-outline:hover { border-color: var(--pine); color: var(--pine); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.desktop-only { display: none; }
@media (min-width: 900px) { .desktop-only { display: inline-flex; } }
.mobile-only { display: block; }
@media (min-width: 900px) { .mobile-only { display: none !important; } }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #FFFFFF; backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06); height: var(--header-h);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
}
.logo-img {
  height: calc(var(--header-h) - 12px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: #FFFFFF;
}

.nav-desktop { display: none; align-items: center; gap: 24px; }
.nav-desktop a { font-size: 0.92rem; font-weight: 500; color: var(--slate); transition: color 0.2s; }
.nav-desktop a:hover { color: var(--pine); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  font-size: 0.92rem; font-weight: 500; color: var(--slate);
  background: transparent; border: none; padding: 0; cursor: pointer;
}
.nav-dropdown-toggle:hover { color: var(--pine); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: -6px;
  background: var(--white); border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md); padding: 8px; min-width: 220px;
  box-shadow: var(--shadow-md); display: none; z-index: 1100;
}
.nav-dropdown-menu a {
  display: block; padding: 6px 8px; font-size: 0.9rem; color: var(--slate);
  border-radius: 6px;
}
.nav-dropdown-menu a:hover { background: var(--sand); color: var(--pine); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.header-cta-wrap { display: none; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .header-cta-wrap { display: block; }
}

.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--charcoal); border-radius: 2px; transition: all 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (min-width: 960px) { .nav-toggle { display: none; } }

.nav-mobile {
  position: fixed; top: 0; right: 0; width: 100%; height: 100vh; z-index: 999;
  background: var(--cream); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a { font-family: var(--font-display); font-size: 1.5rem; color: var(--pine-dark); }
.nav-mobile-toggle {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--pine-dark);
  background: transparent; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-mobile-toggle::after {
  content: '▾'; font-size: 0.9rem; color: var(--muted); transition: transform 0.2s var(--ease);
}
.nav-mobile-toggle[aria-expanded=\"true\"]::after { transform: rotate(180deg); }
.nav-mobile-subnav { display: grid; gap: 12px; margin-top: 6px; }
.nav-mobile-subnav[hidden] { display: none; }
.nav-mobile-subnav a { font-size: 1.2rem; color: var(--slate); }

/* ============ PAGE LAYOUTS ============ */
.page-hero {
  background: linear-gradient(165deg, var(--pine-dark), var(--pine), var(--pine-light));
  padding: calc(var(--header-h) + 40px) 20px 48px; color: var(--white); text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.home-hero { text-align: left; }
.home-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 28px; align-items: center;
}
.home-hero-text p { margin: 0; }
.home-hero-actions {
  margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap;
}
.home-hero-media img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) {
  .home-hero-inner { grid-template-columns: 1.05fr 0.95fr; }
}
@media (max-width: 959px) {
  .home-hero { text-align: center; }
  .home-hero-actions { justify-content: center; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 48px 0; }

/* ============ HOMEPAGE ============ */
.home-features { display: grid; gap: 20px; padding: 48px 20px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 600px) { .home-features { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
  border: 1px solid var(--sand-dark); text-align: center; transition: all 0.3s var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--muted); }

.home-sizes {
  background: var(--white); padding: 48px 20px;
}
.home-sizes-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.size-table-wrap { overflow-x: auto; margin-top: 24px; }
.size-table {
  width: 100%; border-collapse: collapse; min-width: 500px;
  background: var(--cream); border-radius: var(--radius-md); overflow: hidden;
}
.size-table--compact th, .size-table--compact td { padding: 10px 14px; }
.size-table th, .size-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--sand-dark); }
.size-table th { background: var(--pine); color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.size-table td { font-size: 0.95rem; }
.size-table tr:last-child td { border-bottom: none; }
.size-table .price-col { font-weight: 700; color: var(--pine); font-family: var(--font-display); font-size: 1.1rem; }
.price-old { text-decoration: line-through; color: var(--muted); font-weight: 600; margin-right: 6px; }
.price-new { color: var(--pine); font-weight: 800; }
.size-card-price .price-old { font-size: 0.9rem; }
.size-card-price .price-new { font-size: 1.1rem; }

.size-table-grid {
  display: grid; gap: 16px;
}
@media (min-width: 900px) {
  .size-table-grid { grid-template-columns: repeat(2, 1fr); }
  .size-table { min-width: 0; }
}

.home-cta-section {
  background: linear-gradient(165deg, var(--pine-dark), var(--pine));
  padding: 60px 20px; text-align: center; color: var(--white);
}
.home-cta-section h2 { color: var(--white); margin-bottom: 12px; }
.home-cta-section p { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 24px; }
.home-cta-section .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ CONFIGURATOR LAYOUT ============ */
.builder-layout {
  display: grid; gap: 0; min-height: calc(100vh - var(--header-h));
  padding-top: var(--header-h);
}
@media (min-width: 960px) {
  .builder-layout { grid-template-columns: 1fr 320px; }
}

.builder-main { padding: 24px 20px 120px; max-width: 800px; width: 100%; margin: 0 auto; }
@media (min-width: 960px) { .builder-main { padding: 32px 40px 48px; } }

/* Progress bar */
.progress-wrap { margin-bottom: 24px; }
.progress-track { height: 6px; background: var(--sand-dark); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--amber); border-radius: 3px; transition: width 0.4s var(--ease); }
.progress-label { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* Step animation */
.step-enter { animation: stepIn 0.35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.step-header { margin-bottom: 24px; }
.step-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 4px; }
.step-header h2 { margin-bottom: 6px; }
.step-header p { font-size: 0.95rem; color: var(--muted); }

.preview-disclaimer {
  margin: 10px 0 0;
  font-size: 0.87rem;
  color: #3a3f47;
  font-weight: 600;
  text-align: left;
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
  padding: 10px 14px;
}
.preview-disclaimer--summary {
  max-width: 680px;
  margin: 8px auto 0;
}

/* Sidebar / sticky price */
.builder-sidebar {
  display: none;
  background: var(--white); border-left: 1px solid var(--sand-dark);
  padding: 32px 24px; position: sticky; top: var(--header-h); height: fit-content;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
@media (min-width: 960px) { .builder-sidebar { display: block; } }

.sidebar-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.price-size { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 2px; }
.price-main { font-family: var(--font-display); font-size: 2rem; color: var(--pine); }
.price-tax { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.price-discount { color: var(--pine); font-weight: 700; background: #FFF8E1; padding: 4px 8px; border-radius: 6px; display: inline-block; }
.price-monthly { font-size: 0.9rem; font-weight: 700; color: var(--pine); margin-top: 8px; padding: 6px 10px; background: #EAF4EE; border-radius: 6px; display: inline-block; }

.sidebar-details { margin-top: 20px; }
.sidebar-details dt { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }
.sidebar-details dd { font-size: 0.95rem; font-weight: 600; }

/* Mobile sticky price bar */
.mobile-price-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--white); border-top: 1px solid var(--sand-dark);
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  /* safe area for notched phones (iPhone X+) */
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 960px) { .mobile-price-bar { display: none; } }
/* Tighten padding on very small screens */
@media (max-width: 360px) {
  .mobile-price-bar { padding: 8px 12px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}

.mobile-price-bar .price-main { font-size: 1.3rem; }
.mobile-price-bar .price-tax { font-size: 0.75rem; }
@media (max-width: 360px) {
  .mobile-price-bar .price-main { font-size: 1.1rem; }
  .mobile-price-bar .price-tax { font-size: 0.7rem; }
}

/* Nav buttons */
.builder-nav {
  display: flex; gap: 12px; margin-top: 28px;
}
.builder-nav .btn { flex: 1; }
#btn-prev { visibility: hidden; }

/* ============ SIZE GRID ============ */
.size-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .size-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .size-grid { grid-template-columns: repeat(5, 1fr); } }

.size-card {
  background: var(--white); border: 2px solid var(--sand-dark); border-radius: var(--radius-md);
  padding: 30px 12px 18px; text-align: center; transition: all 0.2s var(--ease); cursor: pointer;
  position: relative;
}
.size-card:hover { border-color: var(--pine-light); box-shadow: var(--shadow-sm); }
.size-card.selected { border-color: var(--pine); background: rgba(43,76,63,0.04); box-shadow: 0 0 0 3px rgba(43,76,63,0.15); }

.size-card-dim { font-family: var(--font-display); font-size: 1.2rem; color: var(--pine-dark); }
.size-card-sqft { font-size: 0.8rem; color: var(--muted); margin: 4px 0; }
.size-card-price { font-weight: 700; font-size: 1.05rem; color: var(--pine); }
.size-card-incl { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.size-info-btn {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pine); color: var(--sand-dark);
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--pine-dark); box-shadow: var(--shadow-sm);
}
.size-info-btn.inline-info-btn {
  position: static;
  margin-left: 6px;
  display: inline-flex;
  vertical-align: middle;
}
.size-info-btn:hover { background: var(--pine-dark); color: var(--sand); border-color: var(--pine-dark); }
.size-info-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.size-popular-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--amber); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
@media (max-width: 480px) {
  .size-popular-badge { font-size: 0.66rem; padding: 3px 7px; }
}

/* ============ WHAT FITS (size cards) ============ */
.size-card-fits {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--sand-dark);
  font-size: 0.72rem; color: var(--muted); text-align: left; line-height: 1.5;
}
.fits-icon { font-size: 0.85rem; margin-right: 2px; }
.fits-line { display: block; padding-left: 18px; position: relative; }
.fits-line::before { content: '\2022'; position: absolute; left: 6px; color: var(--amber); }

/* What Fits detail panel (below grid) */
.what-fits-panel { max-width: 640px; margin: 20px auto 0; }
.what-fits-details {
  background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--radius-lg);
  overflow: hidden;
}
.what-fits-toggle {
  padding: 16px 20px; font-weight: 600; font-size: 1rem; color: var(--charcoal);
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px;
  user-select: none;
}
.what-fits-toggle::-webkit-details-marker { display: none; }
.what-fits-toggle::after { content: '\25BC'; font-size: 0.7rem; margin-left: auto; color: var(--amber); transition: transform 0.2s; }
details:not([open]) .what-fits-toggle::after { transform: rotate(-90deg); }
.what-fits-list { padding: 0 20px 12px 36px; margin: 0; list-style: disc; color: var(--slate); line-height: 1.85; }
.what-fits-list li { padding: 2px 0; }
.what-fits-disclaimer { padding: 0 20px 16px; font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* Inline panel (roof/paint options) */
.inline-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.inline-panel.is-open {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
}

/* ============ SIZE INFO MODAL ============ */
.size-modal {
  position: fixed; inset: 0; z-index: 1100; display: none;
}
.size-modal.open { display: block; }
.size-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
}
.size-modal-card {
  position: relative; max-width: 520px; margin: 10vh auto 0;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-lg);
}
.size-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sand); color: var(--pine);
}
.size-modal-close:hover { background: var(--pine); color: var(--white); }
.size-modal-list {
  margin-top: 12px; padding-left: 20px; list-style: disc;
  color: var(--slate); line-height: 1.85;
}
.size-modal-note { margin-top: 12px; font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* ============ INCLUDED NOTICE ============ */
.included-notice {
  background: #E8F5E9; border: 1px solid #A5D6A7; border-radius: var(--radius-md);
  padding: 14px 18px; font-size: 0.92rem; color: var(--slate); margin-bottom: 20px;
  line-height: 1.5;
}

/* ============ CUSTOM SWATCH ============ */
.swatch-card--custom .swatch-dot {
  border: 2px dashed var(--amber) !important;
}

/* ============ OPTION CARDS ============ */
.option-cards-row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.option-cards-col { display: grid; gap: 12px; }

.option-card-lg {
  background: var(--white); border: 2px solid var(--sand-dark); border-radius: var(--radius-lg);
  padding: 24px 20px; text-align: center; transition: all 0.2s var(--ease); cursor: pointer;
  position: relative;
}
.option-card-lg:hover { border-color: var(--pine-light); }
.option-card-lg.selected { border-color: var(--pine); background: rgba(43,76,63,0.04); box-shadow: 0 0 0 3px rgba(43,76,63,0.15); }

.option-icon { font-size: 2rem; margin-bottom: 8px; }
.option-title { font-weight: 700; font-size: 1.05rem; color: var(--charcoal); margin-bottom: 2px; }
.option-subtitle { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.option-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--pine); }

/* ============ SWATCH GRID ============ */
.swatch-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 600px) { .swatch-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 800px) { .swatch-grid { grid-template-columns: repeat(6, 1fr); } }
.swatch-grid--img { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 500px) { .swatch-grid--img { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .swatch-grid--img { grid-template-columns: repeat(4, 1fr); } }
.swatch-grid--paint { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 600px) { .swatch-grid--paint { grid-template-columns: repeat(5, 1fr); } }

.swatch-card {
  background: var(--white); border: 2px solid var(--sand-dark); border-radius: var(--radius-md);
  padding: 12px 8px; text-align: center; cursor: pointer; transition: all 0.2s var(--ease);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.swatch-card:hover { border-color: var(--pine-light); }
.swatch-card.selected { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(43,76,63,0.15); }

.swatch-dot {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
}
.swatch-name { font-size: 0.75rem; font-weight: 600; color: var(--slate); line-height: 1.2; }

.swatch-card--img { padding: 0; overflow: hidden; }
.swatch-card--img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.swatch-card--img .swatch-name { padding: 8px; display: block; }

.color-section-label { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--slate); margin-bottom: 12px; }

/* ============ QTY CONTROL ============ */
.qty-control {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 32px 0;
}
.qty-btn {
  width: 56px; height: 56px; border-radius: 50%; font-size: 1.5rem; font-weight: 700;
  background: var(--white); border: 2px solid var(--sand-dark); color: var(--pine);
  transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { border-color: var(--pine); background: rgba(43,76,63,0.04); }
.qty-display { text-align: center; }
.qty-number { display: block; font-family: var(--font-display); font-size: 2.5rem; color: var(--pine); }
.qty-label { font-size: 0.85rem; color: var(--muted); }
.qty-total { text-align: center; font-weight: 600; font-size: 1.1rem; color: var(--pine); }

/* ============ PERMIT NOTICE ============ */
.permit-notice {
  background: #FFF8E1; border: 1px solid #FFE082; border-radius: var(--radius-md);
  padding: 14px 18px; font-size: 0.92rem; color: var(--slate); margin-bottom: 20px;
  line-height: 1.5;
}

/* ============ SKIP NOTICE ============ */
.skip-notice { text-align: center; padding: 32px 0; }
.skip-icon { font-size: 2.5rem; margin-bottom: 8px; }
.skip-notice p { color: var(--muted); }

/* ============ ZIP INPUT ============ */
.zip-input-group {
  display: flex; gap: 10px; max-width: 320px; margin: 0 auto;
}
.zip-input-group input {
  flex: 1; padding: 14px 16px; border: 2px solid var(--sand-dark); border-radius: var(--radius-md);
  background: var(--white); font-size: 1.1rem; text-align: center; letter-spacing: 0.1em;
  transition: border-color 0.2s;
}
.zip-input-group input:focus { border-color: var(--pine); outline: none; }

.zip-result { text-align: center; margin-top: 16px; font-size: 0.95rem; min-height: 24px; }
.zip-ok { color: var(--green); font-weight: 600; }
.zip-warn { color: var(--amber-dark); }
.zip-error { color: var(--red); }

/* ============ SUMMARY ============ */
.summary-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--sand-dark);
  padding: 24px; margin-bottom: 24px;
}
.summary-building { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--sand-dark); }
.summary-building h3 { margin-bottom: 4px; }
.summary-sqft { font-size: 0.88rem; color: var(--muted); }

.summary-table { width: 100%; border-collapse: collapse; }
.summary-table td { padding: 8px 0; font-size: 0.95rem; border-bottom: 1px solid var(--sand); }
.summary-val { text-align: right; font-weight: 600; }
.summary-detail td { font-size: 0.85rem; color: var(--muted); border-bottom: none; padding: 2px 0 8px; }
.summary-subtotal td { border-top: 2px solid var(--sand-dark); font-weight: 700; padding-top: 12px; }
.summary-total td { border-top: 2px solid var(--pine); font-family: var(--font-display); font-size: 1.3rem; color: var(--pine); padding-top: 12px; }
.summary-discount-row td { background: #FFF8E1; }
.summary-monthly-row td { padding-top: 10px; border-bottom: none; }
.summary-monthly-badge {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--sand); border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-weight: 600; font-size: 1rem; color: var(--pine-dark);
}
.summary-monthly-badge span {
  font-weight: 700; font-size: 1.1rem; color: var(--pine);
}
@media (max-width: 600px) {
  .summary-monthly-badge { font-size: 0.95rem; padding: 10px 12px; }
  .summary-monthly-badge span { font-size: 1.05rem; }
}

.summary-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.summary-actions .btn { flex: 1; min-width: 200px; }
@media (max-width: 700px) {
  .summary-actions { flex-direction: column; }
  .summary-actions .btn { width: 100%; }
}
.summary-disclaimer { font-size: 0.87rem; color: #3a3f47; font-weight: 600; text-align: center; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 40px 20px;
  text-align: center; font-size: 0.88rem;
}
.site-footer a { color: var(--amber); }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }

/* ============ CONTACT PAGE ============ */
.contact-grid { display: grid; gap: 32px; max-width: 900px; margin: 0 auto; padding: 48px 20px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
  border: 1px solid var(--sand-dark);
}
.contact-info-card h3 { margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.contact-info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; border: 1px solid var(--sand-dark); }
.contact-form h3 { margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-md); background: var(--cream); color: var(--charcoal);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--pine); outline: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.turnstile-wrap { max-width: 100%; overflow: hidden; }

/* ============ CONTENT PAGES (How Built, Warranty, FAQ, Custom) ============ */
.page-hero--short { padding: calc(var(--header-h) + 24px) 20px 40px; min-height: auto; }
.content-section { max-width: 780px; margin: 0 auto; padding: 32px 20px 60px; }
.content-wrap { display: flex; flex-direction: column; gap: 0; }

.spec-block { padding: 28px 0; border-bottom: 1px solid var(--sand-dark); }
.spec-block:last-of-type { border-bottom: none; }
.spec-block h2 { font-family: var(--heading); font-size: 1.35rem; color: var(--pine); margin-bottom: 12px; }
.spec-block p { line-height: 1.75; color: var(--slate); margin-bottom: 8px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--sand-dark); }
.faq-question {
  padding: 20px 0; font-weight: 600; font-size: 1.05rem; color: var(--charcoal);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--amber); font-weight: 700; transition: transform 0.2s; }
details[open] .faq-question::after { content: '\2212'; }
.faq-answer { padding: 0 0 20px; }
.faq-answer p { line-height: 1.75; color: var(--slate); }
.faq-answer a { color: var(--pine); font-weight: 600; }

/* Custom building tags */
.custom-tag {
  background: var(--sand); color: var(--charcoal); padding: 8px 16px;
  border-radius: 100px; font-size: 0.88rem; font-weight: 500;
}

/* Custom building contact method */
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.contact-methods label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Form row */
.form-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ============ PRINT ============ */
@media print { .site-header, .mobile-price-bar, .builder-sidebar, .site-footer, .builder-nav { display: none !important; } }

/* ============================================================
   SHED LIVE PREVIEW
   ============================================================ */
.shed-preview-wrap {
  display: none;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: #e9e9ec;
  position: relative;
  aspect-ratio: 3 / 2;
}
.shed-preview-wrap.visible { display: block; }
.shed-preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shed-preview-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.shed-preview-watermark {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 96px;
  height: 96px;
  object-fit: contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 720px) {
  .shed-preview-watermark {
    top: 6px;
    left: 6px;
    width: 64px;
    height: 64px;
  }
}
.shed-preview-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 150ms ease;
  pointer-events: none;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.shed-preview-siding {
  mix-blend-mode: normal;
  mask-image: url("assets/siding.mask.png");
  -webkit-mask-image: url("assets/siding.mask.png");
}
.shed-preview-trim {
  mix-blend-mode: normal;
  mask-image: url("assets/trimmask.png");
  -webkit-mask-image: url("assets/trimmask.png");
}
.shed-preview-roof {
  mix-blend-mode: normal;
  mask-image: url("assets/roofmask.png");
  -webkit-mask-image: url("assets/roofmask.png");
}
.shed-preview-siding-texture,
.shed-preview-trim-texture {
  opacity: 0.28;
  mix-blend-mode: multiply;
  background: url("assets/livepreview_main.png") center / contain no-repeat;
}
.shed-preview-siding-texture {
  mask-image: url("assets/siding.mask.png");
  -webkit-mask-image: url("assets/siding.mask.png");
}
.shed-preview-trim-texture {
  mask-image: url("assets/trimmask.png");
  -webkit-mask-image: url("assets/trimmask.png");
}
.shed-preview-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shed-preview-wrap.is-ready .shed-preview-loader {
  display: none;
}
.shed-preview-wrap::after {
  content: 'Live Preview';
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  pointer-events: none;
}
.preview-disclaimer {
  color: #3a3f47;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 10px 0 20px;
  line-height: 1.45;
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
  padding: 10px 14px;
  text-align: left;
}
.summary-disclaimer.preview-disclaimer {
  margin-top: 10px;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 28px;
  background: var(--pine-dark);
  padding: 11px 20px;
  color: #fff;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trust-icon {
  color: var(--amber);
  font-weight: 800;
  font-size: 0.95rem;
}
.trust-bar .trust-item--schedule {
  color: #ffd9a0;
  font-weight: 600;
}

/* ============ ZIP LOOKUP WIDGET ============ */
.zip-lookup {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--sand-dark);
  border-radius: var(--radius-md);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.zip-lookup label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.zip-lookup-row {
  display: flex;
  gap: 8px;
}
.zip-lookup-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #ccc;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
}
.zip-lookup-row input:focus {
  outline: none;
  border-color: var(--pine);
}
.zip-lookup-row button {
  padding: 10px 20px;
  background: var(--pine);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.zip-lookup-row button:hover { background: var(--pine-dark); }
.zip-result {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.4em;
}
.zip-result.yes { color: var(--green); }
.zip-result.maybe { color: #c07000; }
.zip-result.no { color: var(--amber); }

/* ============ FORM HELPERS ============ */
.form-after-submit {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* ============ MOBILE FLOATING CALL BUTTON (builder page) ============ */
.mobile-call-fab {
  display: none;
}
@media (max-width: 720px) {
  .mobile-call-fab {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    background: var(--pine);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.28);
    z-index: 900;
    letter-spacing: 0.01em;
    transition: background 0.15s;
  }
  .mobile-call-fab:hover { background: var(--pine-dark); }
}

/* ============ HOW IT WORKS / PROCESS STEPS ============ */
.how-it-works { background: var(--sand-dark); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 32px 0 24px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--pine-light), var(--amber));
  pointer-events: none;
}
@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 380px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15,67,111,0.25);
}
.process-step:last-child .process-step-num { background: var(--amber); }
.process-step h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--pine-dark);
}
.process-step p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ============ PATH CHOOSER (standard vs custom) ============ */
.path-chooser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 640px) { .path-chooser { grid-template-columns: 1fr; } }
.path-card {
  border: 2px solid #e0e3e8;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: center;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.path-card:hover { border-color: var(--pine-light); box-shadow: var(--shadow-md); }
.path-card-icon { font-size: 2rem; margin-bottom: 10px; }
.path-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.path-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.path-card ul {
  text-align: left;
  padding-left: 18px;
  list-style: disc;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--slate);
}
.path-card ul li { margin-bottom: 4px; }
.path-card--recommended { border-color: var(--pine); }
.path-card--recommended .path-card-badge {
  display: inline-block;
  background: var(--pine);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* ============ THANK-YOU NEXT STEPS ============ */
.ty-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}
.ty-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e6f7ee;
  color: var(--green);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.ty-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0;
  text-align: left;
}
.ty-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--sand-dark);
  border-radius: var(--radius-sm);
}
.ty-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ty-step-body strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.ty-step-body span { font-size: 0.83rem; color: var(--muted); }
.ty-phone-box {
  margin: 24px 0;
  padding: 18px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
.ty-phone-box a { color: var(--amber); font-weight: 700; font-size: 1.15rem; }

/* ============================================================
   COMPARISON TABLE (Why not a prefab?)
   ============================================================ */
.vs-section { background: var(--sand); }
.vs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 540px;
}
.vs-table th, .vs-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--sand-dark);
  vertical-align: top;
  line-height: 1.45;
}
.vs-table thead th { font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.03em; }
.vs-table thead th:first-child { width: 28%; color: var(--muted); }
.vs-col-us { background: #f0f7f0; color: var(--pine); }
.vs-col-them { color: var(--muted); }
.vs-table thead .vs-col-us span,
.vs-table thead .vs-col-them span { display: block; font-weight: 400; font-size: 0.78rem; text-transform: none; letter-spacing: 0; margin-top: 2px; }
.vs-good { color: var(--pine); }
.vs-good::before { content: '✓ '; font-weight: 700; }
.vs-bad { color: var(--muted); }
.vs-bad::before { content: '✗ '; color: var(--red, #c0392b); }
.vs-table tbody tr:last-child td { border-bottom: none; }
.vs-table tbody tr:hover td { background: rgba(0,0,0,0.02); }

/* ============================================================
   SIZE GUIDE (Not sure what size?)
   ============================================================ */
.size-guide-details {
  margin-top: 24px;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.size-guide-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--amber);
  font-size: 0.95rem;
  background: var(--sand);
  list-style: none;
  user-select: none;
}
.size-guide-toggle::-webkit-details-marker { display: none; }
.size-guide-toggle::before { content: '▶'; font-size: 0.65rem; transition: transform 0.2s; }
details[open] .size-guide-toggle::before { transform: rotate(90deg); }
.size-guide-body { padding: 18px; border-top: 1px solid var(--sand-dark); }
.size-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.size-guide-item {
  background: #fff;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.size-guide-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
.size-guide-rec { font-weight: 700; color: var(--pine); font-size: 1rem; margin-bottom: 4px; }
.size-guide-pop { background: var(--amber); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 1px 6px; border-radius: 20px; vertical-align: middle; margin-left: 4px; }
.size-guide-desc { font-size: 0.82rem; color: var(--slate); line-height: 1.45; }

/* ============================================================
   CONTACT TRUST ROW
   ============================================================ */
.contact-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--sand);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 500;
}

/* ============================================================
   URGENCY BANNER (Build Slots)
   ============================================================ */
.urgency-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #7a5a00;
  margin-bottom: 16px;
}
.urgency-dot {
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================================
   BUILD TIMELINE (quote-submitted.html)
   ============================================================ */
.ty-timeline {
  margin: 28px 0;
  text-align: left;
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.ty-timeline h3 { font-size: 1rem; margin-bottom: 16px; color: var(--pine); }
.ty-timeline-items { display: flex; flex-direction: column; gap: 0; }
.ty-tl-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  position: relative;
}
.ty-tl-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: var(--sand-dark);
}
.ty-tl-item--last::before { display: none; }
.ty-tl-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sand-dark);
  border: 2px solid #ccc;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  z-index: 1;
}
.ty-tl-dot--done { background: var(--pine); border-color: var(--pine); }
.ty-tl-dot--finish { background: var(--amber); border-color: var(--amber); }
.ty-tl-body { flex: 1; }
.ty-tl-body strong { display: block; font-size: 0.88rem; color: var(--pine); margin-bottom: 2px; }
.ty-tl-body span { font-size: 0.82rem; color: var(--slate); line-height: 1.45; }

/* ============ REVIEWS SECTION ============ */
.reviews-section { background: var(--sand-dark); }
.reviews-head { text-align: center; margin-bottom: 32px; }
.reviews-meta { margin-top: 8px; font-size: 1rem; color: var(--muted); }
.reviews-stars { color: #F5A623; font-size: 1.15rem; letter-spacing: 2px; }
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviews-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid #dde1e7;
  box-shadow: var(--shadow-sm);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}
.reviews-btn:hover { background: var(--pine); color: var(--white); border-color: var(--pine); }
.reviews-scroller {
  flex: 1;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s var(--ease);
}
.review-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0,0,0,0.05);
}
@media (min-width: 640px) {
  .review-card { flex: 0 0 calc(50% - 8px); }
}
@media (min-width: 1000px) {
  .review-card { flex: 0 0 calc(33.333% - 11px); }
  .reviews-btn { width: 44px; height: 44px; }
}
.review-card-stars { color: #F5A623; font-size: 1rem; letter-spacing: 2px; }
.review-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate);
  flex: 1;
}
.review-card-text::before { content: '\201C'; }
.review-card-text::after { content: '\201D'; }
.review-card-author { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.review-card-source { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ============ PHOTO GALLERY ============ */
.gallery-section {
  background: var(--charcoal);
  padding: 56px 20px;
}
.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-head {
  text-align: center;
  margin-bottom: 28px;
}
.gallery-head h2 { color: #fff; }
.gallery-head p { color: rgba(255,255,255,0.6); margin-top: 6px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
}
/* First item spans 2 rows (tall) */
.gallery-item--tall { grid-row: span 2; }
/* Fourth item spans 2 columns (wide) */
.gallery-item--wide { grid-column: span 2; }

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #2a2f38;
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
  min-height: 180px;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: '⤢';
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-cta {
  text-align: center;
  margin-top: 28px;
}

/* ============ LIGHTBOX ============ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  padding: 4px 10px;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
