/* ==========================================================
   ROYAL BUILDERS — Main Stylesheet
   Gold: #C8960C  |  Navy: #0D0D1A
   ========================================================== */

/* ---------- Variables ---------- */
:root {
  --gold:       #C8960C;
  --gold-lt:    #E4B028;
  --gold-pale:  #F5E9C4;
  --gold-dk:    #9A7209;
  --navy:       #0D0D1A;
  --navy2:      #13131F;
  --navy3:      #1A1A2E;
  --text:       #2C2C2C;
  --text-mid:   #555;
  --text-soft:  #888;
  --white:      #fff;
  --off:        #F8F5EE;
  --border:     #E0D8C8;
  --ease:       cubic-bezier(.4,0,.2,1);
  --tr:         all .35s cubic-bezier(.4,0,.2,1);
  --radius:     6px;
  --shadow:     0 8px 40px rgba(0,0,0,.12);
  --shadow-dk:  0 16px 60px rgba(0,0,0,.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

/* ---------- Layout helpers ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sec { padding: 96px 0; }
.sec-sm { padding: 64px 0; }
.bg-off   { background: var(--off); }
.bg-navy  { background: var(--navy); }
.bg-navy2 { background: var(--navy2); }

/* ---------- Section labels ---------- */
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.sec-tag::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.sec-tag.no-line::before { display: none; }
.sec-tag.light { color: rgba(255,255,255,.55); }
.sec-tag.light::before { background: rgba(255,255,255,.35); }

.sec-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.sec-title.white { color: #fff; }
.sec-title span  { color: var(--gold); }

.sec-sub {
  font-size: .95rem;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.8;
}
.sec-sub.white { color: rgba(255,255,255,.6); }
.sec-sub.center { margin: 0 auto; }

.sec-hdr         { margin-bottom: 52px; }
.sec-hdr.center  { text-align: center; }
.sec-hdr.center .sec-tag::before { display: none; }
.sec-hdr.center .sec-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  touch-action: manipulation; /* removes 300ms tap delay on iOS */
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  transform: translateX(-101%);
  transition: transform .3s var(--ease);
}
.btn:hover::after { transform: translateX(0); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,150,12,.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* ============================================================
   NAVBAR  —  always fixed, transparent → solid on scroll
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .3s;
}

/* Transparent state (over hero) */
.navbar:not(.scrolled) {
  background: transparent;
}

/* Solid state (scrolled OR on inner pages) */
.navbar.scrolled,
.navbar.solid {
  background: var(--navy);
  box-shadow: 0 2px 28px rgba(0,0,0,.45);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height .3s var(--ease);
}
.navbar.scrolled .nav-container,
.navbar.solid .nav-container { height: 66px; }

/* Logo */
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height .3s;
}
.navbar.scrolled .nav-logo img,
.navbar.solid .nav-logo img { height: 44px; }

/* ---------- Desktop nav menu ---------- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: var(--tr);
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover,
.nav-link.active { color: var(--gold-lt); }

.nav-link .fa-chevron-down {
  font-size: .55rem;
  transition: transform .25s;
}
.nav-item:hover .fa-chevron-down { transform: rotate(180deg); }

/* ---------- Dropdown ---------- */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 48px rgba(0,0,0,.18);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--tr);
  pointer-events: none;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: .83rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--tr);
}
.dropdown-item:hover {
  background: var(--off);
  color: var(--gold);
  padding-left: 26px;
}

/* ---------- Nav CTA button ---------- */
.nav-cta {
  margin-left: 14px;
  flex-shrink: 0;
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 9100;
  touch-action: manipulation; /* removes 300ms tap delay on iOS */
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--tr);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO — YouTube video background (same as example.html template)
   Video: T3Oo7VaeW-E | Start: 9s | End: 32s
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* iOS 15.4+: accounts for dynamic address bar */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a14;
}

/* ── Video wrapper ── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;                           /* hidden until YT player fires onReady */
  transition: opacity 1.2s ease;
  overflow: hidden;
}

/* The YT player iframe fills the full area and stays centered */
#heroYTPlayer {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 → cover any viewport */
  width:  max(100vw, 177.8vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Dark overlay on top of video — same style as Hestate template */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(6,6,18,.90) 0%, rgba(6,6,18,.65) 50%, rgba(6,6,18,.20) 100%),
    linear-gradient(to top,    rgba(6,6,18,.70) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(6,6,18,.40) 0%, transparent 30%);
  z-index: 1;
}

/* Fallback shown when video cannot load (localhost / no internet) */
.hero-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;               /* shown by default, hidden by JS on success */
  background:
    linear-gradient(135deg, #0a0a14 0%, #14100a 40%, #1c1405 65%, #0d0d1a 100%);
}
/* Subtle animated gradient on the fallback so it still looks premium */
.hero-video-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 20% 40%, rgba(200,150,12,.22) 0%, transparent 65%);
  animation: fbPulse 5s ease-in-out infinite alternate;
}
.hero-video-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 65%, rgba(200,150,12,.12) 0%, transparent 65%);
  animation: fbPulse 7s ease-in-out infinite alternate-reverse;
}
@keyframes fbPulse {
  from { opacity: .6; }
  to   { opacity: 1; }
}

/* ── Hero content ── */
.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  padding-top: 100px;
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,150,12,.16);
  border: 1px solid rgba(200,150,12,.50);
  color: #E4B028;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(200,150,12,.18);
}
.hero-eyebrow i { font-size: .68rem; }

/* Main heading */
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 24px;
  text-shadow: 0 2px 32px rgba(0,0,0,.6);
}
.hero-h1 em {
  color: #E4B028;
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero-h1 em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #C8960C, #E4B028, transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 1s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: 1.2s;
}
@keyframes lineGrow { to { transform: scaleX(1); } }

/* Sub text */
.hero-p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 500px;
  margin-bottom: 38px;
  line-height: 1.85;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Teaser info boxes at bottom of hero */
.hero-teasers {
  display: flex;
  max-width: 560px;
}
.hero-teaser {
  flex: 1;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200,150,12,.22);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background .3s, box-shadow .3s;
}
.hero-teaser:first-child { border-radius: var(--radius) 0 0 var(--radius); border-right: none; }
.hero-teaser:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.hero-teaser:hover { background: rgba(200,150,12,.14); box-shadow: inset 0 0 20px rgba(200,150,12,.08); }
.teaser-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(200,150,12,.4);
}
.hero-teaser h5 { font-size: .9rem; color: #fff; margin-bottom: 3px; }
.hero-teaser p  { font-size: .75rem; color: rgba(255,255,255,.52); line-height: 1.5; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.45);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s infinite;
}
.hero-scroll i { font-size: 1rem; color: var(--gold); }

@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold-lt) 50%, var(--gold) 65%, transparent);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: 44px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background .3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(200,150,12,.07); }
.stat-icon { font-size: 1.5rem; color: var(--gold); opacity: .75; margin-bottom: 8px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-num .suf { font-size: 1.9rem; color: var(--gold); }
.stat-lbl {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-top: 6px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dk);
  display: block;
}
.about-deco {
  position: absolute;
  bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt));
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 36px rgba(200,150,12,.4);
}
.about-deco .big { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.about-deco .sm  { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-top: 4px; }

.about-text .sec-sub { margin: 0 0 24px; }
.check-list { display: flex; flex-direction: column; gap: 11px; margin: 20px 0 30px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 500; color: var(--text);
}
.check-list li i { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   SERVICES / FEATURES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.svc-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-7px); box-shadow: 0 18px 52px rgba(200,150,12,.13); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
  margin-bottom: 20px;
  transition: var(--tr);
}
.svc-card:hover .svc-icon { background: var(--gold); color: #fff; }
.svc-card h4 { font-size: 1rem; margin-bottom: 9px; color: var(--navy); }
.svc-card p  { font-size: .875rem; color: var(--text-mid); line-height: 1.75; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.proj-grid.two  { grid-template-columns: repeat(2, 1fr); }
.proj-grid.four { grid-template-columns: repeat(4, 1fr); }

.proj-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  transition: var(--tr);
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.16); }

.proj-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.proj-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.proj-card:hover .proj-thumb img { transform: scale(1.07); }

/* Overlay on hover */
.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,26,.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .35s;
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-overlay p { color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.6; }

.proj-badge {
  position: absolute;
  top: 13px; right: 13px;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}
.badge-res  { background: rgba(200,150,12,.9); }
.badge-com  { background: rgba(88,88,210,.9); }
.badge-vil  { background: rgba(39,174,96,.9); }
.badge-done { background: rgba(39,174,96,.9); }
.badge-wip  { background: rgba(200,150,12,.9); }

.proj-body { padding: 18px 20px 20px; }
.proj-body h5 { font-size: .97rem; margin-bottom: 6px; color: var(--navy); }
.proj-loc { display: flex; align-items: center; gap: 5px; font-size: .79rem; color: var(--text-soft); }
.proj-loc i { color: var(--gold); font-size: .75rem; }

/* Progress bar */
.prog-wrap { margin-top: 11px; }
.prog-top  { display: flex; justify-content: space-between; font-size: .74rem; color: var(--text-mid); margin-bottom: 5px; }
.prog-bar  { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s var(--ease);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-dk);
}

.testi-img-side {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
.testi-img-side-bg {
  position: absolute;
  inset: 0;
  background: url('../property/exterior-3.jpeg') center/cover no-repeat;
}
.testi-img-side-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(13,13,26,.78) 0%, rgba(200,150,12,.22) 100%);
}
.testi-img-text {
  position: absolute;
  bottom: 34px; left: 34px;
  z-index: 2;
}
.testi-img-text h3 { font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.testi-img-text p  { color: rgba(255,255,255,.6); font-size: .87rem; }

.testi-slides-side {
  background: var(--navy2);
  padding: 50px 42px;
  display: flex;
  flex-direction: column;
}
.testi-slides-side .sec-tag { margin-bottom: 6px; }
.testi-slides-side .sec-title { font-size: 1.55rem; margin-bottom: 28px; }

.testi-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 28px;
}
.testi-qt { font-size: 1.9rem; color: var(--gold); opacity: .6; margin-bottom: 12px; }
.testi-review {
  font-size: .9rem;
  color: rgba(255,255,255,.76);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 18px;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testi-stars i { color: var(--gold); font-size: .78rem; }
.testi-bio {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; color: #fff; font-size: .9rem; }
.testi-role { font-size: .75rem; color: var(--gold); margin-top: 2px; }

.swiper-nav-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px;
}
.swiper-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .82rem;
  cursor: pointer; transition: var(--tr);
}
.swiper-btn:hover { background: var(--gold); border-color: var(--gold); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(200,150,12,.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); color: #fff; margin-bottom: 14px; }
.cta-section > .container > p { color: rgba(255,255,255,.6); font-size: .96rem; max-width: 500px; margin: 0 auto 44px; line-height: 1.8; }
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: .87rem; font-weight: 600;
  transition: var(--tr);
  white-space: nowrap;
}
.cta-pill:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.pill-phone { background: var(--gold); color: #fff; }
.pill-phone:hover { background: var(--gold-dk); }
.pill-wa    { background: #25D366; color: #fff; }
.pill-wa:hover { background: #1dbc58; }
.pill-mail  { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.pill-mail:hover { background: rgba(255,255,255,.18); }
.pill-ig    { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); color: #fff; }
.pill-ig:hover { background: linear-gradient(135deg,#6d2d99,#d11919,#e09a2f); }
.pill-insta { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); color: #fff; }
.pill-insta:hover { background: linear-gradient(135deg,#6d2d99,#d11919,#e09a2f); }
.pill-team { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.pill-team:hover { background: linear-gradient(135deg, #5568d3 0%, #63408a 100%); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding-top: 70px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-lt) 50%, var(--gold) 70%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo-img { height: 50px; margin-bottom: 16px; }
.footer-tagline  { color: rgba(255,255,255,.44); font-size: .84rem; line-height: 1.8; margin-bottom: 22px; }
.footer-socials  { display: flex; gap: 9px; }
.f-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .83rem;
  transition: var(--tr);
}
.f-social:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }

.f-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.04rem; color: #fff;
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.f-links { display: flex; flex-direction: column; gap: 10px; }
.f-links a {
  color: rgba(255,255,255,.44); font-size: .84rem;
  display: flex; align-items: center; gap: 8px;
  transition: var(--tr);
}
.f-links a::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--gold); opacity: .4;
  transition: var(--tr); flex-shrink: 0;
}
.f-links a:hover { color: var(--gold-lt); padding-left: 4px; }
.f-links a:hover::before { opacity: 1; }

.f-contact-list { display: flex; flex-direction: column; gap: 13px; }
.f-contact-row  { display: flex; gap: 11px; align-items: flex-start; }
.f-contact-row i { color: var(--gold); font-size: .83rem; margin-top: 3px; flex-shrink: 0; }
.f-contact-row a,
.f-contact-row span { color: rgba(255,255,255,.49); font-size: .82rem; line-height: 1.6; transition: var(--tr); }
.f-contact-row a:hover { color: var(--gold-lt); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.26); }
.footer-bottom a { color: var(--gold); transition: var(--tr); }
.footer-bottom a:hover { color: var(--gold-lt); }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.float-wa {
  position: fixed;
  bottom: 86px; right: 22px;
  /* iPhone notch/home indicator safe area */
  bottom: calc(86px + env(safe-area-inset-bottom));
  right: calc(22px + env(safe-area-inset-right));
  z-index: 8000;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.45rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: var(--tr);
  animation: waPulse 2.5s infinite;
}
.float-wa:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.12); }
}

.back-top {
  position: fixed;
  bottom: 22px; right: 22px;
  /* iPhone notch/home indicator safe area */
  bottom: calc(22px + env(safe-area-inset-bottom));
  right: calc(22px + env(safe-area-inset-right));
  z-index: 8000;
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
  box-shadow: 0 4px 16px rgba(200,150,12,.4);
  cursor: pointer;
  border: none;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: var(--tr);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold-dk); transform: translateY(-2px); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  padding: 160px 0 82px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,150,12,.13) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); color: #fff; margin-bottom: 14px; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: .81rem; color: rgba(255,255,255,.42);
}
.breadcrumb a { color: var(--gold); transition: var(--tr); }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb .sep { font-size: .6rem; color: rgba(255,255,255,.22); }

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 38px; }
.f-tab {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  font-size: .81rem; font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--tr);
}
.f-tab.active, .f-tab:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.55rem; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .88rem; color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,12,.13);
}
.form-group textarea { resize: vertical; min-height: 116px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.cinfo-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--off);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: var(--tr);
}
.cinfo-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.cinfo-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.cinfo-content h5 { font-size: .88rem; color: var(--navy); margin-bottom: 4px; }
.cinfo-content a,
.cinfo-content p { font-size: .84rem; color: var(--text-mid); display: block; transition: var(--tr); }
.cinfo-content a:hover { color: var(--gold); }

.map-wrap {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 370px;
  box-shadow: var(--shadow-dk);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   MISSION/VISION (About page)
   ============================================================ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.mv-card {
  border-radius: 10px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: var(--navy); }
.mv-card.vision  { background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt)); }
.mv-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.mv-card p  { color: rgba(255,255,255,.76); font-size: .88rem; line-height: 1.8; }
.mv-bg-icon {
  font-size: 3.5rem;
  opacity: .1;
  position: absolute;
  bottom: 14px; right: 22px;
  color: #fff;
}

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: var(--tr);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-dk); }
.team-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--navy3) 0%, var(--gold-dk) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,.25);
}
.team-info { padding: 22px 18px; }
.team-info h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.team-info .role { font-size: .77rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .07em; }
.team-info p { font-size: .84rem; color: var(--text-mid); margin-top: 9px; line-height: 1.7; }

/* ============================================================
   GALLERY GRID (Completed projects)
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.gal-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  transition: var(--tr);
}
.gal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-dk); }
.gal-thumb { position: relative; height: 240px; overflow: hidden; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-card:hover .gal-thumb img { transform: scale(1.07); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,26,.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; opacity: 0; transition: opacity .35s;
}
.gal-card:hover .gal-overlay { opacity: 1; }
.gal-overlay p { color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.6; }
.gal-body { padding: 16px 18px 20px; }
.gal-body h4 { font-size: .97rem; color: var(--navy); margin-bottom: 6px; }
.gal-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--text-soft); }
.gal-meta span { display: flex; align-items: center; gap: 4px; }
.gal-meta i { color: var(--gold); }

/* ============================================================
   TESTIMONIALS PAGE GRID
   ============================================================ */
.testi-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.tp-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border-top: 3px solid var(--gold);
  transition: var(--tr);
}
.tp-card:hover { transform: translateY(-6px); box-shadow: 0 16px 52px rgba(200,150,12,.14); }
.tp-qt { font-size: 2.2rem; color: var(--gold); opacity: .6; margin-bottom: 10px; }
.tp-text { font-size: .9rem; color: var(--text-mid); line-height: 1.8; font-style: italic; margin-bottom: 18px; }
.tp-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.tp-stars i { color: var(--gold); font-size: .8rem; }
.tp-bio { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.tp-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.tp-name { font-weight: 700; color: var(--navy); font-size: .88rem; }
.tp-role { font-size: .75rem; color: var(--gold); margin-top: 2px; }

/* Featured testimonial */
.featured-testi {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  border-radius: 12px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
}
.featured-testi::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 12rem;
  color: rgba(200,150,12,.1);
  position: absolute;
  top: -20px; right: 40px;
  line-height: 1;
}
.featured-testi .big-review {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem,2.2vw,1.5rem);
  color: rgba(255,255,255,.88);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
  max-width: 740px;
}
.featured-testi .reviewer { display: flex; align-items: center; gap: 16px; }
.featured-testi .f-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.featured-testi .f-name { font-size: 1rem; font-weight: 700; color: #fff; }
.featured-testi .f-role { font-size: .8rem; color: var(--gold-lt); margin-top: 2px; }
.featured-testi .f-stars { display: flex; gap: 3px; margin-bottom: 6px; }
.featured-testi .f-stars i { color: var(--gold); font-size: .85rem; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-wrap {
  display: flex;
  min-height: 100vh;
  background: #f0ede8;
}
.admin-sidebar {
  width: 256px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  box-shadow: 4px 0 20px rgba(0,0,0,.22);
}
.sidebar-logo {
  padding: 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sidebar-logo img { height: 42px; }
.sidebar-logo p { color: rgba(255,255,255,.36); font-size: .72rem; margin-top: 5px; }
.sidebar-nav { flex: 1; padding: 18px 10px; display: flex; flex-direction: column; gap: 3px; }
.sidebar-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.56);
  font-size: .84rem; font-weight: 500;
  cursor: pointer; transition: var(--tr);
}
.sidebar-link:hover,
.sidebar-link.active { background: rgba(200,150,12,.14); color: var(--gold-lt); }
.sidebar-link i { width: 16px; text-align: center; }
.sidebar-link.danger { color: rgba(220,80,60,.75); margin-top: auto; }
.sidebar-link.danger:hover { background: rgba(220,80,60,.1); color: #ff7b7b; }

.admin-main { margin-left: 256px; flex: 1; min-height: 100vh; }
.admin-topbar {
  background: #fff;
  padding: 16px 30px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.admin-topbar h1 { font-size: 1.25rem; color: var(--navy); }
.admin-user { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--text-mid); }
.admin-user i { color: var(--gold); font-size: 1.2rem; }
.admin-content { padding: 28px 30px; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 28px; }
.ast-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.ast-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.ast-icon.gold  { background: rgba(200,150,12,.12); color: var(--gold); }
.ast-icon.green { background: rgba(39,174,96,.12);  color: #27ae60; }
.ast-icon.blue  { background: rgba(52,152,219,.12); color: #3498db; }
.ast-card h3 { font-size: 1.9rem; color: var(--navy); line-height: 1; }
.ast-card p  { font-size: .77rem; color: var(--text-soft); margin-top: 3px; }
.admin-card {
  background: #fff;
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.admin-card h3 {
  font-size: 1.1rem; color: var(--navy);
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.proj-table { width: 100%; border-collapse: collapse; }
.proj-table th, .proj-table td { padding: 11px 14px; text-align: left; font-size: .84rem; }
.proj-table th { background: var(--off); color: var(--text-mid); font-weight: 600; text-transform: uppercase; font-size: .72rem; letter-spacing: .07em; }
.proj-table td { border-top: 1px solid var(--border); color: var(--text); }
.proj-table tr:hover td { background: var(--off); }
.thumb-sm { width: 50px; height: 38px; object-fit: cover; border-radius: 5px; }
.badge-tbl {
  display: inline-block; padding: 3px 10px;
  border-radius: 50px; font-size: .69rem; font-weight: 700; text-transform: uppercase;
}
.badge-tbl.completed { background: rgba(39,174,96,.12); color: #27ae60; }
.badge-tbl.ongoing   { background: rgba(200,150,12,.14); color: var(--gold-dk); }
.del-btn {
  background: rgba(220,60,60,.1); color: #e53e3e;
  border: 1px solid rgba(220,60,60,.2);
  padding: 5px 12px; border-radius: 5px;
  font-size: .76rem; cursor: pointer; transition: var(--tr);
}
.del-btn:hover { background: #e53e3e; color: #fff; }

/* Upload area */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--tr);
  background: var(--off);
}
.upload-zone:hover { border-color: var(--gold); background: var(--gold-pale); }
.upload-zone i { font-size: 2.4rem; color: var(--gold); margin-bottom: 10px; }
.upload-zone p { font-size: .85rem; color: var(--text-mid); }
.upload-zone input[type=file] { display: none; }

/* Toast notifications */
.toast {
  position: fixed; top: 22px; right: 22px; z-index: 9999;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  animation: toastIn .4s var(--ease);
}
.toast.ok  { background: #27ae60; color: #fff; }
.toast.err { background: #e53e3e; color: #fff; }
@keyframes toastIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Admin login */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.login-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(200,150,12,.2);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 46px 40px;
  width: 100%; max-width: 400px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.login-card .l-logo { height: 58px; margin: 0 auto 22px; }
.login-card h2 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.login-card .l-sub { color: rgba(255,255,255,.45); font-size: .82rem; margin-bottom: 28px; }
.login-card label { color: rgba(255,255,255,.65); }
.login-card input {
  background: rgba(255,255,255,.07);
  border-color: rgba(200,150,12,.25);
  color: #fff;
}
.login-card input::placeholder { color: rgba(255,255,255,.28); }
.login-card input:focus { border-color: var(--gold); }
.alert-box {
  padding: 11px 14px; border-radius: var(--radius);
  font-size: .84rem; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.alert-err { background: rgba(220,60,60,.15); border: 1px solid rgba(220,60,60,.25); color: #ff8080; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 42px; }
.pass-eye {
  position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.38); cursor: pointer; font-size: .88rem; transition: color .2s;
}
.pass-eye:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-grid    { gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .stats-inner   { grid-template-columns: repeat(2,1fr); }
  .about-grid    { grid-template-columns: 1fr; }
  .testi-wrap    { grid-template-columns: 1fr; }
  .testi-img-side { min-height: 280px; }
  .proj-grid     { grid-template-columns: repeat(2,1fr); }
  .gallery-grid  { grid-template-columns: repeat(2,1fr); }
  .testi-page-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .mv-grid       { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: repeat(2,1fr); }
  .fp-grid       { grid-template-columns: 1fr; }
}

/* ---------- MOBILE NAVBAR — only at ≤768px ---------- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-cta   { display: none; }

  .nav-menu {
    /* Mobile drawer */
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh; /* iOS 15.4+: dynamic viewport height */
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 40px;
    gap: 2px;
    overflow-y: auto;
    transition: right .35s var(--ease);
    box-shadow: -4px 0 28px rgba(0,0,0,.35);
    z-index: 9050;
  }
  .nav-menu.open { right: 0; }

  .nav-item { width: 100%; }

  .nav-link {
    width: 100%;
    padding: 12px 8px;
    font-size: .9rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  /* Mobile dropdown — expands inline */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    border-radius: var(--radius);
    border-top-color: rgba(200,150,12,.4);
    transition: max-height .3s var(--ease), visibility .3s;
    margin-top: 4px;
    pointer-events: auto;
  }
  .nav-item.mob-open .dropdown-menu {
    visibility: visible;
    max-height: 200px;
  }
  .dropdown-item { color: rgba(255,255,255,.65); }
  .dropdown-item:hover { background: rgba(200,150,12,.1); color: var(--gold-lt); padding-left: 20px; }

  /* Sections */
  .sec { padding: 60px 0; }
  .sec-sm { padding: 44px 0; }
  .container { padding: 0 18px; }

  .about-img-main { height: 340px; }
  .about-deco { right: 0; bottom: -16px; padding: 18px 22px; }
  .about-deco .big { font-size: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .proj-grid     { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .testi-page-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }

  .hero-h1 { font-size: 2.2rem; }
  .hero-teasers { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }

  .admin-main    { margin-left: 0; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .35s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { padding: 20px 16px; }

  .contact-form-card { padding: 24px; }
  .form-row2 { grid-template-columns: 1fr; }

  .featured-testi { padding: 28px; }
  .featured-testi .big-review { font-size: 1rem; }

  .cta-btns { flex-direction: column; align-items: center; }
  .cta-pill { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-num { font-size: 2.2rem; }
  .stat-num .suf { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.9rem; }
}

/* Slightly lighter Royal Builders blue, with the existing gold unchanged. */
:root {
  --navy: #12345A !important;
  --navy2: #173E67 !important;
  --navy3: #1D4874 !important;
  --dark: #12345A !important;
  --dark2: #173E67 !important;
}

/* Hestate-style composition for the home hero. Keep the Royal Builders palette. */
.hero {
  overflow: visible !important;
  margin-bottom: 116px !important;
}

.hero-teasers {
  display: flex !important;
  position: absolute !important;
  right: clamp(18px, 8vw, 120px) !important;
  bottom: -116px !important;
  max-width: min(640px, 60%) !important;
  background: #fff !important;
  border-left: 4px solid #DAA520 !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .14) !important;
  z-index: 3 !important;
}

.hero-teaser {
  min-width: 0 !important;
  padding: 28px 24px !important;
  background: #fff !important;
  border: 0 !important;
}

.hero-teaser + .hero-teaser {
  border-left: 1px solid #E5E5E5 !important;
}

.hero-teaser h5 {
  color: #0A1E3D !important;
}

.hero-teaser p {
  color: #666 !important;
}

@media(max-width:768px){
  .hero {
    margin-bottom: 226px !important;
  }

  .hero-teasers {
    display: flex !important;
    left: 16px !important;
    right: 16px !important;
    bottom: -210px !important;
    max-width: none !important;
    flex-direction: column !important;
  }

  .hero-teaser + .hero-teaser {
    border-left: 0 !important;
    border-top: 1px solid #E5E5E5 !important;
  }
}

/* Stepped corner blocks used by the reference template. */
.newsletter-strip,
.footer-main {
  position: relative;
  overflow: hidden;
}

.nl-deco,
.nl-deco-br {
  position: absolute;
  z-index: 0;
  display: grid;
  grid-auto-rows: 46px;
  pointer-events: none;
}

.nl-deco {
  top: 0;
  left: 0;
  grid-template-columns: repeat(3, 46px);
}

.nl-deco-br {
  right: 0;
  bottom: 0;
  grid-template-columns: repeat(2, 46px);
}

.nl-deco-sq,
.nl-deco-br-sq {
  background: rgba(255, 255, 255, .1);
}

.nl-deco-sq:nth-child(2),
.nl-deco-br-sq:nth-child(2) { opacity: .7; }
.nl-deco-sq:nth-child(3),
.nl-deco-br-sq:nth-child(3) { opacity: .45; }
.nl-deco-sq:nth-child(4),
.nl-deco-br-sq:nth-child(4) { opacity: .22; }

.newsletter-strip > .container,
.footer-main > .container {
  position: relative;
  z-index: 1;
}
