/* Kingswood Renovations Ltd — static rebuild */
:root {
  --orange: #e19d14;
  --orange-light: #ecac2c;
  --gold: #c9a850;
  --ink: #1a1a1a;
  --ink-soft: #3f3f50;
  --grey: #5a5a5a;
  --grey-soft: #8a8aa3;
  --line: #e6e6e6;
  --bg-tint: #f4f8fd;
  --bg-grey: #b3b3b3;
  --white: #ffffff;
  --shadow-sm: 0 4px 18px rgba(0,0,0,.06);
  --shadow-md: 0 14px 40px rgba(0,0,0,.10);
  --radius: 6px;
  --container: 1200px;
  --container-sm: 750px;
  --serif: 'Barlow', system-ui, sans-serif;
  --sans: 'Open Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-light); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 .6em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 4.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.5vw + 1rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, .8vw + 1rem, 1.5rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--serif);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(225,157,20,.3); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
}
.site-header .row > .header-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

.brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.brand img { height: 110px; width: auto; display: block; }
.brand-text { display: none; }
.site-footer .brand img { height: 110px; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: #fff;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 4px;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--orange); }

.header-socials { display: flex; gap: 8px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.header-socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.header-socials a:hover { color: var(--orange); }

.menu-btn {
  display: none;
  background: none; border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* When header rides on light pages it inherits the hero overlay so links stay readable. */

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1a1a1a;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.45) 100%),
              url('../img/hero-kitchen.jpg') center/cover no-repeat;
  z-index: -1;
}
.hero > .container, .page-hero > .container { flex: 1 1 100%; min-width: 0; }
.hero-inner { padding: 200px 0 80px; max-width: 760px; margin-left: 0; margin-right: auto; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw + 1rem, 5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero .lede {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 36px;
  opacity: .9;
  max-width: 560px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-primary { padding: 16px 34px; font-size: .95rem; }

/* Inner page hero (smaller) */
.page-hero {
  position: relative;
  color: #fff;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: #1a1a1a;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.6)),
              url('../img/service-landscaping.jpg') center/cover no-repeat;
  z-index: -1;
}
.page-hero-inner { padding: 140px 0 60px; }
.page-hero h1 { color: #fff; margin-bottom: 0; }
.page-hero .crumb { font-size: .9rem; opacity: .85; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; color: var(--orange); }

/* ===== Sections ===== */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.bg-tint { background: var(--bg-tint); }
section.bg-grey { background: var(--bg-grey); color: #fff; }
section.bg-dark { background: var(--ink); color: #e7e7e7; }
section.bg-grey h1, section.bg-grey h2, section.bg-grey h3, section.bg-dark h1, section.bg-dark h2, section.bg-dark h3 { color: #fff; }

.eyebrow {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-head { margin-bottom: 48px; max-width: 740px; }
.section-head .accent { display: inline-block; width: 56px; height: 3px; background: var(--orange); margin-top: 8px; }

/* ===== Welcome / split ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split img.frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ===== Service grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: left;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(225,157,20,.1);
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* ===== Specialisation list (services page) ===== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 36px 40px;
}
.spec-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.spec-item .icon { font-size: 22px; color: var(--orange); margin-bottom: 12px; display: block; }

/* ===== Testimonial cards ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.tcard {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tcard::before {
  content: "\201C";
  position: absolute;
  top: -28px; left: 24px;
  font-family: serif;
  font-size: 110px;
  color: var(--orange);
  line-height: 1;
  opacity: .85;
}
.tcard p { color: var(--grey); }
.tcard .meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tcard .meta img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tcard .meta strong { display: block; color: var(--ink); font-family: var(--serif); }
.tcard .meta span { font-size: .85rem; color: var(--grey-soft); }

/* ===== Project grid ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.1/1;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0));
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: capitalize;
}

/* ===== Project list (projects page) ===== */
.project-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.project-row.reverse > :first-child { order: 2; }
.project-row img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.project-row ul { list-style: none; padding: 0; margin: 0 0 24px; }
.project-row li { padding: 8px 0 8px 28px; position: relative; }
.project-row li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 16px; height: 2px;
  background: var(--orange);
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.tmember { text-align: left; background: #fff; }
.tmember img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.tmember h4 { margin: 0; font-size: 1.2rem; }
.tmember .role { color: var(--orange); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin: 4px 0 10px; font-family: var(--serif); }
.tmember .socials { display: flex; gap: 10px; }
.tmember .socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  transition: background .2s;
}
.tmember .socials a:hover { background: var(--orange); }

/* ===== Feature row (about) ===== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.feature-card .num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.feature-card .btn { margin-top: 12px; }

/* ===== Quote band ===== */
.quote-band { padding: 60px 0; background: var(--bg-grey); color: #fff; text-align: center; }
.quote-band h2 { color: #fff; margin-bottom: 18px; }
.quote-band p { color: rgba(255,255,255,.85); max-width: 680px; margin: 0 auto 24px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.field { display: block; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fafafa;
  transition: border-color .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.coverage-map { margin: 0; }
.coverage-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.coverage-map figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--grey);
  margin-top: 12px;
}
.form-status { margin: 14px 0 0; min-height: 1.4em; font-size: 14px; }
.form-status[data-state="ok"] { color: #138a36; }
.form-status[data-state="error"] { color: #b3261e; }
.form-status[data-state="pending"] { color: var(--ink); opacity: .7; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.contact-info { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .item > div { line-height: 1.55; }
.contact-info .item a { display: inline-block; }
.contact-info .item .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(225,157,20,.12);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.contact-info .item strong { display: block; color: var(--ink); font-family: var(--serif); margin-bottom: 2px; }

.socials-row { display: flex; gap: 10px; }
.socials-row a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  transition: background .2s, transform .15s;
}
.socials-row a:hover { background: var(--ink); transform: translateY(-2px); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #d1d1db;
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 6px 0; }
.site-footer a { color: #c0c0c8; }
.site-footer a:hover { color: var(--orange); }
.site-footer .brand { color: var(--gold); margin-bottom: 16px; }
.site-footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.site-footer .socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  font-size: 13px;
  transition: background .2s;
}
.site-footer .socials a:hover { background: var(--orange); }
.copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #8a8a98;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .site-header .row { grid-template-columns: auto 1fr auto; }
  .site-header .row > .brand { grid-column: 1; justify-self: start; }
  .site-header .row > .header-right { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 0; background: var(--ink); }
  .site-header .row > .header-right.open { display: flex; }
  .header-right .nav { flex-direction: column; width: 100%; gap: 0; }
  .header-right .nav a { width: 100%; padding: 14px 20px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .header-socials { padding: 14px 20px; border: none; }
  .menu-btn { display: block; grid-column: 3; }
  .brand img { height: 70px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .project-row, .project-row.reverse > :first-child { grid-template-columns: 1fr; order: initial; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 140px 0 80px; }
}
@media (max-width: 540px) {
  .project-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
