:root {
  --navy: #0b2e2e;
  --primary: #0d4f4f;
  --accent: #1a7a7a;
  --gold: #c8a96e;
  --secondary: #f5f5f0;
  --ink: #1a1a1a;
  --ink-light: #6b6b6b;
  --border: #e0e0e0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
main { padding-top: 72px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4, ul { margin-top: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container-narrow { max-width: 896px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-sm { padding-top: 80px; padding-bottom: 80px; }
.bg-white { background: #fff; }
.bg-soft { background: var(--secondary); }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.section-heading { margin-bottom: 64px; text-align: center; }
.section-heading h2 { margin: 0; font-size: 36px; line-height: 40px; font-weight: 700; }
.button { display: inline-block; padding: 14px 32px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; }
.button:hover { background: rgba(26,122,122,.8); }
.button-outline { padding: 11px 30px; border: 2px solid var(--accent); background: transparent; color: var(--accent); }
.button-outline:hover { background: var(--accent); color: #fff; }

.site-header { position: fixed; z-index: 50; top: 0; right: 0; left: 0; color: #fff; background: rgba(11,46,46,.95); backdrop-filter: blur(4px); transition: box-shadow .3s, background-color .3s; }
.site-header.scrolled { background: var(--navy); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.nav-wrap { display: flex; min-height: 72px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 4px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; }
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: .025em; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; letter-spacing: .025em; transition: color .2s; }
.nav-link::after { position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; content: ""; background: var(--accent); transition: width .25s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 10px 20px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
.menu-button { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #fff; }
.mobile-nav { display: none; padding: 16px 24px 24px; border-top: 1px solid rgba(255,255,255,.1); background: var(--navy); }
.mobile-nav.open { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav .nav-cta { margin-top: 8px; text-align: center; }

.hero { position: relative; display: flex; min-height: 100vh; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.hero.compact { min-height: 50vh; }
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg { background: center / cover no-repeat url("../images/city-skyline.jpg"); }
.hero-overlay { background: rgba(11,46,46,.75); }
.hero-content { position: relative; z-index: 1; width: auto; padding-top: 128px; padding-bottom: 128px; }
.hero-copy { max-width: 672px; }
.hero h1 { margin-bottom: 24px; font-size: 36px; font-weight: 700; line-height: 1.25; }
.hero p { margin-bottom: 32px; color: rgba(255,255,255,.8); font-size: 20px; line-height: 1.625; }
.hero .button { padding: 14px 32px; font-size: 16px; }

.stats { padding: 80px 0; background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { text-align: center; }
.stat-number { font-size: 48px; font-weight: 700; line-height: 1; }
.stat-number span { color: var(--gold); }
.stat p { margin: 12px 0 0; color: rgba(255,255,255,.7); font-size: 14px; letter-spacing: .025em; }

.grid { display: grid; }
.services-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.service-card { display: block; padding: 32px; border: 1px solid var(--border); border-radius: 4px; background: #fff; transition: transform .3s, box-shadow .3s; }
.service-card:hover, .insight-card:hover, .team-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.icon-box { display: flex; width: 56px; height: 56px; margin-bottom: 20px; align-items: center; justify-content: center; border-radius: 4px; background: rgba(26,122,122,.1); color: var(--accent); transition: background-color .2s, color .2s; }
.service-card:hover .icon-box { background: var(--accent); color: #fff; }
.service-card h3 { margin-bottom: 12px; font-size: 20px; line-height: 28px; }
.service-card p, .insight-card p, .team-card p, .value-card p { margin-bottom: 0; color: var(--ink-light); font-size: 14px; line-height: 1.625; }

.insights-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.insight-card { overflow: hidden; border: 1px solid var(--border); border-radius: 4px; background: #fff; transition: transform .3s, box-shadow .3s; }
.insight-image { aspect-ratio: 16 / 9; overflow: hidden; }
.insight-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insight-card:hover .insight-image img { transform: scale(1.05); }
.insight-body { padding: 24px; }
.tag { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 4px; background: rgba(26,122,122,.1); color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.insight-card h3 { margin-bottom: 8px; font-size: 18px; line-height: 28px; transition: color .2s; }
.insight-card:hover h3 { color: var(--accent); }
.insight-card p { margin-bottom: 16px; }
.insight-card time { color: rgba(107,107,107,.7); font-size: 12px; }
.center-action { margin-top: 48px; text-align: center; }

.about-grid, .service-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: center; gap: 64px; }
.about-grid h2, .service-copy h2 { margin-bottom: 24px; font-size: 36px; line-height: 40px; }
.about-grid .lead, .service-copy .lead { margin-bottom: 32px; color: var(--ink-light); font-size: 18px; line-height: 1.625; }
.rounded-image { overflow: hidden; border-radius: 4px; }
.rounded-image img { width: 100%; height: 100%; object-fit: cover; }

.cta-band { padding: 80px 0; background: var(--primary); color: #fff; text-align: center; }
.cta-band.large { padding: 96px 0; }
.cta-band h2 { margin-bottom: 16px; font-size: 30px; line-height: 36px; font-weight: 700; }
.cta-band p { max-width: 672px; margin: 0 auto 32px; color: rgba(255,255,255,.7); font-size: 16px; }
.cta-band.large p { margin-bottom: 40px; font-size: 18px; }
.compact-form { display: flex; max-width: 672px; margin: 0 auto; flex-direction: column; gap: 16px; }
.compact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compact-form input, .compact-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 4px; outline: none; background: rgba(255,255,255,.1); color: #fff; font-size: 14px; resize: vertical; }
.compact-form input::placeholder, .compact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.compact-form input:focus, .compact-form textarea:focus { border-color: var(--accent); }
.compact-form .button { align-self: center; }

.service-section.reversed { background: var(--secondary); }
.service-section.reversed .service-copy { order: 2; }
.service-section.reversed .service-image { order: 1; }
.service-large-icon { display: flex; width: 64px; height: 64px; margin-bottom: 16px; align-items: center; justify-content: center; border-radius: 4px; background: rgba(26,122,122,.1); color: var(--accent); }
.service-copy h2 { margin-bottom: 16px; font-size: 30px; line-height: 36px; }
.service-copy .lead { margin-bottom: 32px; }
.check-list { margin: 0 0 32px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; color: var(--ink-light); font-size: 14px; }
.check-list svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.service-image img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.process-step { position: relative; text-align: center; }
.process-line { position: absolute; top: 31px; left: 60%; width: 80%; height: 2px; background: var(--border); }
.round-icon { position: relative; z-index: 1; display: flex; width: 64px; height: 64px; margin: 0 auto 16px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; }
.process-step h3 { margin-bottom: 8px; font-size: 18px; }
.process-step p { margin: 0; color: var(--ink-light); font-size: 14px; line-height: 1.625; }

.team-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.team-card { padding: 24px; border: 1px solid var(--border); border-radius: 4px; text-align: center; transition: transform .3s, box-shadow .3s; }
.avatar { width: 120px; height: 120px; margin: 0 auto 16px; overflow: hidden; border: 2px solid rgba(26,122,122,.2); border-radius: 50%; }
.avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.team-card:hover .avatar img { transform: scale(1.05); }
.team-card h3 { margin-bottom: 4px; font-size: 18px; }
.team-card .role { margin-bottom: 12px; color: var(--accent); font-size: 14px; font-weight: 500; }
.prose-center { text-align: center; }
.prose-center h2 { margin-bottom: 24px; font-size: 30px; }
.prose-center .lead { margin: 0; color: var(--ink-light); font-size: 18px; line-height: 1.625; }
.prose-center.compact h2 { margin-bottom: 16px; font-size: 24px; }
.prose-center.compact p { margin-bottom: 32px; color: var(--ink-light); }

.filters { display: flex; margin-bottom: 48px; flex-wrap: wrap; justify-content: center; gap: 12px; }
.filter { padding: 10px 24px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink-light); font-size: 14px; font-weight: 500; transition: all .2s; }
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.newsletter { display: flex; max-width: 448px; margin: 0 auto; gap: 12px; }
.newsletter input { min-width: 0; flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 4px; outline: none; }
.newsletter input:focus { border-color: var(--accent); }

.timeline { display: flex; flex-direction: column; gap: 48px; }
.milestone { display: flex; gap: 32px; }
.milestone:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.year { display: flex; width: 56px; height: 56px; flex: 0 0 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 18px; font-weight: 700; }
.milestone-copy { flex: 1; padding: 4px 0 0 32px; border-left: 2px solid var(--border); }
.milestone:nth-child(even) .milestone-copy { padding-right: 32px; padding-left: 0; border-right: 2px solid var(--border); border-left: 0; }
.milestone h3 { margin-bottom: 8px; font-size: 20px; }
.milestone p { margin: 0; color: var(--ink-light); }
.mission-grid, .advantages-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
.mission-card { padding: 40px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.mission-card h3 { margin-bottom: 16px; font-size: 24px; }
.mission-card p { margin: 0; color: var(--ink-light); font-size: 18px; line-height: 1.625; }
.values-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.value-card { padding: 32px; border: 1px solid var(--border); border-radius: 4px; text-align: center; transition: transform .3s, box-shadow .3s; }
.value-card .round-icon { background: rgba(26,122,122,.1); color: var(--accent); }
.value-card h3 { margin-bottom: 12px; font-size: 18px; }
.advantage { padding: 32px; border-left: 4px solid var(--accent); border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.advantage h3 { margin-bottom: 12px; font-size: 20px; }
.advantage p { margin: 0; color: var(--ink-light); }
.trusted { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; opacity: .4; }
.trusted span { font-size: 20px; font-weight: 700; letter-spacing: .05em; }

.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; }
.contact-grid h2 { margin-bottom: 8px; font-size: 24px; }
.intro { margin-bottom: 40px; color: var(--ink-light); }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 2px solid var(--border); border-radius: 0; outline: none; background: transparent; color: var(--ink); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.office-list { display: flex; flex-direction: column; }
.office { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.office:last-child { margin-bottom: 0; border: 0; }
.office-title { display: flex; margin-bottom: 12px; align-items: center; gap: 8px; }
.office-title svg { color: var(--accent); }
.office h3 { margin: 0; font-size: 18px; }
.office .label { margin: 0; color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.office-details { padding-left: 24px; color: var(--ink-light); font-size: 14px; }
.office-details p { display: flex; margin-bottom: 8px; align-items: center; gap: 8px; }
.office-details svg { color: var(--accent); }
.map-placeholder { display: flex; height: 320px; align-items: center; justify-content: center; border-radius: 4px; background: var(--secondary); color: var(--ink-light); text-align: center; }
.map-placeholder svg { margin: 0 auto 12px; color: var(--accent); }
.map-placeholder p { margin: 0; font-size: 18px; font-weight: 500; }
.map-placeholder small { display: block; margin-top: 4px; font-size: 14px; }
.form-success { padding: 40px; border-radius: 4px; background: var(--secondary); text-align: center; }
.form-success .round-icon { background: rgba(26,122,122,.1); color: var(--accent); }
.form-success h3 { margin-bottom: 8px; font-size: 20px; }
.form-success p { margin: 0; color: var(--ink-light); }

.site-footer { padding: 64px 0 32px; background: var(--navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 40px; }
.footer-brand { margin-bottom: 16px; }
.site-footer p, .site-footer li, .footer-link { color: rgba(255,255,255,.6); font-size: 14px; }
.site-footer p { line-height: 1.625; }
.site-footer h4 { margin-bottom: 16px; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-link:hover { color: #fff; }
.socials { display: flex; gap: 16px; }
.social { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: rgba(255,255,255,.6); transition: all .2s; }
.social:hover { border-color: var(--accent); color: #fff; }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 12px; text-align: center; }

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .services-grid, .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .insights-grid, .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-grid, .service-row { grid-template-columns: 1fr; }
  .service-section.reversed .service-copy, .service-section.reversed .service-image { order: initial; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-sm { padding-top: 56px; padding-bottom: 56px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2 { font-size: 30px; line-height: 36px; }
  .hero p { font-size: 18px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-number { font-size: 36px; }
  .insights-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-line { display: none; }
  .mission-grid, .advantages-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero.compact { min-height: 50vh; }
}

@media (min-width: 768px) {
  .hero h1 { font-size: 48px; line-height: 1; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 56px; }
}

@media (max-width: 639px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .brand-name { font-size: 18px; }
  .hero-content { padding-top: 112px; padding-bottom: 96px; }
  .services-grid, .values-grid, .team-grid, .process-grid { grid-template-columns: 1fr; }
  .about-grid, .service-row { gap: 40px; }
  .compact-row, .field-row { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .newsletter .button { width: 100%; text-align: center; }
  .milestone { gap: 16px; }
  .milestone-copy { padding-left: 16px; }
  .milestone:nth-child(even) .milestone-copy { padding-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}
