/* ==========================================================================
   Garden Seven — stylesheet
   Palette: deep green (brand), cream, stone, charcoal — from the supplied
   brand sheet. Type: Arial/Helvetica only, per brand standard.
   ========================================================================== */

:root {
  --green-deep:   #1B4332;
  --green-mid:    #3E7052;
  --green-soft:   #8FAE8B;
  --cream:        #F7F3EA;
  --stone:        #E7E1D2;
  --charcoal:     #23261F;
  --white:        #FFFFFF;

  --font: Arial, Helvetica, "Helvetica Neue", sans-serif;

  --max-width: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 6px;

  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);   /* body */
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);   /* h3 */
  --step-2: clamp(1.75rem, 1.5rem + 1.2vw, 2.375rem);  /* h2 */
  --step-3: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem);    /* hero */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  font-size: var(--step-0);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

p { max-width: 68ch; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--green-deep);
}

h2 { font-size: var(--step-2); max-width: 22ch; }
h3 { font-size: var(--step-1); }

.section {
  padding-block: clamp(48px, 8vw, 96px);
}

.section--stone { background: var(--stone); }
.section--deep  { background: var(--green-deep); color: var(--cream); }
.section--deep h2, .section--deep h3 { color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--green-mid);
  border-bottom: 2px solid var(--green-soft);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.section--deep .eyebrow { color: var(--green-soft); }

.lede {
  max-width: 62ch;
  color: var(--charcoal);
  opacity: 0.85;
}

.section--deep .lede { color: var(--cream); opacity: 0.85; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn--primary {
  background: var(--green-deep);
  color: var(--white);
}
.btn--primary:hover { background: var(--green-mid); }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover { background: rgba(0,0,0,0.06); }

.section--deep .btn--ghost:hover,
.hero .btn--ghost:hover { background: rgba(255,255,255,0.12); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header / nav ---------- */

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 16px;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  padding-block: 10px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark { height: 34px; width: auto; }
.brand-mark--light { display: block; }
.brand-mark--dark  { display: none; }
.site-header.is-scrolled .brand-mark--light { display: none; }
.site-header.is-scrolled .brand-mark--dark  { display: block; }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--white);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.site-header.is-scrolled .site-nav a { color: var(--green-deep); }
.site-nav a:hover { border-bottom-color: currentColor; }

.site-nav .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.site-header.is-scrolled .nav-toggle { color: var(--green-deep); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-color: var(--charcoal);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-in 1.4s ease both;
}

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,30,20,0.05) 30%, rgba(15,25,18,0.82) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding-block-end: clamp(48px, 8vw, 88px);
  padding-block-start: 140px;
}

.hero-content { max-width: 44rem; }

.hero .eyebrow { color: var(--green-soft); border-bottom-color: var(--green-soft); }

.hero h1 {
  color: var(--white);
  font-size: var(--step-3);
  max-width: 16ch;
}

.hero p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }

/* ---------- Feature strip ---------- */

.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(27,67,50,0.15);
}

.feature-strip__item {
  padding: 28px var(--gutter);
  border-right: 1px solid rgba(27,67,50,0.15);
  border-bottom: 1px solid rgba(27,67,50,0.15);
}
.feature-strip__item:last-child { border-right: none; }

.feature-strip__item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.feature-strip__item p { margin: 0; font-size: 0.95rem; opacity: 0.8; }

/* ---------- Split layout (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split--reverse .split__media { order: 2; }
.split--reverse .split__text  { order: 1; }

.split__media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__tag {
  display: inline-block;
  text-transform: none;
  font-size: 0.85rem;
  color: var(--green-mid);
  font-weight: 700;
  margin-bottom: 8px;
}

.split__text ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.split__text li {
  padding-left: 22px;
  position: relative;
  max-width: 52ch;
}
.split__text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--green-soft);
  border-radius: 1px;
}

.portfolio-item + .portfolio-item { margin-top: clamp(56px, 8vw, 96px); }

.portfolio-item--no-image .split { grid-template-columns: 1fr; max-width: 62ch; }

/* ---------- Add-on preview ---------- */

.addon-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.addon-preview__categories {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.addon-preview__categories dt {
  font-weight: 700;
  color: var(--green-deep);
  font-size: 1.02rem;
}
.addon-preview__categories dd { margin: 4px 0 0; }

.addon-preview img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* ---------- Why Garden Seven ---------- */

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.why-layout__media {
  position: sticky;
  top: 110px;
}
.why-layout__media img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.why-list { display: grid; gap: 30px; }

.why-item { display: grid; grid-template-columns: 3.2rem 1fr; gap: 16px; }

.why-item__n {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-soft);
}

.why-item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.why-item p { margin: 0; opacity: 0.85; }

/* ---------- Engineering grid ---------- */

.eng-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px);
}

.eng-card img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 16px;
}

.eng-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.eng-card p { margin: 0; opacity: 0.85; font-size: 0.95rem; }

/* ---------- Applications grid ---------- */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.app-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  color: var(--white);
}

.app-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.app-card:hover img { transform: scale(1.04); }

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(10,20,12,0.85) 100%);
}

.app-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px;
}
.app-card__label h3 { color: var(--white); margin-bottom: 4px; font-size: 1.05rem; }
.app-card__label p  { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }

/* ---------- Sizes table ---------- */

.table-wrap { overflow-x: auto; margin-top: 32px; }

table.sizes {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

table.sizes th, table.sizes td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(27,67,50,0.18);
}

table.sizes th {
  color: var(--green-deep);
  font-size: 0.85rem;
  text-transform: none;
  border-bottom: 2px solid var(--green-deep);
}

table.sizes tbody tr:hover { background: rgba(27,67,50,0.05); }

.table-note {
  margin-top: 18px;
  font-size: 0.9rem;
  opacity: 0.75;
  max-width: 80ch;
}

.inclusions-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 56px);
  margin-top: clamp(40px, 6vw, 64px);
}

.inclusions-row ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.inclusions-row li {
  padding-left: 20px;
  position: relative;
}
.inclusions-row li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px;
  background: var(--green-deep);
}

.bathroom-models { display: grid; gap: 20px; }
.bathroom-models img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.bathroom-model h4 { color: var(--green-deep); margin: 0 0 4px; font-size: 1rem; }
.bathroom-model p { margin: 0 0 16px; font-size: 0.95rem; opacity: 0.85; }

/* ---------- Installation process ---------- */

.install-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.install-layout img { border-radius: var(--radius); width: 100%; }

.install-steps { display: grid; gap: 26px; }
.install-step { display: grid; grid-template-columns: 2.6rem 1fr; gap: 14px; }
.install-step__n {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.install-step h3 { font-size: 1.02rem; margin-bottom: 4px; }
.install-step p { margin: 0; opacity: 0.85; font-size: 0.95rem; }

/* ---------- Projects (concealed section, still styled) ---------- */

.projects-panel {
  border: 1px dashed rgba(27,67,50,0.4);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}

/* ---------- Add-ons full page ---------- */

.addon-group + .addon-group { margin-top: clamp(48px, 7vw, 72px); }

.addon-group__head { max-width: 62ch; margin-bottom: 28px; }

.addon-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.addon-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(27,67,50,0.12);
}
.addon-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.addon-item__body { padding: 16px 18px; }
.addon-item__body h4 { margin: 0 0 4px; color: var(--green-deep); font-size: 1rem; }
.addon-item__body p { margin: 0; font-size: 0.9rem; opacity: 0.8; }

/* ---------- FAQ ---------- */

.faq-group + .faq-group { margin-top: 40px; }
.faq-group h3 { margin-bottom: 12px; }

.faq-item {
  border-bottom: 1px solid rgba(27,67,50,0.18);
}

.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 0;
  font: inherit;
  font-weight: 700;
  color: var(--green-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-item__icon {
  flex: none;
  width: 20px; height: 20px;
  position: relative;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--green-deep);
  transition: transform .2s ease;
}
.faq-item__icon::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq-item__icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item[open] .faq-item__icon::after { transform: rotate(90deg) translate(-9px,-9px); opacity: 0; }

.faq-item__a { margin: 0 0 20px; max-width: 68ch; opacity: 0.88; }

/* ---------- Enquire / contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}

.contact-fields { display: grid; gap: 14px; }
.contact-field {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.contact-field dt { opacity: 0.7; }
.contact-field dd { margin: 0; text-align: right; }

.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.contact-form label { font-size: 0.85rem; opacity: 0.8; margin-bottom: -6px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #12281E;
  color: rgba(255,255,255,0.75);
  padding-block: 40px;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-footer img { height: 30px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split, .addon-preview, .why-layout, .install-layout, .contact-layout {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media, .split--reverse .split__text { order: initial; }
  .why-layout__media { position: static; }
  .eng-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .inclusions-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .app-grid { grid-template-columns: 1fr; }
  .eng-grid { grid-template-columns: 1fr; }

  .site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--green-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateY(-100%);
    transition: transform .25s ease;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { color: var(--white); font-size: 1.2rem; }
  .nav-toggle { display: block; z-index: 110; }
  .site-header.is-scrolled .nav-toggle,
  .nav-toggle { color: var(--white); }
  .site-header:not(.is-scrolled) .nav-toggle { color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { animation: none; }
  .app-card img { transition: none; }
}
