/* ===================================================
   UPC Services — Main Stylesheet
   Colors: Primary #003398 | Secondary #33cc33
   =================================================== */

/* ── CSS Variables ─────────────────────────────── */
:root {
  --primary: #003398;
  --primary-dark: #002070;
  --primary-light: #1a4db3;
  --secondary: #33cc33;
  --secondary-dark: #22aa22;
  --accent: #e8a000;
  --white: #ffffff;
  --off-white: #f8f8f6;
  --light-gray: #f2f2f0;
  --mid-gray: #e0dedd;
  --text-dark: #1a1a1a;
  --text-body: #3d3d3d;
  --text-muted: #777;
  --border: #e0dedd;
  --shadow-sm: 0 2px 8px rgba(0,51,152,.08);
  --shadow-md: 0 8px 32px rgba(0,51,152,.12);
  --shadow-lg: 0 20px 60px rgba(0,51,152,.15);
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   UPC SERVICES — Luxury Editorial Stylesheet
   "Where Architecture Meets Prestige"
   Primary #003398 | Secondary #33cc33 | Gold #c8920a
   Display: Cormorant Garamond | Body: DM Sans
   ═══════════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --ink:            #0c0e14;
  --ink-80:         #23273a;
  --primary:        #003398;
  --primary-rich:   #00256e;
  --primary-deep:   #001847;
  --primary-glow:   rgba(0,51,152,.12);
  --primary-tint:   #edf1fb;
  --secondary:      #2bbf2b;
  --secondary-deep: #1a8c1a;
  --secondary-tint: #eaf7ea;
  --gold:           #c8920a;
  --gold-light:     #f9f0de;
  --cream:          #faf9f6;
  --paper:          #f4f2ee;
  --fog:            #ede9e2;
  --rule:           #e0dbd3;
  --rule-light:     #ece9e4;
  --smoke:          #b8b3ab;
  --graphite:       #6b6660;
  --body-text:      #38342f;
  --muted:          #7c7670;

  /* Depth system */
  --z0: 0 1px 3px rgba(0,0,0,.05);
  --z1: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --z2: 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --z3: 0 16px 48px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --z4: 0 32px 80px rgba(0,0,0,.13), 0 8px 24px rgba(0,0,0,.06);
  --z-blue:  0 12px 40px rgba(0,51,152,.20), 0 4px 12px rgba(0,51,152,.10);
  --z-green: 0 10px 32px rgba(43,191,43,.22), 0 3px 8px rgba(43,191,43,.12);

  /* Radius system */
  --r2:  2px;
  --r4:  4px;
  --r8:  8px;
  --r12: 12px;
  --r16: 16px;
  --r24: 24px;

  /* Type */
  --display: 'Cormorant Garamond', 'Georgia', serif;
  --sans:    'DM Sans', 'system-ui', sans-serif;

  /* Motion */
  --swift:   0.2s cubic-bezier(.4,0,.2,1);
  --smooth:  0.35s cubic-bezier(.4,0,.2,1);
  --spring:  0.5s cubic-bezier(.34,1.56,.64,1);

  /* Textures */
  --dots: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px);
  --dots-dark: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1px);
  --hatch: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 6px,
    rgba(255,255,255,.06) 6px,
    rgba(255,255,255,.06) 7px
  );
  --grid-fine:
    linear-gradient(rgba(0,51,152,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,51,152,.035) 1px, transparent 1px);
  --noise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body-text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: color var(--swift); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

/* Selection */
::selection { background: var(--primary); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════════════ */
.top-bar {
  background: var(--primary-deep);
  padding: 9px 0;
  font-size: 12px;
  letter-spacing: .3px;
  position: relative;
  overflow: hidden;
}
/* Fine hatch texture on top bar */
.top-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--hatch);
  pointer-events: none;
}
.top-bar a {
  color: rgba(255,255,255,.68);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--swift);
}
.top-bar a:hover { color: var(--secondary); }
.top-bar i { font-size: 10px; opacity: .8; }
/* Gold accent line at bottom */
.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
  opacity: .45;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
#mainNav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-light);
  transition: var(--smooth);
  z-index: 1000;
}
#mainNav.scrolled {
  padding: 11px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  border-bottom-color: transparent;
}
/* Brand */
.brand-mark { display: flex; align-items: center; gap: 14px; }
.brand-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--r8);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  position: relative; overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--z-blue);
}
/* Subtle shine on brand icon */
.brand-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(rgba(255,255,255,.18), transparent);
  border-radius: var(--r8) var(--r8) 0 0;
}
.brand-icon--light {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: none;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -.2px;
  line-height: 1;
}
.brand-tagline {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 3px;
}

/* Nav links */
.nav-link {
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--body-text) !important;
    padding: 8px 14px !important;
    border-radius: var(--r4);
    position: relative;
    transition: color var(--swift), background var(--swift);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1.5px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  border-radius: 1px;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-dropdown {
  border: 1px solid var(--rule);
  border-radius: var(--r12);
  box-shadow: var(--z3);
  padding: 8px;
  min-width: 240px;
  margin-top: 8px !important;
  background: #fff;
  animation: menuDrop .16s ease-out;
}
@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown .dropdown-item {
  border-radius: var(--r4);
  font-size: 13px;
  padding: 9px 13px;
  color: var(--body-text);
  transition: background var(--swift), color var(--swift);
  display: flex; align-items: center; gap: 9px;
}
.nav-dropdown .dropdown-item:hover {
  background: var(--primary-tint);
  color: var(--primary);
}
/* Green CTA button */
.btn-properties {
  background: var(--secondary);
  color: #fff !important;
  border-radius: var(--r4);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  border: none;
  transition: background var(--swift), transform var(--swift), box-shadow var(--swift);
  box-shadow: 0 2px 14px rgba(43,191,43,.22);
}
.btn-properties:hover {
  background: var(--secondary-deep);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--z-green);
}
/* Hamburger */
.nav-burger { display: flex; flex-direction: column; gap: 5px; width: 22px; cursor: pointer; }
.nav-burger span { display: block; height: 1.5px; background: var(--primary); border-radius: 1px; transition: var(--swift); }
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS — Elevated system
   ═══════════════════════════════════════════════════════════════════ */
.btn-primary-upc {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  padding: 13px 30px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: var(--r4);
  position: relative; overflow: hidden;
  transition: all var(--smooth);
}
/* Subtle toplight shimmer */
.btn-primary-upc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(rgba(255,255,255,.12), transparent);
  pointer-events: none;
}
.btn-primary-upc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--swift);
}
.btn-primary-upc:hover {
  background: var(--primary-rich);
  border-color: var(--primary-rich);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--z-blue);
}
.btn-primary-upc:active { transform: translateY(0); }

.btn-secondary-upc {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 13px 30px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: var(--r4);
  transition: all var(--smooth);
}
.btn-secondary-upc:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--z-blue);
}

.btn-green {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--secondary);
  padding: 13px 30px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--r4);
  position: relative; overflow: hidden;
  transition: all var(--smooth);
}
.btn-green::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(rgba(255,255,255,.14), transparent);
  pointer-events: none;
}
.btn-green:hover {
  background: var(--secondary-deep);
  border-color: var(--secondary-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--z-green);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION TYPE SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--secondary-deep);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--secondary), transparent);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.6px;
}
.section-title span { color: var(--primary); }
.section-title em   { font-style: italic; color: var(--graphite); }
.section-subtitle {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 520px;
  margin-top: 14px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SLIDER — Cinematic
   ═══════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 94vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--primary-deep);
}
.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
/* Ken Burns effect */
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease;
  filter: brightness(.78) saturate(.9);
}
.hero-slide.active img { transform: scale(1); }
/* Sophisticated multi-layer overlay */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(0,24,71,.86) 0%, rgba(0,51,152,.48) 45%, transparent 75%),
    linear-gradient(0deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.05) 40%, transparent 70%);
}
/* Fine dot texture over hero */
.hero-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--dots);
  background-size: 28px 28px;
  opacity: .5;
}
/* Accent bar bottom */
.hero-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, rgba(0,64,192,.6) 55%, transparent 100%);
  z-index: 4;
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  z-index: 3;
}
.hero-text { max-width: 720px; }
/* Frosted pill badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43,191,43,.14);
  border: 1px solid rgba(43,191,43,.38);
  color: rgba(140,255,140,.92);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.04;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,.72);
  display: block;
}
.hero-desc {
  font-size: 16.5px;
  color: rgba(255,255,255,.74);
  max-width: 490px;
  margin-bottom: 40px;
  line-height: 1.72;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 38px; left: 0; right: 0;
  display: flex; justify-content: center;
  z-index: 4;
}
.hero-scroll-inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(.7); }
}
/* Navigation dots */
.hero-nav {
  position: absolute;
  right: 36px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 4;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: all var(--smooth);
  border: none; padding: 0;
}
.hero-dot.active { background: var(--secondary); height: 22px; border-radius: 3px; }
/* Side arrows */
.hero-arrows {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 100%;
  display: flex; justify-content: space-between;
  padding: 0 28px;
  pointer-events: none;
  z-index: 4;
}
.hero-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 16px;
  cursor: pointer; pointer-events: all;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  transition: all var(--smooth);
}
.hero-arrow:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.45);
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════════════
   STATS BAR — Deep blue with pattern
   ═══════════════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
/* Square grid texture */
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
/* Right glow */
.stats-bar::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 35%; height: 100%;
  background: linear-gradient(270deg, rgba(43,191,43,.08) 0%, transparent 100%);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 1;
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
  transition: background var(--smooth);
}
.stat-item:last-child { border-right: none; }
/* Animated underline accent */
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--secondary);
  transition: width .5s cubic-bezier(.4,0,.2,1);
  border-radius: 1px;
}
.stat-item:hover::after { width: 60%; }
.stat-item:hover { background: rgba(255,255,255,.04); }
.stat-number {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}
.stat-number span { color: var(--secondary); }
.stat-label {
  font-size: 10.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 7px;
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURES — Cream surface with fine grid
   ═══════════════════════════════════════════════════════════════════ */
.features-section {
  padding: 100px 0;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.features-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grid-fine);
  background-size: 36px 36px;
}
/* Large decorative circle top-right */
.features-section::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(0,51,152,.07);
  pointer-events: none;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r16);
  padding: 40px 32px 36px;
  height: 100%;
  position: relative; overflow: hidden;
  transition: transform var(--smooth), box-shadow var(--smooth);
}
/* Decorative rotated square in corner */
.feature-card::before {
  content: '';
  position: absolute;
  bottom: -28px; right: -28px;
  width: 96px; height: 96px;
  border: 1.5px solid var(--rule);
  border-radius: var(--r8);
  transform: rotate(18deg);
  transition: border-color var(--smooth), transform var(--smooth);
  pointer-events: none;
}
/* Top accent bar */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  border-radius: var(--r16) var(--r16) 0 0;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--z3);
}
.feature-card:hover::before {
  border-color: rgba(0,51,152,.14);
  transform: rotate(26deg) scale(1.05);
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 60px; height: 60px;
  border-radius: var(--r8);
  background: var(--primary-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 23px; color: var(--primary);
  margin-bottom: 24px;
  position: relative;
  transition: background var(--smooth), color var(--smooth), box-shadow var(--smooth);
}
/* Dashed outline ring on hover */
.feature-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1.5px dashed rgba(0,51,152,.2);
  border-radius: var(--r12);
  opacity: 0;
  transition: opacity var(--smooth);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--z-blue);
}
.feature-card:hover .feature-icon::after { opacity: 1; }
.feature-card h4 { font-size: 1.2rem; margin-bottom: 11px; letter-spacing: -.2px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════
   ABOUT — White with offset image frame
   ═══════════════════════════════════════════════════════════════════ */
.about-section { padding: 108px 0; background: #fff; position: relative; }
/* Large faint square decoration */
.about-section::before {
  content: '';
  position: absolute;
  left: -80px; bottom: 60px;
  width: 300px; height: 300px;
  border: 1.5px solid var(--rule);
  border-radius: var(--r12);
  transform: rotate(-8deg);
  pointer-events: none;
  opacity: .6;
}
.about-img-block { position: relative; }
/* Main image — framed with offset border */
.about-img-main {
  border-radius: var(--r16);
  width: 100%; height: 540px;
  object-fit: cover;
  display: block;
  box-shadow: var(--z4);
  position: relative; z-index: 1;
}
/* Offset photo frame */
.about-img-block::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1.5px solid rgba(0,51,152,.12);
  border-radius: var(--r16);
  z-index: 0;
  pointer-events: none;
}
.about-img-accent {
  position: absolute;
  bottom: -32px; right: -36px;
  width: 200px; height: 160px;
  object-fit: cover;
  border-radius: var(--r12);
  border: 5px solid #fff;
  box-shadow: var(--z3);
  z-index: 2;
}
/* Years badge */
.about-badge {
  position: absolute;
  top: 36px; left: -40px;
  background: var(--primary);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--r12);
  text-align: center;
  box-shadow: var(--z-blue);
  z-index: 3;
  overflow: hidden;
}
.about-badge::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--hatch);
}
.about-badge::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(rgba(255,255,255,.14), transparent);
}
.about-badge .num {
  font-family: var(--display);
  font-size: 2.8rem; font-weight: 700;
  color: var(--secondary); line-height: 1;
  display: block; position: relative; z-index: 1;
}
.about-badge .label {
  font-size: 10.5px; letter-spacing: 1.5px;
  color: rgba(255,255,255,.72);
  text-transform: uppercase; line-height: 1.5;
  display: block; margin-top: 4px;
  position: relative; z-index: 1;
}
.about-points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-points li { display: flex; align-items: flex-start; gap: 13px; font-size: 14.5px; color: var(--body-text); }
.about-points li i { color: var(--secondary); margin-top: 5px; flex-shrink: 0; font-size: 12px; }

/* ═══════════════════════════════════════════════════════════════════
   PARALLAX / FACTS
   ═══════════════════════════════════════════════════════════════════ */
.parallax-section {
  position: relative;
  overflow: hidden; min-height: 440px;
  display: flex; align-items: center;
}
.parallax-bg {
  position: absolute; inset: -80px;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,24,71,.9) 0%, rgba(0,51,152,.72) 100%);
}
.parallax-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--dots);
  background-size: 28px 28px;
  opacity: .4;
}
.parallax-content { position: relative; z-index: 1; width: 100%; padding: 96px 0; }
.fact-card { text-align: center; }
.fact-number {
  font-family: var(--display);
  font-size: 4rem; font-weight: 700;
  color: #fff; line-height: 1;
  letter-spacing: -2px;
}
.fact-number span { color: var(--secondary); }
.fact-label {
  font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES — Paper surface
   ═══════════════════════════════════════════════════════════════════ */
.services-section {
  padding: 108px 0;
  background: var(--paper);
  position: relative;
}
.services-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grid-fine);
  background-size: 36px 36px;
  opacity: .8;
}
/* Decorative big circle bottom-left */
.services-section::after {
  content: '';
  position: absolute;
  bottom: -140px; left: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(0,51,152,.07);
  pointer-events: none;
}
.service-card {
  background: #fff;
  border-radius: var(--r16);
  overflow: visible; /* allow icon to overflow the image edge */
  height: 100%;
  border: 1px solid var(--rule);
  transition: transform var(--smooth), box-shadow var(--smooth);
  position: relative;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--z4);
}
/* Image wrapper — clip only the image, not the icon */
.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  border-radius: var(--r16) var(--r16) 0 0; /* top corners match card */
}
/* Gradient veil */
.service-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,24,71,.55) 0%, rgba(0,24,71,.1) 50%, transparent 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity var(--smooth);
}
.service-card:hover .service-card-img::before { opacity: 1; }
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  filter: saturate(.92);
}
.service-card:hover .service-card-img img {
  transform: scale(1.08);
  filter: saturate(1.05);
}
/* Floating icon disc — sits below image, fully visible */
.service-card-icon {
  position: absolute;
  bottom: -22px; right: 22px;
  width: 46px; height: 46px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  border: 3px solid #fff;      /* white ring so it reads against any bg */
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  box-shadow: var(--z-green);
  z-index: 5;
  transition: background var(--smooth), transform var(--smooth), box-shadow var(--smooth);
}
.service-card:hover .service-card-icon {
  background: var(--primary);
  box-shadow: var(--z-blue);
  transform: scale(1.15) rotate(12deg);
}
.service-card-body { padding: 32px 28px 28px; }
.service-card-body h4 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -.2px; }
.service-card-body p  { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.service-card-link {
  font-size: 11px; font-weight: 700;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 7px;
  text-transform: uppercase; letter-spacing: 1.5px;
  transition: gap var(--smooth), color var(--smooth);
}
.service-card-link:hover { color: var(--secondary-deep); gap: 12px; }

/* ═══════════════════════════════════════════════════════════════════
   PROPERTIES
   ═══════════════════════════════════════════════════════════════════ */
.properties-section { padding: 108px 0; background: #fff; }
.prop-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; }
.filter-btn {
  background: var(--cream);
  border: 1px solid var(--rule);
  color: var(--body-text);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all var(--smooth);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,51,152,.2);
}

/* Property Card */
.property-card {
  background: #fff;
  border-radius: var(--r16);
  overflow: hidden;
  border: 1px solid var(--rule);
  height: 100%;
  transition: transform var(--smooth), box-shadow var(--smooth);
  position: relative;
}
.property-card:hover { transform: translateY(-8px); box-shadow: var(--z4); }
/* Image wrapper */
.property-card-img {
  position: relative; height: 240px; overflow: hidden;
}
/* Top gradient line on hover */
.property-card-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  z-index: 3; opacity: 0;
  transition: opacity var(--smooth);
}
.property-card:hover .property-card-img::before { opacity: 1; }
/* Dark vignette */
.property-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,14,20,.45) 0%, transparent 55%);
  z-index: 1; pointer-events: none;
}
.property-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92);
  transition: transform .65s cubic-bezier(.4,0,.2,1), filter .65s ease;
}
.property-card:hover .property-card-img img {
  transform: scale(1.07);
  filter: saturate(1.05);
}
/* Badges */
.prop-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--secondary);
  color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 12px;
  z-index: 4;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.prop-badge.sold { background: #c0392b; }
.prop-badge.rent { background: var(--gold); }
.prop-badge.let  { background: var(--primary); }
.prop-featured {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 12px; z-index: 4;
}
.property-card-body { padding: 22px 20px 20px; }
.prop-type { font-size: 10px; font-weight: 700; color: var(--secondary-deep); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 7px; }
.prop-title {
  font-family: var(--display);
  font-size: 1.18rem; font-weight: 600;
  margin-bottom: 8px; color: var(--ink);
  line-height: 1.22; letter-spacing: -.2px;
}
.prop-location { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.prop-location i { color: var(--primary); font-size: 10px; }
.prop-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--muted);
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-light);
}
.prop-meta span { display: flex; align-items: center; gap: 5px; }
.prop-meta i { color: var(--primary); font-size: 10.5px; }
.prop-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prop-price {
  font-family: var(--display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--primary); letter-spacing: -.5px; line-height: 1;
}
.prop-price-label { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════
   BLOG SECTION
   ═══════════════════════════════════════════════════════════════════ */
.blog-section {
  padding: 108px 0;
  background: var(--cream);
  position: relative;
}
.blog-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grid-fine);
  background-size: 36px 36px;
  opacity: .8;
}
.blog-card {
  background: #fff;
  border-radius: var(--r16);
  overflow: hidden;
  border: 1px solid var(--rule);
  height: 100%;
  transition: transform var(--smooth), box-shadow var(--smooth);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--z4); }
.blog-card-img { height: 208px; overflow: hidden; position: relative; }
.blog-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, transparent 55%);
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.9);
  transition: transform .65s cubic-bezier(.4,0,.2,1), filter .65s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.07); filter: saturate(1.05); }
.blog-card-body { padding: 26px; }
.blog-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary-deep); margin-bottom: 9px; }
.blog-title { font-size: 1.08rem; margin-bottom: 10px; font-weight: 600; letter-spacing: -.2px; }
.blog-title a { color: var(--ink); }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; line-height: 1.68; }
.blog-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.blog-meta i { color: var(--primary); font-size: 10px; }

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0; background: #fff;
  position: relative; overflow: hidden;
}
/* Large faint circle right */
.cta-section::before {
  content: '';
  position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,51,152,.04) 0%, transparent 70%);
}
/* Small decorative rotated square */
.cta-section::after {
  content: '';
  position: absolute; bottom: -50px; right: 12%;
  width: 130px; height: 130px;
  border: 1.5px solid var(--rule);
  border-radius: var(--r8);
  transform: rotate(22deg);
}
.cta-section h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -.5px; }

/* ═══════════════════════════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--primary);
  padding: 84px 0 64px;
  position: relative; overflow: hidden;
}
/* Texture layer */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* Dot overlay */
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--dots);
  background-size: 28px 28px;
  opacity: .35;
}
/* Gold line at bottom */
.page-hero > .container::after {
  display: none; /* handled via sibling */
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: #fff; font-weight: 600; letter-spacing: -.6px;
}
.page-hero .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero .breadcrumb-item { color: rgba(255,255,255,.6); font-size: 13px; }
.page-hero .breadcrumb-item.active { color: var(--secondary); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.28); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb-item a:hover { color: var(--secondary); }

/* ═══════════════════════════════════════════════════════════════════
   PROPERTY SEARCH BAR
   ═══════════════════════════════════════════════════════════════════ */
.prop-search-bar {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r16);
  padding: 28px 28px 24px;
  margin-bottom: 36px;
  box-shadow: var(--z2);
  position: relative; overflow: hidden;
}
.prop-search-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}
.prop-search-bar .form-control,
.prop-search-bar .form-select {
  border: 1px solid var(--rule);
  border-radius: var(--r4);
  font-size: 13.5px; height: 44px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  transition: border-color var(--swift), box-shadow var(--swift), background var(--swift);
}
.prop-search-bar .form-control:focus,
.prop-search-bar .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,51,152,.08);
  background: #fff; outline: none;
}

/* ═══════════════════════════════════════════════════════════════════
   FORMS — Universal
   ═══════════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-group label {
  font-size: 11px; font-weight: 700;
  color: var(--ink); margin-bottom: 7px;
  display: block; letter-spacing: 1px;
  text-transform: uppercase;
}
.form-control-upc {
  width: 100%;
  border: 1.5px solid var(--rule);
  border-radius: var(--r4);
  padding: 12px 15px;
  font-size: 14px; font-family: var(--sans);
  color: var(--ink); background: var(--cream);
  transition: border-color var(--swift), box-shadow var(--swift), background var(--swift);
  appearance: none;
}
.form-control-upc:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,51,152,.08);
  background: #fff;
}
.form-control-upc:hover:not(:focus) { border-color: var(--smoke); }
textarea.form-control-upc { resize: vertical; min-height: 130px; }
select.form-control-upc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c7670' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.contact-info-card {
  background: var(--primary);
  color: #fff;
  padding: 44px;
  border-radius: var(--r16);
  height: 100%;
  position: relative; overflow: hidden;
}
/* Grid texture on card */
.contact-info-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
}
/* Large faint circle */
.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -70px; right: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.1);
  pointer-events: none;
}
.contact-info-card > * { position: relative; z-index: 1; }
.contact-info-card h3 { color: #fff; font-size: 1.75rem; margin-bottom: 10px; letter-spacing: -.3px; }
.contact-info-card p  { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 15px; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 15px; }
.contact-info-list .ci-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r8);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  transition: background var(--smooth);
}
.contact-info-list li:hover .ci-icon { background: rgba(43,191,43,.22); }
.contact-info-list .ci-text span {
  display: block; font-size: 10px;
  color: rgba(255,255,255,.42);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px;
}
.contact-info-list .ci-text a { color: rgba(255,255,255,.82); }
.contact-info-list .ci-text a:hover { color: var(--secondary); }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r16);
  padding: 44px;
  box-shadow: var(--z2);
}

/* Footer socials (also used in contact) */
.footer-socials { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.6);
  transition: all var(--smooth);
}
.footer-socials a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(43,191,43,.32);
}

/* ═══════════════════════════════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════════════════════════════ */
#map, #contactMap {
  border-radius: var(--r16);
  overflow: hidden;
  box-shadow: var(--z2);
  border: 1px solid var(--rule);
}

/* ═══════════════════════════════════════════════════════════════════
   SINGLE PROPERTY — Gallery
   ═══════════════════════════════════════════════════════════════════ */
.property-gallery { border-radius: var(--r16); overflow: hidden; box-shadow: var(--z2); }
.gallery-main { height: 480px; position: relative; overflow: hidden; }
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92);
  transition: transform .5s cubic-bezier(.4,0,.2,1), filter .5s ease;
}
.gallery-main:hover img { transform: scale(1.02); filter: saturate(1.05); }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin-top: 6px;
}
.gallery-thumbs img {
  height: 90px; object-fit: cover;
  border-radius: var(--r4); cursor: pointer;
  opacity: .68; filter: saturate(.85);
  transition: opacity var(--smooth), transform var(--smooth), filter var(--smooth);
}
.gallery-thumbs img:hover { opacity: .9; transform: scale(1.03); filter: saturate(1); }
.gallery-thumbs img.active {
  opacity: 1; filter: saturate(1);
  outline: 2px solid var(--primary); outline-offset: 2px;
}
.prop-detail-card {
  background: #fff; border: 1px solid var(--rule);
  border-radius: var(--r16); padding: 30px;
}
.prop-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.prop-detail-meta-item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: var(--r8);
  border: 1px solid var(--rule-light);
  min-width: 92px;
  transition: border-color var(--smooth), background var(--smooth);
}
.prop-detail-meta-item:hover { background: var(--primary-tint); border-color: rgba(0,51,152,.18); }
.prop-detail-meta-item i { color: var(--primary); font-size: 19px; }
.prop-detail-meta-item span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.prop-detail-meta-item strong { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════════
   ADMIN — Login
   ═══════════════════════════════════════════════════════════════════ */
.admin-login {
  min-height: 100vh;
  background: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.admin-login::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1200') center/cover;
  opacity: .07;
}
.admin-login::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--dots);
  background-size: 28px 28px;
  opacity: .45;
}
.login-card {
  background: #fff;
  border-radius: var(--r24);
  padding: 52px 50px;
  width: 100%; max-width: 440px;
  position: relative; z-index: 1;
  box-shadow: var(--z4);
  border: 1px solid rgba(255,255,255,.08);
}

/* ═══════════════════════════════════════════════════════════════════
   ADMIN — Dashboard & Sidebar
   ═══════════════════════════════════════════════════════════════════ */
.admin-sidebar {
  width: 265px;
  height: 100vh;
  background: var(--primary-deep);
  /* Dot pattern as background-image so it scrolls with content */
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  background-attachment: local;
  color: #fff;
  position: fixed; top: 0; left: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid rgba(255,255,255,.06);
  /* Thin custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.admin-sidebar::-webkit-scrollbar       { width: 3px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }
/* Remove the absolute pseudo that blocked scroll */
.admin-sidebar::before { display: none; }
.admin-sidebar .sidebar-brand {
  padding: 26px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.admin-nav { position: relative; z-index: 1; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 22px;
  color: rgba(255,255,255,.6);
  font-size: 13.5px; font-weight: 500;
  transition: all var(--smooth);
  border-left: 3px solid transparent;
}
.admin-nav a i { font-size: 14px; width: 18px; text-align: center; flex-shrink: 0; }
.admin-nav a:hover, .admin-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-left-color: var(--secondary);
}
.admin-nav a.active { background: rgba(255,255,255,.1); }
.admin-nav .nav-section-title {
  padding: 16px 22px 5px;
  font-size: 9px; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,.26);
}
.admin-main { margin-left: 265px; min-height: 100vh; background: #f0ede8; }
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--z0);
}
.admin-content { padding: 28px; }
.admin-card {
  background: #fff;
  border-radius: var(--r12);
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: var(--z0);
}
.admin-card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--rule-light);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream);
}
.admin-card-header h5 { margin: 0; font-size: .95rem; font-family: var(--sans); font-weight: 600; }
.admin-card-body { padding: 22px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r12);
  padding: 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--z0);
  transition: box-shadow var(--smooth), transform var(--smooth);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary);
}
.stat-card:nth-child(2)::before { background: var(--secondary); }
.stat-card:nth-child(3)::before { background: var(--gold); }
.stat-card:nth-child(4)::before { background: #c0392b; }
.stat-card:hover { box-shadow: var(--z2); transform: translateY(-2px); }
.stat-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--r8);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.stat-card-icon.blue   { background: var(--primary-tint);  color: var(--primary); }
.stat-card-icon.green  { background: var(--secondary-tint); color: var(--secondary-deep); }
.stat-card-icon.orange { background: var(--gold-light);     color: var(--gold); }
.stat-card-icon.red    { background: #fce8e6; color: #c0392b; }
.stat-card-num   { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.stat-card-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.admin-table th {
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1.5px solid var(--rule-light);
  padding: 12px 18px; background: var(--cream);
}
.admin-table td { font-size: 13.5px; vertical-align: middle; border-bottom: 1px solid var(--rule-light); padding: 12px 18px; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr { transition: background var(--swift); }
.admin-table tbody tr:hover { background: var(--cream); }

/* ═══════════════════════════════════════════════════════════════════
   ALERTS & BADGES
   ═══════════════════════════════════════════════════════════════════ */
.alert-upc {
  padding: 14px 18px; border-radius: var(--r8);
  font-size: 13.5px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 11px; font-weight: 500;
}
.alert-success { background: var(--secondary-tint); border: 1px solid rgba(43,191,43,.3); color: #145214; }
.alert-error   { background: #fce8e6; border: 1px solid rgba(192,57,43,.25); color: #8a2020; }
.badge-upc {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 11px; border-radius: 11px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
}
.badge-active    { background: var(--secondary-tint); color: #145214; }
.badge-inactive  { background: var(--fog);  color: var(--muted); }
.badge-published { background: var(--primary-tint); color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER — Dark prestige
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0a0d1a;
  color: rgba(255,255,255,.65);
  position: relative; overflow: hidden;
}
/* Grid texture */
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* Glow left */
.site-footer::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,51,152,.2) 0%, transparent 68%);
  pointer-events: none;
}
.footer-top { padding: 76px 0 56px; position: relative; z-index: 1; }
/* Gold accent line at top */
.footer-top::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(0,64,192,.5) 40%, transparent 70%);
  opacity: .55;
}
.footer-heading {
  font-family: var(--display);
  font-size: 1.15rem; color: #fff;
  margin-bottom: 24px;
  position: relative; padding-bottom: 14px;
  letter-spacing: -.2px;
}
.footer-heading::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 24px; height: 1.5px;
  background: linear-gradient(90deg, var(--secondary), transparent);
}
.footer-about { font-size: 13.5px; line-height: 1.78; color: rgba(255,255,255,.52); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13.5px; color: rgba(255,255,255,.52);
  display: flex; align-items: center; gap: 9px;
  transition: color var(--smooth), padding-left var(--smooth);
}
.footer-links a::before { content: '→'; font-size: 11px; color: var(--secondary); flex-shrink: 0; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-contact li { display: flex; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.52); line-height: 1.55; }
.footer-contact i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; font-size: 12.5px; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--secondary); }
.footer-props { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-props a { display: flex; gap: 12px; align-items: center; }
.footer-props img {
  width: 56px; height: 44px;
  object-fit: cover;
  border-radius: var(--r4); flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.1);
  filter: saturate(.8);
  transition: border-color var(--smooth), filter var(--smooth);
}
.footer-props a:hover img { border-color: var(--secondary); filter: saturate(1); }
.footer-props .prop-name  { font-size: 12.5px; color: rgba(255,255,255,.7);  display: block; line-height: 1.35; }
.footer-props .prop-price { font-size: 12px;   color: var(--secondary); margin-top: 3px; display: block; }
.footer-bottom {
  background: rgba(0,0,0,.45);
  padding: 18px 0; font-size: 12.5px;
  color: rgba(255,255,255,.3);
  position: relative; z-index: 1;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: rgba(255,255,255,.3); font-size: 12.5px; transition: color var(--swift); }
.footer-legal-links a:hover { color: rgba(255,255,255,.8); }

/* ── Footer contact strip (phone + email side by side) ── */
.footer-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 4px;
}
.footer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.72) !important;
  transition: background var(--smooth), border-color var(--smooth), color var(--smooth);
  white-space: nowrap;
}
.footer-contact-pill i { font-size: 11px; color: var(--secondary); flex-shrink: 0; }
.footer-contact-pill:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(43,191,43,.4);
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════════
   FLOATING ACTION BUTTONS
   Stack (bottom → top, right side): back-to-top → whatsapp → call
   ═══════════════════════════════════════════════════════════════════ */

/* Back to top — bottom of stack */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%;
  font-size: 15px; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity var(--smooth), visibility var(--smooth),
              background var(--smooth), transform var(--smooth), box-shadow var(--smooth);
  box-shadow: var(--z-blue);
  z-index: 990;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--z-green);
}

/* WhatsApp — one step above back-to-top */
.fab-whatsapp {
  position: fixed;
  bottom: 82px; right: 28px;
  width: 44px; height: 44px;
  background: #25d366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  box-shadow: 0 4px 18px rgba(37,211,102,.5);
  z-index: 990;
  text-decoration: none;
  transition: transform var(--smooth), box-shadow var(--smooth);
  animation: fabPulse 3.2s ease-in-out infinite;
}
.fab-whatsapp:hover {
  color: #fff;
  transform: scale(1.13);
  box-shadow: 0 6px 28px rgba(37,211,102,.7);
  animation: none;
}

/* Call — top of stack */
.fab-call {
  position: fixed;
  bottom: 136px; right: 28px;
  width: 44px; height: 44px;
  background: var(--secondary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--z-green);
  z-index: 990;
  text-decoration: none;
  transition: transform var(--smooth), box-shadow var(--smooth);
  animation: fabRing 5s ease-in-out infinite;
  animation-delay: 1.6s;
}
.fab-call:hover {
  color: #fff;
  transform: scale(1.13);
  box-shadow: 0 6px 28px rgba(43,191,43,.7);
  animation: none;
}

/* WhatsApp gentle pulse */
@keyframes fabPulse {
  0%,  100% { transform: scale(1);    box-shadow: 0 4px 18px rgba(37,211,102,.5); }
  50%        { transform: scale(1.07); box-shadow: 0 6px 26px rgba(37,211,102,.72); }
}

/* Call subtle ring-ring */
@keyframes fabRing {
  0%,  85%, 100% { transform: rotate(0deg); }
  88%  { transform: rotate(-14deg); }
  91%  { transform: rotate(14deg); }
  94%  { transform: rotate(-9deg); }
  97%  { transform: rotate(9deg); }
}

/* ═══════════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════════ */
.section { padding: 100px 0; }
#loadMoreBtn { min-width: 200px; transition: all var(--smooth); }
#loadMoreBtn.loading { opacity: .6; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════════
   RICH TEXT CONTENT
   ═══════════════════════════════════════════════════════════════════ */
.blog-full-content h2 { font-size: 1.8rem; margin: 38px 0 18px; letter-spacing: -.3px; }
.blog-full-content h3 { font-size: 1.38rem; margin: 28px 0 14px; }
.blog-full-content p  { margin-bottom: 22px; font-size: 16px; line-height: 1.82; }
.blog-full-content ul,
.blog-full-content ol { margin: 0 0 22px 28px; }
.blog-full-content li { margin-bottom: 9px; font-size: 15.5px; line-height: 1.72; }
.blog-full-content img { width: 100%; border-radius: var(--r12); margin: 32px 0; box-shadow: var(--z2); filter: saturate(.95); }
.blog-full-content img:hover { filter: saturate(1.05); }
.blog-full-content blockquote {
  border-left: 3px solid var(--secondary);
  padding: 20px 28px;
  background: var(--cream);
  border-radius: 0 var(--r12) var(--r12) 0;
  margin: 32px 0;
  font-style: italic;
  color: var(--primary);
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.65;
}
.service-content h2 { font-size: 1.6rem; margin: 30px 0 16px; }
.service-content h3 { font-size: 1.28rem; margin: 24px 0 12px; color: var(--primary); }
.service-content p  { margin-bottom: 18px; font-size: 15.5px; line-height: 1.8; }
.service-content ul { margin: 0 0 18px 24px; }
.service-content li { margin-bottom: 9px; font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .about-img-accent { display: none; }
  .about-img-block::before { display: none; }
}
@media (max-width: 992px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .about-badge { display: none; }
  .admin-sidebar { position: relative; width: 100%; min-height: auto; }
  .admin-main { margin-left: 0; }
  .about-section::before { display: none; }
  .about-img-main { height: 380px; }
}
@media (max-width: 768px) {
  .hero-section { height: 84vh; }
  .hero-title { font-size: 2.5rem; letter-spacing: -.6px; }
  .hero-title em { font-size: 2.2rem; }
  .hero-desc { font-size: 15.5px; }
  .hero-nav { right: 16px; }
  .section,
  .features-section, .about-section,
  .services-section, .properties-section,
  .blog-section { padding: 68px 0; }
  .stat-item { padding: 24px 16px; }
  .stat-number { font-size: 2.3rem; }
  .fact-number { font-size: 2.9rem; }
  .contact-form-card, .contact-info-card { padding: 30px 24px; }
  .login-card { padding: 38px 28px; }
  .gallery-main { height: 300px; }
  .footer-top { padding: 56px 0 42px; }
  .hero-arrows { padding: 0 12px; }
  .hero-arrow { width: 44px; height: 44px; font-size: 14px; }
}
@media (max-width: 576px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: 9.5px; padding: 6px 14px; }
  .btn-primary-upc, .btn-secondary-upc, .btn-green { padding: 12px 24px; font-size: 13px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .footer-legal-links { flex-direction: column; gap: 8px; }
}