:root {
  --accent: #fa9100;
  --accent-dark: #a74d00;
  --ink: #191919;
  --muted: #444;
  --line: #e8e8e8;
}
body { background: #fff; color: var(--ink); }
main section[id], #inquiry-form { scroll-margin-top: 6rem; }
main p, main li { line-height: 1.62; }
#site-header {
  color: var(--ink); background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
}
#site-header nav a:not([href="#contact"].bg-gold) { color: var(--ink); }
#site-header nav a:hover { color: var(--accent-dark); }
#site-header nav a[href="#home"] { text-decoration: underline 2px var(--accent); text-underline-offset: .6em; }
#site-header #mobile-menu { background: #fff; border-color: var(--line); }
#mobile-menu-toggle { color: var(--ink); border-color: var(--line); }
#site-header a.bg-gold, .orange-button,
main a.bg-gold, #about a[href="#contact"], #client-experience a.bg-ink {
  background: var(--accent); color: #1c1409; border: 1px solid var(--accent);
  border-radius: 99px; font-weight: 750;
}
#site-header a.bg-gold:hover, .orange-button:hover, main a.bg-gold:hover,
#about a[href="#contact"]:hover, #client-experience a.bg-ink:hover { background: #ffad35; }
.section-label {
  display: flex; align-items: center; gap: 9px; margin-bottom: .65rem;
  color: var(--accent-dark); font-size: .78rem; font-weight: 750;
  letter-spacing: .075em; text-transform: uppercase;
}
.section-label::before { content: ""; width: 1.65rem; height: 2px; background: var(--accent); flex: none; }
.rb-hero { position: relative; isolation: isolate; overflow: hidden; background: #faf9f7; }
.rb-hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; height: 100%; width: 77%; object-fit: cover; object-position: center right; }
.rb-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg,#fbfaf9 3%,rgb(251 250 249 / 97%) 28%,rgb(251 250 249 / 79%) 42%,rgb(251 250 249 / 16%) 61%,transparent 76%);
}
.rb-hero::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: clamp(1.25rem,4vw,3.5rem); background: #fff; clip-path: polygon(0 28%,79% 100%,100% 19%,100% 100%,0 100%); }
.rb-hero-inner {
  max-width: 1280px; margin: auto; padding-inline: clamp(1.25rem,4vw,4rem);
  padding-block: clamp(2rem,6vh,4rem) clamp(2.5rem,7vh,4.5rem);
}
.rb-hero h1 {
  max-width: min(32rem,55vw); margin: 0 0 .85rem; color: var(--ink);
  font-size: clamp(2rem,3.55vw,3.55rem); font-weight: 800;
  letter-spacing: -.045em; line-height: 1.09; text-wrap: balance;
}
.rb-hero h1 span { color: #ca6100; }
.rb-hero-copy { max-width: min(31rem,55vw); color: #272727; font-size: 1rem; }
.rb-hero-copy p { line-height: 1.5; }
.rb-hero-copy p + p { margin-top: .5rem; }
.rb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.15rem; }
.rb-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: .68rem 1.25rem; font-size: .9rem; }
.outline-button { border: 1px solid #312820; border-radius: 99px; font-weight: 700; background: rgb(255 255 255 / 78%); color: var(--ink); }
.outline-button:hover { border-color: var(--accent); background: #fff3df; }
#services, #projects, #about, #trust, #process, #areas, #sustainability, #client-experience, #contact, #start-project { padding-block: clamp(2.6rem,5.5vw,5rem); }
#services, #projects, #areas { background: #fff; border: 0; }
#areas .area-card { overflow: hidden; border-radius: 12px; }
#areas .area-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.home-feature-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.home-feature-photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
#client-experience .home-feature-photo { object-position: 83% center; }
@media (max-width: 767px) {
  .home-feature-layout { grid-template-columns: minmax(0, 1fr); }
}
#services .services-grid { margin-top: 1.25rem; }
#services article { text-align: center; align-items: stretch; border-radius: 14px; background: linear-gradient(#fcfcfc,#f5f5f5); padding: 1.35rem 1rem 1rem; min-height: 15rem; }
#services article > div { width: 100%; }
#services article .material-symbols-outlined { color: var(--accent-dark); font-size: 2.9rem; }
#services article h3, #projects article h3 { font-size: clamp(1.08rem,1.65vw,1.32rem); line-height: 1.25; }
#services article a { display: block; align-self: center; }
#about { background: #f7f7f7; }
#about .about-layout { display: grid; align-items: stretch; gap: clamp(1.5rem,4vw,3.5rem); grid-template-columns: 1.18fr 1fr; }
#about .about-photo {
  min-width: 0; min-height: 340px; position: relative; overflow: hidden; border: 0; border-radius: 14px;
  background: linear-gradient(145deg,#dae5ed,#a6a6a6);
  clip-path: polygon(0 0,88% 0,100% 100%,0 100%);
}
#about .about-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
#about .about-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(70deg,transparent 77%,rgb(250 145 0 / 30%) 77%,rgb(250 145 0 / 14%) 88%,transparent 88%); }
#about .about-copy { justify-content: center; }
#trust { background: #fff8ed; border-color: #f7e6ca; }
#trust dl > div { border: 0; border-inline-start: 3px solid var(--accent); border-radius: 6px; }
#trust dd { color: var(--accent-dark); }
#projects #projects-grid { gap: 1rem; }
#projects article { border-radius: 13px; }
#projects article > div:first-child { height: auto; aspect-ratio: 1.85; background: #e9eef2; }
#projects article h3 { text-transform: none; }
#projects button:hover { color: var(--accent-dark); }
#process { background: #f5f5f5; color: var(--ink); }
#process h2, #process h3 { color: var(--ink); }
#process p { color: var(--muted); }
#process p.text-gold, #process li span { color: var(--accent-dark); }
#process li { border-color: var(--accent); }
#why-us { background: linear-gradient(112deg,#212121,#323232); color: white; position: relative; overflow: hidden; }
#why-us::after { content: ""; position: absolute; inset: 0 0 0 auto; width: clamp(1rem,8vw,8rem); background: var(--accent); clip-path: polygon(76% 0,100% 0,100% 100%); pointer-events: none; }
#why-us h2, #why-us h3 { color: #fff; }
#why-us p, #why-us li { color: #f2f2f2; }
#why-us .why-list { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 20%); border-radius: 14px; }
#why-us ul { padding-inline-start: 0; list-style: none; }
#why-us li { display: flex; align-items: baseline; gap: .6rem; }
#why-us li::before { content: "✓"; display: inline-grid; place-items: center; flex: 0 0 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--accent); color: #191919; font-weight: 800; line-height: 1; }
#contact { background: #f4f4f4; }
#contact form { gap: 1rem; }
#contact .enquiry-card { border-radius: 16px; box-shadow: 0 10px 35px rgb(0 0 0 / 8%); }
#contact form input, #contact form select, #contact form textarea { border-radius: 8px; border-color: #dbdbdb; }
#contact form button[type="submit"] { background: var(--accent); color: #1c1409; border-radius: 9px; font-weight: 750; }
#contact form button[type="submit"]:hover { background: #ffad35; }
#contact .contact-details { border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); }
#contact .contact-details .text-light-on-primary, #contact .contact-details .text-light-on-primary-container { color: var(--ink); }
#contact .contact-details .text-gold { color: var(--accent-dark); }
#start-project { background: #fff3df; color: var(--ink); border-top: 1px solid #f8e4c5; }
#start-project h2, #start-project p { color: var(--ink); }
#start-project [data-site-visit] { color: var(--ink); border-radius: 99px; border-color: #a95c00; }
@media (max-width: 767px) {
  .rb-hero { display: flex; flex-direction: column; }
  .rb-hero-photo { position: static; order: 2; width: 100%; height: clamp(15rem,55vw,23rem); object-position: center; }
  .rb-hero::before { display: none; }
  .rb-hero-inner { width: 100%; padding-block: 1.65rem 1.3rem; }
  .rb-hero h1 { max-width: 34rem; font-size: clamp(1.8rem,6.4vw,2.6rem); text-wrap: wrap; }
  .rb-hero-copy { max-width: 31rem; }
  .rb-actions a { padding-inline: 1rem; }
  .rb-hero::after { height: 1rem; }
  #about .about-layout { grid-template-columns: 1fr; }
  #about .about-photo { min-height: 0; aspect-ratio: 1.55; }
}
#why-us .section-label { color: #ffac38; }
/* Service directory and detail pages */
.service-directory { margin-top: 2rem; }
.service-directory h3 { color: var(--ink); font-size: 1.22rem; font-weight: 700; }
.service-link-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.service-link-grid a {
  display: flex; align-items: center; min-height: 3.4rem; padding: .75rem 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  font-size: .94rem; font-weight: 650; line-height: 1.35;
}
.service-link-grid a:hover, .service-link-grid a:focus-visible { border-color: var(--accent-dark); color: var(--accent-dark); }
.detail-wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem,4vw,3rem); }
.detail-breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-bottom: clamp(1.5rem,3vw,2.5rem); font-size: .88rem; color: var(--muted); }
.detail-breadcrumb a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .15em; }
.detail-section { padding-block: clamp(2.25rem,5.25vw,4rem); }
.detail-section h2 { color: var(--ink); font-size: clamp(1.45rem,2.7vw,2rem); font-weight: 750; line-height: 1.2; }
#site-header nav a[aria-current="page"]:is([href="/our-process/"], [href="/contact-us/"]) { color: var(--accent-dark); }
.construction-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; list-style: none; padding: 0; }
.construction-steps li { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: .8rem; background: #fff; }
.construction-step-number { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .8rem; border-radius: 50%; background: #fff1d8; color: var(--accent-dark); font-weight: 750; }
.construction-steps h3 { margin-bottom: .45rem; color: var(--ink); font-size: 1.2rem; font-weight: 700; }
.construction-steps p, .process-contact p { color: var(--muted); }
.process-contact { background: #fff3df; }
.process-contact p { margin-top: .65rem; }
@media (max-width: 600px) {
  .construction-steps { grid-template-columns: minmax(0, 1fr); }
}

.detail-hero .detail-breadcrumb { margin-bottom: clamp(.7rem,1.8vw,1.25rem); }
.detail-hero .rb-hero-photo { object-position: center; }
.detail-brief { position: relative; overflow: hidden; background: linear-gradient(112deg,#212121,#323232); }
.detail-brief::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: min(12vw,8rem);
  background: var(--accent); clip-path: polygon(76% 0,100% 0,100% 100%); pointer-events: none;
}
.detail-brief .section-label { color: #ffac38; }
.detail-brief h2, .detail-brief p { color: #fff; }
.detail-brief p { max-width: 65ch; }
.detail-related { background: #f7f7f7; }
@media (max-width: 767px) {
  .service-link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .service-link-grid { grid-template-columns: minmax(0,1fr); }
}
/* Services disclosure in the shared site navigation */
.service-menu { position: relative; flex: none; }
.service-menu summary {
  display: flex; align-items: center; gap: .4rem; color: var(--ink);
  cursor: pointer; list-style: none; font-weight: 700;
}
.service-menu summary::-webkit-details-marker { display: none; }
.service-menu summary::after {
  content: ""; width: .42rem; height: .42rem; margin-top: -.2rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.service-menu[open] summary::after { margin-top: .2rem; transform: rotate(225deg); }
.service-menu summary:hover, .service-menu[open] summary { color: var(--accent-dark); }
.service-menu-links {
  position: absolute; top: calc(100% + .75rem); left: -.85rem; z-index: 2;
  width: max-content; max-width: min(17rem, 90vw); padding: .35rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  box-shadow: 0 10px 24px rgb(0 0 0 / 12%);
}
.service-menu-links a {
  display: block; padding: .55rem .65rem; border-radius: 6px;
  font-size: .92rem; line-height: 1.4;
}
#site-header .service-menu-links a:hover, #site-header .service-menu-links a:focus-visible,
#site-header .service-menu-links a[aria-current="page"] { background: #fff3df; color: var(--accent-dark); }
#mobile-menu { max-height: calc(100dvh - 5rem); overflow-y: auto; }
#mobile-menu .service-menu-links {
  position: static; width: 100%; max-width: none; margin-top: .45rem;
  box-shadow: none;
}

/* Editorial copy for service and About pages */
.detail-hero h1 { max-width: min(35rem,55vw); font-size: clamp(1.95rem,3.4vw,3.3rem); }
.detail-hero-copy h3 { color: var(--ink); font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.4; }
.detail-hero .rb-actions a, .detail-copy .rb-actions a { max-width: 100%; text-align: center; }
.detail-copy-section:nth-child(odd):not(.detail-brief) { background: #f8f8f8; }
.detail-copy-section h2 { max-width: 32ch; }
.detail-copy { display: grid; gap: .85rem; margin-top: 1rem; max-width: 76ch; color: var(--muted); }
.detail-copy h3 { font-size: 1.14rem; font-weight: 750; line-height: 1.35; color: var(--ink); margin-top: .45rem; }
.detail-copy h3 + p { margin-top: -.45rem; }
.detail-copy p a { text-decoration: underline; text-underline-offset: .18em; color: var(--accent-dark); }
.detail-copy .rb-actions { margin-top: .25rem; }
.detail-list { list-style: disc; padding-inline-start: 1.35rem; display: grid; gap: .32rem 1.9rem; margin-block: .1rem; }
.detail-list li { padding-inline-start: .1rem; }
.detail-list li::marker { color: var(--accent-dark); }
.detail-brief .detail-copy p a { color: #ffb84e; }
@media (min-width: 768px) {
  .detail-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .detail-hero h1 { max-width: 35rem; font-size: clamp(1.75rem,6.1vw,2.55rem); }
}

/* Shared dark architectural footer */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(125deg,#18191b,#101112 64%,#191a1c);
  color: #f5f5f5; border-bottom: 5px solid var(--accent);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto auto; z-index: -1;
  width: min(23vw,22rem); height: 11rem;
  background: repeating-linear-gradient(135deg,transparent 0 14px,rgb(255 255 255 / 4%) 14px 31px);
  mask-image: linear-gradient(to bottom left,#000,transparent 72%);
  pointer-events: none;
}
.site-footer-main {
  position: relative; display: grid;
  grid-template-columns: minmax(0,1.13fr) minmax(0,.7fr) minmax(0,1.05fr) minmax(21rem,1.15fr);
  gap: clamp(1rem,2.2vw,2rem); max-width: 1536px; margin-inline: auto;
  padding: clamp(2rem,5vw,4.5rem) clamp(1.25rem,4vw,4rem);
}
.site-footer-main::before {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0;
  width: min(22vw,20rem);
  background: linear-gradient(90deg,transparent 15%,#141516 97%),
    linear-gradient(0deg,rgb(15 15 16 / 24%),rgb(15 15 16 / 45%)),
    url("./villa-hero.jpg") 72% center / cover no-repeat;
  clip-path: polygon(0 0,100% 0,62% 57%,92% 100%,0 100%);
  opacity: .65;
}
.site-footer-brand { min-width: 0; }
.site-footer-logo {
  display: block; position: relative; width: min(100%,17rem); isolation: isolate;
}
.site-footer-logo img { display: block; width: 100%; height: auto; }
.site-footer-logo img.site-footer-logo-light {
  position: absolute; inset: 0; clip-path: inset(61% 0 0); filter: brightness(0) invert(1);
}
.site-footer-brand p { margin-top: 1rem; line-height: 1.7; color: #e2e2e2; font-size: .94rem; }
.site-footer-brand p::before {
  content: ""; display: block; width: 3.1rem; height: 3px; margin-bottom: .8rem; background: var(--accent);
}
.site-footer-socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.site-footer-socials a {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border: 1px solid #858585; border-radius: 50%; color: #fff; font-size: 1.2rem; font-weight: 750;
}
.site-footer-column { min-width: 0; padding-inline-start: clamp(.8rem,1.7vw,1.6rem); border-inline-start: 1px solid #535353; }
.site-footer-column h2 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: 1.1rem; font-weight: 750; line-height: 1.3; }
.site-footer-column h2::before {
  content: ""; width: 5px; height: .95em; flex: none; transform: skewX(-27deg); background: var(--accent);
}
.site-footer-links, .site-footer-contact { list-style: none; padding: 0; margin: 0; }
.site-footer-links a, .site-footer-contact a { display: flex; align-items: baseline; gap: .65rem; color: #e8e8e8; font-size: .91rem; }
.site-footer-links li + li { margin-top: .55rem; }
.site-footer-links a::before {
  content: ""; width: .38rem; height: .38rem; flex: none; align-self: start; margin-top: .5em;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg);
}
.site-footer-contact a { align-items: center; }
.site-footer-contact a span:last-child { min-width: 0; overflow-wrap: anywhere; }
.site-footer-contact a[href^="mailto:"] span:last-child {
  overflow-wrap: normal; white-space: nowrap;
}
.site-footer-contact li + li { margin-top: .65rem; }
.site-footer-contact .material-symbols-outlined {
  display: inline-grid; place-items: center; box-sizing: border-box; flex: 0 0 2rem;
  height: 2rem; width: 2rem; border-radius: 50%; background: var(--accent); color: #191919; font-size: 1.06rem;
}
.site-footer a:not(.site-footer-cta):hover, .site-footer a:not(.site-footer-cta):focus-visible { color: #ffab35; }
.site-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-footer-cta { display: inline-flex; align-items: center; margin-top: 1.2rem; padding: .67rem 1.05rem; font-size: .88rem; text-align: center; }
.site-footer-bottom {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: .75rem 1rem 1.25rem; text-align: center;
  color: #dedede; font-size: .84rem;
}
.site-footer-divider { position: relative; display: grid; place-items: center; height: 76px; }
.site-footer-divider::before, .site-footer-divider::after {
  content: ""; position: absolute; inset-inline: 0; height: 1px; pointer-events: none;
}
.site-footer-divider::before {
  top: 28px;
  background: linear-gradient(to right,var(--accent),var(--accent) calc(50% - 124px),transparent calc(50% - 92px),transparent calc(50% + 92px),var(--accent) calc(50% + 124px),var(--accent));
}
.site-footer-divider::after {
  bottom: 6px;
  background: linear-gradient(to right,transparent 4%,var(--accent) calc(50% - 96px),transparent calc(50% - 96px),transparent calc(50% + 96px),var(--accent) calc(50% + 96px),transparent 96%);
}
.site-footer-divider img { display: block; width: 192px; height: 76px; }
@media (min-width: 1280px) {
  .site-footer-main { padding-inline-start: clamp(6rem,10vw,10rem); }
}
@media (max-width: 1100px) {
  .site-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.9rem; }
}
@media (max-width: 800px) {
  .site-footer-main > .site-footer-column:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer-main { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .site-footer-main::before { width: 62%; height: 16rem; opacity: .34; }
  .site-footer-column { padding-inline-start: 0; padding-top: 1rem; border-inline-start: 0; border-top: 1px solid #535353; }
}
@media (max-width: 380px) {
  .site-footer-contact a[href^="mailto:"] { flex-wrap: wrap; gap: .25rem .4rem; }
  .site-footer-contact a[href^="mailto:"] .material-symbols-outlined {
    flex-basis: 1.35rem; width: 1.35rem; height: 1.35rem; font-size: .84rem;
  }
}

/* Centered section introductions and illustrated service links */
#trust > div > div:first-child { margin-inline: auto; }
#trust h2, #trust dl, #services > div > h2, #service-directory-heading,
.project-intro, .detail-related h2 { text-align: center; }
#services article { text-align: start; }
#services article h3 { text-align: center; }
#trust dl > div { align-items: center; border-inline-start: 0; border-top: 3px solid var(--accent); }

#why-us .why-layout {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1.1rem,3vw,2.5rem); align-items: stretch;
}
#why-us .why-content { display: grid; align-content: center; gap: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
#services > div > .section-label,
.project-intro .section-label { justify-content: center; }
#why-us .why-photo { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 14px; }
#why-us .why-list { padding: clamp(1rem, 2.5vw, 1.75rem); }

#services article .feature-service-icon {
  display: grid; place-items: center; align-self: center;
  width: 3.85rem; height: 3.85rem; border-radius: 14px; background: #fff0da;
}
#services article .feature-service-icon .material-symbols-outlined { font-size: 2rem; }
.service-photo-grid { max-width: 74rem; margin-inline: auto; }
.service-photo-grid a {
  display: flex; flex-direction: column; align-items: stretch; padding: 0;
  overflow: hidden; text-align: center; text-decoration: none;
}
.service-photo-grid img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; background: #f1efeb;
}
.service-photo-grid a > span {
  flex: 1; display: grid; place-items: center; padding: .85rem .65rem;
}

.project-intro > p { margin-top: .45rem; }
#projects #projects-grid { display: flex; flex-wrap: wrap; justify-content: center; }
#projects .project-card { flex: 0 1 calc((100% - 2rem) / 3); min-width: 0; }
#projects .project-card.hidden { display: none; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: auto; padding-top: .8rem; }
.project-actions .view-project-btn, .project-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .9rem; }
.project-actions .view-project-btn { margin: 0; border: 1px solid #ded8cc; border-radius: 99px; }

#contact .contact-details a, #contact a[href^="https://www.google.com/maps/"] { text-decoration: none; }
#contact .contact-details a:hover, #contact a[href^="https://www.google.com/maps/"]:hover { color: var(--accent-dark); }
#contact .contact-details > div > .material-symbols-outlined {
  display: inline-grid; place-items: center; flex: 0 0 2.4rem;
  width: 2.4rem; height: 2.4rem; margin: 0; border-radius: 50%;
  color: var(--accent-dark); background: #fff0da; font-size: 1.22rem;
}
#contact .contact-details a:has(.material-symbols-outlined, .contact-facebook-icon) {
  display: inline-flex; align-items: center; gap: .35rem;
}
.contact-facebook-icon { font-weight: 800; }
#contact a[href^="https://www.google.com/maps/"] { text-align: center; }
#contact .material-symbols-outlined.text-ink { color: var(--accent-dark); }
#contact .enquiry-card > h3 { text-align: center; }
.detail-copy-section .detail-wrap { max-width: 82ch; }
.detail-copy-section .consultancy-advice-layout {
  max-width: 1200px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "photo label" "photo heading" "photo copy";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
}
.consultancy-advice-layout .section-label { grid-area: label; }
.consultancy-advice-layout h2 { grid-area: heading; }
.consultancy-advice-layout .detail-copy { grid-area: copy; align-content: start; }
.consultancy-advice-photo { grid-area: photo; align-self: center; }
.detail-copy-section .consultancy-photo-right {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "label photo" "heading photo" "copy photo";
}
.consultancy-advice-layout .detail-list { grid-template-columns: minmax(0, 1fr); }
.consultancy-contact-intro { text-align: center; }
.consultancy-contact-intro :is(h2, .detail-copy) { margin-inline: auto; }
.consultancy-contact-intro .detail-copy { justify-items: center; }
.consultancy-contact-intro :is(.section-label, .rb-actions) { justify-content: center; }
.detail-copy-section .consultancy-offerings { max-width: 1200px; }
.consultancy-offerings-intro { text-align: center; }
.consultancy-offerings-intro .section-label { justify-content: center; }
.consultancy-offerings-intro h2, .consultancy-offerings-intro p { margin-inline: auto; }
.consultancy-offerings-intro p { max-width: 65ch; margin-top: .85rem; color: var(--muted); }
.consultancy-offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.consultancy-offering { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.consultancy-offering img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.consultancy-offering-trade { object-position: 80% center; }
.consultancy-offering > div { padding: 1.15rem; }
.consultancy-offering h3 { margin-bottom: .55rem; font-size: 1.12rem; font-weight: 750; line-height: 1.3; color: var(--ink); }
.consultancy-offering p { color: var(--muted); }
.service-process .section-label { justify-content: center; }
.service-process h2, .service-process-intro, .service-process-note {
  margin-inline: auto;
  text-align: center;
}
.service-process-intro, .service-process-note { max-width: 65ch; }
.service-process .detail-copy { max-width: none; }
.service-process .consultancy-offerings-grid {
  grid-template-columns: minmax(0, 1fr);
  margin-top: .5rem;
}
@media (min-width: 560px) {
  .service-process .consultancy-offerings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .service-process .consultancy-offerings-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.service-process .consultancy-offering h3 { margin: 0 0 .55rem; }
.service-process .consultancy-offering h3 + p { margin-top: 0; }
@media (max-width: 767px) {
  .detail-copy-section .consultancy-advice-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "label" "heading" "copy";
    grid-template-rows: auto;
  }
  .consultancy-advice-photo { margin-bottom: 1.35rem; }
}
.detail-copy .detail-list { max-width: 100%; }

@media (max-width: 900px) {
  #projects .project-card { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 767px) {
  #why-us .why-layout { grid-template-columns: minmax(0,1fr); }
  #why-us .why-photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  #projects .project-card { flex-basis: 100%; }
}

/* Service-page contacts and centered photo-card labels */
.detail-hero .rb-hero-inner { padding-block: clamp(1.65rem,4vw,3.5rem) clamp(2.5rem,5vw,4rem); }
.service-photo-grid a > span { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.service-photo-grid .material-symbols-outlined { flex: 0 0 1em; color: var(--accent-dark); font-size: 1.35rem; }
.detail-contact { background: #f4f4f4; text-align: center; }
.detail-contact .contact-details { max-width: 32rem; margin: 1.3rem auto 0; text-align: start; }
.detail-contact .detail-map-link {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .55rem; margin-top: 1rem; color: var(--ink);
}
.detail-contact .detail-map-link .material-symbols-outlined { color: var(--accent-dark); }
#contact .detail-map-link a { text-decoration: none; }
.detail-contact .rb-actions { justify-content: center; }

.build-estimator {
  width: min(95%, 95rem);
  margin: clamp(2rem, 5vw, 4rem) auto;
}
.build-estimator__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.6rem);
  padding: clamp(1.25rem, 3vw, 3.15rem);
  background: #f5f3ef;
  border: 1px solid #dfe3e8;
  border-radius: clamp(1rem, 2vw, 1.9rem);
  color: #152033;
}
.build-estimator__eyebrow,
.build-estimator__area-label label,
.build-estimator__options > div > label,
.build-estimator legend,
.build-estimator__results h3 {
  text-transform: uppercase;
  letter-spacing: .045em;
  font-size: .87rem;
  font-weight: 650;
}
.build-estimator__eyebrow { color: var(--accent-dark); margin: 0 0 .6rem; }
.build-estimator h2 {
  margin: 0 0 .6rem;
  font-size: clamp(1.65rem, 2.9vw, 2.45rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.build-estimator__intro { color: #425368; max-width: 42rem; }
.build-estimator__controls { margin-top: 1.7rem; color: #4b6178; }
.build-estimator__area-label,
.build-estimator__range-labels,
.build-estimator__results-top,
.build-estimator__results-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.build-estimator__area-label output {
  color: var(--accent-dark);
  font-size: clamp(1rem, 1.65vw, 1.45rem);
  font-weight: 750;
  white-space: nowrap;
}
.build-estimator input[type="range"] {
  width: 100%;
  min-height: 32px;
  margin: .45rem 0 0;
  accent-color: #cc7000;
  cursor: pointer;
}
.build-estimator__range-labels { font-size: .83rem; }
.build-estimator__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.55rem 0 1.35rem;
}
.build-estimator fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.build-estimator legend,
.build-estimator__options > div > label { display: block; margin-bottom: .5rem; }
.build-estimator__choices { display: flex; gap: .5rem; }
.build-estimator__choices label { flex: 1; position: relative; }
.build-estimator__choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}
.build-estimator__choices span,
.build-estimator select {
  min-height: 44px;
  border: 1px solid #d7e0eb;
  border-radius: .7rem;
  background: #fff;
  color: #152033;
}
.build-estimator__choices span {
  display: grid;
  place-items: center;
  padding: .5rem .25rem;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
}
.build-estimator__choices input:checked + span {
  background: #f8e8cd;
  border-color: #dc850e;
  color: #8d3f00;
}
.build-estimator select { width: 100%; padding: .5rem .75rem; }
.build-estimator :focus-visible,
.build-estimator__choices input:focus-visible + span {
  outline: 2px solid #a74d00;
  outline-offset: 3px;
}
.build-estimator__results {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.4vw, 2.25rem);
  border-radius: 1.25rem;
  background: #13171a;
  color: #f5f8fb;
}
.build-estimator__results-top { flex-wrap: wrap; color: #b6c9df; }
.build-estimator__results-top span {
  padding: .3rem .65rem;
  border-radius: .5rem;
  background: #44331a;
  color: #ffca69;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
}
main .build-estimator__price {
  margin: 1.25rem 0 .2rem;
  font-size: clamp(1.85rem, 3.1vw, 3.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.045em;
}
.build-estimator__rate,
.build-estimator__results-footer p { color: #b6c9df; font-size: .85rem; }
.build-estimator__breakdown {
  margin: 1.3rem 0 1.6rem;
  padding: .75rem 0 0;
  border-top: 1px solid #34393f;
  list-style: none;
}
main .build-estimator__breakdown li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem .75rem;
  font-size: .88rem;
  line-height: 1.4;
}
.build-estimator__breakdown li + li { margin-top: .75rem; }
.build-estimator__breakdown li::after {
  content: "";
  grid-column: 1 / -1;
  height: .4rem;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--bar-color) var(--share), #303438 var(--share));
}
.build-estimator__results-footer { margin-top: auto; }
.build-estimator__results-footer a {
  flex: none;
  padding: .65rem .9rem;
  background: var(--accent);
  border-radius: .85rem;
  color: #1c1409;
  font-size: .85rem;
  font-weight: 750;
  text-align: center;
}
.build-estimator__results-footer a:hover { background: #ffad35; }
.build-estimator__results-footer a:focus-visible { outline-color: #ffca69; }
@media (max-width: 960px) {
  .build-estimator__layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .build-estimator__options { grid-template-columns: 1fr; }
  .build-estimator__results-footer { align-items: flex-start; flex-direction: column; }
}
