/* ============================================================
   ANB Unique Real Estate - Custom Design System
   Premium / Modern / Corporate / Architecture-focused
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --primary: #0755A5;
  --primary-dark: #05437f;
  --bright: #08A8E8;
  --magenta: #D9005B;
  --magenta-dark: #b5004e;
  --navy: #071B35;
  --navy-2: #0d2a52;
  --navy-3: #123464;
  --off: #F7F9FC;
  --white: #FFFFFF;
  --text: #172033;
  --muted: #5d6b83;
  --border: #e4eaf3;
  --border-dark: rgba(255,255,255,.12);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 10px rgba(7,27,53,.06);
  --shadow: 0 12px 30px rgba(7,27,53,.10);
  --shadow-lg: 0 24px 60px rgba(7,27,53,.16);
  --shadow-magenta: 0 10px 26px rgba(217,0,91,.28);

  --font-head: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1200px;
  --header-h: 84px;
  --transition: .35s cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--magenta); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--text); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--magenta); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn .ico { transition: transform var(--transition); }
.btn:hover .ico { transform: translateX(4px); }

.btn-magenta { background: var(--magenta); color: #fff; box-shadow: var(--shadow-magenta); }
.btn-magenta:hover { background: var(--magenta-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(217,0,91,.34); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(7,85,165,.30); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

.btn-outline { border-color: var(--border); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--off); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--off); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-ghost-white { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-ongoing   { background: rgba(8,168,232,.14); color: #0577a8; }
.badge-completed { background: rgba(7,85,165,.12); color: var(--primary); }
.badge-upcoming  { background: rgba(217,0,91,.12); color: var(--magenta); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bright);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--magenta);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 34px; height: 2px; background: var(--magenta); }

.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--transition), transform .8s var(--transition); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(7,27,53,.08);
  height: 72px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img, .logo svg { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .l1 { font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; letter-spacing: .02em; color: #fff; transition: color var(--transition); }
.logo-text .l2 { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bright); font-weight: 600; }
.site-header.scrolled .logo-text .l1 { color: var(--navy); }

nav li{list-style: none;}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > li > a {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255,255,255,.92);
  padding: 8px 0;
}
.main-nav > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--magenta);
  transition: width var(--transition);
  border-radius: 2px;
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: #fff; }
.main-nav > li > a:hover::after, .main-nav > li.active > a::after { width: 100%; }
.site-header.scrolled .main-nav > li > a { color: var(--navy); }
.site-header.scrolled .main-nav > li > a:hover, .site-header.scrolled .main-nav > li.active > a { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 1102;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all .3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out forwards; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,27,53,.55) 0%, rgba(7,27,53,.42) 40%, rgba(7,27,53,.9) 100%),
    linear-gradient(90deg, rgba(7,27,53,.62) 0%, rgba(7,27,53,.12) 60%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-content { position: relative; z-index: 2; padding: 120px 0 150px; max-width: 780px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(217,0,91,.3); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--bright); }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  z-index: 2;
}
.hero-scroll .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: '';
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--bright);
  animation: scrollWheel 1.8s infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

.hero-enter { opacity: 0; transform: translateY(26px); animation: heroEnter .9s var(--transition) forwards; }
.hero-enter.d1 { animation-delay: .15s; }
.hero-enter.d2 { animation-delay: .3s; }
.hero-enter.d3 { animation-delay: .45s; }
.hero-enter.d4 { animation-delay: .6s; }
@keyframes heroEnter { to { opacity: 1; transform: none; } }

/* ============================================================
   PROJECT FINDER
   ============================================================ */
.finder { margin-top: -70px; position: relative; z-index: 5; }
.finder-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  transform: translateY(0);
}
.finder-row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
.finder-field label {
  display: block;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
}
.field:focus { outline: none; border-color: var(--bright); background: #fff; box-shadow: 0 0 0 4px rgba(8,168,232,.12); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .img-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 540px; object-fit: cover; transition: transform 1.2s ease; }
.about-media .img-wrap:hover img { transform: scale(1.05); }
.about-media .exp-chip {
  position: absolute;
  bottom: -26px; right: -18px;
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
}
.about-media .exp-chip .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--bright); line-height: 1; }
.about-media .exp-chip .lbl { font-size: .82rem; color: rgba(255,255,255,.85); max-width: 110px; line-height: 1.35; }
.about-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0 0 18px; }
.about-content p { color: var(--muted); }

/* ---------- Statistics ---------- */
.stats { background: var(--navy); position: relative; overflow: hidden; }
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(8,168,232,.16), transparent 60%),
    radial-gradient(500px 260px at 10% 90%, rgba(217,0,91,.14), transparent 60%);
  pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 1; }
.stat { text-align: center; padding: 20px 10px; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat .num .suffix { color: var(--magenta); }
.stat .lbl { margin-top: 12px; color: rgba(255,255,255,.7); font-size: .92rem; letter-spacing: .02em; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-card .ico {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,85,165,.08);
  color: var(--primary);
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: all var(--transition);
}
.why-card:hover .ico { background: var(--magenta); color: #fff; transform: rotate(-6deg) scale(1.05); }
.why-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ============================================================
   PROJECT CARDS + FILTERS
   ============================================================ */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--muted);
  transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(7,85,165,.28); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-card .media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.project-card:hover .media img { transform: scale(1.08); }
.project-card .media .badge { position: absolute; top: 16px; left: 16px; backdrop-filter: blur(6px); }
.project-card .media .media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,27,53,.55));
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .media .media-overlay { opacity: 1; }
.project-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card .type { color: var(--magenta); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.project-card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.project-card .loc { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.project-card .loc i { color: var(--bright); }
.project-card .desc { color: var(--muted); font-size: .92rem; margin-bottom: 20px; flex: 1; }
.project-card .foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.project-card .foot .more {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--navy); display: inline-flex; align-items: center; gap: 8px;
}
.project-card .foot .more i { transition: transform var(--transition); color: var(--bright); }
.project-card:hover .foot .more i { transform: translateX(5px); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 2.6rem; color: var(--border); margin-bottom: 16px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--off); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .ico {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--bright));
  color: #fff; font-size: 1.4rem;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(7,85,165,.28);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.service-card .more {
  margin-top: 20px; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--primary); display: inline-flex; align-items: center; gap: 8px;
}
.service-card .more i { transition: transform var(--transition); }
.service-card:hover .more i { transform: translateX(5px); }

/* ============================================================
   SHOWCASE (project status split)
   ============================================================ */
.showcase { overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.showcase-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.showcase-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.showcase-item:hover img { transform: scale(1.06); }
.showcase-item .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,27,53,.05) 30%, rgba(7,27,53,.88) 100%); }
.showcase-item .inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.showcase-item .count { font-family: var(--font-head); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bright); margin-bottom: 10px; }
.showcase-item h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.showcase-item p { color: rgba(255,255,255,.8); font-size: .94rem; margin-bottom: 16px; }
.showcase-item .btn { align-self: flex-start; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  columns: 3;
  column-gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  break-inside: avoid;
  cursor: pointer;
}
.gallery-item img { width: 100%; transition: transform .9s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(7,27,53,.8));
  color: #fff; font-size: .9rem; font-weight: 600;
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
}
.gallery-item:hover .cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 3000;
  background: rgba(7,20,40,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb-btn {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.lb-btn:hover { background: var(--magenta); border-color: var(--magenta); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .92rem; }
.lb-counter { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .85rem; letter-spacing: .08em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--navy); position: relative; overflow: hidden; }
.testimonials::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 20% 0%, rgba(8,168,232,.14), transparent 60%);
  pointer-events: none;
}
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-head p { color: rgba(255,255,255,.65); }
.t-slider { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.t-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; scrollbar-width: none; padding: 6px; }
.t-track::-webkit-scrollbar { display: none; }
.t-slide { flex: 0 0 100%; scroll-snap-align: center; }
.t-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(6px);
}
.t-card .quote { font-size: 2rem; color: var(--bright); margin-bottom: 14px; }
.t-card .review { color: rgba(255,255,255,.88); font-size: 1.05rem; line-height: 1.8; margin-bottom: 26px; }
.t-stars { color: #ffc84a; margin-bottom: 18px; font-size: .9rem; letter-spacing: 2px; }
.t-person { display: flex; align-items: center; gap: 16px; }
.t-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bright); }
.t-person .nm { color: #fff; font-family: var(--font-head); font-weight: 700; }
.t-person .ds { color: rgba(255,255,255,.6); font-size: .85rem; }
.t-nav { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); transition: all var(--transition); }
.t-dot.active { background: var(--magenta); width: 30px; border-radius: 6px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card .media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.blog-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.blog-card:hover .media img { transform: scale(1.07); }
.blog-card .cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--magenta); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.blog-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { display: flex; gap: 16px; color: var(--muted); font-size: .82rem; margin-bottom: 10px; }
.blog-card .meta i { color: var(--bright); margin-right: 5px; }
.blog-card h3 { font-size: 1.14rem; line-height: 1.4; margin-bottom: 10px; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); font-size: .92rem; flex: 1; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.cta-section .cta-bg { position: absolute; inset: 0; }
.cta-section .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-section .cta-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,27,53,.96) 20%, rgba(7,85,165,.82) 60%, rgba(8,168,232,.55)); }
.cta-inner { position: relative; z-index: 1; padding: 84px 0; text-align: center; color: #fff; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin-bottom: 34px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 76px 0 56px; }
.footer-brand .logo-text .l1 { color: #fff; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.62); margin: 18px 0 22px; }
.footer-col h4 {
  color: #fff; font-size: 1rem; margin-bottom: 22px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--magenta); }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.68); font-size: .92rem; transition: all var(--transition); }
.footer-col a:hover { color: var(--bright); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: .92rem; }
.footer-contact i { color: var(--bright); margin-top: 5px; width: 16px; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  transition: all var(--transition);
}
.social-row a:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--bright); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 90px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-hero .ph-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,27,53,.2), rgba(7,27,53,.9)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--bright); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--bright); }

/* ============================================================
   PROJECT DETAIL
   ============================================================ */
.pd-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.pd-main .pd-title { margin-bottom: 26px; }
.pd-title h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 10px; }
.pd-title .pd-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .92rem; }
.pd-title .pd-meta i { color: var(--bright); margin-right: 6px; }

.pd-gallery { margin-bottom: 34px; }
.pd-gallery .main-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); cursor: pointer; }
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.pd-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: none; }
.pd-thumbs button.active { border-color: var(--magenta); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-section { margin-bottom: 34px; }
.pd-section h2 { font-size: 1.5rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.pd-section h2::before { content: ''; width: 30px; height: 3px; border-radius: 3px; background: var(--magenta); }
.pd-section p { color: var(--muted); }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.spec-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.spec-item .k { color: var(--muted); font-size: .88rem; }
.spec-item .v { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); text-align: right; }

.feature-grid, .amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-item, .amenity-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  transition: all var(--transition);
}
.feature-item:hover, .amenity-item:hover { border-color: var(--bright); transform: translateX(4px); }
.feature-item i, .amenity-item i { color: var(--bright); width: 20px; text-align: center; }

.pd-side .side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 24px; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 18px; }
.side-card h3 .line { color: var(--magenta); }
.side-status-row { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.side-status-row .r { display: flex; justify-content: space-between; font-size: .92rem; }
.side-status-row .r span:first-child { color: var(--muted); }
.side-status-row .r span:last-child { font-weight: 600; color: var(--navy); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

.article-content { color: #33415c; font-size: 1.02rem; }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { margin: 26px 0 12px; }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; }
.article-content li { list-style: disc; margin-bottom: 8px; }
.article-content img { border-radius: var(--radius); margin: 16px 0; }
.article-content blockquote {
  border-left: 4px solid var(--magenta);
  background: var(--off);
  padding: 18px 22px; margin: 22px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--navy);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-head); font-size: .84rem; font-weight: 600; color: var(--navy); }
.form-group label .req { color: var(--magenta); }
.form-error { color: var(--magenta); font-size: .82rem; }

.inquiry-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px; }
.inquiry-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.inquiry-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }

.btn-block { width: 100%; }
.btn .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading { pointer-events: none; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form-note.success { display: block; background: rgba(16,185,129,.1); color: #067a5b; border: 1px solid rgba(16,185,129,.3); }
.form-note.error { display: block; background: rgba(217,0,91,.08); color: var(--magenta); border: 1px solid rgba(217,0,91,.25); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: all var(--transition);
}
.contact-card:hover { border-color: var(--bright); box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .ico {
  flex: 0 0 50px; height: 50px;
  border-radius: 14px;
  background: rgba(7,85,165,.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.contact-card p a { color: var(--muted); }
.contact-card p a:hover { color: var(--primary); }

/* ============================================================
   BLOG DETAIL
   ============================================================ */
.bd-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.article .hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.article h1 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 16px; }
.article .meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .86rem; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article .meta i { color: var(--bright); margin-right: 6px; }
.article .content { color: #33415c; font-size: 1.02rem; }
.article .content h2 { font-size: 1.4rem; margin: 30px 0 12px; }
.article .content h3 { font-size: 1.18rem; margin: 26px 0 10px; }
.article .content p { margin-bottom: 18px; }
.article .content ul, .article .content ol { margin: 0 0 18px 22px; }
.article .content li { list-style: disc; margin-bottom: 8px; }
.article .content img { border-radius: var(--radius); margin: 18px 0; }
.article .content blockquote {
  border-left: 4px solid var(--magenta);
  background: var(--off);
  padding: 18px 22px; margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--navy);
}

.share-row { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.share-row span { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.share-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all var(--transition);
}
.share-row a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.sidebar .widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.widget h4 { font-size: 1.05rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--off); position: relative; }
.widget h4::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 34px; height: 2px; background: var(--magenta); }
.widget li { margin-bottom: 10px; }
.widget a { color: var(--muted); font-size: .92rem; display: flex; justify-content: space-between; }
.widget a:hover { color: var(--primary); }
.widget .count { color: var(--bright); font-size: .8rem; }
.widget .side-post { display: flex; gap: 12px; margin-bottom: 16px; }
.widget .side-post img { width: 72px; height: 60px; object-fit: cover; border-radius: 8px; }
.widget .side-post .t { font-size: .88rem; line-height: 1.4; color: var(--navy); font-weight: 600; }
.widget .side-post .t:hover { color: var(--primary); }
.widget .side-post .d { font-size: .76rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--muted); background: #fff;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ============================================================
   404
   ============================================================ */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 80px; }
.error-code {
  font-family: var(--font-head); font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--primary), var(--bright), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* ============================================================
   TIMELINE (About page)
   ============================================================ */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--bright), var(--primary), var(--magenta));
  opacity: .4;
}
.tl-item { position: relative; width: 50%; padding: 0 46px 48px; }
.tl-item::after { content: ''; clear: both; display: table; }
.tl-left { left: 0; text-align: right; }
.tl-right { left: 50%; }
.tl-dot {
  position: absolute;
  top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--magenta);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(217,0,91,.2);
}
.tl-left .tl-dot { right: -8px; }
.tl-right .tl-dot { left: -8px; }
.tl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: inline-block;
  text-align: left;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--bright); }
.tl-year {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .82rem;
  color: #fff;
  background: var(--primary);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tl-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.tl-card p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 720px) {
  .timeline::before { left: 8px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 40px 36px; }
  .tl-left .tl-dot, .tl-right .tl-dot { left: 0; right: auto; }
}

/* Featured post (blog) */
.featured-post {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.featured-post .media { position: relative; overflow: hidden; min-height: 320px; }
.featured-post .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.featured-post:hover .media img { transform: scale(1.05); }
.featured-post .content { padding: 40px 40px 40px 0; }
.featured-post .content h2 { color: #fff; font-size: 1.5rem; line-height: 1.35; margin-bottom: 12px; }
.featured-post .content h2 a { color: #fff; }
.featured-post .content h2 a:hover { color: var(--bright); }
@media (max-width: 860px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .content { padding: 10px 30px 34px; }
}

/* ============================================================
   TOASTS & FORM ERRORS
   ============================================================ */
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 4000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  animation: toastIn .35s var(--transition);
}
.toast.error { background: var(--magenta); }
.toast.out { opacity: 0; transform: translateY(-8px); transition: all .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

.field-error { border-color: var(--magenta) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .finder-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .pd-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .bd-layout { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 100px 40px 40px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .35s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > li { width: 100%; text-align: left; }
  .main-nav > li > a {
    color: #fff; font-size: 1.2rem;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: block;
    width: 100%;
  }
  .main-nav > li > a::after { display: none; }
  .main-nav > li > a:hover { color: var(--bright); }
  .nav-cta { display: none; }
  .nav-cta.mobile { display: none; position: fixed; bottom: 40px; left: 40px; right: 40px; z-index: 1101; }
  .nav-cta.mobile.show { display: flex; animation: toastIn .4s var(--transition); }
  .nav-cta.mobile .btn { flex: 1; }
  .site-header.scrolled .main-nav > li > a { color: #fff; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .section { padding: 64px 0; }
  .finder-row { grid-template-columns: 1fr; }
  .finder { margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .showcase-grid { grid-template-columns: 1fr; }
  .spec-grid, .feature-grid, .amenity-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .about-media img { height: 380px; }
  .about-media .exp-chip { right: 8px; bottom: -22px; padding: 16px 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .footer-bottom .inner { flex-direction: column; text-align: center; }
  .hero-content { padding: 110px 0 130px; }
  .related-grid { grid-template-columns: 1fr; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .article { padding: 26px 20px; }
}
/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px;
  background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px; box-shadow: 0 8px 20px rgba(37,211,102,.4); z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease; animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(37,211,102,.55); color: #fff; }
.whatsapp-float i { line-height: 1; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 8px 20px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 640px) {
  .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 26px; }
}

/* ============================================================
   OUR TEAM (employees added from Admin > Employees)
   ============================================================ */
.team-section { background: var(--navy); position: relative; overflow: hidden; }
.team-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 80% 0%, rgba(8,168,232,.16), transparent 60%);
  pointer-events: none;
}
.team-section .section-head h2 { color: #fff; }
.team-section .section-head p { color: rgba(255,255,255,.65); }
.team-category {
  color: #fff; font-size: 1.3rem; margin: 44px 0 20px;
  padding-left: 14px; border-left: 4px solid var(--magenta);
  position: relative; z-index: 1;
}
.team-section .team-category:first-of-type { margin-top: 0; }
.team-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 260px));
  justify-content: center;
  gap: 26px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover, .team-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); outline: none; }
.team-card:focus-visible { box-shadow: 0 0 0 3px var(--bright), var(--shadow-lg); }
.team-photo { aspect-ratio: 4 / 5; background: var(--off); overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--navy-3));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 3rem; letter-spacing: .04em;
}
.team-info { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.team-info h3 { font-size: 1.12rem; margin: 0; color: var(--navy); }
.team-role { color: var(--magenta); font-weight: 600; font-size: .88rem; }
.team-bio { color: var(--muted); font-size: .88rem; line-height: 1.6; margin: 4px 0 0; }
.team-more { margin-top: auto; padding-top: 10px; color: var(--primary); font-weight: 600; font-size: .86rem; }
.team-more i { font-size: .75rem; margin-left: 4px; transition: transform .25s ease; }
.team-card:hover .team-more i { transform: translateX(4px); }

.team-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.team-modal[hidden] { display: none; }
.tm-backdrop { position: absolute; inset: 0; background: rgba(7,27,53,.78); backdrop-filter: blur(4px); }
.tm-box {
  position: relative; z-index: 1;
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 760px; max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 280px 1fr;
  box-shadow: var(--shadow-lg);
}
.tm-photo { background: var(--off); min-height: 280px; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tm-body { padding: 34px 32px; overflow-y: auto; max-height: 90vh; }
.tm-body h3 { font-size: 1.5rem; margin: 0 0 4px; color: var(--navy); }
.tm-body .team-role { margin-bottom: 16px; }
.tm-text { color: var(--text); line-height: 1.8; font-size: .96rem; }
.tm-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(7,27,53,.75); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.tm-close:hover { background: var(--magenta); }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-info { padding: 14px 14px 16px; }
  .team-bio { display: none; }
  .tm-box { grid-template-columns: 1fr; overflow-y: auto; }
  .tm-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .tm-body { padding: 22px 20px 26px; max-height: none; overflow: visible; }
}
@media (max-width: 380px) { .team-grid { grid-template-columns: 1fr; } }

