/* ============================================================
   ABSAL Properties — Master Stylesheet
   Designed & Developed by TTFA Designs — ttfadesigns.com
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary:        #0461aa;
  --primary-dark:   #034e8c;
  --primary-light:  #d6eaff;
  --gold:           #c9a24d;
  --gold-light:     #f0d898;
  --dark:           #1a1714;
  --dark-warm:      #423d38;
  --white:          #ffffff;
  --bg:             #ffffff;
  --bg-alt:         #faf9f7;
  --bg-alt2:        #f2f6fb;
  --text:           #1a1714;
  --text-sub:       #56514c;
  --text-muted:     #9a9490;
  --border:         #e8e4df;
  --border-light:   #f2efeb;
  --font:           'Century Gothic', CenturyGothic, AppleGothic, 'Gill Sans MT', 'Trebuchet MS', sans-serif;
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tr:             0.36s var(--ease);
  --tr-fast:        0.18s ease;
  --shadow-sm:      0 2px 14px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 36px rgba(0,0,0,0.10);
  --shadow-lg:      0 20px 64px rgba(0,0,0,0.14);
  --shadow-blue:    0 8px 32px rgba(4,97,170,0.28);
  --container:      1280px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); }
::selection { background: var(--primary); color: var(--white); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ---- Typography Utilities ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.eyebrow-gold { color: var(--gold); }
.eyebrow-gold::before { background: var(--gold); }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-title-white { color: var(--white); }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.8;
  max-width: 600px;
}
.section-sub-white { color: rgba(255,255,255,0.72); }

.gold-rule {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.25rem 0 2rem;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }


/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  height: 200px;
  width: auto;
  opacity: 0;
  transform: translateY(12px);
  animation: preLogoIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.15s forwards;
}
@keyframes preLogoIn {
  to { opacity: 1; transform: translateY(0); }
}
.preloader-bar-wrap {
  width: 180px;
  height: 2px;
  background: rgba(4,97,170,0.12);
  overflow: hidden;
  position: relative;
}
.preloader-bar {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--primary);
  animation: preBarSweep 1.4s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}
@keyframes preBarSweep {
  0%   { left: -100%; }
  100% { left: 0%; }
}
.preloader-label {
  position: absolute;
  bottom: 2.25rem;
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  opacity: 0;
  animation: preLogoIn 0.5s ease 0.4s forwards;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background var(--tr), box-shadow var(--tr);
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Logo */
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: filter var(--tr);
}
/* On transparent nav over dark hero: keep logo visible */
.site-nav:not(.scrolled) .nav-logo img {
  filter: brightness(10) saturate(0);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.88);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--tr-fast);
}
.site-nav.scrolled .nav-link {
  color: var(--text-sub);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--tr);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* CTA Button */
.nav-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.72rem 1.6rem;
  transition: background var(--tr), transform var(--tr-fast), box-shadow var(--tr);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: all var(--tr);
  transform-origin: center;
}
.site-nav.scrolled .nav-hamburger span { background: var(--dark); }
.nav-hamburger.open span:nth-child(1),
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2),
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3),
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-mobile {
  position: fixed;
  top: 76px; left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 2rem;
  border-top: 3px solid var(--primary);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all var(--tr);
}
.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
.nav-mobile .nav-link {
  color: var(--text);
  padding: 1rem 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .nav-cta {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -900;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(26,23,20,0.80) 0%,
    rgba(4,97,170,0.38) 55%,
    rgba(26,23,20,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;

  padding: 0 3rem;
  text-align: center;
  margin: 0 auto;
  animation: fadeUp 1.1s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(52px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.82;
  margin-bottom: 2.5rem;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.55em;
  overflow: visible;
}

/* Each word in the tagline */
.tagline-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-60px) scale(0.7);
}
.tagline-word.drop {
  animation: taglineBallDrop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes taglineBallDrop {
  0%   { opacity: 0; transform: translateY(-70px) scale(0.5); }
  60%  { opacity: 1; transform: translateY(6px) scale(1.05); }
  80%  { transform: translateY(-3px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Hero scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.4); opacity: 0.2; }
}

/* Floating stats bar */
.hero-stats {
  position: absolute;
  bottom: 0; right: 0;
  z-index: 3;
  display: flex;
  background: var(--white);
  animation: statsFade 1s ease 1s both;
}
@keyframes statsFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-stat {
  padding: 1.75rem 2.25rem;
  border-left: 1px solid var(--border-light);
  text-align: center;
  min-width: 110px;
}
.hero-stat:first-child { border-left: none; }

/* Button variant for hero stats */
.hero-stat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--tr), color var(--tr-fast);
}
.hero-stat-btn:hover {
  background: var(--primary);
}
.hero-stat-btn:hover .hero-stat-icon,
.hero-stat-btn:hover .hero-stat-label {
  color: var(--white);
}
.hero-stat-icon {
  font-size: 1.75rem;
  color: var(--primary);
  transition: color var(--tr-fast);
}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.hero-stat-number span { color: var(--gold); }
.hero-stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.4rem;
  display: block;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05rem 2.4rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr-fast), box-shadow var(--tr), color var(--tr-fast);
  cursor: pointer;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
  z-index: 0;
}
.btn > span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary::before { background: var(--primary-dark); }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { box-shadow: var(--shadow-blue); }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold::before { background: #b8902e; }
.btn-gold:hover::before { transform: scaleX(1); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--primary-light); }

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid rgba(4,97,170,0.2);
  padding-bottom: 3px;
  transition: border-color var(--tr-fast), gap var(--tr-fast);
}
.link-arrow:hover { border-color: var(--primary); gap: 1rem; }


/* ============================================================
   DNA / PILLARS SECTION
   ============================================================ */
.dna-section {
  background: #0000004d;
  backdrop-filter: blur(5px);
  padding: 4rem 0;
}
.dna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.dna-left{
    background-color:var(--primary-dark);
    padding: 3rem;
    border:1px solid;
    border-image: linear-gradient(90deg, #f2f6fb  ,#ffffff00) 1;
}
.dna-left .section-title
{
    color: var(--white);
}
.dna-left .section-sub {
  margin-top: 1rem;
  color: var(--white);
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
}
.val-item {
  position: relative;
  padding-top: 1.25rem;
}

.val-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--bg);
  transition: width var(--tr);
}
.val-item:hover::before { width: 100%; }
.val-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}
.val-item p {
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.75;
}

/* ============================================================
   PROPERTIES IMAGE STRIP
   ============================================================ */
.properties-images {
  overflow: hidden;
}
.properties-section-divider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.prop-img {
  overflow: hidden;
  position: relative;
}
.prop-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.prop-img:hover img {
  transform: scale(1.05);
}

/* Tablet — stack into a 2+1 layout */
@media (max-width: 900px) {
  .properties-section-divider {
    grid-template-columns: 1fr 1fr;
  }
  .prop-img:last-child {
    grid-column: span 2;
  }
  .prop-img img {
    height: 280px;
  }
}

/* Mobile — single column */
@media (max-width: 560px) {
  .properties-section-divider {
    grid-template-columns: 1fr;
  }
  .prop-img:last-child {
    grid-column: span 1;
  }
  .prop-img img {
    height: 220px;
  }
}


/* ============================================================
   SERVICES SECTION (bento grid)
   ============================================================ */
.services-section {
  background: var(--bg-alt);
  padding: 7rem 0;
}
.section-header {
  max-width: 640px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-header .section-sub {
  margin: 0.75rem auto 0;
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.bento-lg  { grid-column: span 8; }
.bento-sm  { grid-column: span 4; }
.bento-half{ grid-column: span 6; }

.bento-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bento-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transition: width var(--tr);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.bento-card:hover::after { width: 100%; }

/* Dark image card */
.bento-dark {
  background: var(--primary-dark);
  border: none;
  min-height: 280px;
  justify-content: flex-end;
}

.bento-dark .bento-img {
  position: absolute;
  inset: 0;
}
.bento-dark .bento-img img {
    margin-top: -255px;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity var(--tr), transform var(--tr);
}
.bento-dark:hover .bento-img img {
  opacity: 0.55;
  transform: scale(1.04);
}
.bento-dark h3 { color: var(--white); }
.bento-dark p  { color: rgba(255,255,255,0.65); }
.bento-dark .bento-icon { color: var(--gold); }

.bento-card .bento-icon {
  font-size: 2.5rem;
  color: var(--primary);
  transition: color var(--tr-fast), transform var(--tr);
}
.bento-card:hover .bento-icon { transform: scale(1.05); }
.bento-card h3 { font-size: 1.35rem; color: var(--text); }
.bento-card p  { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; }
.bento-card .bento-inner { position: relative; z-index: 2; }

.services-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}


/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--dark-warm);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}
.stats-band::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(4,97,170,0.08);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-number sup { font-size: 1.5rem; color: var(--gold); }
.stat-suffix { color: var(--gold); }
.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  display: block;
}


/* ============================================================
   MISSION / VISION
   ============================================================ */
.mv-section {
  background: #ffffffe8;
  backdrop-filter:blur(5px);
  padding: 7rem 0;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.mv-card {
  padding: 3rem;
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--tr), box-shadow var(--tr);
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.mv-card .material-symbols-outlined {
  font-size: 3rem;
  color: var(--primary);
  display: block;
  margin-bottom: 1.5rem;
}
.mv-card h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.mv-card p  { font-size: 1rem; color: var(--text-sub); line-height: 1.85; }


/* ============================================================
   CTA BANNER (blue)
   ============================================================ */
.cta-banner {
  background: var(--primary);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -6%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(201,162,77,0.1);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* Image CTA */
.img-cta {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}
.img-cta-bg { position: absolute; inset: 0; }
.img-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.img-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,97,170,0.88), rgba(26,23,20,0.78));
}
.img-cta-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.img-cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.img-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: brightness(10) saturate(0);
  opacity: 0.9;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.82;
  max-width: 270px;
}

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--tr-fast), padding-left var(--tr-fast);
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 6px;
}

/* Newsletter */
.footer-col p.nl-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.nl-form { position: relative; }
.nl-form input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.9rem 3rem 0.9rem 1.1rem;
  font-size: 0.84rem;
  outline: none;
  transition: border-color var(--tr-fast);
}
.nl-form input::placeholder { color: rgba(255,255,255,0.3); }
.nl-form input:focus { border-color: var(--primary); }
.nl-form button {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--tr-fast);
}
.nl-form button:hover { color: var(--white); }

/* Footer Bottom */
.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}
.footer-credit {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}
.footer-credit a {
  color: var(--gold);
  font-weight: 700;
  transition: color var(--tr-fast);
}
.footer-credit a:hover { color: var(--white); }


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 9.5rem 0 5.5rem;
  background: var(--dark-warm);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.13;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.page-hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.82;
  max-width: 580px;
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-overview {
  background: var(--white);
  padding: 7rem 0;
}
.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: start;
}
.about-overview-text h2 { margin-bottom: 1.5rem; }
.about-overview-text p {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.88;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 2px solid var(--gold);
  z-index: -1;
  transition: all var(--tr);
}
.about-img-wrap:hover::before { top: -8px; left: -8px; }

.profile-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.profile-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.profile-row:first-child { border-top: 1px solid var(--border-light); }
.profile-row dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}
.profile-row dd {
  font-size: 1rem;
  color: var(--text-sub);
}

/* Values section */
.values-section {
  background: var(--bg-alt);
  padding: 7rem 0;
}
.values-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.val-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--tr), box-shadow var(--tr);
}
.val-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  opacity: 0;
  transition: opacity var(--tr);
  pointer-events: none;
}
.val-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.val-card:hover::before { opacity: 1; }
.val-card .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--primary);
  display: block;
  margin-bottom: 1.25rem;
}
.val-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.val-card p  { font-size: 0.88rem; color: var(--text-sub); line-height: 1.75; }


/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-section {
  background: var(--white);
  padding: 7rem 0;
}
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.service-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--primary);
  transition: height var(--tr);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { height: 100%; }
.service-card .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--primary);
  display: block;
  margin-bottom: 1.5rem;
  transition: color var(--tr-fast);
}
.service-card:hover .material-symbols-outlined { color: var(--gold); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.9rem; }
.service-card p  { font-size: 0.9rem; color: var(--text-sub); line-height: 1.82; flex: 1; }
.service-card .link-arrow { margin-top: 2rem; align-self: flex-start; }

/* Why Choose Us */
.why-section {
  background: var(--bg-alt);
  padding: 7rem 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}
.why-item { text-align: center; }
.why-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(4,97,170,0.28);
  transition: transform var(--tr), box-shadow var(--tr);
}
.why-item:hover .why-icon {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 16px 40px rgba(4,97,170,0.4);
}
.why-icon .material-symbols-outlined { font-size: 2rem; color: var(--white); }
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.why-item p  { font-size: 0.88rem; color: var(--text-sub); line-height: 1.75; max-width: 280px; margin: 0 auto; }


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  background: var(--white);
  padding: 7rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4.5rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.9rem; margin-bottom: 2.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(4,97,170,0.18);
  background: rgba(4,97,170,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--tr), border-color var(--tr);
}
.contact-item:hover .contact-icon {
  background: var(--primary);
  border-color: var(--primary);
}
.contact-icon .material-symbols-outlined {
  font-size: 1.3rem;
  color: var(--primary);
  transition: color var(--tr-fast);
}
.contact-item:hover .contact-icon .material-symbols-outlined { color: var(--white); }
.contact-text h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.3rem;
}
.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.contact-text a:hover { color: var(--primary); }

.service-tags { margin-top: 2.5rem; }
.service-tags h3 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  border: 1px solid rgba(4,97,170,0.22);
  padding: 0.4rem 0.9rem;
  background: rgba(4,97,170,0.04);
  transition: background var(--tr-fast), border-color var(--tr-fast), color var(--tr-fast);
  cursor: default;
}
.tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-alt);
  padding: 3.5rem;
  border: 1px solid var(--border);
}
.contact-form-wrap h2 { font-size: 1.9rem; margin-bottom: 2.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.form-group label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4,97,170,0.08);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select {
  appearance: none;
  cursor: pointer;
  color: var(--text-sub);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%230461aa' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) center;
}
.form-group select option { color: var(--text); }
.form-submit { width: 100%; }


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.72s cubic-bezier(0.22,1,0.36,1),
              transform 0.72s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity 0.72s cubic-bezier(0.22,1,0.36,1),
              transform 0.72s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity 0.72s cubic-bezier(0.22,1,0.36,1),
              transform 0.72s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* Safety: if JS is slow or disabled, show everything after 1s */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bento-lg   { grid-column: span 12; }
  .bento-sm   { grid-column: span 12; }
  .bento-half { grid-column: span 12; }
  .services-extra  { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .mv-grid    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .about-overview-grid { grid-template-columns: 1fr; }
  .values-cards        { grid-template-columns: 1fr 1fr; }
  .services-cards-grid { grid-template-columns: 1fr 1fr; }
  .dna-grid   { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav   { padding: 0 1.25rem; height: 70px; }
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { top: 70px; }
  .container  { padding: 0 1.25rem; }

  .hero h1 { font-size: 2.8rem; }
  .hero-content { padding: 0 1.25rem; }
  .hero-scroll  { display: none; }
  .hero-actions { flex-direction: column; align-items: center; gap: 1rem; }
  .hero-stats   {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
  }
  .hero-stat    { flex: 1; min-width: 100px; padding: 1.25rem 1.5rem; }
  .hero-stat-number { font-size: 1.5rem; }

  .dna-section,
  .services-section,
  .mv-section,
  .about-overview,
  .values-section,
  .services-page-section,
  .why-section,
  .contact-section,
  .stats-band,
  .cta-banner,
  .img-cta   { padding: 4.5rem 0; }

  .values-grid { grid-template-columns: 1fr; }
  .bento-grid  { grid-template-columns: 1fr; }
  .bento-lg, .bento-sm, .bento-half { grid-column: span 1; }
  .services-extra { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-img-wrap::before { display: none; }
  .values-cards        { grid-template-columns: 1fr; }
  .services-cards-grid { grid-template-columns: 1fr; }
  .why-grid   { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .form-row   { grid-template-columns: 1fr; }
  .page-hero  { padding: 8rem 0 4.5rem; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .hero p  { font-size: 0.95rem; }
  .hero-stats { display: none; }
  .btn { padding: 0.9rem 1.6rem; font-size: 0.68rem; }
  .mv-grid      { grid-template-columns: 1fr; }
  .values-cards { grid-template-columns: 1fr; }
  .stat-number  { font-size: 2.5rem; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   CANVAS / ANIMATION OVERLAY
   ============================================================ */
#hero-canvas {
  /* no mix-blend so balls don't interfere with text legibility */
}


/* ============================================================
   HERO — SPLIT TEXT ANIMATION
   ============================================================ */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word {
  display: inline-block;
  animation: wordDrop 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes wordDrop {
  from { opacity: 0; transform: translateY(110%) rotate(4deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}


/* ============================================================
   FEATURE SHOWCASE SECTION  (replaces stats band)
   ============================================================ */
.feature-showcase {
  position: relative;
  background: var(--dark-warm);
  padding: 7rem 0;
  overflow: hidden;
}
.feature-showcase-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(4,97,170,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(201,162,77,0.12) 0%, transparent 65%);
  pointer-events: none;
}
/* top gold rule */
.feature-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--primary), var(--gold), transparent);
}

.feature-showcase-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.feature-showcase-header .section-sub {
  margin: 0.75rem auto 0;
}

.feature-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
  text-align: center;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr), background var(--tr);
  cursor: default;
}
.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,162,77,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* Glowing orb in corner */
.feature-card-orb {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4,97,170,0.35), transparent 70%);
  transition: transform var(--tr), opacity var(--tr);
  opacity: 0.5;
  pointer-events: none;
}
.feature-card:hover .feature-card-orb {
  transform: scale(1.5);
  opacity: 0.8;
  background: radial-gradient(circle, rgba(201,162,77,0.4), transparent 70%);
}

.feature-card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(4,97,170,0.3), rgba(201,162,77,0.15));
  border: 1px solid rgba(201,162,77,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform var(--tr), background var(--tr);
}
.feature-card:hover .feature-card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(4,97,170,0.5), rgba(201,162,77,0.3));
}
.feature-card-icon .material-symbols-outlined {
  font-size: 1.75rem;
  color: var(--gold);
}

.feat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--white), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feat-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feat-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* Responsive feature cards */
@media (max-width: 1100px) {
  .feature-cards-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-cards-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .feat-number { font-size: 2.5rem; }
  .feature-card { padding: 1.75rem 1.25rem 1.5rem; }
}
