/* =========================================
   GLS CONSTRUCTION - CORE DESIGN SYSTEM
   ========================================= */

/* --- CSS Variables (Color Palette & Fonts) --- */
:root {
  --primary-charcoal: #000;
  --secondary-concrete: #ebe8e0;
  --accent-brass: #cf8a11;
  --bg-warm-white: #f7f5ef;
  --text-muted: #6e6b63;
  --whatsapp-green: #25d366;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body:
    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Base Reset & Typography --- */
body {
  font-family: var(--font-body);
  background-color: var(--bg-warm-white);
  background-image:
    radial-gradient(
      circle at 85% 12%,
      rgba(180, 147, 90, 0.08) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(23, 24, 21, 0.04) 0%,
      transparent 50%
    ),
    linear-gradient(rgba(180, 147, 90, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 147, 90, 0.025) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    72px 72px,
    72px 72px;
  color: var(--primary-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px; /* Space for mobile bottom bar */
}

body.project-showcase-open {
  overflow: hidden;
}

html {
  scroll-behavior: auto;
}

section[id] {
  scroll-margin-top: 86px;
}

/* --- Scroll Reveal --- */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-reveal[data-reveal-delay="1"] {
  transition-delay: 60ms;
}

.scroll-reveal[data-reveal-delay="2"] {
  transition-delay: 110ms;
}

.scroll-reveal[data-reveal-delay="3"] {
  transition-delay: 160ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal,
  .trust-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-charcoal);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 500;
  line-height: 1.02;
}

h3 {
  font-size: 1.6rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

h5,
h6 {
  font-size: 1.2rem;
  line-height: 1.3;
}

body,
p,
span,
div,
li,
small {
  font-weight: 400;
}

label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-charcoal);
}

input,
select,
textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  background: var(--bg-warm-white);
}

.about-kicker,
.trust-kicker,
.material-showcase-kicker {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

/* --- Buttons --- */
.btn-primary-gls {
  background-color: var(--primary-charcoal);
  color: var(--bg-warm-white);
  border: 2px solid var(--primary-charcoal);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px; /* Slight rounding, architectural feel */
  transition: all 0.3s ease;
}

.btn-primary-gls:hover {
  background-color: var(--accent-brass);
  border-color: var(--accent-brass);
  color: var(--primary-charcoal);
}

.btn-outline-gls {
  background-color: transparent;
  color: var(--primary-charcoal);
  border: 2px solid var(--primary-charcoal);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}

.btn-outline-gls:hover {
  background-color: var(--primary-charcoal);
  color: var(--bg-warm-white);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
}

.btn-whatsapp:hover {
  background-color: #1da851;
  color: #fff;
}

/* --- Navbar --- */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-charcoal) !important;
}

.navbar-brand span {
  color: var(--accent-brass);
}

.navbar-brand .brand-mark,
.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-right: 8px;
  place-items: center;
  border: 3px solid var(--accent-brass);
  border-radius: 50%;
  background: var(--primary-charcoal);
  color: var(--bg-warm-white) !important;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: middle;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.footer .navbar-brand {
  display: inline-flex;
  align-items: center;
}

.footer .brand-mark {
  flex: 0 0 auto;
}

.admin-header .brand-mark,
.login-wrap .brand-mark {
  margin-right: 10px;
  vertical-align: -5px;
}

.admin-brand-name b {
  color: var(--accent-brass);
}

@media (max-width: 575px) {
  .navbar-brand .brand-mark,
  .brand-mark {
    width: 36px;
    height: 36px;
    margin-right: 6px;
    font-size: 0.62rem;
  }
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-charcoal) !important;
  margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-brass) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 1px;
  background: var(--accent-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* --- Mobile Bottom Contact Bar --- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  z-index: 1050;
}

.mobile-bottom-bar a {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  font-weight: 600;
  font-size: 0.9rem;
  border-right: 1px solid var(--secondary-concrete);
  color: var(--primary-charcoal);
}

.mobile-bottom-bar a:last-child {
  border-right: none;
}

.mobile-bottom-bar .bar-whatsapp {
  background-color: var(--whatsapp-green);
  color: #fff;
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none; /* Hide on desktop */
  }
  body {
    padding-bottom: 0; /* Remove padding on desktop */
  }
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-charcoal);
  color: var(--secondary-concrete);
  padding: 60px 0 30px;
}

@media (min-width: 992px) {
  .footer > .container > .row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 28px;
    margin-left: 0;
    margin-right: 0;
  }

  .footer > .container > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

.footer h5 {
  color: var(--bg-warm-white);
  margin-bottom: 20px;
}

.footer-service-area {
  color: var(--secondary-concrete);
  line-height: 1.7;
}

.office-map-preview {
  display: block;
  width: min(100%, 220px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--accent-brass);
  border-radius: 4px;
  background: var(--secondary-concrete);
}

.footer-contact-map {
  margin: 0;
}

.footer-contact-column {
  min-height: 150px;
}

.footer-location-column {
  min-height: 150px;
}

.footer-location-map {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
}

.footer .contact-location {
  color: var(--bg-warm-white) !important;
}

.office-map-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.office-map-preview:hover,
.office-map-preview:focus-visible {
  border-color: var(--bg-warm-white);
  outline: 3px solid var(--accent-brass);
  outline-offset: 3px;
}

.material-showcase {
  position: relative;
  width: 100%;
  margin: 48px 0 0;
  overflow: hidden;
  padding: 10px 0 8px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

.material-showcase-heading {
  margin: 58px auto 0;
  max-width: 680px;
  text-align: center;
}

.material-showcase-kicker {
  color: var(--accent-brass);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.material-showcase-heading h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin: 0;
}

.material-showcase-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: material-marquee 42s linear infinite;
}

.material-showcase:hover .material-showcase-track,
.material-showcase:focus-within .material-showcase-track {
  animation-play-state: paused;
}

.material-brand {
  box-sizing: border-box;
  display: flex;
  width: 190px;
  min-height: 178px;
  flex: 0 0 190px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  margin-right: 0;
  text-align: center;
}

.material-logo {
  box-sizing: border-box;
  display: grid;
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 4px solid var(--primary-charcoal);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 0 rgba(26, 26, 26, 0.12);
  color: var(--primary-charcoal);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
}

.material-logo img {
  display: block;
  width: 70%;
  height: 70%;
  object-fit: contain;
  border-radius: 12px;
}

.material-logo-teak {
  background: #fff;
}
.material-logo-kajaria {
  background: #fff;
  color: #175878;
}
.material-logo-asian {
  background: #fff;
  color: #b34e1d;
  font-size: 1.15rem;
}
.material-logo-kundan {
  background: #fff;
  color: #8a6500;
}
.material-logo-godrej {
  background: #fff;
  color: #1b5278;
}
.material-logo-cement {
  background: #fff;
  color: #4c5b5c;
  font-size: 1.1rem;
}
.material-logo-jsw {
  background: #fff;
  color: #8b3029;
  font-size: 1.15rem;
}
.material-logo-astral {
  background: #fff;
  color: #247044;
}

.material-brand strong {
  display: block;
  width: 100%;
  min-height: 24px;
  color: var(--primary-charcoal);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.25;
}

.material-brand small {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes material-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .material-showcase-track {
    animation: none;
  }
}

@media (max-width: 575px) {
  .material-brand {
    width: 150px;
    flex-basis: 150px;
  }

  .material-logo {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
    border-width: 3px;
    font-size: 1.35rem;
  }
}

.footer a {
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--accent-brass);
}

@media (max-width: 767px) {
  .footer-contact-column {
    min-height: 0;
  }

  .footer-location-column {
    min-height: 0;
  }

  .footer-location-map {
    margin-top: 14px;
    position: static;
    width: 180px;
  }
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   HOMEPAGE & COMPONENT STYLES
   ========================================= */

/* --- Image Placeholders --- */
.img-placeholder {
  background-color: #e5e7eb;
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: 4px;
  border: 1px dashed #9ca3af;
}

/* --- About Section --- */
.about-layout {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  padding: 42px 0;
}

.about-visual {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.12);
}

.about-visual img {
  display: block;
  height: auto;
  width: 100%;
}

.about-copy {
  max-width: 720px;
}

.about-kicker {
  color: var(--accent-brass);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.12;
  margin-bottom: 28px;
}

.about-copy p:not(.about-kicker) {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.about-cta {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .about-layout {
    gap: 30px;
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .about-copy h2 {
    font-size: 2rem;
  }
}

/* --- Project Portfolio Visuals --- */
.project-visual {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  isolation: isolate;
}

.project-visual-uploaded {
  background: #e9e7df;
}

.project-visual-uploaded img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.project-visual-villa {
  background: linear-gradient(135deg, #c6d2d2, #eef0e7);
}

.project-visual-villa::before {
  width: 72%;
  height: 58%;
  right: 12%;
  bottom: 0;
  background: #f8f6ef;
  border: 8px solid #263238;
  clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 100%, 0 100%);
}

.project-visual-villa::after {
  width: 13%;
  height: 20%;
  right: 42%;
  bottom: 17%;
  background: #c5d7da;
  border: 5px solid #263238;
  box-shadow:
    74px 0 #c5d7da,
    74px 0 0 5px #263238;
}

.project-visual-commercial {
  background: linear-gradient(135deg, #b6c1cb, #e6e0d2);
}

.project-visual-commercial::before {
  width: 62%;
  height: 78%;
  right: 18%;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    #47545c 0 14px,
    #d5d9d5 14px 31px
  );
  border: 8px solid #252b2e;
  transform: skewY(-4deg);
}

.project-visual-commercial::after {
  width: 80%;
  height: 8px;
  left: 10%;
  bottom: 18%;
  background: #d4af37;
  box-shadow: 0 18px #d4af37;
}

.project-visual-design {
  background: linear-gradient(135deg, #e9dfcf, #f7f2e8);
}

.project-visual-design::before {
  width: 70%;
  height: 64%;
  right: 15%;
  bottom: 0;
  border: 8px solid #2d3b3c;
  background:
    linear-gradient(
      135deg,
      transparent 0 47%,
      #d4af37 47% 51%,
      transparent 51%
    ),
    repeating-linear-gradient(90deg, #eff1eb 0 30px, #bfd0cb 30px 34px);
  clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 100%, 0 100%);
}

.project-visual-label {
  padding: 6px 10px;
  background: rgba(26, 26, 26, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Completed Projects Hero Slider --- */
.project-carousel {
  min-height: 400px;
  border-radius: 4px;
  overflow: hidden;
  background: #dfe3e5;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.14);
}

.project-carousel .carousel-inner,
.project-carousel .carousel-item,
.project-slide {
  min-height: 400px;
  height: 100%;
}

.project-slide {
  position: relative;
  overflow: hidden;
  background: #cbd4d2;
}

.project-slide-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
}

.carousel-item.active .project-slide-image {
  transform: scale(1.02);
}

.project-slide::before {
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(17, 18, 15, 0.04) 28%,
    rgba(17, 18, 15, 0.76) 100%
  );
}

.project-slide::after {
  display: none;
}

.project-slide::before,
.project-slide::after {
  content: "";
  position: absolute;
  z-index: 0;
}

.project-slide-villa {
  background: linear-gradient(145deg, #b8c9ca, #f1e8d6);
}

.project-slide-villa::before {
  width: 68%;
  height: 66%;
  right: 16%;
  bottom: 0;
  background: #f8f6ef;
  border: 9px solid #263238;
  clip-path: polygon(0 24%, 50% 0, 100% 24%, 100% 100%, 0 100%);
}

.project-slide-villa::after {
  width: 14%;
  height: 23%;
  right: 43%;
  bottom: 19%;
  background: #a8c9d0;
  border: 5px solid #263238;
  box-shadow:
    76px 0 #a8c9d0,
    76px 0 0 5px #263238;
}

.project-slide-modern {
  background: linear-gradient(145deg, #d6d8d0, #9fb3b9);
}

.project-slide-modern::before {
  width: 70%;
  height: 63%;
  right: 15%;
  bottom: 0;
  background: linear-gradient(
    90deg,
    #f7f3e8 0 32%,
    #36464b 32% 38%,
    #c8d6d2 38% 68%,
    #36464b 68% 74%,
    #f7f3e8 74%
  );
  border: 9px solid #263238;
  transform: skewY(-3deg);
}

.project-slide-modern::after {
  width: 82%;
  height: 9px;
  left: 9%;
  bottom: 17%;
  background: #d4af37;
  box-shadow: 0 18px #d4af37;
}

.project-slide-exterior {
  background: linear-gradient(145deg, #ead9c5, #b2c2c4);
}

.project-slide-exterior::before {
  width: 70%;
  height: 68%;
  right: 15%;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    #eef0eb 0 32px,
    #84999b 32px 39px
  );
  border: 9px solid #263238;
  clip-path: polygon(0 23%, 50% 0, 100% 23%, 100% 100%, 0 100%);
}

.project-slide-exterior::after {
  width: 18%;
  height: 25%;
  right: 41%;
  bottom: 17%;
  background: #263238;
  border: 5px solid #d4af37;
}

.project-slide-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: rgba(26, 26, 26, 0.86);
  color: #fff;
}

.project-slide-caption span {
  color: var(--accent-brass);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-slide-caption strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.project-slide-caption small {
  color: #d7d9d5;
}

.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next {
  width: 12%;
}

@media (max-width: 575px) {
  .project-carousel,
  .project-carousel .carousel-inner,
  .project-carousel .carousel-item,
  .project-slide {
    min-height: 340px;
  }

  .project-slide-caption {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }
}

/* --- Hero Section --- */
.hero-section {
  padding: 80px 0;
  background-color: var(--bg-warm-white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* --- Trust Section --- */
.trust-bar {
  background: #fff;
  color: var(--primary-charcoal);
  padding: 34px 0;
  border-top: 1px solid #ece8df;
  border-bottom: 1px solid #ece8df;
}

.trust-content {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  align-items: center;
  gap: 42px;
}

.trust-kicker {
  color: var(--accent-brass);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.trust-copy h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.trust-list {
  color: var(--text-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-list li {
  padding-left: 17px;
  position: relative;
}

.trust-list li + li {
  margin-top: 5px;
}

.trust-list li::before {
  color: var(--accent-brass);
  content: "*";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-metric {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 4px;
  min-height: 94px;
  padding: 0 28px;
  position: relative;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.trust-metric + .trust-metric {
  border-left: 1px solid #e7e2d8;
}

.trust-metric-icon {
  align-items: center;
  background: #fbf5e8;
  border-radius: 50%;
  color: var(--accent-brass);
  display: inline-flex;
  font-size: 1.3rem;
  grid-row: 1 / span 2;
  height: 60px;
  justify-content: center;
  margin-right: 13px;
  width: 60px;
}

.trust-number,
.trust-suffix {
  color: var(--accent-brass);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.trust-label {
  font-size: 0.84rem;
  font-weight: 700;
  grid-column: 2 / span 2;
  line-height: 1.25;
  margin-top: 5px;
}

.trust-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.trust-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-reveal:nth-child(2) {
  transition-delay: 70ms;
}

.trust-reveal:nth-child(3) {
  transition-delay: 140ms;
}

.trust-reveal:nth-child(4) {
  transition-delay: 210ms;
}

@media (max-width: 991px) {
  .trust-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trust-metrics {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }

  .trust-metric:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 575px) {
  .trust-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-metric {
    min-height: 70px;
    padding: 0;
  }

  .trust-metric + .trust-metric {
    border-left: 0;
  }
}

/* --- Cards (Services & Generic) --- */
.gls-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 30px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card {
  width: 100%;
  display: block;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-card:focus-visible {
  outline: 3px solid var(--accent-brass);
  outline-offset: 4px;
}

.project-showcase {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-showcase.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-showcase-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.78);
}

.project-showcase-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(920px, calc(100vh - 48px));
  overflow-y: auto;
  background: var(--bg-warm-white);
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}

.project-showcase.is-open .project-showcase-dialog {
  transform: translateY(0) scale(1);
}

.project-showcase-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.86);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.project-showcase-close:hover,
.project-showcase-close:focus-visible {
  background: var(--accent-brass);
  color: var(--primary-charcoal);
}

.project-showcase-visual {
  min-height: 330px;
  display: grid;
  place-items: center;
  position: relative;
  padding: 24px;
  color: var(--text-muted);
  background-color: var(--secondary-concrete);
  border-bottom: 1px solid #e5e7eb;
}

.project-showcase-visual::before,
.project-showcase-visual::after {
  display: none;
}

.project-showcase-visual > span {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.project-showcase-visual img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.project-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 20px 0;
}

.project-gallery img {
  width: 110px;
  height: 74px;
  flex: 0 0 auto;
  border: 1px solid #e5e7eb;
  object-fit: cover;
}

.project-showcase-content {
  padding: 34px;
}

.project-showcase-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.project-showcase-kicker {
  color: var(--accent-brass);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-showcase-heading h2 {
  margin: 5px 0 0;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.project-detail-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-detail-grid span {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-detail-grid strong {
  font-size: 0.95rem;
}

.project-showcase-description {
  margin: 22px 0 0;
  line-height: 1.7;
}

.project-showcase-section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e5e7eb;
}

.project-showcase-section h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.project-journey {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--primary-charcoal);
  font-weight: 600;
}

.project-journey b {
  color: var(--accent-brass);
}

.project-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-media-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px dashed #9ca3af;
  background: var(--secondary-concrete);
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
}

@media (max-width: 767px) {
  .project-showcase {
    padding: 10px;
  }

  .project-showcase-dialog {
    max-height: calc(100vh - 20px);
  }

  .project-showcase-content {
    padding: 26px 20px;
  }

  .project-showcase-heading,
  .project-detail-grid,
  .project-media-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase-heading {
    display: block;
    padding-right: 48px;
  }

  .project-showcase-heading .badge {
    display: inline-block;
    margin-top: 14px;
  }

  .project-showcase-visual {
    min-height: 250px;
  }

  .project-journey {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .project-journey b {
    margin-left: 8px;
    transform: rotate(90deg);
  }
}

.gls-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-brass);
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-concrete);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 20px;
  color: var(--primary-charcoal);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}

.service-list li {
  border-bottom: 1px solid var(--secondary-concrete);
  padding: 9px 0;
}

.service-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-list li::before {
  content: "✓";
  color: var(--accent-brass);
  font-weight: 700;
  margin-right: 10px;
}

.service-flow {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--accent-brass);
  border-radius: 4px;
  padding: 24px 30px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.service-flow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.service-flow-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-flow-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background-color: var(--secondary-concrete);
  color: var(--primary-charcoal);
  font-family: var(--font-heading);
  font-weight: 700;
}

.service-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: var(--primary-charcoal);
  font-weight: 600;
}

.service-flow-steps b {
  color: var(--accent-brass);
  font-size: 1.25rem;
}

@media (max-width: 767px) {
  .service-flow {
    padding: 22px;
  }

  .service-flow-steps {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-left: 58px;
  }

  .service-flow-steps b {
    line-height: 1;
    transform: rotate(90deg);
    transform-origin: left center;
    margin-left: 6px;
  }
}

/* --- Package Highlight --- */
.package-highlight {
  background-color: var(--secondary-concrete);
  border-left: 4px solid var(--accent-brass);
  padding: 40px;
}

.price-tag {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--primary-charcoal);
}

/* --- Calculator Section --- */
.calculator-box {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.calculator-flip-card {
  min-height: 510px;
  perspective: 1200px;
}

.calculator-flip-inner {
  min-height: inherit;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.calculator-flip-card.is-flipped .calculator-flip-inner {
  transform: rotateY(180deg);
}

.calculator-face {
  backface-visibility: hidden;
  min-height: 510px;
  width: 100%;
}

.calculator-front {
  position: relative;
}

.calculator-back {
  align-items: center;
  background: var(--primary-charcoal);
  border-radius: 4px;
  color: var(--bg-warm-white);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 44px;
  position: absolute;
  text-align: center;
  transform: rotateY(180deg);
}

.calculator-back .text-muted {
  color: #c8ccd2 !important;
}

.calculator-back h3 {
  color: var(--accent-brass);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 12px 0 24px;
}

.calculator-back h5 {
  color: var(--bg-warm-white);
  margin: 28px 0 14px;
}

.calculator-flip-close {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(250, 250, 250, 0.55);
  border-radius: 50%;
  color: var(--bg-warm-white);
  display: inline-flex;
  font-size: 1.5rem;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 36px;
}

.calculator-flip-close:hover,
.calculator-flip-close:focus-visible {
  background: var(--accent-brass);
  border-color: var(--accent-brass);
  color: var(--primary-charcoal);
}

.calculator-detail-button {
  background: transparent;
  border: 1px solid var(--primary-charcoal);
  border-radius: 4px;
  color: var(--primary-charcoal);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 10px auto 0;
  padding: 6px 16px;
}

.calculator-detail-button:hover,
.calculator-detail-button:focus-visible {
  background: var(--accent-brass);
  border-color: var(--accent-brass);
}

.package-panel-left,
.package-panel-right {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.package-panel-left {
  transform: translate3d(-54px, 0, 0);
}

.package-panel-right {
  transform: translate3d(54px, 0, 0);
}

.package-panel-left.is-visible,
.package-panel-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .package-panel-left,
  .package-panel-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .calculator-flip-inner {
    transition: none;
  }
}

@media (max-width: 575px) {
  .calculator-flip-card,
  .calculator-face {
    min-height: 540px;
  }

  .calculator-back {
    padding: 32px 24px;
  }
}

/* =========================================
   SECONDARY PAGES STYLES
   ========================================= */

/* --- Page Header --- */
.page-header {
  background-color: var(--primary-charcoal);
  color: var(--bg-warm-white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--accent-brass);
  margin-bottom: 10px;
}

/* --- Package Table --- */
.package-table {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  overflow: hidden;
}
.package-table th {
  background-color: var(--primary-charcoal);
  color: var(--bg-warm-white);
  font-weight: 600;
  padding: 15px;
}
.package-table td {
  padding: 15px;
  vertical-align: middle;
}

/* --- Process Timeline --- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 172px;
  padding: 48px 18px 18px;
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--accent-brass);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.06);
}

.timeline-item:nth-child(6) {
  grid-column: 5;
  grid-row: 2;
}
.timeline-item:nth-child(7) {
  grid-column: 4;
  grid-row: 2;
}
.timeline-item:nth-child(8) {
  grid-column: 3;
  grid-row: 2;
}
.timeline-item:nth-child(9) {
  grid-column: 2;
  grid-row: 2;
}
.timeline-item:nth-child(10) {
  grid-column: 1;
  grid-row: 2;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--accent-brass);
  transform: translateY(-50%);
}

.timeline-item:nth-child(-n + 4)::after {
  right: -20px;
}

.timeline-item:nth-child(n + 6):not(:nth-child(10))::after {
  left: -20px;
}

.timeline-item:nth-child(5)::after {
  top: calc(100% + 1px);
  right: 50%;
  width: 2px;
  height: 20px;
  transform: translateX(50%);
}

.timeline-item:nth-child(5)::before {
  content: "";
  position: absolute;
  right: calc(50% - 5px);
  bottom: -27px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-brass);
  border-bottom: 2px solid var(--accent-brass);
  transform: rotate(45deg);
}

.timeline-item:nth-child(6)::before {
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  top: -27px;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--accent-brass);
  border-top: 2px solid var(--accent-brass);
  transform: rotate(45deg);
}

.timeline-item:nth-child(10)::before,
.timeline-item:nth-child(10)::after {
  display: none;
  content: none;
}

.timeline-item h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Complete Construction process strip */
.service-flow {
  border: 0;
  border-left: 4px solid var(--accent-brass);
  border-radius: 0;
  background: var(--primary-charcoal);
  color: var(--bg-warm-white);
  padding: 54px 44px 46px;
  box-shadow: none;
}

.service-flow-heading {
  align-items: flex-start;
  gap: 20px;
}

.service-flow-number {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--accent-brass);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.service-flow h4 {
  margin: 0 0 8px;
  color: var(--bg-warm-white);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.05;
}

.service-flow-heading .text-muted {
  color: var(--bg-warm-white) !important;
  font-size: 1rem;
  line-height: 1.5;
}

.service-flow-steps {
  margin-top: 34px;
  color: var(--bg-warm-white);
  font-size: 1rem;
  font-weight: 600;
}

.service-flow-steps b {
  color: var(--accent-brass);
  font-size: 1.35rem;
  font-weight: 400;
}

/* Final styling for the trust content band. */
.trust-bar {
  background: var(--primary-charcoal);
  border: 0;
  color: var(--bg-warm-white);
  padding: 58px 0 60px;
}

.trust-content {
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 2.1fr);
  gap: 46px;
}

.trust-kicker {
  margin-bottom: 12px;
}

.trust-copy h2 {
  margin-bottom: 16px;
  color: var(--bg-warm-white);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.05;
}

.trust-list {
  color: rgba(247, 245, 239, 0.88);
}

.trust-list li {
  padding-left: 22px;
}

.trust-list li + li {
  margin-top: 8px;
}

.trust-list li::before {
  content: "◆";
  color: var(--accent-brass);
  font-size: 0.55rem;
  top: 0.45rem;
}

.trust-metric {
  min-height: 118px;
  padding: 0 30px;
}

.trust-metric-icon {
  width: 68px;
  height: 68px;
  margin-right: 16px;
  background: rgba(180, 147, 90, 0.16);
  color: var(--accent-brass);
  font-size: 1.35rem;
}

.trust-number,
.trust-suffix {
  color: var(--accent-brass);
  font-size: 2.35rem;
  font-weight: 600;
}

.trust-label {
  color: rgba(247, 245, 239, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

.trust-metric + .trust-metric {
  border-left-color: rgba(247, 245, 239, 0.16);
}

@media (max-width: 991px) {
  .trust-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .trust-metric {
    padding: 0 24px;
  }
}

@media (max-width: 575px) {
  .trust-bar {
    padding: 44px 0 48px;
  }

  .trust-metrics {
    gap: 0;
  }

  .trust-metric {
    min-height: 86px;
    padding: 14px 0;
  }

  .trust-metric-icon {
    width: 56px;
    height: 56px;
    margin-right: 12px;
  }
}

@media (max-width: 767px) {
  .service-flow {
    padding: 38px 24px 34px;
  }

  .service-flow-steps {
    align-items: flex-start;
    gap: 9px;
    margin-top: 28px;
    margin-left: 0;
  }
}

.timeline-number {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-charcoal);
  color: var(--accent-brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  z-index: 1;
}

@media (max-width: 768px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .timeline-item {
    min-height: 166px;
    padding: 48px 14px 16px;
  }

  .timeline-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .timeline-item::after,
  .timeline-item::before {
    display: none;
  }

  .timeline-number {
    left: 14px;
  }
}

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

  .timeline-item {
    min-height: 0;
  }
}

/* =========================================
   CALCULATOR & CONTACT PAGES
   ========================================= */

/* --- Dedicated Calculator Page --- */
.calculator-container {
  max-width: 600px;
  margin: 0 auto;
}

.calculator-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 58px;
  align-items: start;
}

.calculator-input-card,
.calculator-breakdown-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(26, 26, 26, 0.08);
  padding: 34px 48px;
}

.calculator-input-card {
  grid-row: span 2;
}

.calculator-card-title {
  align-items: center;
  display: flex;
  font-size: 1.7rem;
  gap: 10px;
  margin: 0 0 32px;
}

.calculator-title-icon {
  color: var(--accent-brass);
  font-size: 2rem;
  line-height: 1;
}

.calculator-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calculator-field,
.calculator-field-grid {
  margin-bottom: 20px;
}

.calculator-input-card .form-label {
  color: var(--primary-charcoal);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.calculator-input-card .form-control,
.calculator-input-card .form-select {
  border-color: #dfe3e8;
  border-radius: 9px;
  color: var(--primary-charcoal);
  min-height: 58px;
}

.calculator-input-card .form-control:focus,
.calculator-input-card .form-select:focus {
  border-color: var(--accent-brass);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.calculator-input-group {
  display: flex;
}

.calculator-input-group input {
  border: 1px solid #dfe3e8;
  border-radius: 9px 0 0 9px;
  color: var(--primary-charcoal);
  min-width: 0;
  padding: 12px 16px;
  width: 100%;
}

.calculator-input-group input:focus {
  border-color: var(--accent-brass);
  outline: 0;
}

.calculator-input-group span {
  align-items: center;
  border: 1px solid #dfe3e8;
  border-left: 0;
  border-radius: 0 9px 9px 0;
  display: flex;
  padding: 0 14px;
}

.calculator-print-button,
.calculator-book-button {
  align-items: center;
  background: var(--primary-charcoal);
  border: 0;
  border-radius: 9px;
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  min-height: 68px;
  padding: 15px 20px;
  text-align: center;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
  width: 100%;
}

.calculator-print-button:hover,
.calculator-book-button:hover {
  background: var(--accent-brass);
  color: var(--primary-charcoal);
  transform: translateY(-2px);
}

.calculator-results {
  display: grid;
  gap: 28px;
}

.calculator-total-card {
  background: var(--primary-charcoal);
  border-radius: 22px;
  color: #fff;
  min-height: 300px;
  padding: 46px 34px 34px;
  text-align: center;
}

.calculator-total-card p {
  color: var(--accent-brass);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.calculator-total-card > strong {
  color: #f0b323;
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 42px;
}

.calculator-total-meta {
  display: flex;
  justify-content: center;
  gap: 52px;
}

.calculator-total-meta span {
  display: grid;
  gap: 8px;
}

.calculator-total-meta small {
  color: #8d929d;
  font-size: 0.8rem;
}

.calculator-total-meta b {
  font-size: 1.2rem;
}

.calculator-breakdown-card {
  padding: 30px;
}

.calculator-breakdown-card .calculator-card-title {
  font-size: 1.45rem;
  margin-bottom: 25px;
}

.breakdown-row {
  margin-bottom: 22px;
}

.breakdown-row > div:first-child {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.breakdown-row strong,
.breakdown-row b {
  font-size: 0.9rem;
}

.breakdown-row strong {
  line-height: 1.35;
}

.breakdown-row b {
  flex: 0 0 auto;
}

.breakdown-track {
  background: #e1e6ed;
  border-radius: 99px;
  height: 13px;
  margin-top: 10px;
  overflow: hidden;
}

.breakdown-track span {
  background: var(--primary-charcoal);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.35s ease;
}

#breakdown-finishing-bar {
  background: var(--accent-brass);
}

#breakdown-labour-bar {
  background: #238b57;
}

.calculator-actions {
  align-items: center;
  display: flex;
  gap: 22px;
  margin-top: 28px;
}

.calculator-book-button {
  background: var(--accent-brass);
  color: var(--primary-charcoal);
  flex: 1;
  min-height: 58px;
}

.calculator-call-button {
  color: var(--primary-charcoal);
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 991px) {
  .calculator-workspace {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calculator-input-card {
    grid-row: auto;
  }
}

@media (max-width: 575px) {
  .calculator-input-card,
  .calculator-breakdown-card {
    border-radius: 14px;
    padding: 26px 20px;
  }

  .calculator-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .calculator-card-title {
    font-size: 1.35rem;
  }

  .calculator-total-card {
    min-height: 260px;
    padding: 34px 18px 25px;
  }

  .calculator-total-meta {
    gap: 20px;
  }

  .breakdown-row > div:first-child {
    display: block;
  }

  .breakdown-row b {
    display: block;
    margin-top: 5px;
  }
}

@media print {
  .navbar,
  .page-header,
  .footer,
  .mobile-bottom-bar,
  .calculator-print-button,
  .calculator-book-button,
  .calculator-call-button {
    display: none !important;
  }

  body {
    padding: 0;
  }

  .calculator-workspace {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-input-card,
  .calculator-total-card,
  .calculator-breakdown-card {
    box-shadow: none;
  }
}

/* --- Contact Info Cards --- */
.contact-card {
  background-color: var(--secondary-concrete);
  padding: 18px 20px;
  border-radius: 8px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}
.contact-card:hover {
  background-color: var(--primary-charcoal);
  color: var(--bg-warm-white);
}
.contact-card-neutral {
  color: #000;
}
.contact-card-neutral h4,
.contact-card-neutral .text-muted {
  color: #000 !important;
}
.contact-card-neutral:hover {
  background-color: var(--primary-charcoal);
  color: #fff;
}
.contact-card-neutral:hover h4 {
  color: #fff !important;
}
.contact-card:hover .text-muted {
  color: #9ca3af !important;
}
.contact-card-neutral:hover .text-muted {
  color: #fff !important;
}
.contact-card h4 {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.contact-card h1 {
  font-size: 2rem;
  line-height: 1;
  margin: 0;
}

/* --- Form Styling --- */
.gls-form .form-control,
.gls-form .form-select {
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: var(--bg-warm-white);
}
.gls-form .form-control:focus,
.gls-form .form-select:focus {
  border-color: var(--accent-brass);
  box-shadow: none;
}
.gls-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-charcoal);
  margin-bottom: 5px;
}

/* --- Responsive Customer Experience --- */
@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--secondary-concrete);
    margin-top: 10px;
    padding: 10px 0 4px;
  }

  .navbar-nav .nav-link {
    margin: 0;
    padding: 11px 8px;
  }

  .navbar .btn,
  .navbar .d-flex {
    width: 100%;
  }

  .hero-section {
    padding: 52px 0 42px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 5vw, 3rem);
  }

  .project-carousel,
  .project-carousel .carousel-inner,
  .project-carousel .carousel-item,
  .project-slide {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mobile-bottom-bar {
    min-height: 62px;
  }

  .mobile-bottom-bar a {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 62px;
    padding: 10px 4px;
    font-size: 0.78rem;
  }

  .btn,
  button,
  .calculator-flip-close {
    min-height: 44px;
  }

  .hero-section {
    padding: 34px 0 28px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.14;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .hero-section .d-flex {
    align-items: stretch !important;
    flex-direction: column;
  }

  .hero-section .d-flex .btn {
    width: 100%;
  }

  .project-carousel,
  .project-carousel .carousel-inner,
  .project-carousel .carousel-item,
  .project-slide {
    min-height: 270px;
  }

  .trust-bar {
    padding: 26px 0;
  }

  .about-layout {
    padding: 12px 0;
  }

  .about-copy p:not(.about-kicker) {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  #package {
    padding-bottom: 28px !important;
    padding-top: 28px !important;
  }

  .package-highlight,
  .calculator-box {
    padding: 26px 20px;
  }

  .calculator-flip-card,
  .calculator-face {
    min-height: 540px;
  }

  .calculator-front .form-control,
  .calculator-front .form-select {
    font-size: 1rem;
    min-height: 48px;
  }

  .contact-card {
    padding: 22px 16px;
  }

  .gls-form {
    padding: 22px 18px !important;
  }

  .gls-form .form-control,
  .gls-form .form-select {
    min-height: 46px;
  }

  .gls-form textarea.form-control {
    min-height: 110px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  /* =========================================
   SIGNATURE EDITION VISUAL OVERRIDES
   ========================================= */
  :root {
    --primary-charcoal: #000;
    --secondary-concrete: #ebe8e0;
    --accent-brass: #cf8a11;
    --bg-warm-white: #f7f5ef;
    --text-muted: #6e6b63;
    --ink-soft: #292a25;
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-body: "DM Sans", sans-serif;
  }

  body {
    background: var(--bg-warm-white);
    color: var(--primary-charcoal);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    letter-spacing: 0;
  }

  .navbar {
    background: rgba(247, 245, 239, 0.94);
    border-bottom: 1px solid rgba(180, 147, 90, 0.28);
    box-shadow: 0 10px 28px rgba(23, 24, 21, 0.06);
    padding: 18px 0;
    backdrop-filter: blur(14px);
  }

  .navbar-brand {
    font-size: 1.42rem;
    letter-spacing: 0.02em;
  }

  .navbar-brand > span:last-child {
    color: var(--primary-charcoal);
  }

  .navbar-brand > span:last-child::first-letter {
    color: var(--accent-brass);
  }

  .brand-mark {
    border-color: var(--accent-brass);
    box-shadow: 0 0 0 4px rgba(180, 147, 90, 0.11);
  }

  .nav-link {
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .btn-primary-gls,
  .btn-outline-gls,
  .btn-whatsapp {
    border-radius: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.74rem;
    padding: 13px 24px;
  }

  .btn-primary-gls {
    background: var(--primary-charcoal);
    border-color: var(--primary-charcoal);
  }

  .btn-primary-gls:hover {
    background: var(--accent-brass);
    border-color: var(--accent-brass);
    color: #fff;
  }

  .hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(82px, 10vw, 142px) 0 clamp(74px, 9vw, 120px);
    background:
      linear-gradient(
        90deg,
        rgba(247, 245, 239, 0.98) 0%,
        rgba(247, 245, 239, 0.86) 45%,
        rgba(247, 245, 239, 0.24) 100%
      ),
      radial-gradient(
        circle at 82% 18%,
        rgba(180, 147, 90, 0.17),
        transparent 28%
      ),
      var(--bg-warm-white);
  }

  .hero-section::before {
    content: "GLS / 01";
    position: absolute;
    top: 44px;
    right: 5vw;
    color: rgba(23, 24, 21, 0.32);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
  }

  .hero-section .row {
    position: relative;
    z-index: 1;
  }

  .hero-title {
    max-width: 600px;
    font-size: clamp(3.65rem, 6vw, 6.7rem);
    font-weight: 500;
    line-height: 0.88;
    margin-bottom: 28px;
  }

  .hero-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 30px;
    background: var(--accent-brass);
  }

  .hero-subtitle {
    max-width: 480px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
  }

  .project-carousel {
    border: 1px solid rgba(180, 147, 90, 0.48);
    border-radius: 0;
    box-shadow:
      16px 16px 0 rgba(180, 147, 90, 0.16),
      0 24px 56px rgba(23, 24, 21, 0.18);
    transform: translateY(4px);
  }

  .project-slide-caption {
    border-left: 2px solid var(--accent-brass);
    border-radius: 0;
    background: rgba(23, 24, 21, 0.88);
    padding: 17px 20px;
  }

  .project-slide-caption strong {
    font-size: 1.45rem;
    font-weight: 500;
  }

  .trust-bar {
    background: var(--primary-charcoal);
    border: 0;
    color: var(--bg-warm-white);
    padding: 46px 0;
  }

  .trust-copy h2,
  .trust-list,
  .trust-label {
    color: var(--bg-warm-white);
  }

  .trust-metric + .trust-metric {
    border-color: rgba(247, 245, 239, 0.16);
  }

  .trust-metric-icon {
    background: rgba(180, 147, 90, 0.14);
  }

  .trust-number,
  .trust-suffix {
    color: var(--accent-brass);
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 600;
  }

  .about-layout {
    padding: 90px 0 112px;
  }

  .about-visual {
    border-radius: 0;
    box-shadow: 18px 18px 0 rgba(180, 147, 90, 0.18);
  }

  .about-copy h2 {
    font-size: clamp(2.8rem, 4.2vw, 4.6rem);
    font-weight: 500;
    line-height: 0.96;
  }

  .about-copy p:not(.about-kicker) {
    font-size: 1rem;
  }

  .about-cta {
    margin-top: 14px;
  }

  #services,
  #projects,
  #process {
    background: #ebe8e0 !important;
  }

  #services .text-center h2,
  #projects .text-center h2,
  #process .text-center h2 {
    font-size: clamp(2.8rem, 4.5vw, 4.4rem);
    font-weight: 500;
  }

  #services .text-center p,
  #projects .text-center p,
  #process .text-center p {
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
  }

  .gls-card {
    border: 1px solid rgba(23, 24, 21, 0.13);
    border-radius: 0;
    background: var(--bg-warm-white);
    padding: 34px;
    box-shadow: 0 14px 26px rgba(23, 24, 21, 0.05);
  }

  .gls-card:hover {
    border-color: var(--accent-brass);
    box-shadow: 10px 10px 0 rgba(180, 147, 90, 0.2);
    transform: translateY(-7px);
  }

  .card-icon {
    background: transparent;
    border-bottom: 1px solid var(--accent-brass);
    border-radius: 0;
    color: var(--accent-brass);
    display: inline-block;
    margin-bottom: 25px;
    padding-bottom: 9px;
  }

  .gls-card h4,
  .service-flow h4 {
    font-size: 1.8rem;
    font-weight: 500;
  }

  .service-flow {
    border: 1px solid rgba(23, 24, 21, 0.16);
    border-radius: 0;
    background: var(--primary-charcoal);
    color: var(--bg-warm-white);
    padding: 30px 34px;
  }

  .service-flow h4,
  .service-flow .text-muted,
  .service-flow-steps {
    color: var(--bg-warm-white) !important;
  }

  .service-flow-number {
    color: var(--accent-brass);
  }

  .timeline-item {
    border: 1px solid rgba(23, 24, 21, 0.13);
    border-top: 2px solid var(--accent-brass);
    border-radius: 0;
    background: var(--bg-warm-white);
    box-shadow: none;
  }

  .timeline-number {
    color: var(--accent-brass);
    font-family: var(--font-heading);
    font-size: 2rem;
  }

  #package {
    background: var(--bg-warm-white);
  }

  .package-highlight {
    border-left: 2px solid var(--accent-brass);
    background: #ebe8e0;
    padding: 42px;
  }

  .price-tag {
    font-size: 3.4rem;
    font-weight: 500;
  }

  .calculator-box {
    border: 1px solid rgba(180, 147, 90, 0.45);
    border-radius: 0;
    box-shadow: 14px 14px 0 rgba(180, 147, 90, 0.14);
  }

  .footer {
    background: #11120f;
    border-top: 2px solid var(--accent-brass);
  }

  @media (max-width: 767px) {
    .navbar {
      padding: 12px 0;
    }

    .hero-section {
      padding: 72px 0 64px;
    }

    .hero-section::before {
      top: 25px;
    }

    .hero-title {
      font-size: clamp(3.25rem, 16vw, 5rem);
    }

    .project-carousel {
      box-shadow:
        8px 8px 0 rgba(180, 147, 90, 0.16),
        0 18px 36px rgba(23, 24, 21, 0.15);
    }

    .about-layout {
      padding: 62px 0 76px;
    }

    .about-copy h2,
    #services .text-center h2,
    #projects .text-center h2,
    #process .text-center h2 {
      font-size: 3rem;
    }

    .trust-bar {
      padding: 36px 0;
    }
  }
  .footer-bottom {
    margin-top: 24px;
  }
}

@media (max-width: 380px) {
  .navbar-brand {
    font-size: 1.15rem;
  }

  .navbar-brand .brand-mark,
  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .mobile-bottom-bar a {
    font-size: 0.7rem;
  }
}

/* --- Simple Process Timeline Finish --- */
.timeline-item {
  min-height: 172px;
  padding: 28px 22px 22px;
  border-top-width: 2px;
  box-shadow: 0 10px 24px rgba(23, 24, 21, 0.04);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.timeline-item.scroll-reveal {
  transform: translate3d(0, 18px, 0);
}

.timeline-item.scroll-reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.timeline-item:hover {
  border-color: var(--accent-brass);
  box-shadow:
    0 0 0 1px rgba(180, 147, 90, 0.18),
    0 12px 30px rgba(180, 147, 90, 0.2);
}

.timeline-number {
  display: none;
}

.timeline-item h4 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 600;
}

.timeline-item p {
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item.scroll-reveal,
  .timeline-item.scroll-reveal.is-visible {
    transform: none;
  }
}

@media (max-width: 768px) {
  .timeline-item {
    min-height: 150px;
    padding: 24px 18px 20px;
  }
}

/* --- Repeating Premium Scroll Reveals --- */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Final styling for the Complete Construction process strip. */
.service-flow {
  border: 0;
  border-left: 4px solid var(--accent-brass);
  border-radius: 0;
  background: var(--primary-charcoal);
  color: var(--bg-warm-white);
  padding: 54px 44px 46px;
  box-shadow: none;
}

.service-flow-heading {
  align-items: flex-start;
  gap: 20px;
}

.service-flow-number {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--accent-brass);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.service-flow h4 {
  margin: 0 0 8px;
  color: var(--bg-warm-white);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.05;
}

.service-flow-heading .text-muted {
  color: var(--bg-warm-white) !important;
  font-size: 1rem;
  line-height: 1.5;
}

.service-flow-steps {
  margin-top: 34px;
  color: var(--bg-warm-white) !important;
  font-size: 1rem;
  font-weight: 600;
}

.service-flow-steps b {
  color: var(--accent-brass);
  font-size: 1.35rem;
  font-weight: 400;
}

@media (max-width: 767px) {
  .service-flow {
    padding: 38px 24px 34px;
  }

  .service-flow-steps {
    align-items: flex-start;
    gap: 9px;
    margin-top: 28px;
    margin-left: 0;
  }
}

.scroll-reveal.scroll-reveal--left {
  transform: translate3d(-54px, 0, 0);
}

.scroll-reveal.scroll-reveal--right {
  transform: translate3d(54px, 0, 0);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-reveal[data-reveal-delay="1"] {
  transition-delay: 70ms;
}

.scroll-reveal[data-reveal-delay="2"] {
  transition-delay: 140ms;
}

.scroll-reveal[data-reveal-delay="3"] {
  transition-delay: 210ms;
}

@media (max-width: 767px) {
  .scroll-reveal.scroll-reveal--left,
  .scroll-reveal.scroll-reveal--right {
    transform: translate3d(0, 24px, 0);
  }

  .scroll-reveal {
    transition-duration: 0.72s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal--left,
  .scroll-reveal--right,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Photographic Hero Slide Cleanup --- */
.project-slide-villa::before,
.project-slide-modern::before,
.project-slide-exterior::before {
  inset: 0;
  width: auto;
  height: auto;
  right: auto;
  bottom: auto;
  border: 0;
  clip-path: none;
  transform: none;
  background: linear-gradient(
    180deg,
    rgba(17, 18, 15, 0.04) 28%,
    rgba(17, 18, 15, 0.76) 100%
  );
}

.project-slide-villa::after,
.project-slide-modern::after,
.project-slide-exterior::after {
  display: none;
  content: none;
}
