:root {
  --ink: #16201c;
  --muted: #5d6862;
  --paper: #f7f6f0;
  --panel: #ffffff;
  --line: #d9ddd5;
  --brand: #1d6b4f;
  --brand-dark: #124334;
  --clay: #b15f3d;
  --stone: #e7e1d3;
  --shadow: 0 24px 70px rgba(24, 34, 29, 0.18);
  --page-gutter: clamp(24px, 6vw, 96px);
  --content-max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--page-gutter);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 246, 240, 0.94);
  box-shadow: 0 8px 30px rgba(15, 25, 20, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 218px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: left center;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  opacity: 0.78;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav a,
.header-cta {
  text-decoration: none;
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 23, 17, 0.82) 0%, rgba(12, 23, 17, 0.58) 36%, rgba(12, 23, 17, 0.14) 72%),
    linear-gradient(0deg, rgba(12, 23, 17, 0.7) 0%, rgba(12, 23, 17, 0) 45%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 48px));
  margin: 0 0 76px var(--page-gutter);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0bd87;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: rgba(22, 32, 28, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats {
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 132px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 20px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section {
  padding: 90px var(--page-gutter);
}

.intro,
.ranges,
.price-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  max-width: 1220px;
  margin: 0 auto;
}

.section-heading {
  max-width: 690px;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.range-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.range-card,
.price-grid article,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(35, 45, 38, 0.08);
}

.range-card {
  min-height: 310px;
  padding: 28px;
}

.card-number {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.range-card p,
.price-grid p {
  color: var(--muted);
}

.range-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.product-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: 76px var(--page-gutter) 84px;
  color: #fff;
  background: var(--brand-dark);
}

.product-copy,
.feature-list {
  width: min(100%, 1220px);
  justify-self: center;
}

.product-copy {
  max-width: 1220px;
}

.product-copy p:not(.eyebrow),
.feature-list p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.product-copy p:not(.eyebrow) {
  max-width: 760px;
}

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

.feature-list div {
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.feature-list h3 {
  font-size: 20px;
}

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

.price-grid article {
  padding: 26px;
}

.package-size {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-grid strong {
  color: var(--clay);
}

.price-note {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.price-section {
  padding-bottom: 64px;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 0.92fr);
  gap: 34px;
  align-items: stretch;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 60px var(--page-gutter) 82px;
  color: var(--ink);
  background: var(--paper);
}

.quote-copy {
  max-width: 560px;
  min-height: 560px;
  padding: 34px 38px;
  border: 1px solid rgba(217, 221, 213, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 48px rgba(35, 45, 38, 0.06);
}

.quote-copy p,
.quote-copy li {
  color: var(--muted);
  font-size: 18px;
}

.quote-copy h2 {
  max-width: 480px;
  margin-bottom: 14px;
}

.quote-copy .eyebrow {
  color: var(--clay);
}

.quote-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.quote-points li {
  position: relative;
  padding-left: 28px;
}

.quote-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.quote-direct {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.quote-direct a {
  color: var(--brand-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 20px 55px rgba(35, 45, 38, 0.1);
  min-height: 560px;
  align-content: center;
}

label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8cec4;
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.quote-form .button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-error {
  color: #9f341f;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--page-gutter);
  color: rgba(255, 255, 255, 0.72);
  background: #101714;
}

.footer strong {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.subpage {
  background: var(--paper);
}

.landing {
  padding-top: 84px;
  min-height: 100vh;
}

.landing h1 {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 72px);
}

.landing .button.primary {
  margin-top: 10px;
}

.policy-page {
  padding: 126px var(--page-gutter) 80px;
}

.policy-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(35, 45, 38, 0.08);
}

.policy-content h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 68px);
}

.policy-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.15;
}

.policy-content p {
  color: var(--muted);
  font-size: 17px;
}

.policy-content a:not(.button) {
  color: var(--brand-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.deals-page {
  background: #f5f2ea;
}

.deals-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 44px;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 136px var(--page-gutter) 58px;
}

.deals-hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.deals-hero-copy h1 {
  color: var(--ink);
  font-size: clamp(40px, 5vw, 68px);
}

.deals-hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.deals-hero-copy .hero-actions {
  margin-top: 26px;
}

.deal-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 36px;
}

.package-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 40px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.package-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 0.58fr);
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(35, 45, 38, 0.08);
}

.product-visual {
  display: grid;
  align-items: end;
  min-height: 100%;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(14, 24, 19, 0.02), rgba(14, 24, 19, 0.64)),
    url("assets/pergola-uk-hero-clean.png") center / cover;
  overflow: hidden;
  position: relative;
}

.product-visual.compact {
  background-position: 42% center;
}

.product-visual.value {
  background:
    linear-gradient(180deg, rgba(12, 30, 24, 0.14), rgba(12, 30, 24, 0.74)),
    linear-gradient(135deg, #79827b, #1d6b4f);
}

.product-visual.dining,
.product-visual.large {
  background-position: 60% center;
}

.product-visual.shade {
  background:
    linear-gradient(180deg, rgba(16, 23, 20, 0.04), rgba(16, 23, 20, 0.62)),
    url("assets/pergola-side-screen-shade.png") center / cover;
}

.product-visual img {
  inset: 0;
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.product-visual.fitted,
.product-visual.showroom {
  background:
    linear-gradient(180deg, rgba(16, 23, 20, 0.05), rgba(16, 23, 20, 0.72)),
    linear-gradient(135deg, #b15f3d, #124334);
}

.product-visual.heat {
  background:
    linear-gradient(180deg, rgba(16, 23, 20, 0.04), rgba(16, 23, 20, 0.62)),
    url("assets/pergola-light-heat-evening-v2.png") center / cover;
}

.product-visual span {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.package-card-body {
  padding: 26px;
}

.deal-label {
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card-body h3 {
  font-size: 25px;
}

.package-card-body p:not(.deal-label),
.deal-facts dd {
  color: var(--muted);
}

.deal-facts {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.deal-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.deal-facts dt {
  font-size: 13px;
  font-weight: 900;
}

.deal-facts dd {
  margin: 0;
  font-size: 14px;
}

.source-link {
  display: inline-flex;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.accessory-band {
  margin-top: 24px;
}

.decision-section {
  padding-top: 72px;
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 13px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats div {
    flex: 1 1 130px;
  }

  .section,
  .product-band,
  .quote-section {
    padding: 64px 18px;
  }

  .intro,
  .ranges,
  .price-section,
  .deal-summary,
  .product-band,
  .quote-section,
  .deals-hero,
  .range-grid,
  .price-grid,
  .feature-list,
  .package-grid,
  .package-card {
    grid-template-columns: 1fr;
  }

  .deals-hero {
    padding: 104px 18px 44px;
  }

  .package-card {
    min-height: auto;
  }

  .product-visual {
    min-height: 230px;
  }

  .range-card {
    min-height: auto;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-copy {
    min-height: auto;
    padding: 26px 22px;
  }

  .quote-form {
    min-height: auto;
    align-content: stretch;
  }

  .policy-page {
    padding: 96px 18px 56px;
  }

  .policy-content {
    padding: 24px;
  }
}

