/* ============================================
   AMBARA ARCHITECTS & CONSTRUCTION
   Main Stylesheet (css/style.css)
   ============================================ */

/* --- Design Tokens --- */
:root {
  --ink: #0b0e13;
  --ink2: #12161d;
  --ln: #ffffff17;
  --g: #c9a24b;
  --g2: #f0d78c;
  --iv: #f3eee3;
  --mut: #9a9789;
}

/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--iv);
  font: 300 15px/1.65 Outfit, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: Fraunces, serif;
  font-weight: 300;
  letter-spacing: -.015em;
  line-height: 1.1;
}
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 500; }
em { color: var(--g2); }
a { color: inherit; text-decoration: none; }
section {
  padding: clamp(48px, 7vw, 84px) clamp(18px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.w { max-width: 1080px; margin: auto; position: relative; z-index: 2; }
.sub { color: var(--mut); max-width: 420px; margin-top: 10px; }
.hd { margin-bottom: 34px; }

/* --- Decorative Geometry --- */
.geo { position: absolute; pointer-events: none; border: 1px solid #c9a24b44; z-index: 1; }
.sq { width: 120px; height: 120px; animation: spin 40s linear infinite; }
.ci { border-radius: 50%; width: 90px; height: 90px; animation: fl 8s ease-in-out infinite; }
.dm { width: 70px; height: 70px; transform: rotate(45deg); animation: fl 10s ease-in-out infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fl { 50% { transform: translateY(-22px) rotate(45deg); } }
.dots { background-image: radial-gradient(#ffffff22 1px, transparent 1px); background-size: 26px 26px; }
#bar { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--g); z-index: 300; }

/* --- Preloader Intro --- */
#pre {
  position: fixed; inset: 0; background: var(--ink); z-index: 400;
  display: grid; place-items: center; text-align: center;
  transition: clip-path 1s cubic-bezier(.8,0,.2,1); clip-path: inset(0);
}
#pre.go { clip-path: inset(0 0 100% 0); }
#pre svg.lg { width: 96px; height: 84px; margin-bottom: 16px; }
#pre svg.lg path {
  fill: transparent; stroke: var(--g); stroke-width: 5;
  stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: dr 1.5s forwards, ff .9s 1.3s forwards;
}
@keyframes ff { to { fill: var(--g); stroke-width: 0; } }
#pre .nm {
  font: 300 clamp(1.8rem, 7vw, 3.4rem) Fraunces, serif;
  letter-spacing: .3em; color: var(--g2);
  display: flex; justify-content: center; overflow: hidden; padding-left: .3em;
}
#pre .nm span { transform: translateY(110%); animation: up .7s cubic-bezier(.2,.8,.2,1) forwards; }
#pre small {
  display: block; margin-top: 6px; letter-spacing: .35em;
  font-size: .65rem; color: var(--mut); opacity: 0;
  animation: fd .8s 1.7s forwards;
}
@keyframes dr { to { stroke-dashoffset: 0; } }
@keyframes up { to { transform: none; } }
@keyframes fd { to { opacity: 1; } }

/* --- Header & Navigation Menu --- */
header {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px clamp(16px, 4vw, 44px); transition: .4s;
}
header.s { background: #0b0e13e6; backdrop-filter: blur(12px); border-bottom: 1px solid var(--ln); }
.logo { display: flex; align-items: center; gap: 9px; font: 500 .95rem Fraunces, serif; letter-spacing: .16em; }
.logo svg { width: 34px; height: 30px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 99px; font: 400 .88rem Outfit;
  border: 1px solid var(--g); background: var(--g); color: var(--ink);
  cursor: pointer; overflow: hidden; isolation: isolate; transition: .3s;
}
.btn:before {
  content: ""; position: absolute; inset: 0; background: var(--iv);
  transform: translateX(-101%); transition: .4s; z-index: -1;
}
.btn:hover:before { transform: none; }
.btn:after { content: "↗"; transition: .3s; }
.btn:hover:after { transform: translate(3px, -3px); }
.btn.o { background: none; color: var(--iv); }
.btn.o:before { background: var(--g); }
.btn.o:hover { color: var(--ink); }
#mb {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--ln); background: none;
  position: relative; cursor: pointer; margin-left: 10px;
}
#mb i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--iv); transition: .4s; }
#mb i:first-child { top: 15px; }
#mb i:last-child { top: 23px; }
#mb.o i:first-child { top: 19px; transform: rotate(45deg); }
#mb.o i:last-child { top: 19px; transform: rotate(-45deg); }
.hr { display: flex; align-items: center; }
#menu {
  position: fixed; inset: 0; z-index: 150; background: var(--ink);
  display: grid; place-content: center; text-align: center; gap: 6px;
  clip-path: circle(0 at 100% 0); transition: clip-path .8s cubic-bezier(.8,0,.2,1);
}
#menu.o { clip-path: circle(150% at 100% 0); }
#menu a {
  font: 300 clamp(1.8rem, 6vw, 2.8rem) Fraunces, serif;
  opacity: 0; transform: translateY(20px); transition: .5s;
}
#menu.o a { opacity: 1; transform: none; }
#menu a:nth-child(2) { transition-delay: .15s; }
#menu a:nth-child(3) { transition-delay: .2s; }
#menu a:nth-child(4) { transition-delay: .25s; }
#menu a:nth-child(5) { transition-delay: .3s; }
#menu a:nth-child(6) { transition-delay: .35s; }
#menu a:hover { color: var(--g2); letter-spacing: .06em; }

/* --- Hero Section --- */
#hero {
  min-height: 92svh; display: flex; align-items: center;
  padding-top: 90px; background: #0b0e13; position: relative;
}
#hero .w { width: 100%; }
#hero h1 { font-size: clamp(2.2rem, 6.4vw, 4.6rem); max-width: 12ch; }
#hero h1 .l { display: block; overflow: hidden; padding-bottom: .06em; }
#hero h1 .l span { display: inline-block; transform: translateY(105%); transition: 1s cubic-bezier(.2,.8,.2,1); }
.ready #hero h1 .l span { transform: none; }
.ready #hero h1 .l:nth-child(2) span { transition-delay: .12s; }
.ready #hero h1 .l:nth-child(3) span { transition-delay: .24s; }
#hero p { max-width: 380px; color: var(--mut); margin: 20px 0 24px; }
#hero .c { display: flex; gap: 10px; flex-wrap: wrap; }
.hbg {
  position: absolute; inset: 0;
  background: #0b0e13 url("https://images.unsplash.com/photo-1757361653037-dbf0d0a820ae?fm=jpg&q=75&w=2000&auto=format&fit=crop") center/cover no-repeat;
  animation: kb 24s ease-in-out infinite alternate; z-index: 0;
}
@keyframes kb { to { transform: scale(1.08); } }
.hov {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #0b0e13f0 0%, #0b0e13b0 45%, #0b0e1340 100%),
              linear-gradient(0deg, #0b0e13 0%, transparent 28%);
}
.hd2 {
  position: absolute; z-index: 1; right: -9vw; top: 50%;
  width: min(46vw, 520px); aspect-ratio: 1; translate: 0 -50%;
  border: 1px solid #c9a24b66; animation: sp2 50s linear infinite; pointer-events: none;
}
.hd2:after { content: ""; position: absolute; inset: 16%; border: 1px solid #c9a24b44; }
@keyframes sp2 { from { rotate: 45deg; } to { rotate: 405deg; } }
.cr { position: absolute; z-index: 2; width: 44px; height: 44px; border: 0 solid var(--g); }
.cr.a { left: 26px; bottom: 26px; border-width: 0 0 1px 1px; }
.cr.b { right: 26px; bottom: 26px; border-width: 0 1px 1px 0; }
.pp { opacity: 0; }
.ready .pp { animation: popin .9s var(--d, 0s) cubic-bezier(.34,1.56,.64,1) both; }
@keyframes popin {
  0% { opacity: 0; transform: scale(.4) translateY(34px); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: none; }
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #c9a24b66; background: #0b0e1380; backdrop-filter: blur(8px);
  border-radius: 99px; padding: 5px 15px; font-size: .78rem; margin-bottom: 18px;
}
.chip i, .toast i { width: 7px; height: 7px; border-radius: 50%; background: var(--g2); position: relative; flex: none; }
.chip i:after, .toast i:after, .pin i:after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--g2); animation: pl 2s infinite;
}
@keyframes pl { to { transform: scale(3.2); opacity: 0; } }
.pin { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; }
.pin.r { flex-direction: row-reverse; }
.pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--g2); position: relative; flex: none; }
.pin span {
  background: #0b0e13b8; backdrop-filter: blur(8px);
  border: 1px solid #c9a24b66; border-radius: 99px;
  padding: 3px 12px; font-size: .72rem; white-space: nowrap;
}
.toast {
  position: absolute; z-index: 3; left: clamp(18px, 5vw, 60px); bottom: 60px;
  display: flex; align-items: center; gap: 10px; padding: 10px 18px;
  border-radius: 14px; background: #0b0e13d0; backdrop-filter: blur(12px);
  border: 1px solid var(--g); font-size: .82rem; opacity: 0;
}
.ready .toast { animation: popin .9s 5s cubic-bezier(.34,1.56,.64,1) both, tout .6s 13s forwards; }
@keyframes tout { to { opacity: 0; transform: translateY(20px) scale(.8); visibility: hidden; } }
.np { display: inline-block; animation: np .6s; }
@keyframes np { 50% { transform: scale(1.25); color: #fff; } }

/* --- Hero Feature Tiles --- */
.tri {
  position: absolute; z-index: 2; left: 18px; right: 78px; bottom: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end;
}
.gt {
  position: relative; border-radius: 17px; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), #c9a24b1f 0%, transparent 45%, var(--g2) 75%, #c9a24b1f 100%);
}
.ready .gt.pp { animation: popin .9s var(--d, 0s) cubic-bezier(.34,1.56,.64,1) both, rot 5s linear infinite; }
.gt:nth-child(2) { margin-bottom: 24px; }
.gi, .sc { position: relative; overflow: hidden; }
.gi {
  border-radius: 16px; background: linear-gradient(160deg, #171c25f2, #0b0e13f2);
  backdrop-filter: blur(12px); padding: 12px 10px 11px; height: 100%;
  animation: bob 4s var(--b, 0s) ease-in-out infinite; transition: filter .3s;
}
@keyframes bob { 50% { transform: translateY(-5px); } }
.gi:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, #c9a24b38, transparent 60%); }
.gi:after, .sc:after {
  content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, #ffffff26, transparent);
  transform: skewX(-20deg); animation: sh 4s var(--b, 0s) infinite;
}
.gi b { display: block; font: 400 .95rem Fraunces, serif; position: relative; }
.gi span { font-size: .66rem; color: var(--mut); position: relative; }
.ib {
  position: relative; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; background: #c9a24b22; margin-bottom: 9px;
}
.ib svg { width: 19px; height: 19px; fill: none; stroke: var(--g2); stroke-width: 1.5; }
.ib svg * { stroke-dasharray: 90; stroke-dashoffset: 90; animation: dr 1.6s 2.2s forwards; }

/* --- Stats Banner (3-col) --- */
.st3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 26px clamp(14px, 5vw, 60px); max-width: 1140px; margin: auto;
}
.sc {
  border: 1px solid var(--ln); border-radius: 18px; padding: 20px 8px 16px;
  text-align: center; background: linear-gradient(160deg, #171c25, #0f1319);
  transition: .4s;
}
.sc:hover { border-color: var(--g); transform: translateY(-5px); }
.sc .ib { margin: 0 auto 10px; }
.sc .ib svg * { animation: none; stroke-dashoffset: 0; }
.sc b { display: block; font: 300 clamp(1.9rem, 5vw, 2.9rem)/1.1 Fraunces, serif; color: var(--g2); }
.sc span { font-size: .72rem; color: var(--mut); display: block; margin-top: 2px; }
.sc > i {
  position: absolute; top: -22px; right: -22px; width: 56px; height: 56px;
  border: 1px solid #c9a24b44; transform: rotate(45deg); transition: .8s;
}
.sc:hover > i { transform: rotate(225deg) scale(1.2); }
.sc:nth-child(2):after { --b: 1.3s; }
.sc:nth-child(3):after { --b: 2.6s; }

/* --- Founder Section --- */
.fd { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 70px); align-items: center; }
.pt { position: relative; width: min(100%, 340px); margin: auto; aspect-ratio: 4/5; }
.pt .fr {
  position: absolute; inset: 0; border: 1px solid var(--g);
  border-radius: 200px 200px 18px 18px; transform: translate(16px, 16px); transition: .6s;
}
.pt:hover .fr { transform: translate(8px, 8px); }
.pt .im {
  position: absolute; inset: 0; border-radius: 200px 200px 18px 18px;
  overflow: hidden; background: #222;
}
.pt img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
  filter: grayscale(.25) contrast(1.05); transition: 1s;
}
.pt:hover img { filter: none; transform: scale(1.05); }
.pt .im:after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, #0b0e1399); }
.pt .rg {
  position: absolute; width: 110px; height: 110px; border: 1px dashed #c9a24b88;
  border-radius: 50%; left: -40px; bottom: 30px; animation: spin 18s linear infinite;
}
.pt .bd {
  position: absolute; right: -18px; top: 34px; background: #0b0e13dd;
  backdrop-filter: blur(10px); border: 1px solid var(--g); border-radius: 14px;
  padding: 10px 16px; text-align: center; animation: fl2 5s ease-in-out infinite;
}
.pt .bd b { display: block; font: 300 1.6rem Fraunces, serif; color: var(--g2); line-height: 1; }
.pt .bd span { font-size: .7rem; color: var(--mut); }
@keyframes fl2 { 50% { transform: translateY(-8px); } }
.fd blockquote {
  font: italic 300 clamp(1.15rem, 2.4vw, 1.6rem)/1.4 Fraunces, serif;
  margin: 16px 0; padding-left: 18px; border-left: 2px solid var(--g);
}
.fd .nm2 { font: 500 1rem Fraunces, serif; }
.fd .nm2 small { display: block; font: 300 .8rem Outfit; color: var(--mut); }
.fd .vals { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.fd .vals span {
  border: 1px solid var(--ln); border-radius: 99px;
  padding: 5px 14px; font-size: .78rem; transition: .3s;
}
.fd .vals span:hover { border-color: var(--g); color: var(--g2); }

/* --- Services Bento Grid --- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 12px; perspective: 1000px; }
.bx {
  border: 1px solid var(--ln); border-radius: 16px; padding: 18px;
  background: linear-gradient(150deg, #171c25, #10141b);
  position: relative; overflow: hidden; transition: transform .2s, border-color .3s;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bx:hover { border-color: #c9a24b88; }
.bx:before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0), #f0d78c22, transparent 60%);
  opacity: 0; transition: .3s;
}
.bx:hover:before { opacity: 1; }
.bx p { color: var(--mut); font-size: .82rem; line-height: 1.45; margin-top: 4px; }
.bx svg { position: absolute; top: 16px; left: 18px; width: 22px; height: 22px; stroke: var(--g2); fill: none; stroke-width: 1.5; }
.bx:after {
  content: ""; position: absolute; right: -24px; top: -24px;
  width: 70px; height: 70px; border: 1px solid #c9a24b33;
  transform: rotate(45deg); transition: .6s;
}
.bx:hover:after { transform: rotate(225deg) scale(1.3); }
.b2 { grid-column: span 2; }
.b2r { grid-row: span 2; }

/* --- 3D Carousel Gallery --- */
#gal { background: radial-gradient(500px 300px at 50% 60%, #2a2314, transparent), var(--ink2); }
.cv {
  height: min(420px, 70vw); perspective: 1100px; position: relative;
  touch-action: pan-y; user-select: none; cursor: grab; margin-bottom: 10px;
}
.cv .it {
  position: absolute; left: 50%; top: 6%; width: min(230px, 52vw); height: 86%;
  margin-left: calc(min(230px, 52vw)/-2); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--ln);
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s, filter .8s;
  background: var(--c);
  cursor: zoom-in;
}
.it img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.it svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.it div {
  position: absolute; inset: auto 0 0; padding: 44px 16px 14px;
  background: linear-gradient(transparent, #0b0e13ee);
}
.it small { color: var(--g2); font-size: .75rem; }
.cv:after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 30px;
  background: radial-gradient(ellipse, #c9a24b44, transparent 70%);
}
.ar { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.ar button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ln);
  background: none; color: var(--iv); cursor: pointer; transition: .3s;
}
.ar button:hover { background: var(--g); color: var(--ink); }

/* --- Pricing Cards --- */
.pg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 820px; margin: auto; }
.pc {
  position: relative; border-radius: 18px; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 60%, var(--g2), transparent 85%);
  animation: rot 5s linear infinite; transition: transform .3s;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rot { to { --a: 360deg; } }
.pc:hover { transform: translateY(-6px); }
.pc > div {
  background: linear-gradient(160deg, #171c25, #0f1319);
  border-radius: 17px; padding: 22px 18px; height: 100%;
  position: relative; overflow: hidden;
}
.pc > div:after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, #ffffff14, transparent);
  transform: skewX(-20deg); animation: sh 4s infinite;
}
@keyframes sh { 60%, 100% { left: 140%; } }
.pc.hot > div { background: linear-gradient(160deg, #2c2512, #14171d); }
.pc .p { font: 300 2rem Fraunces, serif; color: var(--g2); margin: 8px 0 2px; }
.pc .p small { font: 300 .75rem Outfit; color: var(--mut); }
.pc ul { list-style: none; margin: 12px 0 16px; font-size: .82rem; color: var(--mut); }
.pc li { padding: 5px 0; border-top: 1px solid var(--ln); }
.pc .btn { padding: 8px 16px; font-size: .8rem; }
.tag {
  position: absolute; top: 14px; right: 14px; font-size: .68rem;
  border: 1px solid var(--g); color: var(--g2); padding: 1px 10px; border-radius: 99px;
}
.note { color: var(--mut); font-size: .75rem; text-align: center; margin-top: 18px; }

/* --- 6-Step Process --- */
.pr { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.pr:before {
  content: ""; position: absolute; top: 17px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--g), transparent);
}
.pr div { text-align: center; padding: 0 8px; }
.pr b {
  display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 12px;
  background: var(--ink); border: 1px solid var(--g); transform: rotate(45deg);
  position: relative; z-index: 2; transition: .4s;
}
.pr b i { transform: rotate(-45deg); font: italic 300 .95rem Fraunces, serif; color: var(--g2); }
.pr div:hover b { background: var(--g); }
.pr div:hover b i { color: var(--ink); }
.pr h3 { font-size: .88rem; }
.pr p { font-size: .75rem; color: var(--mut); line-height: 1.4; margin-top: 4px; }

/* --- Testimonials --- */
.tt {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px;
}
.tt::-webkit-scrollbar { display: none; }
.tc {
  flex: 0 0 min(420px, 86%); scroll-snap-align: center; border: 1px solid var(--ln);
  border-radius: 16px; padding: 24px; background: linear-gradient(150deg, #171c25, #10141b);
  transition: .5s; opacity: .5; transform: scale(.95);
}
.tc.a { opacity: 1; transform: none; border-color: #c9a24b66; }
.tc q { display: block; font: italic 300 1.05rem/1.5 Fraunces, serif; quotes: none; }
.tc cite { display: block; margin-top: 16px; font-style: normal; font-size: .85rem; color: var(--g2); }
.tc cite small { color: var(--mut); display: block; }
.dt { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.dt i { width: 7px; height: 7px; border-radius: 9px; background: var(--ln); transition: .4s; cursor: pointer; }
.dt i.a { width: 26px; background: var(--g); }

/* --- Contact & Enquiry Form --- */
.ct { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; }
.cd { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.ci2 {
  border: 1px solid var(--ln); border-radius: 14px; padding: 14px;
  font-size: .85rem; transition: .3s; background: #ffffff06;
}
.ci2:hover { border-color: var(--g); transform: translateY(-3px); }
.ci2 small { display: block; color: var(--mut); font-size: .72rem; margin-bottom: 2px; }
.ci2.f { grid-column: 1 / -1; }
.so { display: flex; gap: 10px; grid-column: 1 / -1; }
.so a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 4px; border: 1px solid var(--ln); border-radius: 14px;
  font-size: .75rem; transition: .3s;
}
.so a:hover {
  transform: translateY(-4px); border-color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
}
.so svg { width: 22px; height: 22px; fill: var(--c); }
form {
  border: 1px solid var(--ln); border-radius: 20px; padding: 24px;
  background: linear-gradient(160deg, #171c25, #10141b);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  position: relative; overflow: hidden;
}
form:before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 120px; height: 120px; border: 1px solid #c9a24b33; transform: rotate(45deg);
}
.f { position: relative; }
.f.w2 { grid-column: 1 / -1; }
.f input, .f select, .f textarea {
  width: 100%; background: none; border: 0; border-bottom: 1px solid #ffffff2e;
  color: var(--iv); font: inherit; padding: 18px 0 6px; outline: 0;
  border-radius: 0; transition: .3s;
}
.f select option { background: var(--ink); }
.f label {
  position: absolute; left: 0; top: 18px; color: var(--mut);
  pointer-events: none; transition: .3s; font-size: .85rem;
}
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--g); }
.f input:focus + label, .f input:not(:placeholder-shown) + label,
.f textarea:focus + label, .f textarea:not(:placeholder-shown) + label,
.f select + label { top: 0; font-size: .68rem; color: var(--g2); }
.ok {
  grid-column: 1 / -1; color: var(--g2); font-size: .82rem; display: none;
  background: #c9a24b1f; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--g);
}

/* --- Floating Action Buttons --- */
.fl { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.fl a {
  width: 46px; height: 46px; border-radius: 50%; display: grid;
  place-items: center; box-shadow: 0 8px 24px #0008; transition: .3s;
}
.fl a:hover { transform: scale(1.1) rotate(-8deg); }
.fl svg { width: 22px; height: 22px; fill: #fff; }
.wa { background: #25d366; position: relative; }
.wa:before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; animation: rg 2s infinite; z-index: -1;
}
.cl { background: var(--g); }
.cl svg { fill: var(--ink); }
@keyframes rg { to { transform: scale(1.8); opacity: 0; } }

/* --- Reveal on Scroll --- */
.rv { opacity: 0; transform: translateY(30px); transition: .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .15s !important; }

/* --- Footer --- */
footer {
  text-align: left; padding: 70px clamp(18px, 5vw, 60px) 0;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--ink2), var(--ink));
  color: var(--iv); font-size: inherit; border-top: 1px solid var(--ln);
}
.fcta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid var(--ln);
}
.fg { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.4fr; gap: 32px; padding: 44px 0; }
.fg p, .fg span { color: var(--mut); font-size: .88rem; display: block; margin: 12px 0; }
.fg h4 { font: 500 .85rem Outfit; color: var(--g2); letter-spacing: .06em; margin-bottom: 12px; }
.fg > div > a:not(.logo) {
  display: block; color: var(--mut); font-size: .88rem; margin: 8px 0;
  transition: .3s; width: max-content;
}
.fg > div > a:not(.logo):hover { color: var(--g2); transform: translateX(5px); }
.fso { display: flex; gap: 10px; margin-top: 18px; }
.fso a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ln);
  display: grid; place-items: center; transition: .4s;
}
.fso a:hover {
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border-color: var(--c); transform: translateY(-4px) rotate(-8deg);
}
.fso svg { width: 18px; height: 18px; fill: var(--c); }
.fb {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--ln); color: var(--mut); font-size: .8rem;
}
.fb .top { color: var(--g2); }
.wm {
  font: 300 clamp(4rem, 22vw, 15rem)/.8 Fraunces, serif; letter-spacing: .08em;
  text-align: center; color: transparent; -webkit-text-stroke: 1px #c9a24b30;
  user-select: none; margin-top: 6px; transform: translateY(22%);
}

/* --- Lightbox Viewer --- */
#lb {
  position: fixed; inset: 0; z-index: 500; background: #06080cf5;
  backdrop-filter: blur(14px); opacity: 0; visibility: hidden;
  transition: .5s; touch-action: none;
}
#lb.o { opacity: 1; visibility: visible; }
#lbs { position: absolute; inset: 0; perspective: 1300px; overflow: hidden; }
.lbit {
  --w: min(72vw, 52vh); position: absolute; left: 50%; top: 50%;
  width: var(--w); height: calc(var(--w) * 1.3);
  margin: calc(var(--w) * -.65) 0 0 calc(var(--w) / -2);
  border-radius: 18px; overflow: hidden; border: 1px solid #ffffff22;
  background: var(--c);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .6s, filter .6s;
  box-shadow: 0 30px 90px #000a; user-select: none;
}
.lbit svg, .lbit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lbit > div {
  position: absolute; inset: auto 0 0; padding: 60px 22px 20px;
  background: linear-gradient(transparent, #0b0e13f0); transition: .3s; pointer-events: none;
}
.lbit small { color: var(--g2); }
#lbs.zz .lbit { transition: transform .2s, opacity .3s, filter .3s; }
#lbs.dr .lbit { transition: none; }
.lbx, .lbn, .lbz {
  position: absolute; z-index: 5; background: #ffffff12;
  backdrop-filter: blur(12px); border: 1px solid #ffffff2a; color: var(--iv); cursor: pointer;
}
.lbx { top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.1rem; transition: .3s; }
.lbx:hover { background: var(--g); color: var(--ink); transform: rotate(90deg); }
.lbn { top: 50%; width: 46px; height: 46px; border-radius: 50%; margin-top: -23px; font-size: 1.1rem; transition: .3s; }
.lbn:hover { background: var(--g); color: var(--ink); }
.lbn.l { left: 16px; }
.lbn.r { right: 16px; }
.lbc { position: absolute; z-index: 5; top: 26px; left: 20px; font: italic 300 1.1rem Fraunces, serif; color: var(--g2); }
.lbz {
  bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 99px;
}
.lbz button {
  min-width: 38px; height: 38px; border-radius: 99px; border: 0;
  background: none; color: var(--iv); font: inherit; font-size: 1.1rem;
  cursor: pointer; padding: 0 10px; transition: .3s;
}
.lbz button:hover { background: var(--g); color: var(--ink); }
.lbz span { min-width: 48px; text-align: center; font-size: .82rem; }
.lbh { position: absolute; z-index: 5; bottom: 78px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--mut); pointer-events: none; }

/* --- Enquiry Confirmation Popup Modal --- */
.enq-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.enq-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.enq-modal-card {
  width: min(500px, 100%);
  background: linear-gradient(160deg, #181d26, #0e1218);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: 24px;
  padding: 38px 30px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(201, 162, 75, 0.15);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.enq-modal-backdrop.active .enq-modal-card {
  transform: scale(1) translateY(0);
}
.enq-modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--g), var(--g2), transparent);
}
.enq-modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.15);
  border: 1.5px solid var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g2);
}
.enq-modal-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--g2);
  stroke-width: 2.2;
}
.enq-modal-card h3 {
  font-family: Fraunces, serif;
  font-weight: 400;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}
.enq-modal-card p {
  color: var(--mut);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 26px;
}
.enq-modal-card p strong {
  color: var(--g2);
}
.enq-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.enq-modal-actions .btn {
  padding: 11px 32px;
}

/* --- Responsive Media Queries --- */
@media (min-width: 821px) {
  .tri { left: auto; right: clamp(40px, 7vw, 100px); bottom: 60px; width: min(480px, 44vw); gap: 14px; }
  .gi { padding: 16px 14px 14px; }
  .gi b { font-size: 1.15rem; }
  .gi span { font-size: .75rem; }
}
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .pg { grid-template-columns: 1fr; }
  .pr { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pr:before { display: none; }
  .ct { grid-template-columns: 1fr; }
  .st { grid-template-columns: 1fr 1fr; }
  .st div:nth-child(2) { border: 0; }
  form { grid-template-columns: 1fr; }
  .hr .btn { display: none; }
  .fd { grid-template-columns: 1fr; }
  .pt { margin-bottom: 20px; }
  .hov { background: linear-gradient(180deg, #0b0e13a0, #0b0e13d0 55%, #0b0e13f5); }
  .hd2 { opacity: .5; right: -30vw; width: 80vw; }
  .fg { grid-template-columns: 1fr 1fr; }
  .fg > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .lbn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01s !important; transition-duration: .01s !important; }
}
