@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Poppins:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #1a2c42;
  --navy-light: #243851;
  --teal: #2a7a6b;
  --teal-light: #3a9a88;
  --teal-pale: #e8f5f2;
  --gold: #c8922a;
  --gold-pale: #fdf6ea;
  --cream: #faf9f6;
  --white: #ffffff;
  --text-dark: #1a2c42;
  --text-mid: #4a5a6a;
  --text-light: #7a8a9a;
  --border: #e2e8ed;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 1100px;
  --section-pad: 5rem 1.5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-light) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
}

/* HERO */
.hero {
  background: var(--navy);
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42,122,107,0.15) 0%, rgba(42,122,107,0.05) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

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

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

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

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

.btn-dark:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* PROOF BAR */
.proof-bar {
  background: var(--teal);
  padding: 1.75rem 1.5rem;
}

.proof-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: center;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
}

.proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

.proof-item:first-child .proof-dot { display: none; }

.proof-item span {
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.92;
}

.proof-item strong {
  font-weight: 600;
  opacity: 1;
}

/* SECTIONS */
section { padding: var(--section-pad); }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-headline.centered { text-align: center; }
.section-eyebrow.centered { text-align: center; }

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 640px;
}

.section-body.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* PROBLEM SECTION */
.problem-section { background: var(--cream); }

.problem-inner {
  max-width: 760px;
  margin: 0 auto;
}

.problem-inner .section-body { max-width: 100%; }

.problem-inner .section-body + .section-body {
  margin-top: 1.25rem;
}

/* SERVICES PREVIEW */
.services-preview { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--teal-light);
  box-shadow: 0 4px 20px rgba(42,122,107,0.08);
}

.service-card.flagship {
  border-color: var(--teal);
  border-width: 2px;
}

.service-card.flagship::before {
  content: 'Core service';
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
}

.service-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.service-link:hover { gap: 0.5rem; color: var(--teal-light); }

/* WHO WE SERVE */
.who-we-serve { background: var(--navy); }

.who-we-serve .section-headline { color: white; }
.who-we-serve .section-eyebrow { color: var(--teal-light); }

.serve-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin-top: 1rem;
}

.serve-locations {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.serve-loc {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.loc-icon {
  width: 32px;
  height: 32px;
  background: rgba(42,122,107,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* STATS BAR */
.stats-bar { background: var(--gold-pale); border-top: 1px solid #e8d5b0; border-bottom: 1px solid #e8d5b0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1rem 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* CTA SECTION */
.cta-section { background: var(--cream); text-align: center; }

.cta-section .section-body { margin: 1.25rem auto 2.5rem; }

/* ABOUT PAGE */
.about-hero { background: var(--navy); padding: 5rem 1.5rem; }

.about-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.about-hero .sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
}

.about-content { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.bio-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

.bio-text p:first-child { font-size: 1.05rem; color: var(--text-dark); }

.credentials-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 80px;
}

.credentials-card h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

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

.cred-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

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

.cred-check {
  width: 18px;
  height: 18px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.values-section { background: var(--cream); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* SERVICES PAGE */
.services-hero { background: var(--navy); padding: 5rem 1.5rem; }

.service-detail {
  padding: 3.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-of-type { border-bottom: none; }

.service-detail:nth-child(even) { background: var(--cream); }

.service-detail-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-detail-inner.alt { direction: rtl; }
.service-detail-inner.alt > * { direction: ltr; }

.service-detail h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-detail p {
  font-size: 0.975rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.service-list li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.bullet-teal {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 9px;
}

.best-for {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--teal);
}

.best-for strong { font-weight: 600; }

/* SW COLORADO PAGE */
.swco-intro { background: var(--white); }

.swco-map-placeholder {
  background: var(--teal-pale);
  border: 1px solid #b8ddd6;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--teal);
}

/* FAQ PAGE */
.faq-section { background: var(--white); }

.faq-list { max-width: 760px; margin: 2.5rem auto 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
  font-family: sans-serif;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* CONTACT PAGE */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  appearance: none;
}

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

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5a6a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-details {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: 80px;
}

.contact-details h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
}

/* PAGE HERO (reusable) */
.page-hero {
  background: var(--navy);
  padding: 4.5rem 1.5rem 4rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--white);
  max-width: 640px;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  padding: 4rem 1.5rem 2rem;
  color: rgba(255,255,255,0.65);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }

/* CLIENTS STRIP */
.clients-section { background: var(--cream); padding: 3rem 1.5rem; }

.clients-heading {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.client-placeholder {
  background: var(--border);
  border-radius: var(--radius);
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
  }
  .nav-toggle { display: block; }

  .about-grid { grid-template-columns: 1fr; }
  .credentials-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { position: static; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner.alt { direction: ltr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero::before { display: none; }
}
