/* ============================================================
   COMPONENTS — Navbar, Footer, Hero, Stats, Service/Subsidiary Cards
   ============================================================ */

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: none;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo {
  height: 55px;
  width: 70px;
  display: block;
}

.navbar-brand-text {
  line-height: 1.2;
}

.navbar-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.navbar-brand-sub {
  font-size: 0.62rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.navbar-cta {
  margin-left: 0.75rem;
  padding: 0.65rem 1.4rem;
  background: var(--maroon);
  color: #fff;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s;
  border: 2px solid var(--maroon);
}

.navbar-cta:hover {
  background: var(--maroon-light);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--gold);
}

.hamburger-btn svg {
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  padding-top: 80px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  display: block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid transparent;
}

.mobile-menu .nav-link.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  border-left-color: var(--gold);
}

.mobile-menu-cta-wrap {
  padding: 1.5rem 2rem;
}

.mobile-menu-cta {
  display: block;
  text-align: center;
  padding: 0.9rem;
  background: var(--maroon);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .hamburger-btn { display: flex !important; }
}

body.menu-open { overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon), var(--gold), var(--maroon), var(--maroon-dark));
}

.footer-inner {
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.footer-brand-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--maroon-light);
}

.footer-brand-logo .alpha { color: var(--gold); }

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand-tag {
  font-size: 0.62rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #94a3b8;
  transition: all 0.25s;
}

.footer-social:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--gold); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-row svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--maroon-light);
}

.footer-contact-row a,
.footer-contact-row span {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}

.footer-copy {
  color: #64748b;
  font-size: 0.825rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a {
  color: #64748b;
  font-size: 0.825rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   HERO SECTION (Home)
   ============================================================ */
.hero-grid-bg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(122, 28, 46, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 60%, #080e1a 100%);
  padding-top: 80px;
}

.hero-grid-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), rgba(201,168,76,0.2), transparent);
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-left {
  max-width: 640px;
  z-index: 2;
  position: relative;
}

.hero-left > * {
  opacity: 0;
  animation: fadeUp var(--dur-slow) var(--ease-out) forwards;
}

.hero-left > *:nth-child(1) { animation-delay: 80ms; }
.hero-left > *:nth-child(2) { animation-delay: 160ms; }
.hero-left > *:nth-child(3) { animation-delay: 240ms; }
.hero-left > *:nth-child(4) { animation-delay: 340ms; }
.hero-left > *:nth-child(5) { animation-delay: 440ms; }
.hero-left > *:nth-child(6) { animation-delay: 540ms; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 2rem;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-ring 2s infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.hero-subline {
  color: var(--gold);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.hero-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta-row { flex-direction: row; }
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.hero-trust-item svg { color: var(--gold); }

.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-image-single {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  border-radius: 1.25rem;
  width: 100%;
}

@media (max-width: 900px) {
  .hero-image-single {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
}

.hero-image-single::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--navy));
}

/* ============================================================
   TEAM IMAGE GRID (Hero right side)
   ============================================================ */
.team-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  height: 100%;
}

.team-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border-mid);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}

.team-image-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.15);
}

.team-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--dur-slow) var(--ease-out);
}

.team-image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .team-image-grid { gap: 0.75rem; }
}

@media (max-width: 640px) {
  .team-image-grid { gap: 0.5rem; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem 2rem;
  text-align: center;
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

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

.stat-card::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-gold), transparent);
}

@media (max-width: 767px) {
  .stat-card + .stat-card::before { display: none; }
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ============================================================
   FEATURE & SERVICE CARDS
   ============================================================ */
.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  cursor: default;
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26), var(--shadow-gold);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--gold-muted);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-spring);
}

.feature-card:hover .feature-icon {
  background: rgba(201, 168, 76, 0.25);
  transform: scale(1.08) rotate(-4deg);
}
