/* ============================================================
   Vaastu Building Services — pages/about-us.css
   Styles unique to about-us.html. Shared chrome lives in
   base.css (loaded first); rules here override it where the
   page intentionally differs. */
   ============================================================ */

:root {
  --primary: #1a3c5e;
  --primary-dark: #0f2540;
  --primary-light: #2a5a8e;
  --accent: #b35900;
  --accent-dark: #8f4700;
  --accent-light: #f0b840;
  --white: #ffffff;
  --light-bg: #f5f7fa;
  --light-gray: #e8ecf0;
  --text-dark: #1a1a2e;
  --text-mid: #3d4a5c;
  --text-light: #5a6a7e;
  --shadow-sm: 0 2px 8px rgba(26,60,94,0.10);
  --shadow-md: 0 6px 24px rgba(26,60,94,0.14);
  --shadow-lg: 0 12px 48px rgba(26,60,94,0.18);
  --radius: 8px;
  --radius-lg: 14px;
}

.topbar-right { display: flex; flex-direction: row; align-items: center; gap: 16px; flex-shrink: 0; margin-left: auto; }

.nav-links a.active { color: var(--primary); background: var(--light-bg); }

.page-hero {
  position: relative;
  height: 440px;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1400') center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,30,60,0.88) 0%, rgba(10,30,60,0.65) 55%, rgba(10,30,60,0.35) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  width: 100%;
}

.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,0.60); font-family: 'Montserrat', sans-serif; }

.breadcrumb a { color: rgba(255,255,255,0.60); transition: color 0.2s; }

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb .sep { color: rgba(255,255,255,0.30); }

.breadcrumb .cur { color: var(--accent); font-weight: 600; }

.page-hero h1 { font-size: 50px; font-weight: 800; color: var(--white); line-height: 1.12; max-width: 680px; margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0,0,0,0.3); }

.page-hero p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 560px; line-height: 1.7; }

.hero-line { display: block; width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: 28px; }

.section-desc { font-size: 16px; color: var(--text-light); line-height: 1.8; }

.btn-outline-white { background: transparent; color: var(--white); padding: 14px 30px; border-radius: var(--radius); font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: 14px; letter-spacing: 0.5px; transition: all 0.2s; border: 2px solid rgba(255,255,255,0.65); cursor: pointer; display: inline-block; }

.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.about-company p { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 18px; }

.check-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }

.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-mid); line-height: 1.6; }

.check-list li .chk { width: 20px; height: 20px; min-width: 20px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.check-list li .chk svg { width: 11px; height: 11px; fill: var(--white); }

.insp-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.inspector-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--light-gray); position: sticky; top: 90px; }

.insp-photo {
  width: 100%; height: 260px;
  background: linear-gradient(135deg, #cdd6e4 0%, #b4c0d2 50%, #a8b6ca 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  position: relative; overflow: hidden;
}

.insp-avatar { width: 84px; height: 84px; background: rgba(255,255,255,0.28); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid rgba(255,255,255,0.45); position: relative; z-index: 1; }

.insp-avatar svg { width: 44px; height: 44px; fill: var(--primary); opacity: 0.55; }

.insp-photo-label { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: var(--primary); opacity: 0.55; letter-spacing: 1.5px; text-transform: uppercase; position: relative; z-index: 1; }

.insp-strip { background: var(--accent); padding: 9px 20px; text-align: center; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; color: var(--white); letter-spacing: 2px; text-transform: uppercase; }

.insp-body { padding: 28px; }

.insp-name { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }

.insp-title { font-size: 13px; color: var(--text-light); font-style: italic; margin-bottom: 22px; }

.cred-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.cred-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: var(--light-bg); border-radius: var(--radius); border-left: 3px solid var(--accent); }

.cred-emoji { font-size: 17px; flex-shrink: 0; margin-top: 2px; }

.cred-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }

.cred-text span { font-size: 12px; color: var(--text-light); line-height: 1.5; }

.insp-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.insp-tag { background: var(--primary); color: var(--white); font-size: 11px; font-weight: 700; font-family: 'Montserrat', sans-serif; padding: 5px 12px; border-radius: 20px; letter-spacing: 0.5px; }

.stats-bar { background: var(--primary); }

.stats-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); }

.stat-item { padding: 28px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }

.stat-item:last-child { border-right: none; }

.stat-num { font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 800; color: var(--accent); line-height: 1; }

.stat-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; }

.whychoose-bg { background: var(--light-bg); }

.section-header-center { text-align: center; margin-bottom: 52px; }

.section-header-center .section-desc { margin: 0 auto; max-width: 600px; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.why-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: all 0.3s;
  position: relative; overflow: hidden;
}

.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}

.why-card:hover::before { transform: scaleX(1); }

.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.why-icon { width: 56px; height: 56px; background: rgba(232,160,32,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 26px; transition: transform 0.3s; }

.why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); }

.why-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }

.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; }

.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }

.area-group { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: all 0.3s; }

.area-group:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.area-group h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }

.area-icon-label { font-size: 20px; }

.area-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.area-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mid); padding: 5px 0; border-bottom: 1px solid var(--light-bg); line-height: 1.5; }

.area-list li:last-child { border-bottom: none; }

.area-list li::before { content: ''; width: 6px; height: 6px; min-width: 6px; background: var(--accent); border-radius: 50%; }

.members-carousel {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.members-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: members-scroll 40s linear infinite;
}

.members-carousel:hover .members-track {
  animation-play-state: paused;
}

.member-card {
  flex: 0 0 320px;          
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.member-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes members-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .members-track { animation: none; }
}

.services-overview-bg { background: var(--light-bg); }

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
}

.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

.svc-card-banner {
  height: 8px;
  background: var(--accent);
}

.svc-card-icon-wrap {
  padding: 32px 32px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.svc-card-icon {
  width: 64px; height: 64px;
  background: rgba(26,60,94,0.07);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.svc-card:hover .svc-card-icon { transform: scale(1.1) rotate(-5deg); }

.svc-card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--light-gray);
  line-height: 1;
}

.svc-card-body { padding: 20px 32px 32px; flex: 1; display: flex; flex-direction: column; }

.svc-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}

.svc-card h3 {
  font-size: 20px; font-weight: 800;
  color: var(--primary); margin-bottom: 12px;
}

.svc-card p {
  font-size: 14px; color: var(--text-light);
  line-height: 1.8; margin-bottom: 20px; flex: 1;
}

.svc-feature-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 9px; margin-bottom: 24px;
}

.svc-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-mid); line-height: 1.5;
}

.svc-feature-list li::before {
  content: '';
  width: 7px; height: 7px; min-width: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 5px;
}

.svc-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s, gap 0.2s;
  width: fit-content;
}

.svc-card-link:hover { color: var(--accent); gap: 12px; }

.svc-card-link svg { width: 14px; height: 14px; fill: currentColor; }

@media (max-width: 1024px) { .services-overview-grid { grid-template-columns: 1fr; } }

@media (max-width: 768px) { .svc-card-icon-wrap { padding: 24px 24px 0; } .svc-card-body { padding: 16px 24px 24px; } }

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 80px 24px; text-align: center; position: relative; overflow: hidden;
}

.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner { position: relative; z-index: 1; max-width: 780px; margin: auto; }

.cta-section h2 { font-size: 40px; font-weight: 800; color: var(--white); margin-bottom: 16px; }

.cta-section > .cta-inner > p { font-size: 17px; color: rgba(255,255,255,0.80); margin-bottom: 40px; line-height: 1.7; }

.cta-contacts { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }

.cta-contact-pill {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius); padding: 16px 22px; color: var(--white);
  transition: all 0.2s;
}

.cta-contact-pill:hover { background: rgba(255,255,255,0.17); }

.cta-contact-pill svg { width: 20px; height: 20px; fill: var(--accent); flex-shrink: 0; }

.cta-contact-pill .pill-label { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; font-family: 'Montserrat', sans-serif; font-weight: 600; margin-bottom: 3px; }

.cta-contact-pill .pill-value { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.logo-img--footer { filter: invert(1) brightness(2); width: 260px; height: auto; }

@media (max-width: 1024px) {
  .members-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .page-hero { height: 360px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 15px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .inspector-card { position: static; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { position: relative; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow-md); padding: 16px; z-index: 999; gap: 4px;
  }
  .nav-links a { padding: 12px 16px; }
  .cta-contacts { flex-direction: column; align-items: center; }
  .cta-section h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}
