:root {
  --bg: #f3efe8;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-strong: #fffdf9;
  --surface-dark: #1e2a31;
  --text: #1e2328;
  --muted: #606972;
  --line: rgba(30, 35, 40, 0.1);
  --primary: #aa3f2f;
  --primary-dark: #8d3123;
  --accent: #0f7b73;
  --shadow: 0 24px 60px rgba(25, 31, 35, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(170, 63, 47, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(15, 123, 115, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f0e7 0%, #ece8e1 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 10px;
  z-index: 50;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.eyebrow,
.section-kicker,
.panel-label,
.result-label,
.product-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.brand {
  display: inline-block;
  margin-top: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  font-weight: 700;
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.95rem;
  color: var(--muted);
}

.top-approve {
  white-space: nowrap;
}

.contact-block a {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-copy,
.hero-panel-card,
.calculator-card,
.results-card,
.quote-form,
.quote-copy,
.feature-band,
.industries-section,
.product-card,
.category-nav {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
}

.hero-copy h1,
.section-heading h2,
.feature-copy h2,
.quote-copy h2,
.product-title {
  margin: 10px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.feature-list p,
.quote-copy p,
.result-note,
.product-description,
.source-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.button-approve {
  background: #58c85a;
  color: #fff;
}

.button-approve:hover {
  background: #43b846;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.hero-panel {
  display: flex;
}

.hero-panel-card {
  width: 100%;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(170, 63, 47, 0.94), rgba(109, 35, 26, 0.98)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent);
  color: #f5fbfd;
}

.panel-label,
.hero-panel-card .panel-caption {
  color: rgba(245, 251, 253, 0.8);
}

.panel-value {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.panel-divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.2);
}

.section {
  margin-top: 32px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.feature-copy h2,
.quote-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.narrow {
  max-width: 760px;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px;
}

.category-jump {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(12, 108, 122, 0.08);
  border: 1px solid rgba(12, 108, 122, 0.12);
  font-weight: 700;
}

.front-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.front-category-card {
  border: 1px solid rgba(91, 196, 101, 0.55);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px;
  height: 100%;
}

.lease-start {
  text-align: center;
  font-weight: 700;
  color: #111;
}

.lease-start strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-family: "Space Grotesk", sans-serif;
}

.lease-start strong span {
  color: #58c85a;
}

.front-category-image-wrap {
  border: 1px solid rgba(91, 196, 101, 0.55);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfd 0%, #eef3f4 100%);
  min-height: 168px;
  max-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.front-category-image {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.front-category-fallback,
.product-image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 93, 170, 0.1), rgba(12, 108, 122, 0.18)),
    linear-gradient(180deg, #fbfcfd 0%, #eef3f4 100%);
  color: var(--text);
}

.front-category-fallback span,
.product-image-fallback span {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.product-image-fallback strong,
.front-category-fallback {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1;
}

.front-category-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.front-category-links {
  display: grid;
  gap: 10px;
}

.front-category-links a {
  color: #2b74c7;
  font-size: 1.02rem;
  font-weight: 500;
}

.front-category-links ul {
  margin: 2px 0 0 18px;
  padding: 0;
  color: #2b74c7;
}

.front-category-links li {
  margin: 6px 0;
}

.front-category-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.front-category-actions .button {
  width: 100%;
}

.banner-grid {
  display: grid;
  gap: 18px;
}

.finance-banner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(21, 33, 43, 0.08);
  background:
    linear-gradient(135deg, rgba(12, 108, 122, 0.1), rgba(88, 200, 90, 0.08)),
    #ffffff;
  box-shadow: var(--shadow);
}

.finance-banner-image-wrap {
  min-height: 180px;
  max-height: 180px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfcfd 0%, #eef3f4 100%);
  border: 1px solid rgba(21, 33, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.finance-banner-image {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.finance-banner-copy h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.local-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(21, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.local-card h3 {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.local-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.local-subline {
  font-size: 0.95rem;
}

.finance-banner-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.banner-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.banner-price-box {
  min-width: 180px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 33, 43, 0.08);
}

.banner-price-box strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.product-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}

.product-image-wrap {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  max-height: 288px;
  background: linear-gradient(180deg, #f5f7f8 0%, #dde5e8 100%);
  border: 1px solid rgba(21, 33, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transform: scale(1.15);
  transform-origin: center;
}

.product-image-fallback {
  align-content: center;
  gap: 10px;
}

.product-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-meta span,
.spec-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(12, 108, 122, 0.08);
  border: 1px solid rgba(12, 108, 122, 0.12);
  font-size: 0.92rem;
  font-weight: 600;
}

.pricing-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pricing-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(18, 32, 42, 0.04);
  border: 1px solid rgba(21, 33, 43, 0.08);
}

.pricing-box strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
}

.mini-approve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #58c85a;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.mini-approve:hover {
  background: #43b846;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-details {
  border: 1px solid rgba(21, 33, 43, 0.08);
  border-radius: 18px;
  background: rgba(12, 108, 122, 0.04);
  padding: 12px 14px;
}

.product-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-details-content {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.spec-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.spec-summary-item {
  padding: 12px;
  border-radius: 14px;
  background: rgba(12, 108, 122, 0.05);
  border: 1px solid rgba(12, 108, 122, 0.08);
}

.spec-summary-item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.product-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 18, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.source-note {
  font-size: 0.92rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  padding: 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-list article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(21, 33, 43, 0.08);
}

.calculator-layout,
.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.calculator-card,
.results-card,
.quote-form,
.quote-copy {
  padding: 28px;
}

.calculator-card label,
.quote-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.price-input-wrap,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 33, 43, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.price-input-wrap {
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 14px;
}

.price-input-wrap span {
  font-weight: 700;
  color: var(--muted);
}

.price-input-wrap input {
  width: 100%;
  padding: 18px 10px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  outline: none;
}

.calculator-help {
  margin: 0 0 20px;
  color: var(--muted);
}

.results-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: var(--surface-dark);
  color: #f7fbfd;
}

.result-row {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.result-row strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.result-note {
  margin: 0;
  color: rgba(247, 251, 253, 0.72);
}

.industries-section {
  padding: 28px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(12, 108, 122, 0.08);
  border: 1px solid rgba(12, 108, 122, 0.12);
  font-weight: 600;
}

.quote-form {
  display: grid;
  gap: 12px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 14px 16px;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(21, 33, 43, 0.08);
  font-weight: 600;
}

.form-status.is-success {
  background: rgba(88, 200, 90, 0.1);
  border-color: rgba(88, 200, 90, 0.35);
  color: #187a1b;
}

.form-status.is-error {
  background: rgba(201, 111, 45, 0.1);
  border-color: rgba(201, 111, 45, 0.35);
  color: #995322;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero,
  .feature-band,
  .calculator-layout,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .finance-banner,
  .front-category-grid,
  .local-grid,
  .product-grid,
  .feature-list,
  .pricing-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .top-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-block {
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel-card,
  .calculator-card,
  .results-card,
  .quote-form,
  .quote-copy,
  .feature-band,
  .industries-section,
  .product-card,
  .category-nav {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-points,
  .finance-banner,
  .front-category-grid,
  .local-grid,
  .product-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .product-top {
    grid-template-columns: 1fr;
  }

  .spec-summary-grid {
    grid-template-columns: 1fr;
  }
}
