/* ============================================
   Affiliated Capital Group — Site Styles
   ============================================ */

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

:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --black-card: #111111;
  --charcoal: #1a1a1a;
  --gray-900: #1f1f1f;
  --gray-800: #2a2a2a;
  --gray-700: #3a3a3a;
  --gray-500: #6b6b6b;
  --gray-300: #c4c4c4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --off-white: #fafafa;
  --blue: #2db4ff;
  --blue-bright: #38bdff;
  --blue-deep: #0d8ed6;
  --blue-glow: rgba(45, 180, 255, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.12);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 130px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover { color: var(--white); }

.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: var(--black) !important;
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-bright);
  color: var(--black) !important;
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--white);
}

/* ============================================
   HERO — HOME
   ============================================ */

.hero {
  min-height: 92vh;
  padding: 14rem 3rem 6rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, var(--blue-glow) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(13, 142, 214, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6.5vw, 5.75rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating market badge */
.market-badge {
  position: absolute;
  bottom: 4rem;
  right: 3rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.75rem;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.market-badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.market-badge-text {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.4;
  max-width: 22ch;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding: 14rem 3rem 5rem;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, var(--blue-glow) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--blue);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 180, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 7rem 3rem;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--blue-deep);
}

.section-eyebrow-light {
  color: var(--blue);
}

.section-eyebrow-light::before { background: var(--blue); }

.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 22ch;
  color: var(--black);
}

.section-heading em {
  font-style: italic;
}

.section-heading-light {
  color: var(--white);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: 4rem;
}

/* ============================================
   STATS BAR
   ============================================ */

.stats {
  background: var(--black);
  color: var(--white);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 50%, transparent 100%);
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 2rem;
}

.stat-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.025em;
}

.stat-number em {
  font-style: italic;
  color: var(--blue);
  font-weight: 300;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   FEATURES / 3-COLUMN GRID
   ============================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}

.feature {
  background: var(--white);
  padding: 3rem 2.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.feature:hover {
  background: var(--off-white);
}

.feature:hover .feature-num {
  color: var(--blue);
}

.feature-num {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.feature p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
}

/* ============================================
   DEVELOPMENT CARDS (image + label)
   ============================================ */

.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.dev-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.dev-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--black);
}

.dev-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.dev-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.dev-card:hover .dev-card-image img {
  transform: scale(1.04);
}

.dev-card-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dev-card-body {
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
  background: var(--off-white);
}

.dev-card-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dev-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.dev-divider {
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin: 1rem auto 0;
}

/* ============================================
   TENANT LOGO WALL
   ============================================ */

.tenant-section {
  background: var(--white);
  padding: 6rem 3rem;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.tenant-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.tenant-header .section-eyebrow {
  margin-bottom: 1.25rem;
  justify-content: center;
}

.tenant-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.tenant-header h2 em { font-style: italic; }

.tenant-header p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
}

.tenant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  max-width: 1280px;
  margin: 0 auto;
}

.tenant-cell {
  background: var(--white);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem;
  transition: background 0.2s ease;
}

.tenant-cell:hover {
  background: var(--off-white);
}

.tenant-cell img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .dev-grid { grid-template-columns: 1fr; }
  .tenant-section { padding: 4rem 1.5rem; }
  .tenant-grid { grid-template-columns: repeat(2, 1fr); }
  .tenant-cell { aspect-ratio: 2 / 1; padding: 1.25rem; }
  .tenant-cell img { max-height: 48px; }
}

/* ============================================
   TWO-COLUMN
   ============================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.two-col-narrow {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.prose p:last-child { margin-bottom: 0; }

.inline-link {
  color: var(--black);
  font-weight: 600;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.inline-link:hover { color: var(--blue-deep); }

/* ============================================
   CRITERIA LIST
   ============================================ */

.criteria-list {
  list-style: none;
}

.criteria-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1rem;
  gap: 2rem;
}

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

.criteria-label {
  color: var(--gray-500);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
}

.criteria-value {
  color: var(--black);
  font-weight: 400;
  font-family: var(--serif);
  font-size: 1.1rem;
  text-align: right;
}

/* ============================================
   CRITERIA CHECKLIST (Impeccable-style)
   ============================================ */

.checklist {
  list-style: none;
  margin-top: 2rem;
}

.checklist li {
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1rem;
  color: var(--gray-700);
  position: relative;
  line-height: 1.6;
}

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

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 16px;
  height: 2px;
  background: var(--blue);
}

.checklist strong {
  color: var(--black);
  font-weight: 600;
}

/* ============================================
   MARKET MAP / FOCUS
   ============================================ */

.markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.market-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.market-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.market-card-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
}

.market-card h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.market-card .market-state {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.market-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================
   LEADERSHIP / TEAM
   ============================================ */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.team-member {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.team-member:hover {
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  z-index: 2;
}

.team-member h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.team-role {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member p {
  color: var(--gray-700);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================
   CTA BAND
   ============================================ */

.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 7rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--blue);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PROCESS
   ============================================ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--gray-200);
}

.process-step {
  position: relative;
  padding: 0 1.5rem;
}

.process-num {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  border: 2px solid var(--blue);
}

.process-step h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================
   VALUES
   ============================================ */

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 5rem;
  margin-top: 4rem;
}

.value h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.value h3 em { font-style: italic; }

.value-num {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--blue-deep);
  font-weight: 400;
  flex-shrink: 0;
}

.value p {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================================
   FORMS
   ============================================ */

.form-section {
  background: var(--off-white);
  padding: 7rem 3rem;
}

.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  padding: 4rem;
  border: 1px solid var(--gray-200);
}

.form-group { margin-bottom: 1.75rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.6rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--sans);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1.15rem;
  font-size: 0.95rem;
}

/* ============================================
   CONTACT GRID
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.contact-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card:hover::before { width: 100%; }

.contact-card h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.contact-card .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--black);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  transition: border-color 0.2s ease;
}

.contact-card a:hover { border-color: var(--blue); }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.5);
  padding: 5rem 3rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 50%, transparent 100%);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 200px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 36ch;
}

.footer h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.75rem; }

.footer ul a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer ul a:hover { color: var(--blue); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  gap: 2rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(45, 180, 255, 0.06);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-logo img { height: 60px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero, .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  section { padding: 4rem 1.5rem; }
  .stats { padding: 3rem 1.5rem; }
  .form-section { padding: 4rem 1.5rem; }
  .form-card { padding: 2rem; }
  .cta-band { padding: 4rem 1.5rem; }
  .footer { padding: 3rem 1.5rem 2rem; }

  .market-badge { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .two-col, .two-col-narrow { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 2.5rem; }
  .process::before { display: none; }
  .values { grid-template-columns: 1fr; gap: 2.5rem; }
  .markets { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .stat { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1.5rem; }

  .criteria-list li { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .criteria-value { text-align: left; }
}
