:root {
  --bg: #f8f5f0;
  --white: #ffffff;
  --gold: #b88a44;
  --gold-muted: #c4933f;
  --gold-deep: #9c7339;
  --beige: #ede5da;
  --beige-deep: #e3d7c6;
  --text-primary: #2b2b2b;
  --text-secondary: #6b6b6b;
  --border-soft: rgba(184, 138, 68, 0.16);
  --border-strong: rgba(184, 138, 68, 0.28);
  --glass: rgba(255, 255, 255, 0.54);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 18px 40px rgba(77, 52, 20, 0.08);
  --shadow-card: 0 28px 60px rgba(43, 43, 43, 0.1);
  --shadow-lift: 0 32px 70px rgba(43, 43, 43, 0.14);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max-width: 1220px;
  --nav-height: 86px;
  --transition: 0.35s ease;
  --carousel-gap: 1.5rem;
  --cards-per-view: 3;
  --pattern-beige: rgba(237, 229, 218, 0.38);
  --pattern-gold: rgba(184, 138, 68, 0.08);
  --pattern-gold-soft: rgba(184, 138, 68, 0.14);
  --space-sm: 20px;
  --space-md: 40px;
  --space-lg: 60px;
  --space-xl: 80px;
  --noise-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23c4933f' fill-opacity='0.08'%3E%3Ccircle cx='12' cy='18' r='1'/%3E%3Ccircle cx='56' cy='38' r='0.8'/%3E%3Ccircle cx='96' cy='22' r='0.9'/%3E%3Ccircle cx='128' cy='70' r='1'/%3E%3Ccircle cx='84' cy='96' r='0.8'/%3E%3Ccircle cx='38' cy='112' r='1'/%3E%3Ccircle cx='18' cy='80' r='0.7'/%3E%3Ccircle cx='68' cy='130' r='0.9'/%3E%3C/g%3E%3C/svg%3E");
  --curve-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='320' viewBox='0 0 760 320' fill='none'%3E%3Cpath d='M-40 248C84 224 116 80 250 92C384 104 432 248 560 248C646 248 708 200 800 168' stroke='%23B88A44' stroke-opacity='0.16' stroke-width='1.2'/%3E%3Cpath d='M-24 132C96 108 176 172 286 154C426 132 476 20 610 20C688 20 738 52 812 92' stroke='%23B88A44' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E");
  --wave-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='360' viewBox='0 0 900 360' fill='none'%3E%3Cpath d='M0 220C128 184 172 266 300 234C434 200 478 106 620 122C734 134 798 214 900 196' stroke='%23B88A44' stroke-opacity='0.12' stroke-width='1.2'/%3E%3Cpath d='M0 292C122 258 178 318 300 286C436 252 486 156 626 176C744 192 804 284 900 274' stroke='%23B88A44' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 28%),
    radial-gradient(circle at top right, rgba(237, 229, 218, 0.8), transparent 34%),
    linear-gradient(180deg, #fbf9f4 0%, #f8f5f0 40%, #f5efe7 100%);
  overflow-x: hidden;
  overflow-y: auto;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js body {
  opacity: 0;
  transform: translateY(14px);
}

.js body.is-loaded {
  opacity: 1;
  transform: none;
}

.js body.is-leaving {
  opacity: 0;
  transform: translateY(14px);
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  padding: 10px 20px;
}

p {
  margin: 0;
}

.page-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: visible;
  isolation: isolate;
  z-index: 0;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: -12vh -10vw;
  pointer-events: none;
}

.page-shell::before {
  z-index: -3;
  background:
    radial-gradient(ellipse at 6% 8%, rgba(196, 147, 63, 0.16) 0%, rgba(196, 147, 63, 0.09) 18%, rgba(196, 147, 63, 0.03) 34%, transparent 56%),
    radial-gradient(ellipse at 94% 92%, rgba(255, 255, 255, 0.72) 0%, rgba(237, 229, 218, 0.52) 20%, rgba(237, 229, 218, 0.16) 38%, transparent 62%),
    radial-gradient(circle at 18% 68%, rgba(196, 147, 63, 0.1) 0%, rgba(196, 147, 63, 0.03) 22%, transparent 48%),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.1) 22%, transparent 48%),
    radial-gradient(circle at 52% 112%, rgba(196, 147, 63, 0.08) 0%, rgba(196, 147, 63, 0.02) 20%, transparent 50%);
  opacity: 0.82;
  animation: none;
}

.page-shell::after {
  z-index: -2;
  background:
    linear-gradient(rgba(196, 147, 63, 0.055) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(196, 147, 63, 0.055) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--noise-pattern) 0 0 / 140px 140px;
  opacity: 0.18;
}

.page-main {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  position: relative;
  padding: var(--space-lg) 0;
  margin: 0;
  min-height: auto;
  isolation: isolate;
}

section {
  padding: var(--space-lg) 0;
  margin: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.projects-section {
  padding-bottom: 40px;
}

.testimonials-section,
.testimonial-section {
  padding-top: 40px;
}

.view-all-btn {
  margin-top: 20px;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(237, 229, 218, 0.55) 0%, rgba(255, 255, 255, 0.48) 100%);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--border-soft);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

p {
  margin-top: 0;
  margin-bottom: 15px;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
}

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

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  display: grid;
  gap: 1rem;
}

.section-header h2 {
  position: relative;
  padding-bottom: 1.2rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(140px, 44%);
  height: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 0%, rgba(184, 138, 68, 0.42) 50%, transparent 100%);
}

.section-header p,
.hero-copy p,
.page-hero-copy p,
.editorial-panel p,
.cta-banner p,
.value-card p,
.timeline-step p,
.team-card p,
.detail-card p,
.story-metric span,
.project-overlay p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
}

.btn,
.nav-cta,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), color var(--transition),
    border-color var(--transition), opacity var(--transition);
}

.btn {
  min-height: 56px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
}

.btn-small {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

.btn-primary,
.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(184, 138, 68, 0.24);
}

.btn-primary::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0.36;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(184, 138, 68, 0.18);
  color: var(--text-primary);
  box-shadow: 0 14px 30px rgba(43, 43, 43, 0.06);
  backdrop-filter: blur(14px);
}

.btn:hover,
.nav-cta:hover,
.inline-link:hover,
.btn:focus-visible,
.nav-cta:focus-visible,
.inline-link:focus-visible {
  transform: translateY(-2px);
}

.btn-primary:hover::after,
.nav-cta:hover::after,
.btn-primary:focus-visible::after,
.nav-cta:focus-visible::after {
  opacity: 0.66;
  transform: scale(0.98);
}

.inline-link {
  width: fit-content;
  padding: 0;
  color: var(--gold);
  font-weight: 700;
}

.glass-panel,
.floating-card,
.story-card,
.form-card,
.contact-panel,
.cta-banner,
.value-card {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.68) 100%);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.project-card::before,
.gallery-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(184, 138, 68, 0.22);
  opacity: 0;
  transform: scale(0.985);
  z-index: 2;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.project-card:hover::before,
.gallery-card:hover::before,
.testimonial-card:hover::before,
.project-card:focus-within::before,
.gallery-card:focus-within::before,
.testimonial-card:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100px;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 34px rgba(43, 43, 43, 0.06);
  backdrop-filter: blur(16px);
  transition: background-color var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.navbar.scrolled,
.navbar.menu-open {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border-soft);
  box-shadow: 0 18px 38px rgba(43, 43, 43, 0.08);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar > .logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 380px;
  min-width: 380px;
  height: 120px;
  overflow: hidden;
  padding-left: 28px;
  margin-right: 0.5rem;
  flex-shrink: 0;
  line-height: 0;
}

.navbar > .logo img {
  height: 105px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-left: 26px;
  transform: scale(2.35);
  transform-origin: center;
}

.navbar > .logo.logo--text {
  width: auto;
  min-width: 0;
  height: auto;
  overflow: visible;
  padding-left: 0;
  margin-right: 1rem;
  line-height: 1.1;
}

.navbar,
.nav-container,
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}

.nav-menu,
.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-menu {
  flex: 1;
  justify-content: center;
  margin: 0 1.5rem;
}

.nav-link,
.nav-links a {
  position: relative;
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  padding: 0;
}

.nav-link::after,
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 55%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"],
.nav-links a.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.nav-cta,
.contact-btn {
  min-height: 46px;
  padding: 16px 30px;
  line-height: 1.15;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 999px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
}

.card {
  padding: 20px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.hero-home,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
}

.hero-home::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(248, 245, 240, 0.94) 15%, rgba(248, 245, 240, 0.72) 45%, rgba(248, 245, 240, 0.34) 75%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 30%);
  z-index: -1;
}

.hero-home::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -10%;
  width: min(44vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(237, 229, 218, 0.52);
  filter: blur(40px);
  z-index: -1;
}

.hero-home {
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: clamp(2.8rem, 5.8vh, 5.2rem);
  background: url("images/featured/home-hero.jpg") center/cover no-repeat;
  background-attachment: scroll;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  overflow: visible;
  background-attachment: scroll;
}

.main-wrapper,
.page-container,
.page-wrapper {
  overflow: visible;
}

.hero-section,
.testimonial-track,
.project-card,
.hero-stats-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.page-hero {
  min-height: 78vh;
  padding: 8.5rem 0 5rem;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
}

.about-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.about-hero .page-hero-copy {
  max-width: min(760px, 100%);
  margin: 0;
  padding: 0;
  left: auto;
  right: auto;
  position: relative;
}

.about-hero .page-hero-card {
  margin-left: auto;
  width: min(360px, 100%);
  max-width: 360px;
}

.hero-home .hero-grid,
.hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: block;
}

.hero-about {
  background-image: url("images/featured/about-hero.jpg");
}

.hero-projects {
  background-image: url("images/projects/chandelier-salon.jpg");
}

.hero-contact {
  background-image: url("images/featured/contact-hero.jpg");
}

.hero-apex-golf {
  background-image: url("images/apex-golf-avenue.jpg");
  background-position: center 42%;
}

.hero-grid,
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(1.4rem, 2.8vw, 2.5rem);
  align-items: center;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-grid::before {
  top: -8%;
  left: -8%;
  width: min(62vw, 760px);
  height: min(44vh, 320px);
  background: var(--curve-pattern) left top / contain no-repeat;
  opacity: 0.36;
  z-index: -1;
}

.hero-grid::after {
  right: 20%;
  bottom: 4%;
  width: 180px;
  height: 180px;
  background:
    radial-gradient(circle, rgba(184, 138, 68, 0.22) 0 1.4px, transparent 1.4px) 0 0 / 18px 18px;
  opacity: 0.26;
  animation: none;
  z-index: -1;
}

.page-hero-inner {
  align-items: end;
}

.page-hero-inner--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero-copy,
.page-hero-copy {
  position: relative;
  max-width: 680px;
  display: grid;
  gap: 1.2rem;
}

.hero-home .hero-copy {
  max-width: 900px;
  padding-left: 0;
  padding-right: 380px;
}

.hero-content {
  max-width: 620px;
  padding-left: 80px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

.hero-left {
  padding-left: 70px;
}

.hero-content .tag {
  margin-left: 6px;
  margin-bottom: 24px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -16%;
  top: 18%;
  width: min(42vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 138, 68, 0.16) 0%, rgba(184, 138, 68, 0.04) 58%, transparent 78%);
  filter: blur(30px);
  z-index: -1;
  animation: none;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 0.97;
}

.hero-home .hero-copy h1,
.hero-content h1 {
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-content h1 {
  margin-left: 6px;
}

.hero-copy p,
.page-hero-copy p {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-home .hero-copy p,
.hero-content p {
  max-width: 680px;
  font-size: 1.3rem;
  margin-bottom: 32px;
}

.hero-content p {
  margin-left: 6px;
  max-width: 560px;
}

.about-section h1,
.about-hero .page-hero-copy h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.2;
  font-weight: 600;
}

.about-section p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 550px;
}

.about-card h3,
.about-section .value-card h3 {
  font-size: 16px;
}

.about-card p,
.about-section .value-card p {
  font-size: 14px;
}

.page-hero-inner--centered .page-hero-copy p {
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-trust {
  margin-top: 0.5rem;
  max-width: 62ch;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.8;
}

.floating-card,
.page-hero-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

.floating-card {
  display: grid;
  gap: 1rem;
  animation: none;
}

.hero-stats {
  position: relative;
  isolation: isolate;
}

.hero-right {
  position: absolute;
  top: 50%;
  right: 60px;
  display: flex;
  justify-content: flex-end;
  transform: none;
  translate: 0 -50%;
}

.hero-home .hero-grid > .hero-stats {
  position: absolute;
  top: 50%;
  right: 60px;
  justify-self: end;
  transform: none;
  translate: 0 -50%;
}

.hero-home .hero-stats,
.hero-stats-card {
  width: 330px;
  max-width: 100%;
  padding: 34px 28px;
  animation: floatCard 8s ease-in-out infinite;
}

.hero-overlay,
.hero-inner,
.hero-wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hero-bg,
.hero-overlay,
.bg-blob,
.floating-shape {
  will-change: auto;
  animation: none;
  filter: none;
}

.hero-stats::before,
.hero-stats::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero-stats::before {
  width: 130px;
  height: 130px;
  top: -30px;
  right: -24px;
  border-radius: 28px;
  border: 1px solid rgba(184, 138, 68, 0.22);
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(10deg);
  animation: none;
}

.hero-stats::after {
  width: 120px;
  height: 120px;
  left: -28px;
  bottom: 14px;
  border-radius: 50%;
  background: rgba(184, 138, 68, 0.12);
  filter: blur(34px);
}

.hero-stats .stat-block + .stat-block {
  border-top: 1px solid rgba(43, 43, 43, 0.08);
  padding-top: 1rem;
}

.stat-block strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.15rem;
}

.stat-block span,
.page-hero-card span {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.page-hero-card {
  display: grid;
  gap: 0.6rem;
  max-width: 360px;
}

.page-hero-card p {
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.split-grid--balanced {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.image-panel img,
.about-image {
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.image-panel {
  position: relative;
  isolation: isolate;
}

.image-panel::before,
.image-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.image-panel::before {
  left: -8%;
  top: 6%;
  width: min(80%, 430px);
  height: min(94%, 540px);
  border-radius: 230px 230px 32px 32px;
  border: 1px solid rgba(184, 138, 68, 0.16);
  background: linear-gradient(180deg, rgba(237, 229, 218, 0.48) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.image-panel::after {
  width: 130px;
  height: 130px;
  top: -18px;
  right: -18px;
  border-radius: 24px;
  background:
    radial-gradient(circle, rgba(184, 138, 68, 0.24) 0 1.2px, transparent 1.2px) 0 0 / 12px 12px;
  opacity: 0.34;
}

.editorial-panel {
  display: grid;
  gap: 1.25rem;
}

.editorial-panel h2 {
  position: relative;
  padding-left: 1.05rem;
}

.editorial-panel h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  width: 2px;
  height: 65%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(184, 138, 68, 0.55) 0%, rgba(184, 138, 68, 0.08) 100%);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin: 0.5rem 0 0.75rem;
}

.feature-item {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 36px rgba(43, 43, 43, 0.05);
}

.feature-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.feature-item span {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

.project-grid {
  position: relative;
  z-index: 0;
  display: grid;
  gap: 1.5rem;
}

.project-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid::before,
.gallery-grid::before {
  content: "";
  position: absolute;
  inset: -1.6rem -1rem;
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    linear-gradient(rgba(184, 138, 68, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 138, 68, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.24;
  z-index: -2;
  pointer-events: none;
}

.project-grid::after,
.gallery-grid::after {
  content: "";
  position: absolute;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  top: 18%;
  right: 10%;
  border-radius: 50%;
  background: rgba(184, 138, 68, 0.08);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: none;
}

.project-card,
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.project-card:hover,
.gallery-card:hover,
.testimonial-card:hover,
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.project-media,
.gallery-card img {
  position: relative;
  overflow: hidden;
}

.project-media {
  aspect-ratio: 0.84;
}

.project-media img,
.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-image--mahagun {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #ebe6de;
  filter: none;
  transform: scale(1);
  transition: transform 0.7s ease;
}

.project-card:hover .project-media img,
.gallery-card:hover img {
  transform: scale(1.06);
}

.project-card:hover .project-image--mahagun {
  transform: scale(1.03);
}


.project-overlay,
.gallery-overlay {
  --overlay-action-space: 0px;
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0.85rem;
  display: grid;
  gap: 0.34rem;
  padding: 0.82rem 1rem calc(0.86rem + var(--overlay-action-space));
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  align-content: start;
  overflow: hidden;
  transform: translateY(calc(100% - 104px));
  transition: transform 0.45s ease, padding-bottom 0.35s ease;
}

.project-meta,
.gallery-overlay span {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-overlay h3,
.gallery-overlay h3 {
  margin: 0;
  line-height: 1.1;
}

.project-overlay .project-cta,
.gallery-overlay .btn {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.86rem;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay,
.gallery-card:hover .gallery-overlay,
.gallery-card:focus-within .gallery-overlay {
  --overlay-action-space: 3.5rem;
  transform: translateY(0);
}

.project-card:hover .project-overlay .project-cta,
.project-card:focus-within .project-overlay .project-cta,
.gallery-card:hover .gallery-overlay .btn,
.gallery-card:focus-within .gallery-overlay .btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.hero-gallery {
  min-height: min(70vh, 680px);
  padding: 8rem 0 5rem;
  background:
    linear-gradient(rgba(248, 245, 240, 0.78), rgba(248, 245, 240, 0.84)),
    url("images/projects/mahagun-mascot-crossing-republic.jpg") center 56% / cover no-repeat;
}

[data-page="nirala-gallery"] .hero-gallery {
  background:
    linear-gradient(rgba(248, 245, 240, 0.78), rgba(248, 245, 240, 0.84)),
    url("images/projects/nirala-estate-kitchen.jpg") center 52% / cover no-repeat;
}

[data-page="apex-gallery"] .hero-gallery {
  background:
    linear-gradient(rgba(248, 245, 240, 0.78), rgba(248, 245, 240, 0.84)),
    url("images/projects/apex-apphabe-bedroom.jpg") center 52% / cover no-repeat;
}

.apex-apphabe-gallery-shell {
  width: min(90%, 1200px);
  max-width: 1200px;
}

.apex-apphabe-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.apex-apphabe-gallery-card {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #faf6ef 0%, #f2e9dd 100%);
  box-shadow: 0 18px 40px rgba(43, 43, 43, 0.08);
}

.apex-apphabe-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.apex-apphabe-gallery-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .apex-apphabe-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .apex-apphabe-gallery-grid {
    grid-template-columns: 1fr;
  }
}

[data-page="apex-golf-avenue-gallery"] .hero-gallery {
  background:
    linear-gradient(rgba(248, 245, 240, 0.78), rgba(248, 245, 240, 0.84)),
    url("images/apex-golf-avenue.jpg") center 52% / cover no-repeat;
}

.gallery-page-hero {
  display: grid;
  gap: 1rem;
  max-width: 900px;
}

.gallery-page-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 0.98;
}

.gallery-page-hero p {
  color: var(--text-secondary);
  max-width: 68ch;
  line-height: 1.8;
}

.gallery-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-primary);
  font-weight: 600;
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}

.gallery-back-link:hover,
.gallery-back-link:focus-visible {
  color: var(--gold-deep);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.mahagun-gallery-page {
  position: relative;
  padding-top: 1.2rem;
}

.mahagun-gallery-page::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 4%;
  width: min(28vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(184, 138, 68, 0.1);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.mahagun-gallery-page .container {
  width: min(90%, 1200px);
  max-width: 1200px;
}

.mahagun-gallery-page [data-mahagun-page-gallery] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.mahagun-gallery-page [data-mahagun-page-gallery]::before,
.mahagun-gallery-page [data-mahagun-page-gallery]::after {
  content: none;
}

.mahagun-gallery-page [data-mahagun-page-gallery] .gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #faf6ef 0%, #f1e8db 100%);
  box-shadow: 0 18px 40px rgba(43, 43, 43, 0.08);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mahagun-gallery-page [data-mahagun-page-gallery] .gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mahagun-gallery-page [data-mahagun-page-gallery] .gallery-item:hover,
.mahagun-gallery-page [data-mahagun-page-gallery] .gallery-item:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(43, 43, 43, 0.16);
}

.mahagun-gallery-page [data-mahagun-page-gallery] .gallery-item:hover img,
.mahagun-gallery-page [data-mahagun-page-gallery] .gallery-item:focus-visible img {
  transform: scale(1.04);
}

.mahagun-gallery {
  padding: 80px 0;
}

.mahagun-gallery-grid {
  column-count: 4;
  column-gap: 24px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

.mahagun-gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
}

.mahagun-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  transition: all 0.4s ease;
}

.mahagun-gallery-item:hover img,
.mahagun-gallery-item:focus-visible img {
  transform: scale(1.04);
}

@media (max-width: 1200px) {
  .mahagun-gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .mahagun-gallery-grid {
    column-count: 2;
    column-gap: 18px;
  }

  .mahagun-gallery-item {
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .mahagun-gallery-grid {
    column-count: 1;
  }
}

.mahagun-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(7, 7, 7, 0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mahagun-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mahagun-lightbox img {
  max-width: min(94vw, 1300px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.mahagun-lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 26px);
  right: clamp(16px, 3vw, 26px);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.74);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}


.testimonials-section {
  position: relative;
  overflow: visible;
  isolation: isolate;
  background: transparent;
  padding: 40px 0 64px;
}

.testimonials-section::before,
.testimonials-section::after {
  content: none;
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-slider {
  overflow: hidden;
  width: 100%;
}

.testimonials-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 2rem 1.5rem;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(184, 138, 68, 0.14);
}

.testimonials-empty {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}

.testimonial-card {
  min-width: 350px;
  width: clamp(350px, 31vw, 420px);
  max-width: 420px;
  flex-shrink: 0;
  display: block;
  opacity: 1;
  transform: none;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: #f5f1eb;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(184, 138, 68, 0.12);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
  align-items: stretch;
  animation: scroll 20s linear infinite;
}

.testimonial-slider:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.testimonial-user img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  border: none;
  box-shadow: none;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.profile {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.user-info {
  display: grid;
  gap: 2px;
}

.user-info h3,
.testimonial-header h3 {
  margin: 0;
  font-size: 22px;
}

.location {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: #888;
}

.stars,
.testimonial-stars {
  color: var(--gold);
  margin: 15px 0;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.review,
.testimonial-text,
.review-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  overflow-wrap: anywhere;
  word-break: normal;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.brands-section {
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}

.brands-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 30px;
}

.brands-track {
  display: flex;
  gap: 60px;
  animation: scroll 25s linear infinite;
  align-items: center;
  width: max-content;
}

.brand-item {
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 140px;
}

.brand-item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.carousel-dot,
.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.18);
  transition: transform var(--transition), background-color var(--transition);
}

.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-primary);
  box-shadow: 0 16px 32px rgba(43, 43, 43, 0.08);
}

.carousel-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cta-banner::before {
  inset: 0;
  background: var(--wave-pattern) right center / cover no-repeat;
  opacity: 0.36;
  z-index: -1;
}

.cta-banner::after {
  right: 3%;
  top: 48%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(184, 138, 68, 0.14);
  filter: blur(40px);
  z-index: -1;
}

.cta-banner > div {
  display: grid;
  gap: 1rem;
}

.story-card,
.form-card,
.contact-panel {
  border-radius: var(--radius-xl);
}

.story-card {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
}

.story-metric {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
}

.story-metric:last-child {
  border-bottom: 0;
}

.story-metric strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.value-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.9rem;
  border-radius: 36px;
  border: 1px solid transparent;
  background: #f8f7f4;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease,
    background-color 0.35s ease, box-shadow 0.35s ease;
}

.value-card h3 {
  transition: color 0.35s ease;
}

.value-card:hover,
.value-card:focus-within {
  transform: translateY(-10px);
  border-color: #c5964b;
  background: #fcfbf8;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.value-card:hover h3,
.value-card:focus-within h3 {
  color: #c5964b;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.timeline-step {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 42px rgba(43, 43, 43, 0.06);
}

.process-card {
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  border: 1px solid rgba(197, 150, 75, 0);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.03);
}

.process-card:hover,
.process-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(197, 150, 75, 0.35);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(197, 150, 75, 0.12);
}

.timeline-index {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(184, 138, 68, 0.12);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.team-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-section-container .section-header {
  width: 100%;
}

.team-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  width: 100%;
}

.team-grid > .team-card {
  flex: 0 1 360px;
  width: min(100%, 360px);
}

.team-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(43, 43, 43, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
}

.team-card img,
.team-card-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  display: block;
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.team-card:first-child .team-card-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 28px;
  display: block;
}

.team-card:hover,
.team-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 24px 52px rgba(43, 43, 43, 0.14);
}

.team-card:hover img,
.team-card:focus-within img {
  transform: scale(1.05);
}

.team-card span {
  display: block;
  margin: 0.45rem 0 0.6rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.filter-chip {
  min-height: 46px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-secondary);
  font-weight: 700;
  transition: transform var(--transition), background-color var(--transition),
    color var(--transition), border-color var(--transition);
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active {
  color: var(--white);
  background: var(--gold);
  border-color: transparent;
  transform: translateY(-2px);
}

.gallery-grid {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  min-height: 360px;
}

.gallery-card img {
  height: 100%;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(31, 27, 21, 0.5) 100%);
}

.gallery-overlay {
  z-index: 1;
}

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

.gallery-card.is-filter-visible {
  animation: filterIn 0.55s ease both;
  animation-delay: var(--filter-delay, 0ms);
}

.contact-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.contact-grid::before,
.contact-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contact-grid::before {
  inset: -2rem -1rem;
  border-radius: calc(var(--radius-xl) + 10px);
  background:
    var(--wave-pattern) center 24% / cover no-repeat,
    linear-gradient(180deg, rgba(237, 229, 218, 0.34), rgba(255, 255, 255, 0.2));
  opacity: 0.44;
  z-index: -2;
}

.contact-grid::after {
  width: min(36vw, 360px);
  aspect-ratio: 1;
  right: -6%;
  top: -8%;
  border-radius: 50%;
  background: rgba(237, 229, 218, 0.78);
  filter: blur(40px);
  z-index: -1;
}

.form-card,
.contact-panel {
  padding: 2rem;
}

.form-card {
  display: grid;
  gap: 1rem;
}

.contact-form {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
}

.contact-form::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  bottom: 0.2rem;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(184, 138, 68, 0.24);
  transform: rotate(12deg);
  background: rgba(184, 138, 68, 0.08);
  filter: blur(1px);
  z-index: -1;
  pointer-events: none;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field span {
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(43, 43, 43, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.05rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(184, 138, 68, 0.08);
  transform: translateY(-1px);
}

.form-field textarea {
  resize: vertical;
  min-height: 170px;
}

.form-status {
  color: var(--gold-deep);
  font-weight: 700;
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.detail-card {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 36px rgba(43, 43, 43, 0.05);
}

.detail-card h3 {
  margin-bottom: 0.45rem;
}

.detail-card a {
  color: var(--gold-deep);
  font-weight: 700;
}

.map-placeholder {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(0deg, rgba(184, 138, 68, 0.08), rgba(184, 138, 68, 0.08)),
    linear-gradient(135deg, #f3ece2 0%, #ffffff 100%);
  border: 1px solid rgba(184, 138, 68, 0.14);
}

.map-placeholder::before,
.map-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
}

.map-placeholder::before {
  background:
    linear-gradient(rgba(184, 138, 68, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 138, 68, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
}

.map-placeholder::after {
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(184, 138, 68, 0.14);
  transform: translate(-50%, -50%);
}

.map-overlay {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.35rem;
  padding: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.map-inner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
}

.map-inner iframe {
  display: block;
}

.site-footer {
  margin-top: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 242, 234, 0.96) 100%);
  border-top: 1px solid rgba(184, 138, 68, 0.16);
}

.footer-container {
  width: min(90%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding: 3.75rem 0 2.4rem;
}

.footer-brand-block,
.footer-links-block,
.footer-contact-block {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.footer-brand-block {
  max-width: 360px;
  gap: 0.6rem;
}

.footer-contact-block {
  gap: 0.75rem;
}

.footer-logo {
  display: inline-flex;
  width: 180px;
  max-width: 100%;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-brand-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
}

.footer-title {
  margin: 0;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links-list {
  display: grid;
  gap: 0.85rem;
}

.footer-links-list a,
.footer-contact-link,
.footer-address {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.8;
}

.footer-contact-link,
.footer-address {
  display: block;
  margin-bottom: 8px;
}

.footer-links-list a:hover,
.footer-links-list a:focus-visible,
.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--gold);
}

.footer-address {
  margin: 0 0 8px;
}

.footer-bottom {
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(43, 43, 43, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  text-align: center;
}

.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #b68c4a;
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  animation: pulse 2s infinite;
}

.fab-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
  pointer-events: none;
}

.fab-container:hover .fab-options {
  pointer-events: auto;
}

.fab-container:hover .fab-main {
  transform: rotate(45deg) scale(1.1);
  animation: none;
}

.fab-item {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s ease;
}

.fab-item:hover {
  transform: translateY(0) scale(1.15) translateX(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fab-item i {
  transition: transform 0.3s ease;
}

.fab-item:hover i {
  transform: rotate(10deg) scale(1.2);
}

.fab-container:hover .fab-item {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fab-container:hover .fab-item:nth-child(1) {
  transition-delay: 0.1s;
}

.fab-container:hover .fab-item:nth-child(2) {
  transition-delay: 0.2s;
}

.fab-container:hover .fab-item:nth-child(3) {
  transition-delay: 0.3s;
}

.whatsapp {
  background: #25d366;
}

.whatsapp:hover {
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.instagram {
  background: #e1306c;
}

.instagram:hover {
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.6);
}

.facebook {
  background: #1877f2;
}

.facebook:hover {
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.6);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(182, 140, 74, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(182, 140, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(182, 140, 74, 0);
  }
}

@media (max-width: 860px) {
  .footer-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 3rem 0 2rem;
  }

  .footer-brand-block,
  .footer-links-block,
  .footer-contact-block {
    justify-items: center;
    max-width: 100%;
  }

  .fab-container {
    bottom: 20px;
    right: 20px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.82s ease, transform 0.82s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

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

body.is-loaded .hero-home .reveal,
body.is-loaded .page-hero .reveal {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes floatCard {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes driftDecor {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-10px, 8px, 0) scale(1.02);
  }
  100% {
    transform: translate3d(12px, -10px, 0) scale(0.99);
  }
}

@keyframes floatParticles {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes filterIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1600px) {
  .hero-home .hero-grid,
  .hero-container {
    padding: 0 60px;
  }

  .hero-home .hero-grid > .hero-stats,
  .hero-right {
    right: 60px;
  }
}

@media (max-width: 1100px) {
  .hero-grid::before {
    opacity: 0.26;
  }

  .hero-copy::before {
    left: -8%;
    width: min(46vw, 360px);
  }

  .hero-stats::before {
    width: 102px;
    height: 102px;
    top: -20px;
    right: -14px;
  }

  .logo {
    font-size: 1.24rem;
  }

  .nav-menu,
  .nav-links {
    gap: 28px;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .nav-cta {
    padding: 14px 24px;
    font-size: 0.98rem;
  }

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

  .hero-grid {
    align-items: center;
  }

  .page-hero-card,
  .floating-card {
    max-width: 360px;
  }

  .project-grid--three,
  .value-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 992px) {
  .hero-home .hero-grid,
  .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 32px;
    gap: 48px;
  }

  .about-hero-container {
    padding: 0 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .about-hero .page-hero-copy {
    max-width: 100%;
  }

  .about-hero .page-hero-card {
    margin-left: 0;
    width: min(420px, 100%);
  }

  .hero-home .hero-copy,
  .hero-content {
    max-width: 100%;
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
  }

  .hero-home .hero-grid > .hero-stats,
  .hero-right {
    position: static;
    top: auto;
    right: auto;
    display: flex;
    justify-content: center;
    justify-self: center;
    transform: none;
    translate: 0;
  }

  .hero-home .hero-stats,
  .hero-stats-card {
    width: min(330px, 100%);
  }

  .testimonial-wrapper {
    --slides-per-view: 2;
    --testimonial-gap: 18px;
  }
}

@media (max-height: 860px) and (min-width: 861px) {
  .hero-home {
    padding-top: 5.9rem;
    padding-bottom: 2.4rem;
  }

  .hero-copy {
    gap: 0.85rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    line-height: 0.96;
  }

  .hero-copy p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 0.3rem;
  }

  .hero-actions .btn {
    min-height: 50px;
    padding: 0.8rem 1.35rem;
  }

  .hero-trust {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .floating-card {
    padding: 1.15rem;
  }

  .stat-block strong {
    font-size: 1.95rem;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-height: 76px;
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .navbar {
    min-height: 100px;
    padding: 0.68rem 1rem;
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

  .navbar.menu-open .nav-menu,
  .navbar.menu-open .nav-cta {
    display: flex;
    width: 100%;
  }

  .navbar.menu-open .nav-menu {
    order: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1rem;
  }

  .navbar.menu-open .nav-cta {
    order: 5;
    justify-content: center;
    margin-top: 0.6rem;
  }

  .navbar.menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .navbar.menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-home,
  .page-hero {
    padding-top: 7.5rem;
  }

  .hero-home::after,
  .hero-grid::before,
  .hero-grid::after,
  .testimonials-section::after {
    display: none;
  }

  .page-shell::after {
    opacity: 0.11;
    background-size:
      58px 58px,
      58px 58px,
      120px 120px;
  }

  .page-shell::before {
    opacity: 0.72;
  }

  .image-panel::before {
    left: -3%;
    width: min(74%, 360px);
  }

  .contact-grid::before {
    opacity: 0.28;
  }

  .section {
    padding: 60px 0;
    margin: 0;
  }

  .testimonial-track {
    gap: 22px;
  }

  .image-panel img,
  .about-image {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .hero-content,
  .hero-left {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content h1,
  .hero-content p,
  .hero-content .tag {
    margin-left: 0;
  }

  .nav-link,
  .nav-links a {
    font-size: 1rem;
    padding: 0 10px;
  }

  .nav-cta,
  .contact-btn {
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  .navbar > .logo {
    width: 240px;
    min-width: 240px;
    height: 84px;
    padding-left: 14px;
    margin-right: 0.5rem;
  }

  .navbar > .logo img {
    height: 72px;
    margin-left: 18px;
    transform: scale(2.1);
  }

  .navbar > .logo.logo--text {
    width: auto;
    min-width: 0;
    height: auto;
    padding-left: 0;
    margin-right: 0.75rem;
  }

  .about-section h1,
  .about-hero .page-hero-copy h1 {
    font-size: 28px;
  }
}

@media (max-width: 680px) {
  .hero-home .hero-grid,
  .hero-container {
    padding: 0 20px;
  }

  .about-hero-container {
    padding: 0 20px;
  }

  .container,
  .navbar {
    width: min(calc(100% - 1.4rem), var(--max-width));
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.9rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-grid--three,
  .value-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-grid::before,
  .project-grid::after,
  .gallery-grid::before,
  .gallery-grid::after,
  .carousel-shell::before {
    display: none;
  }

  .testimonial-card {
    min-width: 280px;
    width: min(82vw, 360px);
    border-radius: 28px;
    padding: 26px 22px;
  }

  .testimonial-user {
    gap: 14px;
    margin-bottom: 22px;
  }

  .testimonial-user img {
    width: 72px;
    height: 72px;
  }

  .project-overlay,
  .gallery-overlay {
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.95rem;
  }

  .project-overlay,
  .gallery-overlay {
    --overlay-action-space: 3.5rem;
    transform: none;
  }

  .project-overlay .project-cta,
  .gallery-overlay .btn {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .form-card,
  .contact-panel,
  .story-card,
  .cta-banner {
    padding: 1.4rem;
  }

  .image-panel img,
  .about-image {
    min-height: 320px;
  }

  .gallery-page-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .gallery-page-hero p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .mahagun-lightbox img {
    max-width: 96vw;
    max-height: 82vh;
    border-radius: 16px;
  }

}

@media (max-width: 1024px) {
  section,
  .section {
    padding: var(--space-md) 0;
  }
}

@media (max-width: 768px) {
  section,
  .section {
    padding: var(--space-sm) 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .js body {
    opacity: 1 !important;
    transform: none !important;
  }
}
