
:root {
  --black: #0b0b0b;
  --panel: #151515;
  --panel-soft: #1e1e1e;
  --gold: #e0ad38;
  --gold-bright: #ffc442;
  --white: #ffffff;
  --muted: #b9b9b9;
  --line: rgba(255,255,255,0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,11,0.96);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-weight: 900;
}

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

.brand-text strong {
  letter-spacing: 0.08em;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.main-nav a:hover,
.footer a:hover {
  color: var(--gold-bright);
}

.quote-button,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #050505;
  border-radius: 999px;
  padding: 15px 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 40px rgba(224,173,56,0.18);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 42px;
  align-items: center;
  padding: 84px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 52px -18px 52px auto;
  width: 58%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,196,66,0.26), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  margin-bottom: 24px;
  max-width: 850px;
  font-family: Georgia, 'Times New Roman', serif;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  margin-bottom: 22px;
  font-family: Georgia, 'Times New Roman', serif;
}

h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.hero-copy {
  color: #ededed;
  max-width: 680px;
  font-size: 21px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.hero-panel p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #f2f2f2;
  font-weight: 800;
}

.hero-panel p:last-child {
  border-bottom: none;
}

.intro-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--gold);
  color: #050505;
  border-radius: 24px;
  overflow: hidden;
}

.intro-strip div {
  padding: 30px;
  border-right: 1px solid rgba(0,0,0,0.16);
}

.intro-strip div:last-child {
  border-right: none;
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  font-size: 23px;
  margin-bottom: 6px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.body-copy p,
.section p {
  color: #dddddd;
  font-size: 17px;
}

.service-grid,
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.service-grid article,
.standards-grid article,
.process-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}

.service-grid span,
.process-list span {
  color: var(--gold-bright);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-grid article h3,
.standards-grid article h3,
.process-list article h3 {
  color: var(--white);
}

.standards-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-auto-rows: 245px;
  gap: 18px;
}

.project-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 35% 24%, rgba(224,173,56,0.20), transparent 26%),
    linear-gradient(135deg, #252525, #111111);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.52));
}

.project-card span,
.project-card h3 {
  position: relative;
  z-index: 1;
}

.project-card span {
  color: var(--gold-bright);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.project-card h3 {
  font-size: 28px;
  margin: 8px 0 0;
}

.project-card.large {
  grid-row: span 2;
}

.project-card.wide {
  grid-column: span 2;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.cta-section {
  padding: 90px 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(224,173,56,0.16), rgba(255,255,255,0.02)),
    var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-section h2,
.cta-section p {
  width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  margin-bottom: 32px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 54px;
  align-items: start;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
}

.contact-card p {
  margin: 10px 0;
}

.contact-card a {
  color: var(--gold-bright);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.social-links a {
  display: inline-flex;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.social-links a:hover {
  background: var(--gold);
  color: #050505;
}

.footer {
  text-align: center;
  padding: 48px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 7px 0;
}

.footer a {
  color: var(--gold-bright);
}

@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .quote-button {
    margin-left: auto;
  }

  .hero,
  .two-column,
  .section-head,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero::before {
    width: 100%;
    inset: 40px 0;
  }

  .intro-strip,
  .service-grid,
  .standards-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .project-card.large,
  .project-card.wide {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .quote-button {
    padding: 12px 18px;
  }

  h1 {
    font-size: 52px;
  }

  .hero {
    min-height: auto;
    padding: 62px 0;
  }

  .section {
    padding: 66px 0;
  }
}


/* Balanced light sections added after review */
.trust-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f3efe7;
  color: #111111;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
}

.trust-band div {
  padding: 28px;
  border-right: 1px solid #d8cdbd;
}

.trust-band div:last-child {
  border-right: none;
}

.trust-band span {
  display: block;
  color: #9b741e;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.trust-band strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.light-section {
  background: #f3efe7;
  color: #111111;
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
}

.light-section .eyebrow {
  color: #9b741e;
}

.light-section h2,
.light-section h3 {
  color: #111111;
}

.light-section p,
.light-section .section p,
.light-section .body-copy p {
  color: #333333;
}

.light-section .service-grid article,
.light-section .process-list article,
.light-section .contact-card {
  background: #ffffff;
  color: #111111;
  border: 1px solid #dfd5c5;
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.06);
}

.light-section .service-grid span,
.light-section .process-list span {
  color: #b5821d;
}

.light-section .service-grid article h3,
.light-section .process-list article h3 {
  color: #111111;
}

.light-section .service-grid p,
.light-section .process-list p,
.light-section .contact-card p {
  color: #3a3a3a;
}

.light-section .contact-card a {
  color: #8d650f;
  font-weight: 800;
}

.light-section .social-links a {
  color: #8d650f;
  border-color: #c99a30;
}

.light-section .social-links a:hover {
  background: #c99a30;
  color: #111111;
}

.services-light {
  border-top: 1px solid #dfd5c5;
  border-bottom: 1px solid #dfd5c5;
}

.process-section.light-section {
  border-top: 1px solid #dfd5c5;
}

.contact-section.light-section {
  border-top: 1px solid #dfd5c5;
}

@media (max-width: 980px) {
  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: none;
    border-bottom: 1px solid #d8cdbd;
  }
}


/* Gold social media logo icons */
.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--gold, #e0ad38);
  border-radius: 999px;
  color: var(--gold-bright, #ffc442);
  background: transparent;
  padding: 0;
  line-height: 1;
}

.social-icons a svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.social-icons a:hover {
  background: var(--gold, #e0ad38);
  color: #080808;
  transform: translateY(-2px);
}

/* Override old social text-pill styling where both classes exist */
.social-links.social-icons a {
  font-size: 0;
  text-decoration: none;
}


/* Hero right-hand video panel */
.hero-video-panel {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  padding: 0;
  display: block;
  background: #111111;
}

.hero-video-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-panel-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.82)),
    linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.1));
  z-index: 1;
}

.video-panel-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: #ffffff;
}

.video-kicker {
  display: inline-block;
  color: var(--gold-bright, #ffc442);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.video-panel-content strong {
  display: block;
  font-size: 31px;
  line-height: 1.05;
  margin-bottom: 10px;
}

.video-panel-content p {
  color: #f0f0f0;
  margin: 0 0 16px;
  max-width: 320px;
}

.video-credentials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.video-credentials span {
  display: inline-flex;
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,196,66,0.55);
  color: var(--gold-bright, #ffc442);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-video-panel {
    min-height: 620px;
  }
}

@media (max-width: 560px) {
  .hero-video-panel {
    min-height: 540px;
  }

  .video-panel-content strong {
    font-size: 26px;
  }
}


/* Netlify enquiry form */
.enquiry-form {
  background: #ffffff;
  border: 1px solid #dfd5c5;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.06);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #111111;
  font-weight: 800;
  font-size: 14px;
}

.enquiry-form label.full {
  grid-column: 1 / -1;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid #cfc4b3;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: #111111;
  background: #fbfaf7;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: 2px solid var(--gold, #e0ad38);
  border-color: var(--gold, #e0ad38);
}

.enquiry-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.form-button {
  border: none;
  cursor: pointer;
  margin-top: 18px;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


.optional-note {
  color: #777777;
  font-weight: 600;
  font-size: 12px;
  text-transform: none;
}


.thank-you-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thank-you-page a:not(.gold-button) {
  color: var(--gold-bright, #ffc442);
  font-weight: 800;
}


.file-upload input[type="file"] {
  background: #ffffff;
  border-style: dashed;
  cursor: pointer;
}

.file-upload small {
  color: #666666;
  font-weight: 600;
  line-height: 1.4;
}


/* Contact section layout fix */
#contact.contact-section,
.contact-section.light-section {
  padding-top: 120px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
  gap: 44px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-left h2 {
  font-size: clamp(42px, 5vw, 68px);
  max-width: 620px;
  margin-bottom: 18px;
}

.contact-left > div:first-child,
.contact-left > p,
.contact-left .section-intro {
  max-width: 620px;
}

.contact-card {
  max-width: 520px;
  margin-top: 18px;
}

.contact-right {
  width: 100%;
}

.enquiry-form {
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  padding: 30px;
}

.enquiry-form .form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
}

.enquiry-form label {
  font-size: 13px;
  gap: 7px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  min-height: 46px;
  border-radius: 10px;
}

.enquiry-form textarea {
  min-height: 130px;
}

.optional-note {
  display: inline;
  margin-left: 4px;
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 600;
}

.file-upload small {
  display: block;
  margin-top: 2px;
}

@media (max-width: 1050px) {
  #contact.contact-section,
  .contact-section.light-section {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

  .enquiry-form {
    max-width: none;
    margin-left: 0;
  }

  .contact-card {
    max-width: none;
  }
}

@media (max-width: 650px) {
  .enquiry-form .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-left h2 {
    font-size: 42px;
  }

  #contact.contact-section,
  .contact-section.light-section {
    padding-top: 80px;
  }
}


/* Contact side-by-side final layout */
#contact.contact-section,
.contact-section.light-section {
  display: block;
  padding-top: 120px;
  padding-bottom: 96px;
}

.contact-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.contact-heading h2 {
  font-size: clamp(42px, 5vw, 66px);
  max-width: 820px;
  margin-bottom: 18px;
}

.contact-heading p:not(.eyebrow) {
  max-width: 760px;
  color: #333333;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}

.contact-form-wrap,
.contact-details-wrap {
  min-width: 0;
}

.contact-form-wrap .enquiry-form,
.contact-details-wrap .contact-card {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
}

.contact-details-wrap .contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.contact-details-wrap .contact-card p:first-child {
  font-size: 22px;
  margin-bottom: 16px;
}

.contact-details-wrap .social-links {
  margin-top: 26px;
}

@media (max-width: 950px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-details-wrap .contact-card {
    justify-content: flex-start;
  }
}

@media (max-width: 650px) {
  #contact.contact-section,
  .contact-section.light-section {
    padding-top: 84px;
  }

  .contact-heading h2 {
    font-size: 40px;
  }
}


/* Branded contact card top panel */
.contact-details-wrap .contact-card {
  justify-content: flex-start;
}

.contact-brand-panel {
  width: 100%;
  min-height: 150px;
  margin-bottom: 30px;
  padding: 24px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255,196,66,0.28), transparent 30%),
    linear-gradient(135deg, #111111, #242424);
  color: #ffffff;
  border: 1px solid rgba(224,173,56,0.45);
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-brand-mark {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold, #e0ad38);
  color: var(--gold-bright, #ffc442);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.contact-brand-panel span,
.contact-brand-panel strong,
.contact-brand-panel small {
  display: block;
}

.contact-brand-panel span {
  color: var(--gold-bright, #ffc442);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
}

.contact-brand-panel strong {
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.contact-brand-panel small {
  color: #d7d7d7;
  font-size: 12px;
}

@media (max-width: 520px) {
  .contact-brand-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Real Kent Build / CHAS logo updates */
.real-logo-brand {
  min-width: 170px;
}

.real-logo-brand img {
  display: block;
  width: 190px;
  max-height: 70px;
  object-fit: contain;
}

.contact-brand-panel.real-brand-panel {
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
}

.contact-kent-logo {
  width: min(230px, 52%);
  max-height: 150px;
  object-fit: contain;
  display: block;
}

.contact-chas-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.contact-chas-logo {
  width: 150px;
  max-height: 92px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.22));
}

.contact-chas-wrap small {
  color: #f4f4f4;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-chas-badge {
  width: 132px;
  max-height: 82px;
  object-fit: contain;
  display: block;
  margin: 0 0 14px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.footer-logo {
  width: 170px;
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.privacy-chas-logo {
  width: 170px;
  max-height: 100px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .real-logo-brand img {
    width: 150px;
  }

  .contact-brand-panel.real-brand-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-kent-logo {
    width: 230px;
    max-width: 100%;
  }
}


/* Transparent logo cleanup */
.real-logo-brand img,
.footer-logo,
.contact-kent-logo {
  background: transparent !important;
}

.real-logo-brand {
  min-width: 180px;
}

.real-logo-brand img {
  width: 210px;
  max-height: 78px;
  object-fit: contain;
}

.contact-brand-panel.real-brand-panel {
  background:
    radial-gradient(circle at 80% 10%, rgba(255,196,66,0.20), transparent 28%),
    linear-gradient(135deg, #111111, #202020);
}

.contact-kent-logo {
  width: min(260px, 54%);
  max-height: 165px;
  object-fit: contain;
}

.footer-logo {
  width: 190px;
  max-height: 110px;
}


/* Restored practical about section */
.practical-about-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.about-photo-frame {
  position: relative;
  border-radius: 24px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}

.about-photo-placeholder {
  min-height: 430px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 55% 25%, rgba(224,173,56,0.18), transparent 32%),
    linear-gradient(135deg, #202020, #111111);
  border: 1px solid rgba(224,173,56,0.55);
  display: grid;
  place-items: center;
  color: #b7b7b7;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  text-align: center;
  padding: 24px;
}

.quality-card {
  position: absolute;
  right: -42px;
  bottom: 42px;
  background: #0d0d0d;
  border-left: 5px solid var(--gold, #e0ad38);
  border-radius: 18px;
  padding: 26px 30px;
  color: #ffffff;
  box-shadow: 0 22px 45px rgba(0,0,0,0.28);
  max-width: 260px;
}

.quality-card h3 {
  margin: 0 0 6px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
}

.quality-card p {
  margin: 0;
  color: #ffffff;
}

.about-practical-copy h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  margin-bottom: 28px;
}

.about-practical-copy p {
  color: #2f2f2f;
  font-size: 18px;
  max-width: 700px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.about-points article {
  background: #ffffff;
  border: 1px solid #dfd5c5;
  border-radius: 16px;
  padding: 24px;
}

.about-points span {
  display: block;
  color: #a87812;
  font-weight: 900;
  margin-bottom: 14px;
}

.about-points strong {
  display: block;
  color: #111111;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .practical-about-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .quality-card {
    right: 24px;
  }
}

@media (max-width: 620px) {
  .practical-about-section {
    padding: 70px 0;
  }

  .about-photo-placeholder {
    min-height: 320px;
  }

  .quality-card {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-practical-copy h2 {
    font-size: 42px;
  }
}


/* Header: logo plus brand wording */
.logo-plus-text {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.logo-plus-text img {
  width: 86px;
  max-height: 58px;
  object-fit: contain;
  display: block;
}

.logo-plus-text .brand-text {
  display: block;
  min-width: 0;
}

.logo-plus-text .brand-text strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.logo-plus-text .brand-text small {
  display: block;
  color: #d6d6d6;
  font-size: 12px;
  margin-top: 4px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .logo-plus-text {
    min-width: 0;
  }

  .logo-plus-text img {
    width: 70px;
  }

  .logo-plus-text .brand-text small {
    display: none;
  }

  .logo-plus-text .brand-text strong {
    font-size: 13px;
  }
}


/* Project card photo backgrounds */
.project-card.has-project-photo {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.78)),
    var(--project-img);
  background-size: cover;
  background-position: center;
}

.project-card.has-project-photo::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.68));
}

.project-card.has-project-photo span {
  color: var(--gold-bright, #ffc442);
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.project-card.has-project-photo h3 {
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0,0,0,0.70);
}

.project-card.has-project-photo:hover {
  transform: translateY(-3px);
  transition: 0.2s ease;
}

/* About image from photo pack */
.about-photo-placeholder.has-photo {
  padding: 0;
  display: block;
  overflow: hidden;
  background: #111111;
}

.about-photo-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* FIXED: Project cards with actual photo backgrounds */
.project-card.has-project-photo {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.project-extensions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.80)),
    url("assets/project-extensions-structural.png") !important;
}

.project-refurbishments-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.80)),
    url("assets/project-refurbishments.png") !important;
}

.project-conversions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.80)),
    url("assets/project-conversions.png") !important;
}

.project-hmo-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.80)),
    url("assets/project-hmo-multi-unit.png") !important;
}

.project-commercial-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.80)),
    url("assets/project-commercial-developer.png") !important;
}

.project-card.has-project-photo::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.62)) !important;
}

.project-card.has-project-photo span,
.project-card.has-project-photo h3 {
  position: relative;
  z-index: 2;
}

.project-card.has-project-photo h3 {
  color: #ffffff !important;
  text-shadow: 0 3px 18px rgba(0,0,0,0.85);
}

.project-card.has-project-photo span {
  color: var(--gold-bright, #ffc442) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}


/* Corrected project photo mapping: Ramsgate is domestic extension/refurb/conversion only */
.project-extensions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-extensions-structural.png") !important;
}

.project-refurbishments-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-refurbishments.png") !important;
}

.project-conversions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-conversions.png") !important;
}

.project-card.pending-project-card {
  background:
    radial-gradient(circle at 40% 22%, rgba(224,173,56,0.20), transparent 30%),
    linear-gradient(135deg, #252525, #111111) !important;
}

.project-card.pending-project-card::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.55)) !important;
}

.project-card.pending-project-card span {
  color: var(--gold-bright, #ffc442) !important;
}

.project-card.pending-project-card h3 {
  color: #ffffff !important;
}


/* Honest residential/new-build project card mapping */
.project-extensions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-extensions-structural.png") !important;
}

.project-refurbishments-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-refurbishments.png") !important;
}

.project-conversions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-conversions.png") !important;
}

.project-new-builds-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-new-builds-developer.png") !important;
}

.project-card.pending-project-card {
  background:
    radial-gradient(circle at 40% 22%, rgba(224,173,56,0.20), transparent 30%),
    linear-gradient(135deg, #252525, #111111) !important;
}

.project-card.pending-project-card::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.55)) !important;
}

.project-card.has-project-photo {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.project-card.has-project-photo h3,
.project-card.pending-project-card h3 {
  color: #ffffff !important;
  text-shadow: 0 3px 18px rgba(0,0,0,0.80);
}

.project-card.has-project-photo span,
.project-card.pending-project-card span {
  color: var(--gold-bright, #ffc442) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.80);
}

.about-photo-placeholder.has-photo {
  padding: 0;
  display: block;
  overflow: hidden;
  background: #111111;
}

.about-photo-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* Commercial card restored with actual commercial project image */
.project-commercial-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-commercial-developer.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.project-commercial-card h3,
.project-commercial-card span {
  position: relative;
  z-index: 2;
}


/* Final honest project card mapping */
.project-extensions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-extensions-structural.png") !important;
}

.project-refurbishments-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-refurbishments.png") !important;
}

.project-conversions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-conversions.png") !important;
}

.project-commercial-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-commercial-developer.png") !important;
}

.project-card.has-project-photo {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.project-card.pending-project-card {
  background:
    radial-gradient(circle at 40% 22%, rgba(224,173,56,0.20), transparent 30%),
    linear-gradient(135deg, #252525, #111111) !important;
}

.project-card.has-project-photo h3,
.project-card.pending-project-card h3 {
  color: #ffffff !important;
  text-shadow: 0 3px 18px rgba(0,0,0,0.80);
}

.project-card.has-project-photo span,
.project-card.pending-project-card span {
  color: var(--gold-bright, #ffc442) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.80);
}


/* FINAL REPAIR: core layout and images */
.about-photo-placeholder.has-photo {
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #111111 !important;
}

.about-photo-placeholder.has-photo img {
  width: 100% !important;
  height: 100% !important;
  min-height: 430px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

.project-hmo-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-hmo-multi-unit.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.project-card.has-project-photo {
  cursor: pointer;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.project-card.has-project-photo h3,
.project-card.has-project-photo span {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0,0,0,0.85);
}

.project-card.has-project-photo span {
  color: var(--gold-bright, #ffc442) !important;
}

/* simple gallery modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.gallery-modal.is-open {
  display: flex;
}

.gallery-modal-inner {
  width: min(1100px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #111111;
  border: 1px solid rgba(255,196,66,0.35);
  border-radius: 22px;
  padding: 24px;
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.gallery-modal-header h2 {
  color: #ffffff;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
}

.gallery-close {
  border: 1px solid #ffc442;
  background: transparent;
  color: #ffc442;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.gallery-grid-modal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid-modal img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 800px) {
  .gallery-grid-modal {
    grid-template-columns: 1fr;
  }
}

/* FINAL LAYOUT FIX: stop About image from swallowing the text */
.practical-about-section {
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1fr) !important;
  align-items: center !important;
  overflow: visible !important;
}

.about-photo-frame {
  min-width: 0 !important;
  max-width: 100% !important;
}

.about-photo-project.has-photo,
.about-photo-project.image.has-photo {
  width: 100% !important;
  height: clamp(380px, 42vw, 560px) !important;
  max-height: 560px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  display: block !important;
  background: #111111 !important;
}

.about-photo-project.has-photo img,
.about-photo-project.image.has-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.about-practical-copy {
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 980px) {
  .practical-about-section {
    grid-template-columns: 1fr !important;
  }

  .about-photo-project.has-photo,
  .about-photo-project.image.has-photo {
    height: 460px !important;
  }
}

@media (max-width: 620px) {
  .about-photo-project.has-photo,
  .about-photo-project.image.has-photo {
    height: 360px !important;
  }
}

.form-status { margin-top: 14px; font-weight: 800; color: #ffc442; }


/* FINAL CARD COVER UPDATE - outside project cards */
.project-grid {
  align-items: stretch;
}
.project-new-builds-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.82)),
    url("assets/project-new-builds-developer.png") !important;
  background-size: cover !important;
  background-position: center !important;
}
.project-extensions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.82)),
    url("assets/project-extensions-structural.png") !important;
}
.project-refurbishments-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.82)),
    url("assets/project-refurbishments.png") !important;
}
.project-conversions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.82)),
    url("assets/project-conversions.png") !important;
}
.project-hmo-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.82)),
    url("assets/project-hmo-multi-unit.png") !important;
}
.project-commercial-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.82)),
    url("assets/project-commercial-developer.png") !important;
}
.project-card.has-project-photo,
.project-new-builds-card {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* FINAL COVER + GALLERY DISPLAY FIX */
.project-new-builds-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-new-builds-developer.png") !important;
  background-position: center center !important;
}

.project-commercial-card,
.project-commercial-developer-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-commercial-developer.png") !important;
  background-position: center center !important;
}

.project-extensions-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-extensions-structural.png") !important;
  background-position: center center !important;
}

.project-hmo-card {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    url("assets/project-hmo-multi-unit.png") !important;
  background-position: center center !important;
}

.gallery-modal {
  align-items: flex-start !important;
  padding: 24px !important;
  overflow-y: auto !important;
}

.gallery-modal-inner {
  width: min(1500px, 96vw) !important;
  max-height: none !important;
  min-height: 80vh !important;
  overflow: visible !important;
  padding: 26px !important;
}

.gallery-grid-modal {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)) !important;
  gap: 22px !important;
  align-items: start !important;
}

.gallery-grid-modal img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 18px !important;
  background: #050505 !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45) !important;
}

@media (max-width: 900px) {
  .gallery-modal { padding: 14px !important; }
  .gallery-modal-inner { width: 98vw !important; padding: 14px !important; }
  .gallery-grid-modal { grid-template-columns: 1fr !important; gap: 16px !important; }
}


/* Refurb bathroom update: keep modal images large and elegant */
.gallery-grid-modal {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
  gap: 24px !important;
}
.gallery-grid-modal img {
  width: 100% !important;
  height: auto !important;
  max-height: 78vh !important;
  object-fit: contain !important;
  background: #080808 !important;
  border-radius: 18px !important;
}
.gallery-modal-inner {
  width: min(1380px, 96vw) !important;
}
@media (max-width: 800px) {
  .gallery-grid-modal { grid-template-columns: 1fr !important; }
}




/* Premium review section */
.premium-review-section {
  background:
    radial-gradient(circle at 16% 10%, rgba(224,173,56,0.16), transparent 34%),
    linear-gradient(135deg, #070707 0%, #111111 42%, #050505 100%);
  color: #ffffff;
  padding-top: 112px;
  padding-bottom: 112px;
  border-top: 1px solid rgba(224,173,56,0.22);
  border-bottom: 1px solid rgba(224,173,56,0.22);
}

.review-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: 32px;
  align-items: stretch;
}

.review-panel {
  border: 1px solid rgba(224,173,56,0.36);
  border-radius: 28px;
  padding: clamp(30px, 4vw, 52px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    #0d0d0d;
  box-shadow: 0 26px 70px rgba(0,0,0,0.32);
  position: relative;
  overflow: hidden;
}

.review-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(224,173,56,0.28);
  opacity: 0.8;
}

.review-heading {
  max-width: none;
  margin-bottom: 0;
}

.review-heading .eyebrow {
  color: var(--gold-bright, #ffc442);
}

.review-heading h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.93;
  max-width: 760px;
  margin: 0 0 20px;
  color: #ffffff;
}

.review-heading .review-lead {
  max-width: 640px;
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.review-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 34px;
  position: relative;
  z-index: 1;
}

.review-highlights div {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.055);
}

.review-highlights span {
  display: inline-block;
  color: var(--gold-bright, #ffc442);
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.review-highlights strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 6px;
}

.review-highlights p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.premium-review-form-wrap {
  min-width: 0;
}

.premium-review-form-wrap .premium-review-form {
  max-width: none;
  margin: 0;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(224,173,56,0.35);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.35);
}

.premium-review-form .form-grid {
  gap: 20px;
}

.premium-review-form label {
  color: #111111;
  font-weight: 900;
}

.premium-review-form input,
.premium-review-form select,
.premium-review-form textarea {
  background: #f8f4ec;
  border: 1px solid rgba(17,17,17,0.18);
  color: #111111;
}

.premium-review-form input:focus,
.premium-review-form select:focus,
.premium-review-form textarea:focus {
  outline: 2px solid rgba(224,173,56,0.65);
  border-color: rgba(224,173,56,0.85);
}

.premium-review-form textarea {
  min-height: 170px;
}

.optional-label {
  font-size: 0.78em;
  opacity: 0.72;
  font-weight: 700;
}

@media (max-width: 980px) {
  .review-shell {
    grid-template-columns: 1fr;
  }

  .premium-review-section {
    padding-top: 86px;
    padding-bottom: 86px;
  }
}

@media (max-width: 640px) {
  .review-shell {
    width: min(100% - 28px, 1180px);
    gap: 18px;
  }

  .review-panel,
  .premium-review-form-wrap .premium-review-form {
    border-radius: 22px;
    padding: 24px;
  }

  .review-heading h2 {
    font-size: clamp(36px, 12vw, 52px);
  }
}


/* Review section simplified */
.review-heading.review-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.review-heading .review-lead {
  max-width: 620px;
}
.review-highlights {
  display: none !important;
}
