/* =============================================
   Construction Platform - Premium Dark Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:       #192B45;
  --navy-mid:   #3E557D;
  --navy-card:  #293D5D;
  --navy-light: #3E557D;
  --gold:       #F18729;
  --gold-light: #F7A451;
  --gold-dim:   rgba(241, 135, 41, 0.15);
  --gold-glow:  rgba(241, 135, 41, 0.35);
  --white:      #FFFFFF;
  --mascot-outline: #64748B;
  --gray-100:   #F1F5F9;
  --gray-300:   #CBD5E1;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --green:      #22C55E;
  --amber:      #F59E0B;
  --blue:       #3E557D;
  --red:        #EF4444;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --shadow-gold: 0 0 30px rgba(241, 135, 41, 0.2);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-theme="light"] {
  --navy:       #F4F7FA;
  --navy-mid:   #E8EEF4;
  --navy-card:  #ffffff;
  --navy-light: #EEF3F8;
  --gold:       #B35400;
  --gold-light: #D96F14;
  --gold-dim:   rgba(179, 84, 0, 0.12);
  --gold-glow:  rgba(179, 84, 0, 0.18);
  --white:      #111827;
  --gray-100:   #0f172a;
  --gray-300:   #334155;
  --gray-400:   #475569;
  --gray-500:   #64748b;
  --mascot-outline: #3E557D;
  --green:      #16a34a;
  --amber:      #d97706;
  --blue:       #3E557D;
  --red:        #dc2626;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}
body[data-theme="light"] {
  background: var(--navy);
  color: #0f172a;
}
body[data-theme="light"] .top-bar,
body[data-theme="light"] nav,
body[data-theme="light"] .service-card,
body[data-theme="light"] .project-card,
body[data-theme="light"] .contact-form-wrap,
body[data-theme="light"] .estimate-result,
body[data-theme="light"] .hero-card,
body[data-theme="light"] footer,
body[data-theme="light"] .team-box,
body[data-theme="light"] .sec,
body[data-theme="light"] .project-card-body,
body[data-theme="light"] .project-img,
body[data-theme="light"] .contact-item,
body[data-theme="light"] .ai-chat-panel {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
body[data-theme="light"] .section-label,
body[data-theme="light"] .section-desc,
body[data-theme="light"] .project-desc,
body[data-theme="light"] .contact-item .ci-label,
body[data-theme="light"] .form-label,
body[data-theme="light"] .estimate-note,
body[data-theme="light"] .footer-brand p,
body[data-theme="light"] .footer-col li a,
body[data-theme="light"] .ci-value,
body[data-theme="light"] .project-price .price-label,
body[data-theme="light"] .project-meta,
body[data-theme="light"] .service-card li,
body[data-theme="light"] .hero-desc,
body[data-theme="light"] .top-bar,
body[data-theme="light"] .nav-links a,
body[data-theme="light"] .project-card .project-title,
body[data-theme="light"] .section-title,
body[data-theme="light"] .service-card h3,
body[data-theme="light"] .ai-name,
body[data-theme="light"] .ai-status,
body[data-theme="light"] .contact-item .ci-value,
body[data-theme="light"] .project-meta span,
body[data-theme="light"] .form-input,
body[data-theme="light"] .form-select,
body[data-theme="light"] .form-textarea,
body[data-theme="light"] .btn-quote,
body[data-theme="light"] .btn-submit,
body[data-theme="light"] .btn-primary,
body[data-theme="light"] .btn-outline,
body[data-theme="light"] .hero-badge,
body[data-theme="light"] .service-card ul li,
body[data-theme="light"] .project-card .project-title,
body[data-theme="light"] .project-card .project-price,
body[data-theme="light"] .estimate-breakdown,
body[data-theme="light"] .top-bar-left,
body[data-theme="light"] .project-card .project-meta {
  color: #0f172a !important;
}
body[data-theme="light"] .nav-links a,
body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .language-select,
body[data-theme="light"] .top-bar-left span,
body[data-theme="light"] .currency-switcher label,
body[data-theme="light"] .project-price .price-label,
body[data-theme="light"] .contact-item .ci-value,
body[data-theme="light"] .section-desc,
body[data-theme="light"] .service-card li,
body[data-theme="light"] .project-desc,
body[data-theme="light"] .footer-col li a {
  color: #334155;
}
body[data-theme="light"] .hero { background: linear-gradient(135deg, #FFFFFF 0%, #EDF2F7 100%); }
body[data-theme="light"] .hero-bg { background: radial-gradient(circle at 20% 20%, rgba(179, 84, 0,0.1), transparent 20%), linear-gradient(135deg, #FFFFFF 0%, #EDF2F7 100%); }
body[data-theme="light"] .hero-grid-lines { opacity: 0.5; }
body[data-theme="light"] .hero-cta .btn-primary {
  position: relative;
  isolation: isolate;
  animation-name: heroProjectAttentionLight;
}
body[data-theme="light"] .hero-cta .btn-primary::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #FFFFFF;
  opacity: 0;
  pointer-events: none;
  animation: heroProjectFillLight 2.4s ease-in-out infinite;
}
@keyframes heroProjectAttentionLight {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.2), 0 0 18px rgba(179, 84, 0, 0.3);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 9px 18px rgba(15, 23, 42, 0.24), 0 0 34px rgba(179, 84, 0, 0.62);
  }
}
@keyframes heroProjectFillLight {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.24; }
}
body[data-theme="light"] .service-icon {
  box-shadow: inset 0 0 0 1px rgba(179, 84, 0,0.15);
}
body[data-theme="light"] .logo span, body[data-theme="light"] .highlight {
  color: var(--gold);
}
body[data-theme="light"] .project-card .project-price .price-value,
body[data-theme="light"] .estimate-amount-etb,
body[data-theme="light"] .estimate-amount-usd,
body[data-theme="light"] .btn-quote,
body[data-theme="light"] .btn-primary,
body[data-theme="light"] .btn-outline {
  color: #0f172a;
}

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* =============================================
   TOP INFO BAR
   ============================================= */
.top-bar {
  background: var(--navy-card);
  border-bottom: 1px solid rgba(241, 135, 41, 0.2);
  padding: 10px 0;
  font-size: 0.78rem;
  color: var(--gray-400);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-left span i { color: var(--gold); margin-right: 5px; }
.currency-switcher { display: flex; align-items: center; gap: 8px; }
.currency-switcher label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); }
.currency-toggle { gap:10px; }
.currency-toggle-label { display:inline-flex; align-items:center; gap:6px; color:var(--gray-400); font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.currency-toggle-label i { color:var(--gold); }
.currency-toggle-track { display:inline-grid; grid-template-columns:repeat(2,minmax(52px,1fr)); gap:3px; padding:3px; background:var(--navy-light); border:1px solid rgba(148,163,184,.22); border-radius:50px; }
.currency-toggle-option { min-height:30px; padding:5px 12px; color:var(--gray-400); background:transparent; border:0; border-radius:50px; font:inherit; font-size:.72rem; font-weight:800; cursor:pointer; transition:var(--transition); }
.currency-toggle-option:hover { color:var(--gold); }
.currency-toggle-option.active { color:var(--navy); background:var(--gold); box-shadow:0 2px 8px rgba(241, 135, 41,.22); }
.currency-toggle-option:focus-visible { outline:2px solid var(--gold-light); outline-offset:2px; }
.btn-currency {
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.btn-currency.active { background: var(--gold); color: var(--navy); }
.btn-currency:not(.active) { background: var(--navy-light); color: var(--gray-300); }
.btn-currency:not(.active):hover { background: var(--navy-mid); color: var(--gold); }

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 13, 23, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(241, 135, 41, 0.15);
  transition: var(--transition);
}
nav .logo-image { width: 56px; padding: 0; }
body[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(241, 135, 41, 0.2);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
}
.language-select {
  background: transparent;
  border: none;
  color: var(--gray-300);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 28px 7px 10px;
  cursor: pointer;
  color-scheme: dark;
  outline-offset: 2px;
}
.language-select option {
  background: var(--navy-card);
  color: var(--white);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(241, 135, 41, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gray-300);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.theme-toggle:hover, .language-select:hover {
  border-color: rgba(241, 135, 41, 0.4);
  color: var(--gold);
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.logo span { color: var(--gold); }
.logo-image {
  display: flex;
  width: 180px;
  height: auto;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 6px;
}
.logo-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.logo-image:hover { opacity: .88; }
@media (max-width: 600px) {
  nav .logo-image { width: 48px; }
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.btn-quote {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-quote:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gold-glow);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: 0;
  background: transparent;
}
.hamburger span {
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   CONTAINER
   ============================================= */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--navy);
  padding: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(241, 135, 41, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(62, 85, 125, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #192B45 0%, #3E557D 100%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(241, 135, 41, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 135, 41, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: clamp(40px, 7vh, 72px) 0 80px;
  width: 100%;
}
.hero-content h1 .typing-char {
  display: inline-block;
  animation: titleType .24s ease-out both;
  animation-delay: calc(var(--char-index) * 24ms);
}
.hero-content h1 .typing-space {
  width: .28em;
}
.intro-enter {
  animation: introEnter .7s cubic-bezier(.2,.75,.25,1) both;
}
.hero-tagline.intro-enter { animation-delay: .2s; }
.hero-desc.intro-enter { animation-delay: .45s; }
.hero-cta.intro-enter { animation-delay: .62s; }
.hero-stats.intro-enter { animation-delay: .78s; }
.hero-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  animation: introEnter .9s cubic-bezier(.2,.75,.25,1) .2s both;
}
.hero-showcase .mascot-container { max-width: 368px; }
.mascot-container {
  width: 100%;
  max-width: 256px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.mascot-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
@keyframes titleType {
  from { opacity: 0; transform: translateY(0.18em); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.mascot-body-bob {
  animation: mascotFloat 3.5s ease-in-out infinite;
  transform-origin: center bottom;
}
.mascot-shadow {
  animation: mascotShadowPulse 3.5s ease-in-out infinite;
  transform-origin: center;
}
.mascot-head,
.mascot-arm-right,
.mascot-forearm-right,
.mascot-arm-left {
  transition: transform .6s cubic-bezier(.34,1.56,.64,1);
}
.mascot-head { transform-origin: 200px 190px; }
.mascot-arm-right { transform-origin: 280px 215px; }
.mascot-forearm-right { transform-origin: 325px 230px; }
.mascot-arm-left { transform-origin: 120px 215px; }
#hero-mascot .mascot-head {
  animation: mascotHeadSway 7s ease-in-out infinite;
}
#hero-mascot .mascot-arm-right {
  animation: mascotArmSway 5.8s ease-in-out infinite;
}
#hero-mascot .mascot-forearm-right {
  animation: mascotForearmSway 5.8s ease-in-out infinite;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}
@keyframes mascotShadowPulse {
  0%, 100% { transform: scale(1); opacity: .18; }
  50% { transform: scale(.82); opacity: .08; }
}
@keyframes mascotHeadSway {
  0%, 100% { transform: rotate(0); }
  28% { transform: rotate(2deg); }
  63% { transform: rotate(-1.5deg); }
}
@keyframes mascotArmSway {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-16deg); }
  54% { transform: rotate(-11deg); }
  78% { transform: rotate(2deg); }
}
@keyframes mascotForearmSway {
  0%, 100% { transform: rotate(0); }
  24% { transform: rotate(-7deg); }
  47% { transform: rotate(7deg); }
  70% { transform: rotate(3deg); }
}
.services-layout-wrap {
  display: block;
}
.services-layout-wrap .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.services-layout-wrap .service-card.wide { grid-column: span 2; }
@media (max-width: 520px) {
  .hero-showcase .mascot-container { max-width: 256px; }
  .services-layout-wrap .services-grid { grid-template-columns: 1fr; }
  .services-layout-wrap .service-card.wide { grid-column: span 1; }
}

.pwa-install-popup {
  position: fixed !important;
  left: max(20px, env(safe-area-inset-left));
  right: auto;
  top: auto !important;
  bottom: max(20px, env(safe-area-inset-bottom)) !important;
  z-index: 10000;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  width: min(370px, calc(100vw - 32px));
  padding: 16px;
  color: var(--white);
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35), 0 0 24px var(--gold-dim);
  animation: none !important;
  transform: none !important;
  transition: none !important;
}
.pwa-install-popup[hidden] { display: none; }
.pwa-install-popup-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  padding: 3px;
  border-radius: 8px;
  background: #E8EDF3;
}
.pwa-install-popup-copy { min-width: 0; }
.pwa-install-popup-title { display: block; font-weight: 700; font-size: .9rem; }
.pwa-install-popup-description { display: block; margin-top: 3px; color: var(--gray-300); font-size: .74rem; line-height: 1.45; }
.pwa-install-popup-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  color: #192B45;
  background: linear-gradient(135deg, #F18729, #F7A451);
  font: 700 .76rem 'Inter', sans-serif;
  cursor: pointer;
}
.pwa-install-popup-action:hover { filter: brightness(1.06); }
.pwa-install-popup-close {
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--navy-border);
  border-radius: 50%;
  color: var(--gray-300);
  background: transparent;
  cursor: pointer;
}
.pwa-install-popup-close:hover { color: var(--white); background: var(--navy-light); }
body[data-theme="light"] .pwa-install-popup { color: #192B45; }
body[data-theme="light"] .pwa-install-popup-description { color: #475569; }
body[data-theme="light"] .pwa-install-popup-close { color: #475569; }
body[data-theme="light"] .pwa-install-popup-close:hover { color: #192B45; }
@media (max-width: 520px) {
  .pwa-install-popup {
    left: max(12px, env(safe-area-inset-left));
    right: auto;
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 60px + 16px) !important;
    width: calc(100vw - 24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-install-popup { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content h1 .typing-char,
  .intro-enter,
  .hero-cta .btn-primary {
    animation: none !important;
    opacity: 1;
  }
  .hero-cta .btn-primary::before {
    animation: none !important;
    opacity: 0;
  }
  .reveal, .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .mascot-body-bob, .mascot-shadow { animation: none; }
  .mascot-head, .mascot-arm-right, .mascot-forearm-right, .mascot-arm-left { animation: none !important; transition: none; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(241, 135, 41, 0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge i { font-size: 0.7rem; }
.hero h1 {
  font-size: clamp(1.86rem, 3.375vw, 2.865rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-tagline {
  display: inline-block;
  margin: 0 0 24px 2px;
  color: var(--gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.88rem, 1.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  transform: skewX(-8deg) rotate(-1deg);
}
.hero-tagline em {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic !important;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .highlight .typing-char {
  background-image: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleType .24s ease-out both;
  animation-delay: calc(var(--char-index) * 24ms);
}
.hero-desc {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-primary {
  animation: heroProjectAttention 2.4s ease-in-out infinite;
}
.hero-cta .btn-primary:hover {
  animation: none;
}
@keyframes heroProjectAttention {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(241, 135, 41, 0.22);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(241, 135, 41, 0.48);
  }
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--gold-glow);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}
.hero-stat .lbl {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero right: project card */
.hero-card {
  background: var(--navy-card);
  border: 1px solid rgba(241, 135, 41, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), var(--shadow-gold);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.hero-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.hero-card-img:hover img { transform: scale(1.05); }
.hero-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amber);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-card-body { padding: 20px; }
.hero-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.milestone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
}
.milestone-row .label { color: var(--gray-400); }
.milestone-row .status { font-weight: 600; display: flex; align-items: center; gap: 5px; }
.status-completed { color: var(--green); }
.status-active { color: var(--gold); }
.status-pending { color: var(--gray-500); }
.progress-bar-wrap { background: var(--navy-light); border-radius: 50px; height: 5px; margin-top: 4px; }
.progress-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   SECTION STYLES
   ============================================= */
section { padding: 90px 0; }
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-desc { color: var(--gray-400); font-size: 1rem; max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

.business-testimonials-section {
  padding: 76px 0 84px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(241, 135, 41, 0.045), transparent);
}
.business-testimonials-heading { text-align: center; margin-bottom: 34px; }
.business-testimonials-heading .section-title { margin-bottom: 10px; }
.business-testimonials-window { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.business-testimonials-window.is-dragging { cursor: grabbing; }
.business-testimonials-window:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.business-testimonials-track {
  display: flex;
  width: max-content;
  align-items: stretch;
}
.business-testimonials-group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 18px;
  padding-right: 18px;
}
.business-testimonials-track.is-ready {
  animation: business-testimonial-loop 42s linear infinite;
}
.business-testimonials-window:hover .business-testimonials-track,
.business-testimonials-window:focus-within .business-testimonials-track {
  animation-play-state: paused;
}
.business-testimonial-card {
  display: flex;
  flex: 0 0 clamp(270px, 34vw, 370px);
  min-height: 170px;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1.5px solid rgba(241, 135, 41, 0.7);
  border-radius: 14px;
  background: var(--navy-card);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(241, 135, 41, 0.1);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.business-testimonial-card:hover {
  border-color: #f18729;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16), 0 3px 10px rgba(241, 135, 41, 0.14);
}
.business-testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.business-testimonial-name {
  min-width: 0;
  color: var(--gray-100);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.business-testimonial-stars { display: inline-flex; flex: 0 0 auto; gap: 3px; color: var(--gray-500); font-size: 0.82rem; }
.business-testimonial-stars .is-filled { color: var(--gold); }
.business-testimonial-card p {
  color: var(--gray-400);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.business-testimonial-card q { quotes: "\201C" "\201D"; }
@keyframes business-testimonial-loop {
  to { transform: translateX(-50%); }
}

/* Divider line */
.divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin: 14px 0;
}
.divider.center { margin: 14px auto; }

@media (max-width: 640px) {
  .business-testimonials-section { padding: 58px 0 64px; }
  .business-testimonial-card { flex-basis: min(82vw, 340px); }
}
@media (prefers-reduced-motion: reduce) {
  .business-testimonials-window { overflow-x: auto; }
  .business-testimonials-track,
  .business-testimonials-track.is-ready { width: 100%; animation: none; }
  .business-testimonials-group { flex-wrap: wrap; width: 100%; }
  .business-testimonial-card { flex: 1 1 270px; }
}
body[data-theme="light"] .business-testimonial-card {
  background: #fff9f0;
  border-color: rgba(241, 135, 41, 0.72);
  box-shadow: 0 8px 22px rgba(91, 51, 17, 0.1), 0 2px 8px rgba(241, 135, 41, 0.1);
}
body[data-theme="light"] .business-testimonial-card:hover {
  border-color: #e9781b;
  box-shadow: 0 10px 26px rgba(91, 51, 17, 0.14), 0 3px 10px rgba(241, 135, 41, 0.14);
}
body[data-theme="light"] .business-testimonial-name { color: #2f251d; }
body[data-theme="light"] .business-testimonial-card p { color: #615348; }

/* =============================================
   SERVICES SECTION
   ============================================= */
#services { background: var(--navy-mid); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(241, 135, 41, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.service-card ul { list-style: none; }
.service-card ul li {
  color: var(--gray-400);
  font-size: 0.875rem;
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.service-card.wide { grid-column: span 2; }

/* =============================================
   PROJECTS SECTION
   ============================================= */
#projects { background: var(--navy); }
.projects-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.projects-header .section-desc { margin: 0 auto; }
.project-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--gray-400);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}
.projects-more {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}
.projects-more .btn-primary { display: inline-flex; align-items: center; gap: 10px; }
.projects-more .btn-primary i { transition: transform .2s ease; }
.projects-more .btn-primary:hover i { transform: translateX(4px); }
.project-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.project-card:hover {
  border-color: rgba(241, 135, 41, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.project-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,13,23,0.8) 0%, transparent 60%);
}
.project-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-blue { background: var(--blue); color: #fff; }
.badge-green { background: var(--green); color: #fff; }
.badge-dark { background: rgba(0,0,0,0.7); color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
body[data-theme="light"] .project-location-badge,
body[data-theme="light"] .project-location-badge > span {
  background: rgba(255,255,255,.94) !important;
  color: #334155 !important;
}
body[data-theme="light"] .project-location-badge {
  border-color: rgba(15,23,42,.12);
  box-shadow: 0 3px 10px rgba(15,23,42,.12);
  backdrop-filter: blur(8px);
}
body[data-theme="light"] .project-location-badge > i { color: var(--gold) !important; }
.badge-amber { background: var(--amber); color: #000; }
.project-card-body { padding: 24px; }
.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 12px;
}
.project-title { font-size: 1.15rem; font-weight: 700; }
.project-price {
  text-align: right;
  flex-shrink: 0;
}
.project-price .price-label { font-size: 0.7rem; color: var(--gray-500); display: block; }
.project-price .price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
}
.project-desc {
  color: var(--gray-400);
  font-size: 0.83rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.project-milestones { margin-bottom: 18px; }
.milestone-item { margin-bottom: 8px; }
.milestone-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 5px;
}
.milestone-header .m-name { color: var(--gray-400); }
.milestone-header .m-pct { font-weight: 700; color: var(--gold); }
.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-500);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  margin-top: 16px;
}
.project-meta span i { margin-right: 4px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}
.status-pill.active-finishing { background: rgba(245, 158, 11, 0.15); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.3); }
.status-pill.handed-over { background: rgba(34, 197, 94, 0.15); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.3); }
.status-pill.pre-construction { background: rgba(62, 85, 125, 0.15); color: var(--blue); border: 1px solid rgba(62, 85, 125, 0.3); }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* =============================================
   FULL PROJECT PORTFOLIO
   ============================================= */
.portfolio-top-actions { display: flex; align-items: center; gap: 20px; }
.portfolio-top-contact { color: var(--gray-300); font-weight: 600; white-space: nowrap; }
.portfolio-top-contact i { margin-left: 5px; color: var(--gold); }
.portfolio-top-contact:hover, .portfolio-reset:hover { color: var(--gold); }
.portfolio-page {
  min-height: 62vh;
  padding: 48px 0 76px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(241, 135, 41,.07), transparent 38%),
    var(--navy);
}
.portfolio-heading { margin-bottom: 30px; }
.portfolio-heading .section-title { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3rem); }
.portfolio-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--gray-400); font-size: .85rem; font-weight: 600; }
.portfolio-back-link:hover { color: var(--gold); }
.portfolio-heading .section-desc { max-width: 720px; }
.portfolio-filters {
  display: grid;
  grid-template-columns: minmax(200px, 2fr) repeat(3, minmax(115px, 1fr)) minmax(140px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.portfolio-filters label { min-width: 0; }
.portfolio-filters input,
.portfolio-filters select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: .86rem;
}
.portfolio-filters select { color-scheme: dark; }
body[data-theme="light"] .portfolio-filters select { color-scheme: light; }
.portfolio-search { position: relative; }
.portfolio-search > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.portfolio-search input { padding-left: 38px; }
.portfolio-submit { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 0; cursor: pointer; white-space: nowrap; }
.portfolio-reset { padding: 8px 4px; color: var(--gray-400); font-size: .88rem; font-weight: 600; }
.portfolio-results { margin: 20px 0 14px; color: var(--gray-400); font-size: .88rem; }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap:24px; }
.portfolio-project-card {
  position:relative;
  display:block;
  color:inherit;
  text-decoration:none;
  border:1px solid rgba(241, 135, 41,.15);
  background:linear-gradient(155deg,rgba(24,61,104,.42),var(--navy-card) 44%);
  box-shadow:0 16px 38px rgba(0,0,0,.18);
  isolation:isolate;
}
.portfolio-project-card::before {
  position:absolute;
  z-index:2;
  top:0;
  left:24px;
  right:24px;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  content:"";
  opacity:.75;
  transition:opacity .25s ease,left .25s ease,right .25s ease;
}
.portfolio-project-card:hover,
.portfolio-project-card:focus-visible {
  color:inherit;
  border-color:rgba(241, 135, 41,.52);
  transform:translateY(-7px);
  box-shadow:0 24px 54px rgba(0,0,0,.3),0 0 24px rgba(241, 135, 41,.08);
}
.portfolio-project-card:hover::before,
.portfolio-project-card:focus-visible::before { left:0; right:0; opacity:1; }
.portfolio-project-card:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.portfolio-project-card .project-img { height:258px; background:var(--navy-mid); box-shadow:none; }
.portfolio-project-card .project-img img { transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .4s ease; }
.portfolio-project-card:hover .project-img img { transform:scale(1.055); filter:saturate(1.08); }
.portfolio-project-card .project-img-overlay {
  background:linear-gradient(180deg,rgba(25, 43, 69,.12) 0%,rgba(25, 43, 69,.02) 34%,rgba(25, 43, 69,.78) 100%);
}
.portfolio-project-card .project-card-body { min-height:250px; display:flex; flex-direction:column; padding:22px 23px 20px; background:transparent; box-shadow:none; }
.portfolio-project-card .project-title { margin:0 0 9px; font-size:1.24rem; line-height:1.28; letter-spacing:-.015em; }
.portfolio-project-card .project-desc { min-height:2.7em; margin-bottom:14px; }
body[data-theme="light"] .portfolio-project-meta { background:transparent; color:#334155; }
.portfolio-project-meta { align-items:center; gap:8px; flex-wrap:wrap; margin:0; padding:0; border:0; }
.portfolio-project-meta > .portfolio-meta-chip {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:5px 10px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:8px;
  background:rgba(25, 43, 69,.42);
  color:var(--gray-300);
  font-size:.72rem;
  font-weight:600;
}
.portfolio-meta-chip > i { color:var(--gold); }
.portfolio-project-progress { margin:16px 0 8px; padding:12px 13px; border:1px solid rgba(241, 135, 41,.14); border-radius:10px; background:rgba(25, 43, 69,.28); }
.portfolio-project-progress-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:8px; color:var(--gray-400); font-size:.7rem; font-weight:700; }
.portfolio-project-progress-heading strong { color:var(--gold) !important; font-family:'Outfit',sans-serif; font-size:.88rem; }
.portfolio-project-progress .progress-bar-wrap { height:6px; margin:0; background:rgba(148,163,184,.2); }
.portfolio-project-progress .progress-bar-fill { box-shadow:0 0 12px var(--gold-glow); }
.portfolio-detail-link { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid rgba(148,163,184,.16); color:var(--gold); font-size:.82rem; font-weight:800; letter-spacing:.015em; }
.portfolio-detail-link > i { transition:transform .2s ease; }
.portfolio-project-card:hover .portfolio-detail-link > i { transform:translateX(4px); }
.portfolio-project-card .portfolio-detail-link { margin-top:auto; padding-top:14px; }
body[data-theme="light"] .portfolio-project-card {
  border-color:rgba(179, 84, 0,.18);
  background:linear-gradient(155deg,#fff 0%,#fff 55%,#fbf7f0 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.08);
}
body[data-theme="light"] .portfolio-project-card:hover,
body[data-theme="light"] .portfolio-project-card:focus-visible { box-shadow:0 22px 46px rgba(15,23,42,.13),0 0 22px rgba(179, 84, 0,.1); }
body[data-theme="light"] .portfolio-project-card .project-img-overlay {
  background:linear-gradient(180deg,rgba(25, 43, 69,.08) 0%,rgba(25, 43, 69,.02) 38%,rgba(25, 43, 69,.55) 100%);
}
body[data-theme="light"] .portfolio-project-card .project-img,
body[data-theme="light"] .portfolio-project-card .project-card-body { background:transparent; box-shadow:none; }
body[data-theme="light"] .portfolio-project-meta > .portfolio-meta-chip { border-color:rgba(15,23,42,.09); background:rgba(255,255,255,.78); color:#334155 !important; }
body[data-theme="light"] .portfolio-project-meta > .portfolio-meta-chip > i { color:var(--gold) !important; }
body[data-theme="light"] .portfolio-project-progress { border-color:rgba(179, 84, 0,.16); background:rgba(255,255,255,.72); }
body[data-theme="light"] .portfolio-project-progress-heading { color:#64748b; }
body[data-theme="light"] .portfolio-project-progress .progress-bar-wrap { background:rgba(15,23,42,.1); }
body[data-theme="light"] .portfolio-detail-link { border-top-color:rgba(15,23,42,.1); }
.portfolio-empty { padding: 70px 20px; text-align: center; color: var(--gray-400); background: var(--navy-card); border-radius: var(--radius-lg); }
.portfolio-empty > i { margin-bottom: 18px; color: var(--gold); font-size: 2rem; }
.portfolio-empty h2 { margin-bottom: 8px; color: var(--white); }
.portfolio-empty .btn-primary { display: inline-flex; margin-top: 22px; }
@media (max-width: 560px) {
  .portfolio-grid { gap:16px; }
  .portfolio-project-card .project-img { height:220px; }
  .portfolio-project-card .project-card-body { min-height:220px; padding:18px 17px 16px; }
  .portfolio-project-card .project-title { font-size:1.15rem; }
}
.portfolio-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 42px; color: var(--gray-400); }
.portfolio-pagination a { color: var(--gold); font-weight: 700; }
/* Homepage project cards use the same visual language as the full portfolio. */
.home-project-card {
  position:relative;
  border:1px solid rgba(241, 135, 41,.15);
  background:linear-gradient(155deg,rgba(24,61,104,.42),var(--navy-card) 44%);
  box-shadow:0 16px 38px rgba(0,0,0,.18);
  isolation:isolate;
}
.home-project-card::before {
  position:absolute;
  z-index:2;
  top:0;
  left:24px;
  right:24px;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  content:"";
  opacity:.75;
  transition:opacity .25s ease,left .25s ease,right .25s ease;
}
.home-project-card:hover {
  border-color:rgba(241, 135, 41,.52);
  transform:translateY(-7px);
  box-shadow:0 24px 54px rgba(0,0,0,.3),0 0 24px rgba(241, 135, 41,.08);
}
.home-project-card:hover::before { left:0; right:0; opacity:1; }
.home-project-card:focus-within { outline:2px solid var(--gold); outline-offset:4px; }
.home-project-card .project-img { height:258px; background:var(--navy-mid); box-shadow:none; }
.home-project-card .project-img img { transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .4s ease; }
.home-project-card:hover .project-img img { transform:scale(1.055); filter:saturate(1.08); }
.home-project-card .project-img-overlay { background:linear-gradient(180deg,rgba(25, 43, 69,.12) 0%,rgba(25, 43, 69,.02) 34%,rgba(25, 43, 69,.78) 100%); }
.home-project-card .project-card-body { min-height:250px; display:flex; flex-direction:column; padding:22px 23px 20px; background:transparent; box-shadow:none; }
.home-project-card .project-title { margin:0 0 9px; font-size:1.24rem; line-height:1.28; letter-spacing:-.015em; }
.home-project-card .project-desc { min-height:2.7em; margin-bottom:14px; }
.home-project-progress { margin:16px 0 8px; padding:12px 13px; border:1px solid rgba(241, 135, 41,.14); border-radius:10px; background:rgba(25, 43, 69,.28); }
.home-project-progress-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:8px; color:var(--gray-400); font-size:.7rem; font-weight:700; }
.home-project-progress-heading strong { color:var(--gold) !important; font-family:'Outfit',sans-serif; font-size:.88rem; }
.home-project-progress .progress-bar-wrap { height:6px; margin:0; background:rgba(148,163,184,.2); }
.home-project-progress .progress-bar-fill { box-shadow:0 0 12px var(--gold-glow); }
.home-project-meta { align-items:center; justify-content:flex-start; gap:8px; flex-wrap:wrap; margin:0; padding:0; border:0; }
.home-project-meta > .home-project-meta-chip {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:5px 10px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:8px;
  background:rgba(25, 43, 69,.42);
  color:var(--gray-300);
  font-size:.72rem;
  font-weight:600;
}
.home-project-meta-chip > i { color:var(--gold); }
.home-project-meta .ebcs-badge { margin-left:auto; }
.home-project-detail-link { display:flex; flex-direction:row-reverse; justify-content:space-between; margin-top:auto; padding:13px 14px; font-weight:800; }
.home-project-detail-link > i { transition:transform .2s ease; }
.home-project-card:hover .home-project-detail-link > i { transform:translateX(4px); }
body[data-theme="light"] .home-project-card {
  border-color:rgba(179, 84, 0,.18);
  background:linear-gradient(155deg,#fff 0%,#fff 55%,#fbf7f0 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.08);
}
body[data-theme="light"] .home-project-card:hover { box-shadow:0 22px 46px rgba(15,23,42,.13),0 0 22px rgba(179, 84, 0,.1); }
body[data-theme="light"] .home-project-card .project-img-overlay { background:linear-gradient(180deg,rgba(25, 43, 69,.08) 0%,rgba(25, 43, 69,.02) 38%,rgba(25, 43, 69,.55) 100%); }
body[data-theme="light"] .home-project-card .project-img,
body[data-theme="light"] .home-project-card .project-card-body { background:transparent; box-shadow:none; }
body[data-theme="light"] .home-project-meta > .home-project-meta-chip { border-color:rgba(15,23,42,.09); background:rgba(255,255,255,.78); color:#334155 !important; }
body[data-theme="light"] .home-project-meta > .home-project-meta-chip > i { color:var(--gold) !important; }
body[data-theme="light"] .home-project-progress { border-color:rgba(179, 84, 0,.16); background:rgba(255,255,255,.72); }
body[data-theme="light"] .home-project-progress-heading { color:#64748b; }
body[data-theme="light"] .home-project-progress .progress-bar-wrap { background:rgba(15,23,42,.1); }
body[data-theme="light"] .home-project-detail-link { color:var(--gold); border-color:rgba(15,23,42,.1); }
@media (max-width:560px) {
  .home-project-card .project-img { height:220px; }
  .home-project-card .project-card-body { min-height:220px; padding:18px 17px 16px; }
  .home-project-card .project-title { font-size:1.15rem; }
}
body[data-theme="light"] .portfolio-filters { border-color: rgba(15,23,42,.08); box-shadow: 0 12px 30px rgba(15,23,42,.06); }
body[data-theme="light"] .portfolio-filters input,
body[data-theme="light"] .portfolio-filters select { border-color: rgba(15,23,42,.14); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =============================================
   DIASPORA PACKAGE SECTION
   ============================================= */
.diaspora-section { background: var(--navy-mid); }
.diaspora-packages-grid {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.diaspora-packages-grid::before,.diaspora-catalog-grid::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-32px;
  border-radius:inherit;
  background:
    radial-gradient(ellipse at 20% 35%, rgba(241, 135, 41,.88), transparent 55%),
    radial-gradient(ellipse at 80% 65%, rgba(62, 85, 125,.72), transparent 54%);
  background-size:160% 160%;
  filter:blur(34px);
  opacity:.82;
  pointer-events:none;
  animation:diasporaGlow 5s ease-in-out infinite;
}
.diaspora-catalog-grid {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
@keyframes diasporaGlow {
  0%, 100% { background-position:0% 50%; opacity:.48; transform:translate3d(-1.5%,0,0) scale(.94); }
  50% { background-position:100% 50%; opacity:.82; transform:translate3d(1.5%,1%,0) scale(1.04); }
}
.diaspora-package-card {
  position:relative;
  z-index:0;
  display:flex;
  min-width:0;
  flex-direction:column;
  padding:22px;
  overflow:hidden;
  background:var(--navy-card);
  border:1px solid rgba(241, 135, 41,.2);
  border-radius:var(--radius-lg);
  box-shadow:0 18px 42px rgba(0,0,0,.2);
  transition:var(--transition);
}
.diaspora-package-content { min-height:0; flex:1; }
.diaspora-package-card::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,var(--gold),rgba(62, 85, 125,.75),transparent);
  opacity:.75;
}
.diaspora-package-card:hover {
  transform:translateY(-6px);
  border-color:rgba(241, 135, 41,.48);
  box-shadow:0 24px 54px rgba(0,0,0,.3),0 0 24px rgba(241, 135, 41,.12);
}
.diaspora-package-card-heading { position:relative; padding-left:56px; min-height:48px; }
.diaspora-package-icon {
  position:absolute;
  top:1px;
  left:0;
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  color:var(--gold);
  background:rgba(241, 135, 41,.1);
  border:1px solid rgba(241, 135, 41,.2);
  border-radius:12px;
}
.diaspora-package-kicker { display:block; color:var(--gold); font-size:.67rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.diaspora-package-card h3 { color:var(--gray-100); font-family:'Outfit',sans-serif; font-size:1.2rem; line-height:1.25; }
.diaspora-package-card h2 { color:var(--gray-100); font-family:'Outfit',sans-serif; font-size:1.12rem; line-height:1.25; overflow-wrap:anywhere; }
.diaspora-package-card-featured { min-height:220px; padding:20px; }
.diaspora-package-card-featured .diaspora-package-card-heading { min-height:72px; }
.diaspora-package-card-featured .diaspora-package-tagline { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.diaspora-package-card-featured .diaspora-featured-description { margin:12px 0 10px; font-size:.78rem; line-height:1.55; }
.diaspora-package-card-featured .diaspora-featured-features { margin:0 0 14px; padding:0; list-style:none; }
.diaspora-package-card-featured .diaspora-featured-features li { display:flex; align-items:flex-start; gap:8px; margin-top:7px; color:var(--gray-400); font-size:.74rem; line-height:1.45; }
.diaspora-package-card-featured .diaspora-featured-features li i { flex:0 0 auto; margin-top:3px; color:var(--gold); font-size:.68rem; }
.diaspora-package-card-featured .diaspora-featured-features li span { min-width:0; overflow-wrap:anywhere; }
.diaspora-package-tagline { margin-top:4px; color:var(--gray-400); font-size:.78rem; overflow-wrap:anywhere; }
.diaspora-package-description { min-width:0; margin:20px 0 14px; color:var(--gray-400); font-size:.82rem; line-height:1.7; overflow-wrap:anywhere; }
.diaspora-package-features { display:grid; gap:9px; margin:0 0 22px; padding:0; list-style:none; }
.diaspora-package-features li { display:flex; align-items:flex-start; gap:9px; min-width:0; color:var(--gray-300); font-size:.8rem; line-height:1.5; }
.diaspora-package-features li span { min-width:0; overflow-wrap:anywhere; }
.diaspora-package-features li i { margin-top:3px; color:var(--gold); font-size:.7rem; }
.diaspora-package-no-features { margin-top:0; }
.diaspora-card-price { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; margin-top:auto; border-top:1px solid rgba(255,255,255,.08); }
.diaspora-card-price-label { display:block; color:var(--gray-500); font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.diaspora-card-rate { display:block; color:var(--gold); font-family:'Outfit',sans-serif; font-size:.96rem; white-space:nowrap; }
.diaspora-card-price-details { display:flex; align-items:baseline; gap:8px; min-width:0; }
.diaspora-card-currency-switcher { display:flex; flex-shrink:0; padding:3px; background:var(--navy); border:1px solid rgba(255,255,255,.08); border-radius:50px; }
.diaspora-card-currency-switcher button { padding:5px 8px; color:var(--gray-400); background:transparent; border:0; border-radius:50px; font:700 .66rem 'Inter',sans-serif; cursor:pointer; }
.diaspora-card-currency-switcher button.active { color:var(--navy); background:var(--gold); }
@media (max-width:560px) {
  .diaspora-card-price { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 10px; }
  .diaspora-card-price-details { display:block; }
  .diaspora-card-rate { white-space:normal; overflow-wrap:anywhere; }
}
.diaspora-open-package { display:flex; align-items:center; justify-content:center; gap:9px; margin-top:2px; }
.diaspora-open-package i { transition:transform .2s ease; }
.diaspora-open-package:hover i { transform:translateX(3px); }
.diaspora-no-packages { color:var(--gray-400); font-size:.88rem; }
.diaspora-packages-more { position:relative; z-index:1; margin-top:26px; }
.diaspora-catalog-page { min-height:70vh; padding:48px 0 76px; background:radial-gradient(ellipse at 10% 0%,rgba(241,135,41,.08),transparent 38%),var(--navy); }
.diaspora-catalog-heading { max-width:800px; margin-bottom:28px; }
.diaspora-catalog-heading .portfolio-back-link { display:inline-flex; margin-bottom:22px; }
.diaspora-catalog-heading .section-title { margin:8px 0 10px; font-size:clamp(2rem,4vw,3rem); }
.diaspora-catalog-filters { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,220px) auto auto; gap:10px; align-items:center; padding:14px; margin-bottom:12px; background:var(--navy-card); border:1px solid rgba(241,135,41,.2); border-radius:var(--radius); box-shadow:0 12px 30px rgba(0,0,0,.14); }
.diaspora-catalog-search { position:relative; display:block; min-width:0; }
.diaspora-catalog-search > i { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--gray-500); }
.diaspora-catalog-search input,.diaspora-catalog-sort select { width:100%; min-height:44px; padding:10px 12px; color:var(--gray-100); background:var(--navy); border:1px solid var(--navy-border); border-radius:var(--radius-sm); font:inherit; font-size:.84rem; }
.diaspora-catalog-search input { padding-left:38px; }
.diaspora-catalog-sort { min-width:0; }
.diaspora-catalog-apply { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 16px; border:0; white-space:nowrap; }
.diaspora-catalog-reset { white-space:nowrap; }
.packages-projects { position:relative; z-index:1; overflow:hidden; margin:20px 0 24px; padding:18px 0 4px; border-top:1px solid rgba(241,135,41,.16); }
.packages-projects-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px; }
.packages-projects-heading h2 { display:flex; align-items:center; gap:9px; margin:0; color:var(--white); font:700 1.05rem 'Outfit',sans-serif; }
.packages-projects-heading h2 i { color:var(--gold); font-size:.9rem; }
.packages-projects-heading > span { color:var(--gray-500); font-size:.74rem; }
.packages-projects-window { overflow:hidden; container-type:inline-size; mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent); }
.packages-projects-track { display:flex; width:max-content; animation:packages-projects-loop 36s linear infinite; }
.packages-projects-window:hover .packages-projects-track,
.packages-projects-window:focus-within .packages-projects-track { animation-play-state:paused; }
.packages-projects-group { display:flex; flex:0 0 auto; gap:12px; padding-right:12px; }
.packages-project-card { position:relative; display:flex; flex:0 0 clamp(130px,calc((100cqi - 48px)/4),280px); min-width:0; height:88px; align-items:center; gap:8px; overflow:hidden; padding:7px; color:var(--gray-100); background:var(--navy-card); border:1px solid rgba(241,135,41,.16); border-radius:14px; transition:border-color .2s ease,transform .2s ease,background .2s ease; }
.packages-project-card:hover { color:var(--white); border-color:rgba(241,135,41,.55); background:var(--navy-card); transform:translateY(-2px); }
.packages-project-card > img { width:34%; height:70px; flex:0 0 34%; object-fit:cover; border-radius:9px; background:var(--navy-light); }
.packages-project-card-info { display:grid; min-width:0; gap:5px; }
.packages-project-card-info strong { display:-webkit-box; overflow:hidden; color:var(--white); font:600 .78rem 'Outfit',sans-serif; line-height:1.25; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.packages-project-card-info small { overflow:hidden; color:var(--gray-400); font-size:.66rem; text-overflow:ellipsis; white-space:nowrap; }
.packages-project-card-info small i { margin-right:3px; color:var(--gold); }
.packages-project-card-arrow { margin-left:auto; color:var(--gold); font-size:.72rem; }
body[data-theme="light"] .packages-project-card { color:var(--gray-100); background:#fff; border-color:rgba(15,23,42,.1); box-shadow:0 8px 20px rgba(15,23,42,.08); }
body[data-theme="light"] .packages-project-card-info strong { color:#0f172a; }
body[data-theme="light"] .packages-project-card-info small { color:#475569; }
@keyframes packages-projects-loop { to { transform:translateX(-50%); } }
.diaspora-catalog-count { position:relative; z-index:1; margin:0 0 14px; color:var(--gray-400); font-size:.8rem; }
.diaspora-catalog-card { min-height:100%; }
.diaspora-catalog-card .diaspora-package-features { margin-bottom:18px; }
.diaspora-catalog-empty { position:relative; z-index:1; padding:44px 20px; text-align:center; background:var(--navy-card); border:1px solid var(--navy-border); border-radius:var(--radius); }
.diaspora-catalog-empty > i { color:var(--gold); font-size:1.6rem; }
.diaspora-catalog-empty h2 { margin:12px 0 6px; font-family:'Outfit',sans-serif; }
.diaspora-catalog-empty p { margin-bottom:16px; color:var(--gray-400); }
.diaspora-catalog-empty .btn-primary { display:inline-flex; }
.diaspora-details-panel { width:min(100%,720px); }
.diaspora-details-area { padding:16px; margin:0 0 16px; background:var(--navy); border:1px solid rgba(241, 135, 41,.18); border-radius:12px; }
.diaspora-details-area .form-label { display:block; margin-bottom:8px; }
.diaspora-details-area small { display:block; margin-top:7px; color:var(--gray-500); font-size:.72rem; }
.diaspora-details-summary { margin-bottom:0; }
.diaspora-details-rate-label { display:block; margin-bottom:4px; color:var(--gray-500); font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.diaspora-details-summary > strong { margin-bottom:12px; }
.diaspora-details-summary ul { display:grid; gap:8px; margin:12px 0 18px; padding:0; list-style:none; }
.diaspora-details-summary ul li { display:flex; gap:9px; align-items:flex-start; padding:0; color:var(--gray-300); background:transparent; border-radius:0; font-size:.8rem; }
.diaspora-details-summary ul li i { margin-top:3px; color:var(--gold); font-size:.7rem; }
.diaspora-details-total { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding-top:14px; border-top:1px solid rgba(255,255,255,.08); }
.diaspora-details-total span { color:var(--gray-400); font-size:.78rem; font-weight:700; }
.diaspora-details-total strong { color:var(--gold); font-family:'Outfit',sans-serif; font-size:clamp(1.2rem,4vw,1.65rem); text-align:right; }
.diaspora-details-summary #diaspora-details-breakdown { margin:6px 0 0; text-align:right; }
.diaspora-details-modal .diaspora-estimate-note { margin:14px 0; }
.diaspora-modal-inquire { width:100%; display:flex; justify-content:center; gap:9px; margin-top:16px; }
.diaspora-modal-inquire:disabled { opacity:.55; cursor:not-allowed; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .diaspora-packages-grid::before,.diaspora-catalog-grid::before { animation:none; }
  .packages-projects-track { animation:none; }
  .packages-projects-group[aria-hidden="true"] { display:none; }
}

/* =============================================
   ESTIMATOR SECTION
   ============================================= */
#estimator { background: var(--navy-mid); }
.estimator-wrap {
  background: var(--navy-card);
  border: 1px solid rgba(241, 135, 41, 0.2);
  border-radius: var(--radius-xl);
  padding: 52px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), var(--shadow-gold);
}
.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.est-label {
  display: block;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.service-checkbox { display:flex; flex-direction:column; gap:10px; height:380px; min-height:0; max-height:min(380px,55vh); overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; padding-right:8px; scrollbar-color:var(--gold) var(--navy); scrollbar-width:thin; }
.checkbox-item {
  display: flex;
  align-items: center;
  flex:0 0 68px;
  min-height:68px;
  gap: 12px;
  padding: 12px 16px;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}
.checkbox-item:hover { border-color: rgba(241, 135, 41, 0.3); }
.checkbox-item input[type="checkbox"] { display: none; }
.checkbox-item .check-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-500);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.checkbox-item input:checked + .check-box {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-item input:checked + .check-box::after { content: '✓'; font-size: 0.75rem; color: var(--navy); font-weight: 900; }
.checkbox-item.checked { border-color: rgba(241, 135, 41, 0.3); background: rgba(241, 135, 41, 0.05); }
.checkbox-text { flex: 1; }
.checkbox-text .svc-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.checkbox-text .svc-rate { font-size: 0.75rem; color: var(--gray-500); }
.est-input-group { margin-top: 20px; }
.est-input {
  width: 100%;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}
.est-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.est-select {
  width: 100%;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  cursor: pointer;
  appearance: none;
}
.est-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.est-select option { background: var(--navy-light); }
.estimate-result {
  background: var(--navy);
  border: 1px solid rgba(241, 135, 41, 0.2);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.estimator-currency-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 24px;
}
.estimator-currency-switcher .currency-toggle-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(56px, 1fr));
  flex: 0 1 228px;
}
.estimator-currency-switcher .currency-toggle-option {
  min-width: 0;
  min-height: 36px;
  padding: 7px 10px;
}
.estimator-currency-switcher .currency-toggle-option:disabled {
  color: var(--gray-500);
  cursor: not-allowed;
  opacity: .55;
}
.estimator-currency-switcher .currency-toggle-option:disabled:hover {
  color: var(--gray-500);
}
.estimate-result .res-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
}
.estimate-amount-etb {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.estimate-amount-usd {
  font-size: 1rem;
  color: var(--gray-400);
  margin-top: 6px;
}
.estimate-breakdown {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.estimate-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: 16px;
}
.btn-lock-estimate {
  display: block;
  text-align: center;
  background: var(--gold);
  color: var(--navy);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 20px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
}
.btn-lock-estimate:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gold-glow);
}
.estimate-modal[hidden] { display:none !important; }
.estimate-modal { position:fixed; inset:0; z-index:11000; display:grid; place-items:center; padding:20px; }
.estimate-modal-backdrop { position:absolute; inset:0; background:rgba(3,7,18,.78); backdrop-filter:blur(5px); }
.estimate-modal-panel { position:relative; z-index:1; width:min(100%,680px); max-height:min(92vh,900px); overflow-y:auto; padding:30px; color:var(--white); background:var(--navy-card); border:1px solid rgba(241, 135, 41,.28); border-radius:var(--radius-lg); box-shadow:0 24px 80px rgba(0,0,0,.55); }
.estimate-modal-close { position:absolute; top:16px; right:16px; display:grid; place-items:center; width:38px; height:38px; color:var(--gray-300); background:var(--navy-light); border:1px solid var(--navy-border); border-radius:50%; font-size:1rem; cursor:pointer; }
.estimate-modal-close:hover { color:var(--gold); border-color:var(--gold); }
.estimate-modal-heading { padding-right:34px; }
.estimate-modal-heading .section-title { margin:8px 0; font-size:clamp(1.5rem,4vw,2rem); }
.estimate-modal-heading .section-desc { margin-bottom:18px; font-size:.86rem; }
.estimate-modal-summary { margin:0 0 22px; padding:16px; background:var(--navy); border:1px solid rgba(241, 135, 41,.18); border-radius:12px; }
.estimate-modal-summary strong { display:block; margin-bottom:6px; color:var(--gold); font-size:1.08rem; }
.estimate-modal-summary p { margin:0 0 8px; color:var(--gray-400); font-size:.8rem; }
.estimate-modal-summary ul { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.estimate-modal-summary li { padding:5px 9px; color:var(--gray-300); background:var(--navy-light); border-radius:50px; font-size:.72rem; }
.estimate-quote-change { margin:-10px 0 18px;padding:12px 14px;border:1px solid rgba(241,135,41,.48);border-radius:10px;background:rgba(241,135,41,.13);color:#ffd29f;font-size:.84rem;font-weight:600;line-height:1.5; }
.estimate-quote-change[hidden] { display:none; }
.estimate-modal-panel .form-row { gap:14px; }
.estimate-modal-panel .form-group { margin-bottom:14px; }
.estimate-modal-success { display:none; margin-bottom:18px; }
.estimate-modal-success.is-visible { display:block; }
.estimate-modal-panel form.is-submitted { display:none; }
body.estimate-modal-open { overflow:hidden; }
body[data-theme="light"] .estimate-modal-panel { color:var(--white); background:#fff; }
body[data-theme="light"] .estimate-modal-summary { color:#334155; background:#f4f7fa; }
body[data-theme="light"] .estimate-quote-change { color:#7c3b0b;background:#fff3e6;border-color:#f4a261; }
body[data-theme="light"] .estimate-modal-summary p { color:#475569; }
body[data-theme="light"] .estimate-modal .estimate-modal-panel .estimate-modal-summary ul li {
  color:#1f2937 !important;
  -webkit-text-fill-color:#1f2937;
  background:#e8eef4;
}
@media (max-width:600px) {
  .estimate-modal { padding:10px; }
  .estimate-modal-panel { max-height:96vh; padding:22px 18px; }
  .estimate-modal-panel .form-row { grid-template-columns:1fr; }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info { }
.contact-grid-no-inquiry { display:block; }
.contact-grid-no-inquiry > div { max-width:900px; margin:0 auto; }
.contact-grid-no-inquiry .section-title,
.contact-grid-no-inquiry > div > .section-desc { text-align:center; }
.contact-grid-no-inquiry > div > p.section-desc { margin-left:auto; margin-right:auto; }
.contact-grid-no-inquiry > div > .divider { margin-left:auto; margin-right:auto; }
.contact-methods-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; max-width:760px; margin:0 auto; text-align:left; }
.contact-grid-no-inquiry .contact-methods-grid { justify-items:center; }
.contact-grid-no-inquiry .contact-item { width:min(100%,340px); min-width:0; margin-bottom:20px; justify-self:center; }
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-dim);
  border: 1px solid rgba(241, 135, 41, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item .ci-label { font-size: 0.75rem; color: var(--gray-500); display: block; }
.contact-item .ci-value { font-weight: 600; font-size: 0.95rem; color: var(--white); }
.contact-item a.ci-value { display:inline-block; text-decoration:none; transition:color .2s ease; }
.contact-item a.ci-value:hover { color:var(--gold); }

/* Contact Form */
.contact-form-wrap {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.contact-follow-up {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding: 13px 15px;
  background: var(--gold-dim);
  border: 1px solid rgba(241, 135, 41, 0.32);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.5;
}
.contact-follow-up i { flex: 0 0 auto; margin-top: 3px; color: var(--gold); }
body[data-theme="light"] .contact-follow-up { color: #713B0A; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray-400); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-hint { font-size: 0.8rem; color: var(--gray-500); margin: -10px 0 16px; }
.form-input {
  width: 100%;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}
.form-input::placeholder { color: var(--gray-500); }
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-select {
  width: 100%;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.form-select option { background: var(--navy-light); }
textarea.form-input { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px var(--gold-glow); }
.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 14px;
}

/* =============================================
   AI CHAT WIDGET
   ============================================= */
.ai-widget-btn {
  position: fixed !important;
  top: auto !important;
  bottom: max(20px, env(safe-area-inset-bottom)) !important;
  right: max(20px, env(safe-area-inset-right));
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 12px 28px rgba(241, 135, 41, 0.38);
  border: 2px solid rgba(255,255,255,0.2);
  transform: none !important;
  translate: none !important;
  animation: none !important;
  transition: none !important;
}
.ai-widget-btn:hover {
  box-shadow: 0 12px 28px rgba(241, 135, 41, 0.38);
}
.ai-widget-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.ai-chat-panel {
  position: fixed;
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 60px + 24px);
  right: max(20px, env(safe-area-inset-right));
  width: 360px;
  max-height: min(520px, calc(100vh - 120px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  background: linear-gradient(180deg, rgba(12, 25, 43, 0.98), rgba(18, 31, 50, 0.98));
  border: 1px solid rgba(241, 135, 41, 0.22);
  border-radius: 22px;
  display: none;
  flex-direction: column;
  z-index: 9998;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
  animation: none !important;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ai-chat-panel.open { display: flex; }
.ai-chat-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 16px 18px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
.ai-avatar {
  width: 36px;
  height: 36px;
  background: rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.ai-chat-header .ai-name { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.ai-chat-header .ai-status { font-size: 0.72rem; color: rgba(16,13,23,0.72); }
.ai-change-language {
  border: 1px solid rgba(25,43,69,.35);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.25);
  color: var(--navy);
  font: 600 .68rem 'Inter',sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ai-change-language:hover {
  background: rgba(255,255,255,.38);
  transform: translateY(-1px);
}
.ai-change-language[hidden] { display:none; }
.ai-close {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  border: none;
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.ai-close:hover { opacity: 1; background: rgba(15, 23, 42, 0.12); }
.ai-language-choice { padding:20px; display:grid; gap:12px; }
.ai-language-choice[hidden], .ai-chat-content[hidden] { display:none !important; }
.ai-language-choice label { color:var(--white); font-size:.85rem; font-weight:700; }
.ai-language-choice p { margin:0; color:var(--gray-400); font-size:.76rem; line-height:1.5; }
.ai-language-select {
  width:100%;
  min-height:42px;
  padding:9px 36px 9px 11px;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:12px;
  background: linear-gradient(180deg, rgba(19,32,46,0.95), rgba(8,20,34,0.95));
  color:var(--white);
  font:500 .84rem 'Inter',sans-serif;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.ai-language-select:focus { outline:2px solid var(--gold); outline-offset:2px; }
.ai-language-continue {
  min-height:40px;
  border:0;
  border-radius:12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color:var(--navy);
  font:700 .84rem 'Inter',sans-serif;
  cursor:pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.ai-language-continue:hover { filter: brightness(1.04); transform: translateY(-1px); }
.ai-chat-content { flex:1; min-height:0; display:flex; flex-direction:column; }
.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-messages::-webkit-scrollbar { width: 4px; }
.ai-messages::-webkit-scrollbar-thumb { background: rgba(241, 135, 41,0.3); border-radius: 2px; }
.msg { max-width: 80%; }
.msg-bot { align-self: flex-start; }
.msg-user { align-self: flex-end; }
.msg-bubble {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.5;
}
.msg-bot .msg-bubble {
  background: var(--navy-light);
  color: var(--gray-300);
  border-radius: 4px var(--radius) var(--radius) var(--radius);
}
.msg-user .msg-bubble {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius) 4px var(--radius) var(--radius);
}
.ai-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(7,16,29,0.4);
}
.ai-input {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--white);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.ai-input::placeholder { color: var(--gray-500); }
.ai-input:focus { border-color: var(--gold); }
.ai-send {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 12px;
  color: var(--navy);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.ai-send:hover { filter: brightness(1.04); transform: translateY(-1px); }
.typing-dots { display: flex; gap: 4px; padding: 4px 0; }
.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: dot 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot { 0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--navy-card);
  border-top: 1px solid rgba(241, 135, 41, 0.15);
  padding: 20px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 14px; }
.footer-brand .logo-image { margin-bottom: 14px; }
.footer-brand p { color: var(--gray-500); font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray-500); font-size: 0.85rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  gap: 16px 24px;
}
.footer-copyright { margin:0; }
.footer-powered { margin:0; color:var(--gray-500); text-align:center; white-space:nowrap; }
.footer-powered a { color:var(--gold); font-weight:700; text-decoration:underline; text-decoration-color:rgba(241, 135, 41,.35); text-underline-offset:3px; }
.footer-powered a:hover { color:var(--gold-light); text-decoration-color:currentColor; }
.footer-location {
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:8px 12px;
  color:var(--gray-300);
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  transition:var(--transition);
}
.footer-location:hover { color:var(--white); background:var(--gold-dim); border-color:rgba(241, 135, 41,.35); transform:translateY(-1px); }
.footer-location-icon { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; color:var(--gold); background:var(--gold-dim); border-radius:9px; }
.footer-location-copy { display:grid; gap:1px; min-width:0; }
.footer-location-copy small { color:var(--gray-500); font-size:.63rem; font-weight:800; letter-spacing:.08em; line-height:1.2; text-transform:uppercase; }
.footer-location-copy strong { color:inherit; font-size:.76rem; font-weight:600; line-height:1.4; }
.footer-location-link-icon { color:var(--gray-500); font-size:.65rem; }

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.toast {
  position: fixed;
  bottom: 110px;
  right: 28px;
  background: var(--navy-card);
  border: 1px solid rgba(241, 135, 41, 0.3);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 300px;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.toast.success { border-color: rgba(34, 197, 94, 0.4); }
.toast.error { border-color: rgba(239, 68, 68, 0.4); }

/* =============================================
   LOADING SKELETON
   ============================================= */
.skeleton {
  background: linear-gradient(90deg, var(--navy-light) 25%, var(--navy-card) 50%, var(--navy-light) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =============================================
   EBCS BADGE
   ============================================= */
.ebcs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* =============================================
   MOBILE NAV
   ============================================= */
.mobile-menu {
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:1001;
  display: flex;
  background: var(--navy-card);
  border-top: 1px solid transparent;
  max-height: 0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding: 0 24px;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height .3s ease, padding .3s ease, opacity .2s ease, transform .3s ease, visibility 0s linear .3s;
}
.mobile-menu.open {
  max-height: min(80vh,480px);
  padding: 16px 24px;
  border-top-color: rgba(255,255,255,0.06);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.mobile-nav-actions { display: none; }
.mobile-menu a {
  color: var(--gray-300);
  font-size: 0.95rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: none; }
body[data-theme="light"] .language-select { color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  .hamburger span,
  .mobile-menu {
    transition: none;
  }
}
body[data-theme="light"] .mobile-menu.open {
  border-top-color: rgba(15,23,42,0.08);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 2; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diaspora-packages-grid,.diaspora-catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .portfolio-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portfolio-search { grid-column: span 2; }
}

@media (max-width: 768px) {
  html { scroll-behavior:auto; overflow-anchor:none; }
  nav { position:sticky; top:0; }
  footer { padding: 18px 0 calc(96px + env(safe-area-inset-bottom)); }
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "location"
      "copyright"
      "powered";
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding-top: 10px;
  }
  .footer-location {
    grid-area: location;
    justify-self: stretch;
    width: min(100%, 420px);
  }
  .footer-copyright {
    grid-area: copyright;
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .footer-powered {
    grid-area: powered;
    font-size: 0.72rem;
  }
  .hero-showcase { order: -1; }
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 32px;
  }
  .hero-content > * { min-width: 0; }
  .hero h1 {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
    white-space: nowrap;
  }
  .nav-links, .btn-quote { display: none; }
  .hamburger { display: flex; }
  .nav-inner { gap: 12px; }
  .nav-inner > .nav-actions { display: none; }
  .mobile-menu.open .mobile-nav-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  body[data-theme="light"] .mobile-menu.open .mobile-nav-actions {
    border-top-color: rgba(17,24,39,0.1);
  }
  .top-bar-left .hidden-sm { display: none; }
  .top-bar .container { align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid, .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
  .diaspora-packages-grid,.diaspora-catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .portfolio-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .portfolio-search { grid-column: 1 / -1; }
  .portfolio-submit { width: 100%; }
  .portfolio-page { padding: 44px 0 64px; }
  .portfolio-heading .section-title { font-size: 2rem; }
  .portfolio-pagination { gap: 14px; font-size: .86rem; }
  .portfolio-top-actions { gap: 10px; }
  .portfolio-top-actions .currency-switcher { gap: 4px; }
  .portfolio-top-actions .currency-switcher label { display: none; }
  .portfolio-top-contact { font-size: .72rem; }
  .service-card.wide { grid-column: span 1; }
  .estimator-grid { grid-template-columns: 1fr; }
  .estimator-grid > * { min-width:0; }
  .service-checkbox { height:min(300px,42vh); max-height:min(300px,42vh); }
  .estimator-wrap { padding: 28px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid-no-inquiry .contact-methods-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    width: 100%;
    max-width: 420px;
  }
  .service-checkbox::-webkit-scrollbar { width:6px; }
  .service-checkbox::-webkit-scrollbar-track { background:var(--navy); border-radius:6px; }
  .service-checkbox::-webkit-scrollbar-thumb { background:var(--gold); border-radius:6px; }
  .hero-stat { min-width: 0; }
  .hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .hero-cta a {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  .form-row { grid-template-columns: 1fr; }
  .ai-widget-btn {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
  .ai-chat-panel {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 60px + 24px);
    max-height: min(520px, calc(100vh - 108px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  }
  section { padding: 60px 0; }
  #contact { padding-bottom: 24px; }
}

/* ── Project Card "View Details" CTA ──────────────────────── */
.view-detail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 2px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(241, 135, 41, 0.3);
  background: rgba(241, 135, 41, 0.05);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
}
.view-detail-btn:hover {
  background: rgba(241, 135, 41, 0.12);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(241, 135, 41, 0.15);
  color: var(--gold-light);
}
.view-detail-btn i { font-size: 0.8rem; }

/* ── Also used by project.php ─────────────────────────────── */
:root { --navy-border: rgba(255,255,255,0.07); }

@media (max-width:560px) {
  .diaspora-packages-grid,.diaspora-catalog-grid { grid-template-columns:minmax(0,1fr); }
  .diaspora-catalog-page { padding:36px 0 56px; }
  .diaspora-catalog-filters { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .diaspora-catalog-search { grid-column:1 / -1; }
  .diaspora-catalog-apply { width:100%; }
  .diaspora-catalog-reset { justify-self:start; }
  .packages-projects { margin:16px 0 20px; padding-top:15px; }
  .packages-projects-heading { align-items:flex-start; flex-direction:column; gap:2px; }
  .packages-projects-heading h2 { font-size:1rem; }
  .packages-projects-window { margin-right:-12px; }
  .packages-project-card { flex-basis:clamp(230px,78cqi,300px); height:94px; gap:10px; padding:8px; }
  .packages-project-card > img { width:78px; height:76px; flex-basis:78px; }
  .packages-project-card-info strong { font-size:.82rem; }
  .packages-project-card-info small { font-size:.7rem; }
}
