/* ============================================================
   Balaji Architecture — Main Stylesheet v1.0
   ============================================================ */

/* ── 1. CSS Variables ──────────────────────────────────────── */
:root {
  --primary:        #1B2B4B;
  --primary-dark:   #111c34;
  --primary-light:  #2d4a7a;
  --accent:         #C9A96E;
  --accent-dark:    #a8893a;
  --accent-light:   #e8d5b0;
  --accent-xlight:  #faf5ec;
  --white:          #ffffff;
  --bg:             #ffffff;
  --bg-light:       #F8F6F3;
  --bg-dark:        #1B2B4B;
  --text:           #2D2D2D;
  --text-light:     #666666;
  --text-xlight:    #999999;
  --border:         #E8E2DA;
  --border-light:   #f0ebe4;
  --shadow-sm:      0 2px 8px rgba(27,43,75,.06);
  --shadow-md:      0 8px 32px rgba(27,43,75,.10);
  --shadow-lg:      0 20px 60px rgba(27,43,75,.14);
  --shadow-xl:      0 32px 80px rgba(27,43,75,.18);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height:  80px;
  --container-max:  1280px;
  --font-serif:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent:    'Cormorant Garamond', Georgia, serif;
}

/* ── 2. CSS Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── 3. Layout Utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.section-pad { padding-block: clamp(4rem, 8vw, 7rem); }
.bg-light    { background-color: var(--bg-light); }
.text-center { text-align: center; }
.text-center .section-subtitle,
.text-center p { max-width: 680px; margin-inline: auto; }

/* ── 4. Typography ─────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1.1rem;
}
.section-title em { font-style: italic; color: var(--accent-dark); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 3rem;
}

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header:not(.text-center) .section-label::before { display: none; }

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn-lg  { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm  { padding: .55rem 1.25rem; font-size: .83rem; }
.btn-full{ width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27,43,75,.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(27,43,75,.35);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,169,110,.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 24px rgba(201,169,110,.45);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--accent-xlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

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

/* ── 6. Site Header ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(27,43,75,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 68px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.site-logo a img { height: 52px; width: auto; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  transition: color var(--transition);
}
.logo-sub {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}
.scrolled .logo-main { color: var(--primary); }

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: .5rem .85rem;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: var(--accent);
  background: rgba(255,255,255,.07);
}
.scrolled .nav-menu > li > a { color: var(--text); }
.scrolled .nav-menu > li > a:hover { color: var(--accent-dark); background: var(--bg-light); }
.scrolled .nav-menu > li.current-menu-item > a { color: var(--accent-dark); }

/* Dropdown */
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li a {
  display: block;
  padding: .55rem 1rem;
  font-size: .86rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.sub-menu li a:hover { background: var(--bg-light); color: var(--primary); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--transition);
  white-space: nowrap;
}
.header-phone:hover { color: var(--white); border-color: rgba(255,255,255,.5); }
.scrolled .header-phone { color: var(--text-light); border-color: var(--border); }
.scrolled .header-phone:hover { color: var(--primary); border-color: var(--primary); }
.header-cta { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.scrolled .hamburger span { background: var(--primary); }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-overlay.is-visible { opacity: 1; }

/* ── 7. Hero Section ───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: linear-gradient(135deg, var(--primary) 0%, #0e1e3d 50%, #1a3060 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: 5.5rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-pattern svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,169,110,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-content {
  max-width: 820px;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow-line {
  flex: 0 0 32px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,.75);
}
.hero-title-accent {
  color: var(--accent);
  position: relative;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .5;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero Stats Bar — full-width bottom strip */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(10,20,45,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201,169,110,.25);
}
.hero-stats-row {
  display: flex;
  align-items: stretch;
}
.hstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1.4rem 1rem;
  transition: background var(--transition);
  cursor: default;
}
.hstat:hover { background: rgba(201,169,110,.07); }
.hstat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.hstat-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  display: block;
}
.hstat-sep {
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
  margin: .75rem 0;
  flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator:hover { color: var(--accent); }
.scroll-indicator-arrow { display: flex; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── 8. Services Section ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--accent-xlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-dark);
  transition: stroke var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--primary);
}
.service-card:hover .service-icon-wrap svg { stroke: var(--accent); }

.service-card-body { flex: 1; }
.service-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.service-desc {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card-footer { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--border-light); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { color: var(--primary); gap: .7rem; }
.service-link svg { transition: transform var(--transition); }
.service-link:hover svg { transform: translateX(3px); }

/* ── 9. About Section (Homepage) ───────────────────────────── */

/* Full-bleed 50/50 split — no container wrapper */
.about-hp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

/* ── Image panel (left) ── */
.about-hp-img-panel {
  position: relative;
  overflow: hidden;
}
.about-hp-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Dark gradient fade at bottom of image */
.about-hp-img-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(27,43,75,.75) 0%, transparent 100%);
  pointer-events: none;
}
/* Experience caption — bottom-left of image */
.about-hp-img-caption {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 6;
}
.ahp-caption-num {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.ahp-caption-num sup {
  font-size: 1.6rem;
  vertical-align: super;
  color: var(--accent);
}
.ahp-caption-text {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-left: 2px solid var(--accent);
  padding-left: .85rem;
}

/* ── Content panel (right) ── */
.about-hp-content {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 5rem);
}

.about-hp-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin: 1rem 0 1.4rem;
}
.about-hp-title em {
  font-style: italic;
  color: var(--accent-dark);
}

.about-hp-desc {
  font-size: .97rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

/* ── Stats row ── */
.about-hp-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}
.ahp-stat {
  flex: 1;
  text-align: center;
}
.ahp-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .35rem;
}
.ahp-stat-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-xlight);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.4;
}
.ahp-stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Feature pills ── */
.about-hp-pills {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem .75rem;
  margin-bottom: 2.25rem;
}
.about-hp-pills li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .87rem;
  color: var(--text);
  font-weight: 500;
}
.about-hp-pills li svg {
  flex-shrink: 0;
  stroke: var(--accent-dark);
  background: var(--accent-xlight);
  border-radius: 50%;
  padding: 2px;
  width: 20px;
  height: 20px;
}

/* ── CTA row ── */
.about-hp-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.about-hp-cta .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
}
.about-hp-cta .btn-ghost:hover { color: var(--accent-dark); gap: .65rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-hp {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about-hp-img-panel {
    height: 420px;
  }
  .about-hp-content {
    padding: 3rem 2rem;
  }
}
@media (max-width: 640px) {
  .about-hp-stats { gap: 0; }
  .ahp-stat-num { font-size: 1.6rem; }
  .about-hp-pills { grid-template-columns: 1fr; }
  .about-hp-img-panel { height: 300px; }
  .ahp-caption-num { font-size: 2.8rem; }
}

/* ── Legacy about classes (About Us page still uses these) ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-image-wrap { position: relative; max-width: 480px; }
.about-img-border {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: .3;
  z-index: -1;
}
.about-stats-badge {
  position: absolute;
  bottom: 2rem; right: -1.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.badge-number {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 800;
  line-height: 1; color: var(--white);
}
.badge-number span { font-size: 1.4rem; }
.badge-text { font-size: .75rem; line-height: 1.3; opacity: .9; margin-top: .3rem; }
.about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.about-highlights { display: flex; flex-direction: column; gap: .75rem; margin: 1.75rem 0; }
.about-highlights li { display: flex; align-items: flex-start; gap: .75rem; font-size: .92rem; color: var(--text); }
.about-highlights li svg { flex-shrink: 0; margin-top: 2px; stroke: var(--accent-dark); background: var(--accent-xlight); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.about-mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.75rem 0; }
.mv-card { background: var(--bg-light); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.1rem 1.25rem; }
.mv-card h4 { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: .4rem; }
.mv-card p { font-size: .84rem; color: var(--text-light); line-height: 1.65; }
.about-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }

/* ── 10. Stats Section ─────────────────────────────────────── */
.stats-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.stats-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.02) 40px,
      rgba(255,255,255,.02) 41px
    );
}
.stats-section .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
  transition: all var(--transition);
}
.stat-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,169,110,.3);
  transform: translateY(-4px);
}
.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  letter-spacing: .04em;
}

/* ── 11. Portfolio Section ─────────────────────────────────── */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .55rem 1.35rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27,43,75,.2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.portfolio-item { transition: opacity .4s ease, transform .4s ease; }
.portfolio-item.hidden { opacity: 0; pointer-events: none; display: none; }

.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.portfolio-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }

.portfolio-img { position: relative; overflow: hidden; }
.portfolio-img-placeholder {
  aspect-ratio: 16/11;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-img-placeholder svg { width: 100%; height: 100%; }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary) 0%, rgba(27,43,75,.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.75rem;
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay-content { transform: translateY(10px); transition: transform var(--transition-slow); }
.portfolio-card:hover .portfolio-overlay-content { transform: translateY(0); }

.portfolio-cat-tag {
  display: inline-block;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.portfolio-overlay-content .portfolio-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem;
}
.portfolio-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1rem;
}

.portfolio-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border-light);
}
.portfolio-footer-cat {
  display: block;
  font-size: .73rem;
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.portfolio-footer-title {
  font-size: .92rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}
.portfolio-card-footer svg { color: var(--accent); flex-shrink: 0; }

/* ── 12. Why Choose Us ─────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--accent-light);
}
.why-card:hover::after { opacity: 1; }

.why-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--accent-xlight), rgba(201,169,110,.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: all var(--transition);
}
.why-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-dark);
  transition: stroke var(--transition);
}
.why-card:hover .why-icon {
  background: var(--primary);
  box-shadow: 0 6px 20px rgba(27,43,75,.2);
}
.why-card:hover .why-icon svg { stroke: var(--accent); }

.why-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .65rem;
}
.why-desc { font-size: .88rem; color: var(--text-light); line-height: 1.7; }

/* ── 13. Testimonials ──────────────────────────────────────── */
.testimonials-section { background: var(--accent-xlight); }

.testimonials-slider { position: relative; overflow: hidden; }
.testimonial-slide {
  display: none;
  animation: fadeIn .5s ease;
}
.testimonial-slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.testimonial-card {
  max-width: 860px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid var(--border-light);
}
.testimonial-quote-icon {
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  display: block;
}
.testimonial-text {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 2rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-info { flex: 1; }
.author-info strong { display: block; font-size: .95rem; font-weight: 700; color: var(--primary); }
.author-info span { font-size: .83rem; color: var(--text-light); }
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  margin-left: auto;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.slider-dots { display: flex; gap: .6rem; align-items: center; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  transition: all var(--transition);
}
.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ── 14. CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0d1a38 100%);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.cta-banner-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,169,110,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,169,110,.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.cta-banner-text { flex: 1; }
.cta-eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.cta-banner p { color: rgba(255,255,255,.65); font-size: 1rem; }
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

/* ── 15. Contact Section ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.form-group label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.form-group label span { color: var(--accent-dark); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .8rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-xlight); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
.form-group select option { color: var(--text); }

.form-response {
  margin-top: 1rem;
  padding: .9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  display: none;
}
.form-response.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-response.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Contact Info */
.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--border-light);
}
.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}
.contact-info-detail { flex: 1; }
.contact-info-detail strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: .3rem;
}
.contact-info-detail a,
.contact-info-detail span {
  display: block;
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
  transition: color var(--transition);
}
.contact-info-detail a:hover { color: var(--accent-dark); }

/* ── 16. Footer ────────────────────────────────────────────── */
.site-footer { background: var(--primary); color: rgba(255,255,255,.65); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.footer-logo .logo-main { color: var(--white); font-size: 1.5rem; }
.footer-logo .logo-sub  { color: var(--accent); font-size: .6rem; letter-spacing: .2em; margin-top: 2px; }

.footer-tagline { font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255,255,255,.55); }

.footer-contact-quick { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-contact-item:hover { color: var(--accent); }
.footer-contact-item svg { flex-shrink: 0; stroke: var(--accent); opacity: .7; }

.footer-heading {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
  letter-spacing: .02em;
}

.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links li a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-links li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
  flex-shrink: 0;
}
.footer-links li a:hover { color: var(--accent); padding-left: .3rem; }
.footer-links li a:hover::before { width: 12px; }

.footer-hours { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.65; }

.footer-address { display: flex; flex-direction: column; gap: 1.25rem; }
.address-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.address-item svg { flex-shrink: 0; stroke: var(--accent); opacity: .7; margin-top: 2px; }
.address-item strong { display: block; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: .25rem; }
.address-item p { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.65; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-copyright a { color: var(--accent); font-weight: 500; }
.footer-copyright a:hover { color: var(--accent-light); }
.footer-credit { font-size: .78rem; color: rgba(255,255,255,.25); letter-spacing: .05em; }

/* ── 17. Back to Top ───────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ── 18. Inner Page Styles ─────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.02) 60px,
      rgba(255,255,255,.02) 61px
    );
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.breadcrumb { font-size: .84rem; color: rgba(255,255,255,.55); }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--accent-light); }

.page-article .entry-content { max-width: 860px; }
.page-article .entry-content p    { margin-bottom: 1.25rem; color: var(--text-light); line-height: 1.8; }
.page-article .entry-content h2   { font-family: var(--font-serif); color: var(--primary); margin-block: 2rem 1rem; }
.page-article .entry-content h3   { font-family: var(--font-serif); color: var(--primary); margin-block: 1.5rem .75rem; }
.page-article .entry-content ul   { list-style: disc; margin-left: 1.5rem; margin-bottom: 1.25rem; }
.page-article .entry-content ul li{ margin-bottom: .4rem; color: var(--text-light); }

/* Posts Grid */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.post-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 1.5rem; }
.post-meta { font-size: .78rem; color: var(--text-xlight); margin-bottom: .6rem; }
.post-card-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: .6rem; }
.post-card-title a { color: var(--primary); transition: color var(--transition); }
.post-card-title a:hover { color: var(--accent-dark); }
.post-card-excerpt { font-size: .87rem; color: var(--text-light); margin-bottom: 1rem; }

/* Error 404 */
.error-404-inner { max-width: 600px; margin-inline: auto; }
.error-404-graphic { max-width: 320px; margin-inline: auto; margin-bottom: 2rem; }
.error-404-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ── 19. Scroll Reveal Animations ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

/* Hero entrance animations */
.reveal-hero {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntry .85s cubic-bezier(.4,0,.2,1) forwards;
}
.reveal-hero.delay-1 { animation-delay: .15s; }
.reveal-hero.delay-2 { animation-delay: .3s; }
.reveal-hero.delay-3 { animation-delay: .45s; }
.reveal-hero.delay-4 { animation-delay: .6s; }
@keyframes heroEntry {
  to { opacity: 1; transform: translateY(0); }
}

/* ── 20. Responsive ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .about-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .site-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  /* Mobile Nav Drawer */
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(340px, 90vw);
    background: var(--white);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    transition: right var(--transition-slow);
    box-shadow: -8px 0 40px rgba(0,0,0,.15);
  }
  .site-nav.is-open { display: block; right: 0; }
  .mobile-overlay { display: block; }

  .nav-menu { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    color: var(--text);
    padding: .85rem 1rem;
    font-size: .95rem;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }
  .nav-menu > li > a:hover { color: var(--accent-dark); background: var(--bg-light); }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    background: var(--bg-light);
  }

  .about-mission-vision { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .hstat-label { font-size: .6rem; letter-spacing: .06em; }
  .hstat { padding: 1rem .5rem; }
  .hstat-num { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats-badge { right: .5rem; bottom: 1rem; }
  .cta-banner-actions { width: 100%; justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── 21. Accessibility ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .scroll-indicator { animation: none; }
  .reveal, .reveal-hero { opacity: 1; transform: none; transition: none; }
}

/* ── 22. Single Post ───────────────────────────────────────── */
.single-article-wrap { max-width: 860px; }

.single-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}
.single-featured-image img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }

.single-post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-navigation {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.post-nav-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-light);
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  max-width: 48%;
}
.post-nav-link:hover { border-color: var(--accent); color: var(--accent-dark); }
.post-nav-next { margin-left: auto; text-align: right; }

/* ── 23. Print ─────────────────────────────────────────────── */
@media print {
  .site-header, .back-to-top, .cta-banner { display: none; }
  .hero { min-height: auto; padding-block: 2rem; background: var(--white); }
  .hero-title, .hero-subtitle { color: var(--text); }
}

/* ── 24. Logo Image ────────────────────────────────────────── */
.site-logo-img {
  display: block;
  width: auto;
  max-height: 56px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,0.95);
  padding: 4px 10px;
}
.scrolled .site-logo-img {
  background: transparent;
  padding: 0;
}
.logo-img-wrap { display: inline-flex; align-items: center; }

/* ── 25. About Real Image ──────────────────────────────────── */
.about-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* ── 25b. Turnkey Ecosystem (About Panel) ──────────────────── */
.tke-ecosystem {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #060f1e 0%, #0b1a35 55%, #0d2040 100%);
  overflow: hidden;
  z-index: 0;
}
.tke-dots-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,169,110,.14) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Heading bar inside panel */
.tke-heading-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 1.4rem 2rem;
  background: linear-gradient(to bottom, rgba(6,15,30,.9) 0%, transparent 100%);
}
.tke-eyebrow {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}
.tke-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin: 0;
}

/* SVG overlay */
.tke-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.tke-line {
  fill: none;
  stroke: rgba(201,169,110,.22);
  stroke-width: 1.2;
  stroke-dasharray: 6 4;
  animation: tke-flow 2.2s linear infinite;
}
@keyframes tke-flow { to { stroke-dashoffset: -10; } }

/* Center hub */
.tke-hub {
  position: absolute;
  top: 52%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 82px; height: 82px;
}
.tke-hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.18);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: tke-ring-pulse 3.2s ease-out infinite;
}
.tke-hr1 { width: 108px; height: 108px; animation-delay: 0s; }
.tke-hr2 { width: 144px; height: 144px; animation-delay: 1.6s; }
@keyframes tke-ring-pulse {
  0%   { opacity: .75; transform: translate(-50%,-50%) scale(.85); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.18); }
}
.tke-hub-core {
  position: relative;
  width: 82px; height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a96e 0%, #9a6f2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 0 28px rgba(201,169,110,.4), 0 0 70px rgba(201,169,110,.12);
  color: #06101e;
  z-index: 2;
}
.tke-hub-text {
  font-size: .44rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #06101e;
  text-align: center;
  line-height: 1.4;
}

/* Phase nodes */
.tke-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  z-index: 3;
  transform: translate(-50%,-50%);
  animation: tke-node-in .7s cubic-bezier(.34,1.56,.64,1) both;
}
.tke-n1 { top: 20%; left: 50%;  animation-delay: .10s; }
.tke-n2 { top: 34%; left: 80%;  animation-delay: .20s; }
.tke-n3 { top: 66%; left: 80%;  animation-delay: .30s; }
.tke-n4 { top: 80%; left: 50%;  animation-delay: .40s; }
.tke-n5 { top: 66%; left: 20%;  animation-delay: .50s; }
.tke-n6 { top: 34%; left: 20%;  animation-delay: .60s; }

/* Step number badge */
.tke-step-badge {
  font-family: var(--font-serif);
  font-size: .68rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(201,169,110,.1);
  border: 1px solid rgba(201,169,110,.35);
  border-radius: 20px;
  padding: .1rem .42rem;
  line-height: 1.6;
  letter-spacing: .04em;
}
@keyframes tke-node-in {
  from { opacity:0; transform:translate(-50%,-50%) scale(.4); }
  to   { opacity:1; transform:translate(-50%,-50%) scale(1); }
}

.tke-node-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(201,169,110,.08);
  border: 1.5px solid rgba(201,169,110,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: tke-icon-glow 3s ease-in-out infinite;
}
.tke-n1 .tke-node-icon { animation-delay: 0s; }
.tke-n2 .tke-node-icon { animation-delay: .5s; }
.tke-n3 .tke-node-icon { animation-delay: 1s; }
.tke-n4 .tke-node-icon { animation-delay: 1.5s; }
.tke-n5 .tke-node-icon { animation-delay: 2s; }
.tke-n6 .tke-node-icon { animation-delay: 2.5s; }
@keyframes tke-icon-glow {
  0%,100% { box-shadow: 0 0 8px rgba(201,169,110,.08);  border-color: rgba(201,169,110,.3); }
  50%      { box-shadow: 0 0 20px rgba(201,169,110,.35); border-color: rgba(201,169,110,.75); }
}
.tke-node-label {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-align: center;
  line-height: 1.45;
  white-space: nowrap;
}

/* ── 26. Services Dark Section (Homepage) ──────────────────── */

/* Section shell */
.services-dark-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* Subtle blueprint grid pattern */
.sds-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.sds-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 50%, rgba(201,169,110,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(201,169,110,.04) 0%, transparent 60%);
}

/* ── Two-column header ── */
.sds-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.sds-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.sds-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.sds-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin: 0;
}
.sds-subtitle {
  font-size: .97rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.sds-all-btn { align-self: flex-start; }

/* ── Card grid ── */
.sds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; /* hairline gap becomes a border-like divider */
  background: rgba(255,255,255,.08); /* gap color */
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ── Individual card ── */
.sds-card {
  background: #0d1e3a; /* slightly lighter than section bg */
  padding: 2.25rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}
.sds-card:hover { background: #122447; }

/* Gold accent bar at the top — slides in on hover */
.sds-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.sds-card:hover .sds-card-bar { transform: scaleX(1); }

/* Large ghost number — decorative watermark */
.sds-card-num {
  position: absolute;
  top: .75rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  user-select: none;
  transition: color var(--transition);
}
.sds-card:hover .sds-card-num { color: rgba(201,169,110,.08); }

/* Icon box */
.sds-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.sds-card-icon svg,
.sds-card-icon svg * {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  stroke: var(--accent) !important;
  fill: none !important;
  flex-shrink: 0;
}
.sds-card:hover .sds-card-icon {
  background: rgba(201,169,110,.22);
  border-color: rgba(201,169,110,.5);
}

/* Thin gold divider line */
.sds-card-divider {
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.25rem;
  transition: width var(--transition);
}
.sds-card:hover .sds-card-divider { width: 56px; }

/* Title */
.sds-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .8rem;
  line-height: 1.35;
}

/* Description */
.sds-card-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* Link */
.sds-card-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.sds-card-link svg { transition: transform var(--transition); flex-shrink: 0; }
.sds-card:hover .sds-card-link { gap: .8rem; color: var(--accent-light); }
.sds-card:hover .sds-card-link svg { transform: translateX(4px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sds-header { grid-template-columns: 1fr; gap: 1.75rem; }
  .sds-all-btn { margin-top: .5rem; }
  .sds-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sds-grid { grid-template-columns: 1fr; }
  .sds-card { padding: 2rem 1.5rem; }
}

/* ── 27. Clients Grid ──────────────────────────────────────── */
.clients-section { background: var(--bg-light); }
.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}
.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.client-logo-wrap:hover { box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.client-logo-wrap img { max-width: 140px; max-height: 70px; object-fit: contain; filter: grayscale(40%); transition: filter var(--transition); }
.client-logo-wrap:hover img { filter: grayscale(0%); }

/* ── 28. CTA Banner Section (with bg image) ────────────────── */
.cta-banner-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.cta-banner-section .cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.cta-banner-section .cta-banner-text { flex: 1; }
.cta-banner-section .cta-banner-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.cta-banner-section .cta-banner-text p { color: rgba(255,255,255,.7); font-size: 1rem; }
.cta-banner-section .cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 768px) {
  .cta-banner-section .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-section .cta-banner-actions { justify-content: center; }
}

/* ── 29. Page Banner Inner ─────────────────────────────────── */
.page-banner-inner { position: relative; z-index: 1; }
.breadcrumb span { color: rgba(255,255,255,.55); margin-inline: .4rem; }
.breadcrumb span[aria-current] { color: rgba(255,255,255,.75); }

/* ── 30. About Page Specific ───────────────────────────────── */
.mv-section { }
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.mv-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all var(--transition);
}
.mv-block:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mv-block-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent-xlight), rgba(201,169,110,.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent-dark);
}
.mv-block h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: .75rem;
}
.mv-block p { font-size: .9rem; color: var(--text-light); line-height: 1.7; }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.founder-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.founder-img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.founder-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s; }
.founder-card:hover .founder-img { transform: scale(1.04); }
.founder-info { padding: 2rem; }
.founder-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .3rem;
}
.founder-role {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.founder-bio { font-size: .9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem; }
.founder-quals { display: flex; flex-direction: column; gap: .4rem; }
.founder-quals span {
  font-size: .8rem;
  color: var(--primary);
  background: var(--bg-light);
  padding: .3rem .8rem;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
  font-weight: 500;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.division-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.division-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.division-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--accent-xlight), rgba(201,169,110,.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--accent-dark);
}
.division-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: .75rem;
}
.division-card p { font-size: .88rem; color: var(--text-light); line-height: 1.7; }

@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .divisions-grid { grid-template-columns: 1fr; }
}

/* ── 31. Services Page Detail Rows ─────────────────────────── */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--border-light);
}
.service-detail-row:last-child { border-bottom: none; }
.service-detail-row.flip .service-detail-img { order: 2; }
.service-detail-row.flip .service-detail-content { order: 1; }

.service-detail-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.service-detail-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }

.service-detail-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--accent-xlight), rgba(201,169,110,.2));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-dark);
}
.service-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.service-detail-desc { font-size: .93rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; }
.service-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.75rem;
}
.service-detail-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text);
}
.service-detail-list li svg { flex-shrink: 0; stroke: var(--accent-dark); }

@media (max-width: 860px) {
  .service-detail-row { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-row.flip .service-detail-img { order: 0; }
  .service-detail-row.flip .service-detail-content { order: 0; }
}

/* ── 32. Gallery Page ──────────────────────────────────────── */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.gallery-filter .filter-btn {
  padding: .55rem 1.4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; }
.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,43,75,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon { color: var(--white); }
.gallery-overlay-text {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 0 1rem;
  line-height: 1.4;
}

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .gallery-grid { grid-template-columns: 1fr; } }

/* ── 33. Contact Page ──────────────────────────────────────── */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1rem;
}
.contact-info-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.contact-info-block:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.contact-info-block-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent-xlight), rgba(201,169,110,.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent-dark);
}
.contact-info-block h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: .75rem;
}
.contact-info-block a,
.contact-info-block span {
  display: block;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
  transition: color var(--transition);
}
.contact-info-block a:hover { color: var(--accent-dark); }
.contact-note { font-size: .8rem !important; color: var(--text-xlight) !important; margin-top: .4rem; }

.contact-form-heading {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: .5rem;
}
.contact-form-subtext { font-size: .9rem; color: var(--text-light); margin-bottom: 2rem; }

.office-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.office-card:hover { box-shadow: var(--shadow-md); }
.office-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  color: var(--accent-dark);
}
.office-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0;
}
.office-card-header h3 span {
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-xlight);
}
.office-address {
  font-style: normal;
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.office-contact-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.office-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  padding: .45rem .9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: all var(--transition);
}
.office-contact-links a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.office-card-social h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: .5rem;
}
.office-card-social p { font-size: .87rem; color: var(--text-light); margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .75rem; }
.social-links a {
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--accent); border-color: var(--primary); }

.map-section { }
.map-wrapper { }
.map-wrapper iframe { display: block; }

@media (max-width: 900px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
}

/* ── 34. Single Portfolio Page ─────────────────────────────── */
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.project-detail-main { }
.project-detail-sidebar { }

.project-banner-cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(201,169,110,.15);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

.project-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}
.project-main-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

.project-content { margin-bottom: 2.5rem; }
.project-content-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.project-content p { font-size: .93rem; color: var(--text-light); line-height: 1.85; margin-bottom: 1.25rem; }

.project-gallery { margin-top: 2.5rem; }
.project-gallery-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-gallery-item { border-radius: var(--radius-md); overflow: hidden; }
.project-gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.project-info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.project-info-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.project-info-list { display: flex; flex-direction: column; gap: 0; }
.project-info-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.project-info-item:last-child { border-bottom: none; }
.project-info-item dt { font-size: .8rem; font-weight: 600; color: var(--text-xlight); text-transform: uppercase; letter-spacing: .06em; }
.project-info-item dd { font-size: .9rem; color: var(--text); font-weight: 500; }

.project-cta-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.project-cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: .6rem;
}
.project-cta-card p { font-size: .87rem; color: rgba(255,255,255,.7); margin-bottom: 1.25rem; }

.project-services-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.project-services-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.project-services-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.project-services-list li { }
.project-services-list a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--text);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.project-services-list a::before {
  content: '→';
  color: var(--accent-dark);
  font-size: .8rem;
}
.project-services-list a:hover { background: var(--white); color: var(--accent-dark); }

.related-projects { }

@media (max-width: 1024px) {
  .project-detail-grid { grid-template-columns: 1fr; }
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 35. Utility ───────────────────────────────────────────── */
.btn-full { width: 100%; justify-content: center; }

/* ── 36. Portfolio img real images ─────────────────────────── */
.portfolio-img { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.portfolio-card:hover .portfolio-img img { transform: scale(1.06); }
