/* ============================================
   AeroHealth Intelligence Network — styles.css
   ============================================ */

/* ─── CSS VARIABLES ─── */
:root {
  --forest: #1a2e1f;
  --forest-mid: #2d4a35;
  --forest-light: #3d6147;
  --sage: #6b8f71;
  --sage-light: #a8c5ab;
  --mist: #e8ede9;
  --cream: #f5f0e8;
  --amber: #c8a96e;
  --amber-light: #e4d0a8;
  --white: #fdfcfa;
  --charcoal: #1c1c1c;
  --mid-grey: #6b6b6b;
  --light-grey: #d4d4d0;
}

/* ─── RESET ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 5vw; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, border-bottom 0.4s;
}
nav.scrolled {
  background: rgba(253,252,250,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-grey);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--forest);
}
.nav-logo-mark {
  width: 36px; height: 36px; background: var(--forest);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 20px; height: 20px; }
.nav-logo-text {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--charcoal); font-size: 14px;
  font-weight: 400; letter-spacing: 0.02em; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--forest); color: var(--white) !important;
  padding: 10px 22px; border-radius: 6px; font-weight: 500; font-size: 14px;
  text-decoration: none; transition: background 0.2s, transform 0.2s; display: inline-block;
}
.nav-cta:hover { background: var(--forest-mid); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; background: var(--forest);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(200,169,110,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-left {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 5vw 80px; position: relative; z-index: 2;
  max-width: 1000px; width: 100%; margin: 0 auto;
}
.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--amber); }
.hero-eyebrow-text {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 96px); font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 32px;
}
.hero h1 em { font-style: italic; color: var(--amber-light); }
.hero-sub {
  font-size: 18px; font-weight: 300; line-height: 1.8;
  color: var(--sage-light); max-width: 700px; margin-bottom: 48px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--amber); color: var(--forest); padding: 14px 32px;
  border-radius: 6px; font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; transition: background 0.2s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3); padding: 14px 32px;
  border-radius: 6px; font-weight: 400; font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.2s; display: inline-block;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06); transform: translateY(-2px);
}

/* ─── SHARED SECTION ─── */
section { position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-label-line { width: 32px; height: 1px; background: var(--amber); }
.section-label-text {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber);
}

/* ─── PROBLEM ─── */
.problem-band { background: var(--cream); padding: 100px 0; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.problem-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px); font-weight: 400; line-height: 1.15;
  color: var(--forest); margin-bottom: 24px;
}
.problem-text p { font-size: 16px; color: var(--mid-grey); line-height: 1.8; margin-bottom: 20px; }
.problem-visual { display: flex; flex-direction: column; gap: 20px; }
.problem-card {
  background: var(--white); border-left: 3px solid var(--forest);
  padding: 24px 28px; border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 16px rgba(26,46,31,0.06);
}
.problem-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--forest); margin-bottom: 8px;
}
.problem-card p { font-size: 14px; color: var(--mid-grey); line-height: 1.7; }

/* ─── SOLUTION ─── */
.solution-section { padding: 110px 0; background: var(--white); }
.solution-header { margin-bottom: 70px; }
.solution-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.5vw, 60px); font-weight: 300; line-height: 1.1;
  color: var(--forest); max-width: 640px;
}
.solution-header h2 em { font-style: italic; }
.sol-intro { font-size: 17px; color: var(--mid-grey); line-height: 1.8; max-width: 660px; margin-top: 20px; }
.solution-list {
  margin: 16px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px; max-width: 500px;
}
.solution-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--forest); font-weight: 500; }
.solution-list li .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0; display: inline-block;
}
.sol-outro { font-size: 16px; color: var(--mid-grey); line-height: 1.8; max-width: 620px; margin-top: 16px; }
.solution-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--light-grey); border-radius: 12px; overflow: hidden;
}
.pillar { background: var(--white); padding: 48px 36px; position: relative; overflow: hidden; transition: background 0.3s; }
.pillar:hover { background: var(--mist); }
.pillar-num {
  font-family: 'Cormorant Garamond', serif; font-size: 80px; font-weight: 300;
  color: var(--mist); line-height: 1; margin-bottom: 16px; transition: color 0.3s;
}
.pillar:hover .pillar-num { color: var(--sage-light); }
.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500; color: var(--forest); margin-bottom: 14px; line-height: 1.2;
}
.pillar p { font-size: 14px; color: var(--mid-grey); line-height: 1.7; }

/* ─── WHO WE SERVE ─── */
.serves-section { background: var(--forest); padding: 100px 0; }
.serves-header { margin-bottom: 60px; }
.serves-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px); font-weight: 300; color: var(--white); line-height: 1.1;
}
.serves-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.serve-card {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 36px 28px; transition: border-color 0.3s, background 0.3s;
}
.serve-card:hover { border-color: var(--amber); background: rgba(200,169,110,0.06); }
.serve-icon {
  width: 44px; height: 44px; border: 1px solid rgba(200,169,110,0.4);
  border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center;
}
.serve-icon svg { width: 22px; height: 22px; stroke: var(--amber); fill: none; stroke-width: 1.5; }
.serve-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 12px; line-height: 1.2;
}
.serve-card p { font-size: 13px; color: var(--sage-light); line-height: 1.7; }

/* ─── ABOUT ─── */
.about-section { padding: 110px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-image-block { position: relative; }
.about-img-frame {
  width: 100%; padding-top: 120%; background: var(--mist);
  border-radius: 12px; position: relative; overflow: hidden;
}
.about-img-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--mist) 0%, var(--sage-light) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--sage); font-size: 13px; text-align: center; padding: 20px;
}
.about-accent-block {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--forest); color: var(--white); padding: 24px 28px;
  border-radius: 10px; max-width: 200px;
}
.about-accent-block .big-num {
  font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 300;
  color: var(--amber-light); line-height: 1;
}
.about-accent-block p { font-size: 12px; color: var(--sage-light); line-height: 1.5; margin-top: 6px; }
.about-text .section-label { margin-bottom: 28px; }
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 3.5vw, 52px); font-weight: 400; line-height: 1.15;
  color: var(--forest); margin-bottom: 28px;
}
.about-text p { font-size: 16px; color: var(--mid-grey); line-height: 1.8; margin-bottom: 20px; }
.why-block {
  background: var(--mist); border-radius: 10px; padding: 28px;
  margin-top: 20px; border-left: 3px solid var(--forest-light);
}
.why-block h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest); margin-bottom: 12px;
}
.why-block p { font-size: 15px; color: var(--mid-grey); line-height: 1.8; margin: 0; }
.mission-block {
  background: var(--cream); border-radius: 10px; padding: 28px;
  margin-top: 20px; border-left: 3px solid var(--amber);
}
.mission-block h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 12px;
}
.mission-block p {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400;
  font-style: italic; color: var(--forest); line-height: 1.5; margin: 0;
}

/* ─── HOW IT WORKS ─── */
.how-section { padding: 110px 0; background: var(--cream); }
.how-header { margin-bottom: 70px; }
.how-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px); font-weight: 300; line-height: 1.1;
  color: var(--forest); max-width: 500px;
}
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.how-steps::before {
  content: ''; position: absolute; top: 28px; left: 16.5%; right: 16.5%;
  height: 1px; background: var(--amber); z-index: 0;
}
.how-step { padding: 0 28px; position: relative; }
.how-step-num {
  width: 56px; height: 56px; background: var(--forest); color: var(--amber-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400;
  margin-bottom: 28px; position: relative; z-index: 1; border: 3px solid var(--cream);
}
.how-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500; color: var(--forest); margin-bottom: 16px; line-height: 1.2;
}
.how-step p { font-size: 14px; color: var(--mid-grey); line-height: 1.8; }
.how-step ul { margin-top: 16px; padding-left: 0; list-style: none; }
.how-step ul li {
  font-size: 14px; color: var(--mid-grey); padding: 6px 0;
  border-bottom: 1px solid var(--light-grey); display: flex; align-items: flex-start; gap: 10px;
}
.how-step ul li::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0; margin-top: 7px;
}

/* ─── WHO IT'S FOR ─── */
.wif-section { padding: 110px 0; background: var(--white); }
.wif-header { margin-bottom: 60px; }
.wif-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px); font-weight: 300; color: var(--forest); line-height: 1.1;
}
.wif-header h2 em { font-style: italic; }
.wif-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; }
.wif-card { border-top: 2px solid var(--amber); padding-top: 28px; }
.wif-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500; color: var(--forest); margin-bottom: 14px; line-height: 1.2;
}
.wif-card p { font-size: 15px; color: var(--mid-grey); line-height: 1.8; }

/* ─── USE CASES ─── */
.cases-section { padding: 110px 0; background: var(--cream); }
.cases-header { margin-bottom: 60px; }
.cases-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px); font-weight: 300; color: var(--forest);
}
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card {
  background: var(--white); border-radius: 12px; padding: 40px;
  position: relative; overflow: hidden; transition: transform 0.3s;
}
.case-card:hover { transform: translateY(-4px); }
.case-card.featured {
  background: var(--forest); grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.case-card-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.case-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500; color: var(--forest); line-height: 1.2; margin-bottom: 14px;
}
.case-card.featured h3 { color: var(--white); font-size: 36px; }
.case-card p { font-size: 14px; color: var(--mid-grey); line-height: 1.7; }
.case-card.featured p { color: var(--sage-light); }
.case-accent {
  font-family: 'Cormorant Garamond', serif; font-size: 100px; font-weight: 300;
  color: rgba(255,255,255,0.05); position: absolute; right: 28px; bottom: -20px; line-height: 1;
}

/* ─── PARTNERS ─── */
.partners-section { background: var(--white); padding: 100px 0; }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.partners-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px); font-weight: 400; color: var(--forest);
  margin-bottom: 24px; line-height: 1.15;
}
.partners-left p { font-size: 16px; color: var(--mid-grey); line-height: 1.8; margin-bottom: 32px; }
.partners-types { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.partner-pill {
  background: var(--mist); color: var(--forest); border: 1px solid var(--light-grey);
  padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}
.partner-pill:hover { border-color: var(--amber); background: var(--amber-light); }
.btn-forest {
  display: inline-block; background: var(--forest); color: var(--white);
  padding: 14px 32px; border-radius: 6px; font-weight: 500; font-size: 14px;
  text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s, transform 0.2s;
}
.btn-forest:hover { background: var(--forest-mid); transform: translateY(-2px); }
.partners-right { display: flex; flex-direction: column; gap: 16px; }
.opportunity-item {
  background: var(--cream); border-radius: 8px; padding: 22px 24px;
  border: 1px solid var(--light-grey); display: flex; align-items: flex-start; gap: 16px;
  transition: border-color 0.2s;
}
.opportunity-item:hover { border-color: var(--amber); }
.opp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0; margin-top: 8px; }
.opportunity-item h4 { font-size: 15px; font-weight: 500; color: var(--forest); margin-bottom: 4px; }
.opportunity-item p { font-size: 13px; color: var(--mid-grey); line-height: 1.5; }

/* ─── CONTACT ─── */
.contact-section { padding: 110px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px); font-weight: 400; color: var(--forest);
  margin-bottom: 20px; line-height: 1.15;
}
.contact-left p { font-size: 16px; color: var(--mid-grey); line-height: 1.8; margin-bottom: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon {
  width: 40px; height: 40px; background: var(--mist); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--forest); fill: none; stroke-width: 1.5; }
.contact-info-item h4 { font-size: 13px; font-weight: 500; color: var(--forest); margin-bottom: 2px; }
.contact-info-item p { font-size: 14px; color: var(--mid-grey); }
.contact-form { background: var(--white); border-radius: 12px; padding: 48px 44px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--white); border: 1px solid var(--light-grey);
  border-radius: 6px; padding: 13px 16px; font-family: 'Outfit', sans-serif;
  font-size: 15px; color: var(--charcoal); outline: none;
  transition: border-color 0.2s; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--forest); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; background: var(--forest); color: var(--white); border: none;
  border-radius: 6px; padding: 15px 32px; font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.form-submit:hover { background: var(--forest-mid); transform: translateY(-2px); }

/* ─── FOOTER ─── */
footer { background: var(--forest); padding: 60px 5vw 36px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { font-size: 14px; color: var(--sage-light); line-height: 1.8; margin-top: 16px; max-width: 320px; }
.footer-col h5 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--sage-light); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(168,197,171,0.5); }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up { opacity: 1; transform: none; }
.js-ready .fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-ready .fade-up.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-left { padding: 130px 6vw 80px; }
  .problem-grid,
  .about-grid,
  .contact-grid,
  .partners-grid { grid-template-columns: 1fr; gap: 48px; }
  .solution-pillars { grid-template-columns: 1fr; }
  .serves-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card.featured { grid-column: span 1; grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .wif-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .serves-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
