:root {
  --sage-primary: #7A907C;
  --sage-dark: #4A5D4E;
  --sage-light: #A3B19B;
  --sage-bg: #F0F3EF;
  --text-dark: #2C352D;
  --text-light: #5A6B5D;
  --white: #FFFFFF;
  --border-color: #D3DDD5;
  --font-family: 'Quicksand', sans-serif;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Navbar */
.summit-nav-bar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--sage-primary);
  font-size: 1.2rem;
}

.primary-routes {
  display: flex;
  gap: 2rem;
}

.route-link {
  font-weight: 600;
  color: var(--text-light);
}

.route-link:hover {
  color: var(--sage-primary);
}

.hidden-route {
  display: none;
}

/* Buttons */
.btn-primary-sage, .btn-outline-sage, .btn-submit-sage {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary-sage, .btn-submit-sage {
  background-color: var(--sage-primary);
  color: var(--white);
}

.btn-primary-sage:hover, .btn-submit-sage:hover {
  background-color: var(--sage-dark);
}

.btn-outline-sage {
  background-color: transparent;
  border-color: var(--sage-primary);
  color: var(--sage-primary);
}

.btn-outline-sage:hover {
  background-color: var(--sage-primary);
  color: var(--white);
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  color: var(--sage-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-center {
  text-align: center;
}

/* Hero */
.hero-centered-stage {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.premium-badge {
  display: inline-block;
  background-color: var(--sage-bg);
  color: var(--sage-dark);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.action-cluster {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-visual-frame img {
  border-radius: var(--radius-lg);
  height: 500px;
  box-shadow: 0 20px 40px rgba(44, 53, 45, 0.1);
}

/* Overview */
.firm-overview-block {
  background-color: var(--sage-bg);
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.overview-text-panel {
  max-width: 600px;
  margin-left: auto;
}

.body-copy {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.inline-ref {
  color: var(--sage-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
}

.inline-ref:hover {
  text-decoration-color: var(--sage-primary);
}

.stat-cluster {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.overview-media-panel img {
  border-radius: var(--radius-lg);
  height: 600px;
  max-width: 600px;
  margin-right: auto;
}

/* Solutions */
.engineering-solutions-matrix {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.matrix-header {
  text-align: center;
  margin-bottom: 4rem;
}

.sub-title {
  font-size: 1.2rem;
  color: var(--text-light);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card-img {
  height: 240px;
}

.card-body {
  padding: 2rem;
}

.card-heading {
  font-size: 1.5rem;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.card-desc {
  color: var(--text-light);
}

/* Feedback */
.client-feedback-arena {
  background-color: var(--sage-dark);
  color: var(--white);
  padding: 6rem 2rem;
}

.client-feedback-arena .section-title {
  color: var(--white);
  margin-bottom: 4rem;
}

.feedback-track {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feedback-plate {
  background-color: rgba(255,255,255,0.05);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.client-id {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--sage-light);
}

.client-name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.client-role {
  display: block;
  font-size: 0.85rem;
  color: var(--sage-light);
}

/* Inquiry Form */
.inquiry-desk-module {
  padding: 6rem 2rem;
  background-color: var(--white);
}

.inquiry-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--sage-bg);
  padding: 4rem;
  border-radius: var(--radius-lg);
}

.form-context {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.structural-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--sage-dark);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  background-color: var(--white);
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--sage-primary);
}

.btn-submit-sage {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
  margin-top: 1rem;
}

/* Footer */
.site-basement {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 4rem 2rem 2rem 2rem;
}

.basement-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.basement-desc {
  margin-top: 1rem;
  color: var(--sage-light);
  max-width: 300px;
}

.basement-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--sage-primary);
}

.basement-col p {
  margin-bottom: 0.5rem;
  color: var(--sage-light);
}

.basement-links {
  list-style: none;
}

.basement-links li {
  margin-bottom: 0.8rem;
  color: var(--sage-light);
}

.basement-links a:hover {
  color: var(--white);
}

.basement-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sage-light);
  font-size: 0.9rem;
}

.tiny-disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Misc Pages */
.legal-canvas {
  max-width: 800px;
  margin: 6rem auto;
  padding: 0 2rem;
  min-height: 50vh;
}

.legal-canvas h1 {
  margin-bottom: 2rem;
  color: var(--sage-dark);
}

.legal-canvas p {
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .firm-overview-block {
    grid-template-columns: 1fr;
  }
  .overview-text-panel, .overview-media-panel img {
    max-width: 100%;
    margin: 0;
  }
  .basement-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .action-cluster {
    flex-direction: column;
  }
  .inquiry-form-container {
    padding: 2rem;
  }
  .basement-grid {
    grid-template-columns: 1fr;
  }
  .basement-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .primary-routes {
    display: none;
  }
}
