/* ============================================
   Summit Client Solutions — Brand Website
   Colors from Brand Guide
   ============================================ */

:root {
  --navy: #0D1B2A;
  --navy-deep: #08121C;
  --alpine: #1E3A5F;
  --gold: #B89B5E;
  --gold-light: #D4B87A;
  --slate: #4A5C6A;
  --stone: #8A96A3;
  --snow: #F4F6F8;
  --white: #FFFFFF;
  --text: #1A1F26;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.08);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Header / Nav ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: rgba(13, 27, 42, 0.08);
  box-shadow: 0 2px 20px rgba(13, 27, 42, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--navy);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(30, 58, 95, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(184, 155, 94, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem 4rem;
  max-width: 800px;
}

.hero-logo {
  height: 110px;
  width: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

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

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

.btn-full {
  width: 100%;
}

/* ========== Sections ========== */
.section {
  padding: 5.5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  margin-top: 1rem;
  color: var(--slate);
  font-size: 1.0625rem;
}

/* ========== About ========== */
.about {
  background: var(--snow);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--slate);
  font-size: 1.0625rem;
}

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

.about-highlight {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.highlight-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: rgba(184, 155, 94, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ========== Values ========== */
.values {
  background: var(--snow);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.value-item {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.value-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.value-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ========== Quote Band ========== */
.quote-band {
  background: var(--navy);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.quote-band blockquote {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--slate);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-item strong {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.contact-item span,
.contact-item a {
  color: var(--navy);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--alpine);
}

.contact-form {
  background: var(--snow);
  padding: 2rem;
  border-radius: 12px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid rgba(13, 27, 42, 0.15);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--stone);
  text-align: center;
}

/* ========== Footer ========== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin: 0 auto 0.75rem;
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-logo {
    height: 80px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ========== Calculator Section ========== */
.calculator-section {
  background: var(--snow);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.calculator-form .form-group {
  margin-bottom: 1.25rem;
}

.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.result-card {
  background: var(--snow);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--gold);
}

.result-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-bottom: 0.35rem;
}

.result-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.calc-note {
  font-size: 0.875rem;
  color: var(--stone);
  margin-top: 0.5rem;
}

.calculator-disclaimer,
.services-disclaimer {
  font-size: 0.8125rem;
  color: var(--stone);
  text-align: center;
  max-width: 800px;
  margin: 1.5rem auto 0;
  line-height: 1.5;
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .calculator-wrapper {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

/* ========== Facts / Perspective Section ========== */
.facts-section {
  background: var(--white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.fact-card {
  background: var(--snow);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.fact-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.fact-card p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}

.facts-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--stone);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

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

@media (max-width: 520px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

/* Make services grid handle 5 cards gracefully */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Wider fact card for the hidden-options point */
.fact-card-wide {
  grid-column: 1 / -1;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
}

.fact-card-wide .fact-number {
  flex-shrink: 0;
  min-width: 140px;
  text-align: left;
  margin-bottom: 0;
}

.fact-card-wide p {
  text-align: left;
}

@media (max-width: 600px) {
  .fact-card-wide {
    flex-direction: column;
    gap: 0.5rem;
  }
  .fact-card-wide .fact-number {
    min-width: auto;
  }
}
