/*
  SK Builders Madurai - Main Stylesheet
  Cleaned, de-duplicated and section-labelled.
  Replace the old style.css/styles.css with this file.
*/

/* ================================
   01. Settings / Variables
================================ */

:root {
  --dark: #181818;
  --light: #f7f3ea;
  --bg: #f7f3ea;
  --paper: #fffaf0;
  --ink: #111111;
  --charcoal: var(--dark);
  --gold: #d9a441;
  --gold-strong: #e5b23a;
  --muted: #6f6a61;
  --line: rgba(17, 17, 17, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --sage: #68705f;
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --container: calc(100% - 40px);
  --container-max: 1240px;
  --section-space: 120px;
  --header-height: 94px;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 80px rgba(24, 24, 24, 0.12);
}

@media (max-width: 1200px) {

  :root {
    --section-space: 100px;
  }
}

@media (max-width: 992px) {

  :root {
    --container: calc(100% - 32px);
    --container-max: 820px;
    --section-space: 86px;
    --header-height: 84px;
  }
}

@media (max-width: 768px) {

  :root {
    --container: calc(100% - 28px);
    --container-max: 620px;
    --section-space: 74px;
  }
}

@media (max-width: 480px) {

  :root {
    --container: calc(100% - 22px);
    --container-max: 440px;
    --section-space: 66px;
    --header-height: 74px;
  }
}

/* ================================
   02. Base Reset / Typography
================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

body.loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: var(--container);
  max-width: var(--container-max);
  margin-inline: auto;
}

.section-label,
.eyebrow,
.package-kicker,
.package-badge {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.section-intro,
.hero-text,
.body-copy,
.package-card p,
.service-card p,
.process-step p,
.footer-brand p,
.map-wrapper p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 52px;
}

.section-heading.narrow {
  max-width: 820px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 0.28s var(--ease);
}

.btn:hover svg,
.btn:focus-visible svg {
  transform: translateX(3px);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--ink);
  border-color: var(--gold);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--gold);
}

.btn-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.78rem;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  background: var(--charcoal);
  color: var(--gold);
  transition: opacity 0.5s var(--ease),
    visibility 0.5s var(--ease);
  animation: loader-auto-hide 0.4s ease 1.35s forwards;
}

.page-loader span {
  font-family: var(--font-display);
  font-size: 2rem;
}

.cursor-dot.is-active {
  width: 38px;
  height: 38px;
  background: rgba(217, 164, 65, 0.18);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(24, 24, 24, 0.14);
  background: var(--gold);
  color: var(--dark);
  transition: border-color 0.3s var(--ease),
    transform 0.42s var(--ease),
    opacity 0.32s var(--ease);
}

.site-header.is-scrolled {
  background: var(--gold);
  border-color: rgba(24, 24, 24, 0.22);
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%);
}

.header-inner {
  width: var(--container);
  max-width: var(--container-max);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  min-width: 132px;
}

.brand img {
  height: 70px;
  width: auto;
  transform-origin: left center;
  border-radius: 6px;
  transition: transform 0.28s var(--ease);
}

.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-1px) scale(1.05);
}

.footer-brand img {
  height: 126px;
  width: auto;
  border-radius: 6px;
  transition: transform 0.28s var(--ease);
}

.footer-brand > a:hover img,
.footer-brand > a:focus-visible img {
  transform: translateY(-1px) scale(1.03);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}

.site-header .desktop-cta {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.site-header .desktop-cta::before {
  background: var(--white);
}

.site-header .desktop-cta:hover,
.site-header .desktop-cta:focus-visible {
  color: var(--dark);
  border-color: var(--white);
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ink);
  transition: transform 0.28s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease),
    top 0.25s var(--ease);
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-menu nav {
  display: grid;
  gap: 18px;
}

.mobile-menu a:not(.btn) {
  font-family: var(--font-display);
  font-size: 2.45rem;
  line-height: 1;
  color: var(--dark);
}

.hero-grid > *,
.split-layout > *,
.contact-grid > * {
  min-width: 0;
}

.page-hero {
  min-height: 72svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 86px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: end;
}

.page-hero .body-copy {
  align-self: end;
}

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

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ddd3c2, #f9f1df);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  min-height: 640px;
  aspect-ratio: 4 / 5;
  align-self: start;
  margin-top: 18px;
}

.hero-media::after,
.gallery-card .image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0) 35%,
    rgba(17, 17, 17, 0.24)
  );
}

.hero-media img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  position: absolute;
  inset: 0;
  object-position: center 66%;
  transform: scale(1.16);
  z-index: 0;
}

.hero-badges {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  z-index: 3;
}

.hero-media::after {
  z-index: 1;
}

.metal-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  overflow: hidden;
  color: #d8d8d8;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid rgba(190, 190, 190, 0.42);
  background: linear-gradient(
    180deg,
    #3a3a3a 0%,
    #1f1f1f 18%,
    #0f0f0f 52%,
    #1b1b1b 78%,
    #2b2b2b 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.65),
    0 10px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  );
}

.metal-badge::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 5px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.metal-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 22%;
  height: 100%;
  transform: skewX(-20deg);
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transition: left 0.55s var(--ease);
}

.metal-badge:hover {
  transform: translateY(-2px);
  color: #f2f2f2;
  border-color: rgba(220, 220, 220, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72),
    0 14px 28px rgba(0, 0, 0, 0.34);
}

.metal-badge:hover::after {
  left: 120%;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.88), rgba(24, 24, 24, 0.42)),
    linear-gradient(
      45deg,
      rgba(217, 164, 65, 0.26) 0 25%,
      transparent 25% 50%,
      rgba(247, 243, 234, 0.18) 50% 75%,
      transparent 75%
    );
  background-size: auto,
    34px 34px;
  color: var(--white);
  text-align: center;
}

.image-fallback span {
  max-width: 300px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 64px;
  align-items: start;
}

.body-copy p {
  margin: 0;
}

.body-copy p + p {
  margin-top: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(56px, 7vw, 86px);
}

.stat-card,
.package-card,
.service-card,
.quick-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
}

.gem-title .gem-diamond {
  font-size: 0.48em;
  line-height: 1;
  margin: 8px 0 4px;
}

.gem-project-section .section-label {
  margin-bottom: 18px;
}

.gem-project-section .section-title span {
  display: block;
  color: var(--gold);
}

.gem-project-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(760px, 1.35fr);
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
}

.gem-video-card {
  max-width: 980px;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 10px;
  background: #101010;
  box-shadow: none;
}

.gem-video-card::before {
  display: none;
}

.gem-video-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.65), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.gem-video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 65, 0.62);
  background: #141414;
}

.gem-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
}

.gem-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.stat-card {
  min-height: 0;
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(24, 24, 24, 0.10);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,250,240,0.44));
  transition: transform 0.36s var(--ease), border-color 0.36s var(--ease), box-shadow 0.36s var(--ease);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(145deg, #242424 0%, #111111 62%, #050505 100%);
  opacity: 0;
  transition: opacity 0.36s var(--ease);
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: calc(var(--radius) - 2px);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
}

.stat-card strong {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 3.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1;
  transition: color 0.36s var(--ease), transform 0.36s var(--ease);
}

.stat-card span {
  max-width: 130px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.36s var(--ease), transform 0.36s var(--ease);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 164, 65, 0.48);
  box-shadow: 0 24px 54px rgba(24, 24, 24, 0.18);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.stat-card:hover strong {
  color: var(--gold);
  transform: translateY(-4px);
}

.stat-card:hover span {
  color: rgba(255, 255, 255, 0.76);
  transform: translateY(3px);
}

.about-points {
  margin-top: 0;
}

.packages-section,
.process-section {
  background: var(--charcoal);
  color: var(--white);
}

.packages-section .section-title,
.process-section .section-title {
  color: var(--white);
}

.packages-section .section-intro,
.process-section .section-intro {
  color: rgba(255, 255, 255, 0.68);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.package-card {
  position: relative;
  display: flex;
  min-height: 630px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-dark);
  color: var(--white);
  transition: transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 164, 65, 0.55);
  background: rgba(255, 255, 255, 0.085);
}

.package-featured {
  border-color: rgba(217, 164, 65, 0.56);
  background: linear-gradient(
    180deg,
    rgba(217, 164, 65, 0.16),
    rgba(255, 255, 255, 0.06)
  );
}

.package-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(217, 164, 65, 0.44);
  border-radius: 4px;
  background: rgba(217, 164, 65, 0.12);
  color: var(--gold-strong);
}

.package-top {
  display: grid;
  gap: 14px;
}

.package-card h3 {
  margin: 0;
  max-width: 260px;
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1.08;
}

.package-price {
  margin: 0;
  color: var(--gold-strong);
  font-size: 1.05rem;
  font-weight: 800;
}

.package-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.package-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding-inline: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.package-link:hover,
.package-link:focus-visible {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.packages-dark {
  background: #181818;
  color: var(--white);
}

.package-overview {
  padding-bottom: 72px;
  background: linear-gradient(180deg, #181818 0%, #151515 100%);
  color: var(--white);
}

.packages-dark .section-title {
  color: var(--white);
}

.packages-dark .section-intro {
  color: rgba(255, 255, 255, 0.66);
}

.package-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.package-summary-card {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #202020;
  transition: transform 0.32s var(--ease),
    border-color 0.32s var(--ease),
    background 0.32s var(--ease);
}

.package-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
  opacity: 0.75;
}

.package-summary-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 164, 65, 0.55);
  background: #232323;
}

.package-summary-card.is-preferred {
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.12), #202020 42%);
  border-color: rgba(217, 164, 65, 0.58);
}

.package-summary-card h3 {
  margin: 0;
  max-width: 250px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.04;
}

.package-summary-card .package-price {
  color: var(--gold);
  font-size: 1.08rem;
}

.package-summary-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.package-highlight-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.package-highlight-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.48;
}

.package-highlight-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.package-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: auto;
  padding-inline: 18px;
  border: 1px solid rgba(217, 164, 65, 0.46);
  border-radius: 4px;
  background: #111111;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.package-card-cta:hover,
.package-card-cta:focus-visible {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.package-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(14px);
}

.package-nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: thin;
}

.package-nav-scroll a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.24s var(--ease),
    color 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.package-nav-scroll a:hover,
.package-nav-scroll a:focus-visible {
  background: rgba(217, 164, 65, 0.12);
  color: var(--gold);
  border-color: rgba(217, 164, 65, 0.36);
}

.package-quick-summary {
  padding-top: 74px;
  background: #181818;
}

.comparison-section {
  padding-block: 74px;
  scroll-margin-top: 84px;
  background: #181818;
}

.comparison-section:nth-of-type(even) {
  background: #181818;
}

.comparison-heading {
  display: block;
  margin-bottom: 34px;
}

.comparison-heading .section-title {
  max-width: 820px;
  font-size: clamp(2.05rem, 3.2vw, 3.1rem);
}

.comparison-intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.paint-section {
  background: #181818;
}

.paint-panel {
  display: grid;
  gap: 24px;
}

.paint-brand-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.08), transparent 42%),
    #202020;
}

.paint-logo-wrap {
  width: 160px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 160px;
}

.paint-logo-wrap img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.paint-brand-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paint-brand-card h3 {
  margin: 6px 0 6px;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.paint-brand-card p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
}

.paint-brand-card > div:last-child {
  display: grid;
  align-content: center;
}

.paint-spec-grid {
  display: grid;
  gap: 18px;
}

.paint-spec-block {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #111111;
}

.paint-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.paint-spec-head span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.paint-spec-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.paint-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.paint-package-card {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: #202020;
  transition: transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}

.paint-package-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paint-package-card strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.35;
}

.paint-package-card.is-highlighted {
  border-color: rgba(217, 164, 65, 0.38);
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.09), rgba(255, 255, 255, 0.03));
}

.paint-package-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 164, 65, 0.48);
  background: #252525;
}

.comparison-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #202020;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.48;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #111111;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.comparison-table thead th:not(:first-child) {
  color: var(--gold);
}

.comparison-table tbody th {
  width: 26%;
  color: var(--white);
  font-weight: 850;
  background: rgba(17, 17, 17, 0.32);
}

.comparison-table tbody tr:nth-child(even):not(.row-group) {
  background: rgba(255, 255, 255, 0.026);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:nth-child(3) {
  background: rgba(217, 164, 65, 0.042);
}

.summary-table tbody th {
  width: 22%;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 26px;
  padding-inline: 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mark.yes {
  background: rgba(217, 164, 65, 0.18);
  color: var(--gold);
}

.mark.no {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
}

.spec-value,
.brand-spec {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.brand-spec {
  margin: 4px 8px 4px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.brand-spec.has-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px 10px 4px 0;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
}

.brand-spec.brand-only.has-logo {
  width: 100%;
  margin: 0;
}

.brand-logo-chip {
  width: 130px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.brand-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
  transform: scale(1.08);
  transform-origin: center;
}

.brand-spec[data-brand="dalmia"] .brand-logo-chip img,
.brand-spec[data-brand="ultratech"] .brand-logo-chip img {
  transform: scale(1.42);
}

.brand-spec[data-brand="maha"] .brand-logo-chip img {
  transform: scale(1.72);
}

.brand-spec[data-brand="jsw"] .brand-logo-chip img,
.brand-spec[data-brand="dsrm"] .brand-logo-chip img,
.brand-spec[data-brand="aishwaryam"] .brand-logo-chip img,
.brand-spec[data-brand="hifi"] .brand-logo-chip img {
  filter: brightness(1.08) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.32));
}

.package-cta {
  padding-top: 70px;
  background: #181818;
}

.package-cta-inner {
  max-width: var(--container-max);
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 42%),
    linear-gradient(180deg, #202020, #111111);
  color: var(--white);
}

.package-cta-inner .section-title {
  color: var(--white);
  max-width: 760px;
}

.package-cta-inner p:not(.section-label) {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.package-cta-inner .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.package-cta-inner .btn-primary {
  background: #1f8f53;
  color: #ffffff;
  border-color: #1f8f53;
}

.package-cta-inner .btn-primary::before {
  background: #26a862;
}

.package-cta-inner .btn-primary:hover,
.package-cta-inner .btn-primary:focus-visible {
  color: #ffffff;
  border-color: #26a862;
}

.package-cta-inner .btn-primary svg {
  color: currentColor;
}

.project-preview-section,
.gallery-section {
  overflow: hidden;
}

.project-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.project-preview-head .btn {
  justify-self: end;
  margin-bottom: 8px;
}

.project-preview-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: #d9d1c1;
  isolation: isolate;
}

.project-preview-feature {
  grid-column: span 4;
  grid-row: span 2;
}

.project-preview-grid .project-preview-card:nth-child(3),
.project-preview-grid .project-preview-card:nth-child(4) {
  grid-column: span 2;
}

.project-preview-grid .project-preview-card:nth-child(5) {
  grid-column: span 8;
}

.project-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(24, 24, 24, 0.02) 35%,
    rgba(24, 24, 24, 0.68)
  );
  pointer-events: none;
}

.project-preview-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.75s var(--ease),
    filter 0.75s var(--ease);
}

.project-preview-card:hover img,
.project-preview-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.04);
}

.project-preview-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  gap: 5px;
}

.project-preview-caption strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.65rem);
  line-height: 1.05;
}

.project-preview-caption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.is-active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 18px;
}

.gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  break-inside: avoid;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card .image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  background: #d9d1c1;
}

.gallery-card.is-tall .image-wrap {
  min-height: 460px;
}

.gallery-card img {
  min-height: inherit;
  transition: transform 0.7s var(--ease),
    filter 0.7s var(--ease);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.04);
}

.gallery-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: var(--white);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.gallery-card:hover .gallery-overlay,
.gallery-card:focus-visible .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.08;
}

.gallery-overlay span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
  transition: background 0.25s var(--ease),
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: rgba(217, 164, 65, 0.48);
}

.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.service-card h3 {
  margin: auto 0 0;
  font-size: 1rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
}

.why-list span {
  counter-increment: about-point;
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  isolation: isolate;
  padding: 18px 20px;
  border: 1px solid rgba(24, 24, 24, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease), color 0.32s var(--ease);
}

.why-list span::before {
  content: counter(about-point, decimal-leading-zero);
  position: static;
  inset: auto;
  z-index: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.15);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  transform: none;
  transform-origin: center;
  transition: background 0.32s var(--ease), color 0.32s var(--ease), transform 0.32s var(--ease);
}

.why-list span::after {
  top: 50%;
  right: 18px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  border: 0;
  background: var(--charcoal);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
}

.why-list span:hover {
  transform: translateY(-4px);
  color: var(--white);
  border-color: rgba(217, 164, 65, 0.38);
  box-shadow: 0 18px 44px rgba(24, 24, 24, 0.12);
}

.why-list span:hover::before {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.06);
}

.why-list span:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.process-step span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(217, 164, 65, 0.48);
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.quick-card {
  position: relative;
  min-height: 156px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.065),
    rgba(255, 255, 255, 0.025)
  );
  color: var(--white);
  transition: transform 0.32s var(--ease),
    border-color 0.32s var(--ease),
    background 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

.quick-card:hover,
.quick-card:focus-visible {
  color: var(--white);
  transform: translateY(-7px);
  border-color: rgba(217, 164, 65, 0.52);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.quick-card svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
  transition: transform 0.32s var(--ease),
    color 0.32s var(--ease);
}

.quick-card span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.32s var(--ease);
}

.contact-section {
  padding-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.78fr);
  gap: 54px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-details a,
.contact-details span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.contact-details svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: 0 0 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(24, 24, 24, 0.08);
}

.form-row-full,
.form-status,
.form-submit {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbf7ef;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.form-row textarea {
  min-height: 132px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.14);
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #a23b2b;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #8f3025;
  font-size: 0.9rem;
}

.map-wrapper {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.footer-grid a,
.footer-grid span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s var(--ease);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.footer-brand p {
  max-width: 370px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand > a {
  display: inline-flex;
  width: max-content;
  padding: 0;
  border-radius: 4px;
  background: transparent;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom a {
  color: var(--white);
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 18px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(24, 24, 24, 0.18);
}

.floating-whatsapp {
  bottom: 18px;
  background: #1f8f53;
}

.back-to-top {
  bottom: 84px;
  border: 0;
  background: var(--charcoal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease),
    visibility 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-whatsapp svg,
.back-to-top svg {
  width: 23px;
  height: 23px;
}

.back-to-top svg {
  transform: rotate(-90deg);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--charcoal);
}

.lightbox figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--white);
}

.lightbox figcaption strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.lightbox figcaption span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reveal,
.image-reveal {
  will-change: transform, opacity;
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    transparent 52%
  );
  opacity: 0;
  transition: opacity 0.34s var(--ease);
}

.quick-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s var(--ease);
}

.quick-card:hover::before,
.quick-card:focus-visible::before {
  opacity: 1;
}

.quick-card:hover::after,
.quick-card:focus-visible::after {
  transform: scaleX(1);
}

.quick-card:hover svg,
.quick-card:focus-visible svg {
  transform: translateY(-4px) scale(1.08);
  color: var(--gold-strong);
}

.quick-card:hover span,
.quick-card:focus-visible span {
  color: var(--white);
}

.quick-section .section-heading.narrow,
.services-section .section-heading.narrow {
  max-width: var(--container-max);
  width: var(--container);
  margin-inline: auto;
  justify-items: start;
  text-align: left;
}

.quick-section .section-heading.narrow .section-title,
.services-section .section-heading.narrow .section-title {
  max-width: 720px;
  margin-inline: 0;
  text-align: left;
}

.quick-section .section-label,
.services-section .section-label {
  text-align: left;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.10) 30%, rgba(0,0,0,0.42) 54%, rgba(0,0,0,0.84) 76%, rgba(0,0,0,0.96) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.22) 100%);
}

.hero .hero-media {
  display: none;
}

.hero .hero-title span {
  display: block;
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.hero .btn-primary::before {
  background: var(--white);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  color: var(--ink);
  border-color: var(--white);
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.055);
}

.hero .btn-secondary::before {
  background: var(--white);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  color: var(--ink);
  border-color: var(--white);
}

.hero .hero-title > span {
  display: none;
}

.about-section {
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(217, 164, 65, 0.08), transparent 34%),
    var(--light);
}

.about-section .section-heading {
  max-width: var(--container-max);
  margin-bottom: 44px;
  text-align: left;
  justify-items: start;
}

.about-section .section-title {
  max-width: 820px;
}

.about-section .section-intro {
  max-width: 660px;
}

@media (max-width: 640px) {

  .hero-badges {
    left: 14px;
    bottom: 14px;
    right: 14px;
    gap: 8px;
  }

  .metal-badge {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 1100px) {

  .gem-project-wrap {
    grid-template-columns: 1fr;
  }

  .gem-video-card {
    max-width: 100%;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.48) 42%, rgba(0,0,0,0.90) 100%);
  }
}

@media (max-width: 768px) {

  .gem-title .gem-diamond {
    margin: 12px 0 6px;
  }

  .gem-project-wrap {
    gap: 30px;
  }

  .gem-video-card {
    padding: 6px;
  }

  .gem-video-frame {
    border-radius: 7px;
  }

  .package-nav {
    top: 0;
  }

  .package-nav-scroll {
    width: 100%;
    padding-inline: 0;
  }

  .comparison-section,
  .package-quick-summary {
    padding-block: 58px;
  }

  .comparison-table-wrap {
    border: 0;
    background: transparent;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody {
    display: grid;
    gap: 14px;
  }

  .comparison-table tbody tr {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: #202020;
  }

  .comparison-table tbody tr:nth-child(even):not(.row-group) {
    background: #232323;
  }

  .comparison-table tbody th {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #111111;
    color: var(--white);
    font-size: 0.96rem;
  }

  .comparison-table tbody td {
    display: grid;
    grid-template-columns: minmax(90px, 0.34fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 15px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .comparison-table tbody td::before {
    content: attr(data-label);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .comparison-table tbody tr td:last-child {
    border-bottom: 0;
  }

  .comparison-table td:nth-child(3) {
    background: transparent;
  }

  .brand-logo-chip {
    width: 96px;
    height: 50px;
  }

  .paint-brand-card {
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 22px;
  }

  .paint-logo-wrap {
    width: 150px;
    height: 100px;
    flex-basis: auto;
  }

  .paint-package-grid {
    grid-template-columns: 1fr;
  }

  .paint-spec-block {
    padding: 20px;
  }

  .paint-spec-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .paint-package-card {
    min-height: auto;
    padding: 18px;
  }

  .paint-logo-wrap img {
    max-height: 84px;
  }

  body {
    font-size: 15px;
  }

  .hero-copy,
  .hero-media,
  .hero-title,
  .page-hero-grid {
    max-width: calc(100vw - 28px);
  }

  .hero-text,
  .hero-actions,
  .hero-badges,
  .trust-strip {
    max-width: min(100%, 350px);
  }

  .section-intro,
  .body-copy {
    max-width: min(100%, 350px);
  }

  .package-badge {
    position: static;
    width: max-content;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .hero-actions,
  .footer-bottom,
  .lightbox figcaption {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .project-preview-head {
    grid-template-columns: 1fr;
  }

  .project-preview-head .btn {
    justify-self: start;
    margin-bottom: 0;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
  }

  .gallery-grid {
    columns: 2 220px;
  }

  .gallery-card .image-wrap,
  .gallery-card.is-tall .image-wrap {
    min-height: 300px;
  }

  .why-list,
  .quick-grid,
  .process-timeline,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 52px;
    bottom: 0;
    left: 26px;
    width: 1px;
    background: var(--line-dark);
  }

  .process-step span {
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 54px;
    font-size: 1rem;
  }

  .quick-section .section-heading.narrow,
  .services-section .section-heading.narrow {
    width: var(--container);
    max-width: var(--container-max);
  }

  .quick-section .section-heading.narrow .section-title,
  .services-section .section-heading.narrow .section-title {
    max-width: 100%;
  }
}

@media (max-width: 992px) {

  .package-summary-grid {
    grid-template-columns: 1fr;
  }

  .package-summary-card {
    min-height: auto;
  }

  .comparison-heading {
    margin-bottom: 26px;
  }

  .comparison-heading .section-title {
    max-width: 100%;
  }

  .comparison-intro {
    max-width: 100%;
    margin-top: 14px;
    font-size: 0.96rem;
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .brand img {
    height: 72px;
  }

  .page-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 560px;
    aspect-ratio: 16 / 11;
    margin-top: 0;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .project-preview-feature,
  .project-preview-wide {
    grid-column: span 4;
    grid-row: span 1;
  }

  .project-preview-grid .project-preview-card:nth-child(3),
  .project-preview-grid .project-preview-card:nth-child(4) {
    grid-column: span 2;
  }

  .project-preview-grid .project-preview-card:nth-child(5) {
    grid-column: span 4;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-card {
    min-height: auto;
  }

  .stat-card {
    aspect-ratio: auto;
    min-height: 180px;
  }
}

@media (max-width: 480px) {

  .package-summary-card {
    padding: 22px;
  }

  .comparison-table tbody td {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand-logo-chip {
    width: 82px;
    height: 44px;
  }

  .paint-brand-card {
    padding: 18px;
  }

  .paint-logo-wrap {
    width: 118px;
    height: 64px;
  }

  .paint-spec-block {
    padding: 18px;
  }

  .paint-package-card {
    padding: 16px;
  }

  .package-cta-inner {
    padding: 26px 20px;
  }

  .brand img {
    height: 62px;
  }

  .footer-brand img {
    height: 92px;
  }

  .trust-strip,
  .service-grid,
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-preview-feature,
  .project-preview-wide,
  .project-preview-grid .project-preview-card:nth-child(3),
  .project-preview-grid .project-preview-card:nth-child(4),
  .project-preview-grid .project-preview-card:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .gallery-grid {
    columns: auto;
  }

  .mobile-menu a:not(.btn) {
    font-size: 2.12rem;
  }

  .contact-form,
  .package-card,
  .service-card,
  .stat-card {
    padding: 20px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp,
  .back-to-top {
    right: 12px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 1200px) {

  .hero-grid,
  .split-layout,
  .contact-grid {
    gap: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .image-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 560px) {

  .why-list span {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    min-height: 66px;
    padding: 16px;
  }

  .why-list span::before {
    width: 36px;
    height: 36px;
    font-size: 0.70rem;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 150px;
  }
}

/* ================================
   03. Layout Utilities
================================ */

.skbuilders {
  text-transform: uppercase;
  color: var(--gold);
  font-weight: bold;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-title,
.hero-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.section-title {
  max-width: 880px;
  font-size: clamp(2.55rem, 4.25rem, 4.25rem);
}

.section-intro,
.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.gem-project-section .section-title {
  max-width: 520px;
  color: var(--white);
  font-size: clamp(3rem, 5.4vw, 6.2rem);
  line-height: 0.95;
}

.gem-project-section .section-intro {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}

body.packages-page .packages-hero .body-copy,
body.packages-page .packages-hero .body-copy p {
  color: var(--muted);
}

.gallery-page .page-hero {
  position: relative;
  overflow: hidden;
}

.gallery-page .page-hero .hero-title {
  color: var(--ink);
}

.gallery-page .page-hero .body-copy {
  color: var(--muted);
}

.gallery-page .gallery-section .section-title {
  color: var(--ink);
}

.gallery-page .gallery-section .section-intro {
  color: var(--muted);
}

.quick-section .section-title {
  color: var(--white);
}

.quick-section .section-intro {
  color: rgba(255, 255, 255, 0.68);
}

.gem-project-section .gem-title,
.gem-project-section .section-title.gem-title {
  max-width: 420px !important;
  font-size: clamp(2rem, 2.7vw, 3.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
}

.hero .eyebrow,
.hero .skbuilders {
  color: var(--gold);
}

@media (max-width: 1100px) {

  .gem-project-section .section-title,
  .gem-project-section .section-intro {
    max-width: 760px;
  }
}

@media (max-width: 768px) {

  .gem-project-section .section-title {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .section-title {
    max-width: min(100%, 350px);
    font-size: clamp(2rem, 2.25rem, 2.25rem);
    line-height: 1.08;
  }
}

@media (max-width: 480px) {

  .gem-project-section .section-title {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .gem-project-section .section-intro {
    font-size: 0.98rem;
  }

  .section-title {
    font-size: clamp(2rem, 2.45rem, 2.45rem);
  }

  .hero-text,
  .section-intro {
    font-size: 1rem;
    max-width: calc(100vw - 28px);
  }

  .gem-project-section .gem-title,
  .gem-project-section .section-title.gem-title {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
  }
}

@media (max-width: 1200px) {

  .section-title {
    font-size: clamp(2.35rem, 3.65rem, 3.65rem);
  }
}

/* ================================
   04. Buttons / Small UI
================================ */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 4px;
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-102%);
  background: var(--gold);
  transition: transform 0.42s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(0);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2500;
  width: 12px;
  height: 12px;
  border: 1px solid var(--charcoal);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.2s ease,
    width 0.25s var(--ease),
    height 0.25s var(--ease),
    background 0.25s var(--ease);
}

.mobile-menu .btn {
  width: min(100%, 340px);
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.packages-page .packages-hero .btn-secondary {
  color: var(--ink);
  border-color: var(--line);
}

body.packages-page .packages-hero .btn-secondary:hover,
body.packages-page .packages-hero .btn-secondary:focus-visible {
  color: var(--ink);
  border-color: var(--gold);
}

.gallery-page .btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.gallery-page .btn-secondary:hover,
.gallery-page .btn-secondary:focus-visible {
  color: var(--dark);
  border-color: var(--gold);
}

.gallery-page .filter-btn {
  border-color: var(--line);
  color: var(--muted);
  background: transparent;
}

.gallery-page .filter-btn:hover,
.gallery-page .filter-btn:focus-visible,
.gallery-page .filter-btn.is-active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn-bth:hover {
  color: var(--ink);
}

@media (max-width: 768px) {

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

  .trust-strip li {
    display: flex;
    align-items: center;
    min-height: 48px;
  }
}

@media (hover: none), (pointer: coarse) {

  .cursor-dot {
    display: none;
  }
}

/* ================================
   05. Header / Navigation
================================ */

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(24, 24, 24, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: grid;
  align-content: center;
  gap: 32px;
  padding: 110px 24px 40px;
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease),
    visibility 0.55s var(--ease);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

@media (max-width: 992px) {

  .menu-toggle {
    position: fixed;
    top: 18px;
    right: clamp(16px, calc(100vw - 374px), 160px);
    display: block;
    flex: 0 0 48px;
    margin-left: auto;
  }
}

@media (max-width: 480px) {

  .menu-toggle {
    top: 13px;
  }
}

/* ================================
   06. Hero Section
================================ */

.hero-title {
  max-width: 850px;
  font-size: clamp(3.15rem, 4.65rem, 5.65rem);
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: #181818;
  color: var(--white);
}

.hero-grid {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(540px, 0.68fr);
  gap: clamp(72px, 7vw, 132px);
  align-items: center;
}

.hero-copy {
  grid-column: 2;
  justify-self: start;
  max-width: 700px;
  padding-top: 0;
  transform: translateX(18px);
}

body.packages-page .packages-hero .hero-title {
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transform: none;
  will-change: auto;
}

.hero .hero-title {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(2.7rem, 3.65vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.46);
  text-wrap: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.hero .hero-text {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.68;
}

.hero + section {
  position: relative;
  z-index: 2;
}

.hero .hero-title .hero-title-line {
  display: block !important;
  white-space: nowrap !important;
}

.hero .hero-title::before {
  content: "Building Homes\A With Precision, Trust\A & Timeless Quality";
  display: block;
  white-space: pre-line;
}

@media (max-width: 768px) {

  body.packages-page .packages-hero .hero-actions,
  .package-cta-inner .hero-actions {
    max-width: min(100%, 390px);
  }

  .hero-title {
    font-size: clamp(2.45rem, 3.05rem, 3.05rem);
    max-width: 10.75ch;
  }

  .hero .hero-title {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3.25rem);
    line-height: 1.08;
  }

  .hero .hero-title .hero-title-line {
    white-space: normal !important;
  }
}

@media (max-width: 1200px) {

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

  .hero-copy {
    max-width: 640px !important;
    transform: translateX(0) !important;
  }

  .hero .hero-title {
    max-width: 640px !important;
    font-size: clamp(2.65rem, 4.4vw, 4rem) !important;
  }
}

@media (max-width: 992px) {

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero-copy {
    padding-top: 0;
  }
}

@media (max-width: 480px) {

  .hero-title {
    font-size: clamp(1.9rem, 2rem, 2rem);
    max-width: 10.75ch;
  }
}

@media (max-width: 1100px) {

  .hero::before {
    background-position: 24% center;
    background-attachment: scroll;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-copy {
    grid-column: auto;
    justify-self: start;
    max-width: 680px;
    transform: none;
  }

  .hero .hero-title {
    max-width: 680px;
    font-size: clamp(2.6rem, 8vw, 4.2rem);
  }
}

@media (max-width: 640px) {

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 44px);
    padding-bottom: 56px;
  }

  .hero::before {
    background-position: 29% center;
  }

  .hero .hero-title {
    max-width: 100% !important;
    font-size: clamp(2.25rem, 10vw, 3.25rem) !important;
    line-height: 1.08 !important;
  }

  .hero .hero-text {
    max-width: 100% !important;
    font-size: 0.95rem !important;
  }

  .hero-copy {
    max-width: 100% !important;
  }

  .hero .hero-title::before {
    content: "Building Homes\A With Precision, Trust\A & Timeless Quality";
    white-space: pre-line !important;
  }
}

@media (max-width: 420px) {

  .hero .hero-title {
    font-size: clamp(2rem, 9.2vw, 2.85rem) !important;
  }
}

/* ================================
   07. Who We Are / Stats
================================ */

.why-list {
  counter-reset: about-point;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

@media (max-width: 768px) {

  .why-list {
    grid-template-columns: 1fr;
  }
}

/* ================================
   08. Gem Project Video
================================ */

.gem-title {
  max-width: 320px;
  font-size: clamp(2.15rem, 3.2vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  overflow: visible;
}

.gem-title .gem-line {
  display: block;
}

.gem-title .gem-gold {
  color: var(--gold);
  white-space: normal;
}

.gem-icon {
  display: inline-flex;
  font-size: 0.72em;
  line-height: 1;
  transform: translateY(4px);
}

.gem-project-section {
  overflow: hidden;
  background: #181818;
  color: var(--white);
  padding-block: clamp(56px, 6vw, 84px);
}

.gem-project-content {
  position: relative;
}

.gem-project-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 72px;
  height: 2px;
  background: var(--gold);
}

.gem-project-section .gem-line {
  display: block !important;
}

.gem-project-section .gem-gold {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: var(--gold) !important;
  white-space: nowrap !important;
}

.gem-project-section .gem-icon {
  display: inline-flex !important;
  font-size: 0.72em !important;
  line-height: 1 !important;
  transform: translateY(2px);
}

@media (max-width: 1100px) {

  .gem-title {
    max-width: 520px;
  }
}

@media (max-width: 768px) {

  .gem-title-gold {
    gap: 12px;
  }

  .gem-project-section {
    padding-block: 64px;
  }

  .gem-title {
    font-size: clamp(2rem, 9vw, 3rem);
    max-width: 100%;
  }
}

@media (max-width: 480px) {

  .gem-title {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .gem-title-gold {
    white-space: normal;
  }

  .gem-project-section .gem-gold {
    gap: 8px !important;
  }
}

/* ================================
   09. Packages Page
================================ */

body.packages-page {
  background: var(--light);
}

body.packages-page .packages-hero {
  min-height: 68svh;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.18), transparent 34%),
    var(--light);
  color: var(--ink);
}

body.packages-page .packages-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(217, 164, 65, 0.72),
    transparent
  );
}

body.packages-page .package-badge {
  top: 22px;
  right: 22px;
  background: var(--charcoal);
  color: var(--gold);
  border-color: rgba(217, 164, 65, 0.5);
}

.row-group th {
  padding-block: 13px;
  background: #111111;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {

  .row-group {
    border: 0 !important;
    background: transparent !important;
  }

  .row-group th {
    border-radius: var(--radius);
    background: var(--gold);
    color: var(--ink);
  }
}

@media (max-width: 480px) {

  body.packages-page .package-badge {
    position: static;
    width: max-content;
    margin-bottom: 6px;
  }
}

/* ================================
   10. Project Preview / Gallery
================================ */

.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 192px;
  gap: 16px;
}

.project-preview-wide {
  grid-column: span 4;
}

.gallery-page {
  background: var(--light);
}

.gallery-page main {
  background: var(--light);
  color: var(--ink);
}

.gallery-page .gallery-section {
  background: var(--light);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.gallery-page .gallery-card .image-wrap {
  background: #d9d1c1;
  box-shadow: none;
}

@media (max-width: 992px) {

  .project-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }
}

@media (max-width: 768px) {

  .project-preview-grid {
    grid-auto-rows: 180px;
  }
}

@media (max-width: 480px) {

  .project-preview-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 12px;
  }
}

/* ================================
   11. Services / Process / Quick Links
================================ */

.services-section {
  padding-top: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding-left: 0;
  list-style: none;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-dark);
}

.process-step {
  position: relative;
  display: grid;
  gap: 14px;
  padding-right: 24px;
}

.process-step h3 {
  margin: 16px 0 0;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.quick-section {
  background: var(--charcoal);
  color: var(--white);
}

.quick-section .quick-grid {
  justify-content: start;
}

@media (max-width: 1200px) {

  .quick-grid,
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 992px) {

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .process-step {
    padding: 0 0 28px 74px;
  }

  .process-step h3 {
    margin-top: 0;
  }
}

/* ================================
   12. Contact / Map / Footer
================================ */

.form-row {
  display: grid;
  gap: 8px;
}

.site-footer {
  padding-top: 72px;
  background: var(--charcoal);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(160px, 1fr));
  gap: 44px;
  align-items: start;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h2 {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 992px) {

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ================================
   13. Lightbox / Floating Actions
================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 72px 24px 36px;
  background: rgba(10, 10, 10, 0.9);
}

.lightbox figure {
  width: min(100%, 1100px);
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ================================
   15. Miscellaneous
================================ */

.check-list {
  display: grid;
  gap: 12px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.8);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* ================================
   16. Animations / Other At-Rules
================================ */

@keyframes loader-auto-hide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ================================
   17. Hero Title Compatibility Fix
================================ */

.hero .hero-title > span {
  display: block;
}

.hero .hero-title::before {
  content: none;
}

.hero .hero-title:not(:has(.hero-title-line)) > span {
  display: none;
}

.hero .hero-title:not(:has(.hero-title-line))::before {
  content: "Building Homes\A With Precision, Trust\A & Timeless Quality";
  display: block;
  white-space: pre-line;
}

.hero .hero-title:has(.hero-title-line) > .hero-title-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero .hero-title:has(.hero-title-line) > .hero-title-line {
    white-space: normal;
  }
}

/* ================================
   17. About Section Final Layout Fix
   Supports both old HTML (.why-list/.stat-grid)
   and new HTML (.about-layout/.about-bullet-list/.about-stat-grid)
================================ */

#about.about-section,
.about-section.about-redesign {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.08), transparent 34%),
    var(--light);
}

/* Old HTML layout: section-heading + why-list + stat-grid are direct children */
#about.about-section > .container.section-heading,
#about.about-section > .container.why-list,
#about.about-section > .container.stat-grid {
  width: var(--container);
  max-width: var(--container-max);
  margin-inline: auto;
}

#about.about-section > .container.section-heading {
  margin-bottom: 42px !important;
  justify-items: start;
  text-align: left;
}

#about.about-section > .container.section-heading .section-title,
#about.about-section .about-copy .section-title {
  max-width: 820px !important;
}

#about.about-section > .container.section-heading .section-intro,
#about.about-section .about-copy .section-intro {
  max-width: 660px !important;
}

/* New HTML layout */
#about .about-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.82fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

#about .about-copy {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

/* Bullet card layout - old span version */
#about .why-list.about-points,
#about .why-list {
  counter-reset: about-point;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
  margin-top: 0 !important;
}

#about .why-list span {
  counter-increment: about-point;
  position: relative;
  min-height: 72px;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 20px !important;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 24, 0.1) !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.45) !important;
  color: var(--ink) !important;
  font-size: 1rem;
  font-weight: 850 !important;
  line-height: 1.35;
  isolation: isolate;
  box-shadow: none !important;
  transition:
    transform 0.32s var(--ease),
    border-color 0.32s var(--ease),
    background 0.32s var(--ease),
    box-shadow 0.32s var(--ease),
    color 0.32s var(--ease);
}

#about .why-list span::before {
  content: counter(about-point, decimal-leading-zero) !important;
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(217, 164, 65, 0.14) !important;
  color: var(--gold) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  transform: none !important;
  transition:
    background 0.32s var(--ease),
    color 0.32s var(--ease),
    transform 0.32s var(--ease);
}

#about .why-list span::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: var(--charcoal) !important;
  opacity: 1 !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 0.42s var(--ease) !important;
}

#about .why-list span:hover {
  transform: translateY(-4px) !important;
  color: var(--white) !important;
  border-color: rgba(217, 164, 65, 0.42) !important;
  box-shadow: 0 18px 44px rgba(24, 24, 24, 0.12) !important;
}

#about .why-list span:hover::before {
  background: var(--gold) !important;
  color: var(--ink) !important;
  transform: scale(1.06) !important;
}

#about .why-list span:hover::after {
  transform: scaleX(1) !important;
}

/* Bullet card layout - new li version */
#about .about-bullet-list {
  display: grid !important;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#about .about-bullet-list li {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  isolation: isolate;
  transition:
    transform 0.32s var(--ease),
    border-color 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

#about .about-bullet-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease);
}

#about .about-bullet-list li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.14);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  transition:
    background 0.32s var(--ease),
    color 0.32s var(--ease),
    transform 0.32s var(--ease);
}

#about .about-bullet-list li strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  transition: color 0.32s var(--ease);
}

#about .about-bullet-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 164, 65, 0.42);
  box-shadow: 0 18px 44px rgba(24, 24, 24, 0.12);
}

#about .about-bullet-list li:hover::before {
  transform: scaleX(1);
}

#about .about-bullet-list li:hover > span {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.06);
}

#about .about-bullet-list li:hover strong {
  color: var(--white);
}

/* Stat cards - supports old and new HTML */
#about .stat-grid,
#about .about-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: clamp(56px, 7vw, 86px) !important;
  padding: 0 !important;
}

#about .stat-card,
#about .about-stat-card {
  position: relative;
  aspect-ratio: 1;
  min-height: 0;
  display: grid !important;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px !important;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(24, 24, 24, 0.10) !important;
  border-radius: var(--radius) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 240, 0.44)) !important;
  box-shadow: none !important;
  transition:
    transform 0.36s var(--ease),
    border-color 0.36s var(--ease),
    box-shadow 0.36s var(--ease);
}

#about .stat-card::before,
#about .about-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(145deg, #242424 0%, #111111 62%, #050505 100%);
  opacity: 0;
  transition: opacity 0.36s var(--ease);
}

#about .stat-card::after,
#about .about-stat-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: calc(var(--radius) - 2px);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.36s var(--ease),
    transform 0.36s var(--ease);
}

#about .stat-card strong,
#about .about-stat-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 3.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1;
  transition:
    color 0.36s var(--ease),
    transform 0.36s var(--ease);
}

#about .stat-card span,
#about .about-stat-card span {
  display: block;
  max-width: 132px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 0.36s var(--ease),
    transform 0.36s var(--ease);
}

#about .stat-card:hover,
#about .about-stat-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(217, 164, 65, 0.48) !important;
  box-shadow: 0 24px 54px rgba(24, 24, 24, 0.18) !important;
}

#about .stat-card:hover::before,
#about .about-stat-card:hover::before {
  opacity: 1;
}

#about .stat-card:hover::after,
#about .about-stat-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

#about .stat-card:hover strong,
#about .about-stat-card:hover strong {
  color: var(--gold);
  transform: translateY(-4px);
}

#about .stat-card:hover span,
#about .about-stat-card:hover span {
  color: rgba(255, 255, 255, 0.76);
  transform: translateY(3px);
}

/* About responsive */
@media (max-width: 992px) {
  #about .about-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  #about .about-copy {
    position: relative;
    top: auto;
  }

  #about .why-list.about-points,
  #about .why-list,
  #about .stat-grid,
  #about .about-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #about .stat-card,
  #about .about-stat-card {
    aspect-ratio: auto;
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  #about .why-list.about-points,
  #about .why-list,
  #about .stat-grid,
  #about .about-stat-grid {
    grid-template-columns: 1fr !important;
  }

  #about .why-list span,
  #about .about-bullet-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 66px;
    gap: 14px;
    padding: 16px !important;
  }

  #about .why-list span::before,
  #about .about-bullet-list li > span {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.7rem !important;
  }

  #about .stat-card,
  #about .about-stat-card {
    min-height: 150px;
  }
}


/* ================================
   About Section Final Polish
================================ */

.about-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 0.95fr);
  gap: clamp(48px, 6vw, 86px);
  align-items: start;
}

.about-copy {
  position: sticky;
  top: calc(var(--header-height) + 54px);
}

.about-redesign .section-title {
  max-width: 720px;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  line-height: 0.98;
}

.about-redesign .section-intro {
  max-width: 600px;
  margin-top: 26px;
}

/* Make bullet cards compact and premium */
.about-bullet-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 8px;
}

.about-bullet-list li {
  min-height: 92px;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  padding: 18px;
}

.about-bullet-list li span {
  width: 38px;
  height: 38px;
}

.about-bullet-list li strong {
  font-size: 0.95rem;
}

/* Pull stats closer */
.about-stat-grid {
  margin-top: clamp(42px, 5vw, 64px);
}

/* Make stats slightly shorter */
.about-stat-card {
  aspect-ratio: 1 / 0.86;
  min-height: 190px;
}

.about-stat-card strong {
  font-size: clamp(2.4rem, 3.6vw, 4rem);
}

/* Mobile */
@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-copy {
    position: relative;
    top: auto;
  }

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

  .about-stat-card {
    aspect-ratio: auto;
  }
}