/* ============================================================
   PREE Laboratories NM — preenm.com
   Brand: Navy #1a3a6b + Terracotta #C1440E desert warmth
   ============================================================ */

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

:root {
  --navy:   #1a3a6b;
  --blue:   #2a5298;
  --accent: #4a80c4;
  --terra:  #C1440E;
  --terra-dark: #9e3209;
  --sand:   #F7F0E6;
  --light:  #f4f7fb;
  --text:   #2D2D2D;
  --muted:  #666666;
  --white:  #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }


/* ── PROMO BANNER ────────────────────────────────── */
.promo-banner {
  background: var(--terra);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 14px;
  line-height: 1.5;
}
.promo-banner strong { color: var(--white); }
.promo-banner a { color: var(--white); text-decoration: underline; }
.promo-banner a:hover { color: rgba(255,255,255,.85); }


/* ── TOP BAR ─────────────────────────────────────── */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--navy); padding: 7px 0;
}
.top-bar-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 32px; align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,.8);
}
.top-bar-inner a { color: rgba(255,255,255,.9); text-decoration: none; }
.top-bar-inner a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 700px) {
  .top-bar-inner { flex-direction: column; gap: 2px; text-align: center; font-size: 11px; }
}


/* ── NAV ────────────────────────────────────────── */
#nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
#nav.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  border-color: #eee;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  height: 170px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 150px; width: auto; display: block; }
.logo-pree { font-size: 22px; font-weight: 900; letter-spacing: 5px; color: var(--navy); }
.logo-sub  { font-size: 9px;  font-weight: 500; letter-spacing: 3px; color: var(--blue); margin-top: 2px; }

.nav-links {
  display: flex; list-style: none; gap: 28px; margin-left: auto;
}
.nav-links a {
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .5px; color: var(--navy);
  text-decoration: none;
}
.nav-links a:hover { color: var(--blue); }

.nav-phone {
  font-size: 14px; font-weight: 700; color: var(--blue);
  text-decoration: none; white-space: nowrap;
}
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--navy); }


/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex; align-items: center;
  margin-top: 206px;
  background-image: url('https://images.unsplash.com/photo-1707944746508-f2dd7b88ac1b?fm=jpg&q=80&w=1600&auto=format&fit=crop');
  background-color: #0d2145;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 20, 45, 0.62);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px; padding: 60px 24px 60px 10%;
  color: var(--white);
}
.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 20px;
}
.hero-content p {
  font-size: 17px; line-height: 1.65; opacity: .9; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 28px;
  border-radius: 4px; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--terra); color: var(--white); border-color: var(--terra); }
.btn-primary:hover { background: var(--terra-dark); border-color: var(--terra-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: #e8eef5; text-decoration: none; }


/* ── INTRO BAND ─────────────────────────────────── */
.intro-band { background: var(--terra); padding: 48px 0; }
.intro-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center;
}
.intro-accent h2 {
  color: var(--white); font-size: 1.5rem; font-weight: 700; line-height: 1.3;
}
.intro-text p { color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.7; }


/* ── WHY PREE ────────────────────────────────────── */
.why { padding: 80px 0; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-photo { border-radius: 6px; overflow: hidden; }
.photo-placeholder {
  background: var(--sand); border: 2px dashed #c4b49a;
  height: 380px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; border-radius: 6px;
}
.why-content h2 { font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.why-item { display: flex; gap: 16px; margin-bottom: 28px; }
.why-icon { color: var(--terra); font-size: 12px; margin-top: 5px; flex-shrink: 0; }
.why-item h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-item p  { font-size: 14px; color: var(--muted); line-height: 1.6; }


/* ── STATS BAR ────────────────────────────────────── */
.stats-bar { background: var(--sand); padding: 40px 0; border-top: 1px solid #e0d5c5; border-bottom: 1px solid #e0d5c5; }
.stats-grid { display: flex; justify-content: center; gap: 80px; text-align: center; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 900; color: var(--navy); }
.stat-label { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }


/* ── PRICING ──────────────────────────────────────── */
.pricing-section { padding: 80px 0; background: var(--white); }
.section-title { font-size: 1.8rem; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; font-size: 15px; }
.pricing-tables { display: flex; flex-direction: column; gap: 32px; }
.pricing-table { border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.table-header {
  background: var(--navy); color: var(--white);
  padding: 14px 20px; font-size: 15px; font-weight: 700; letter-spacing: .5px;
}
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--blue); }
thead th {
  padding: 10px 14px; text-align: center; color: var(--white);
  font-size: 13px; font-weight: 600;
}
thead th:first-child { text-align: left; }
tbody tr:nth-child(even) { background: var(--light); }
tbody td {
  padding: 10px 14px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid #eee; text-align: center;
}
tbody td:first-child { text-align: left; }
.pricing-note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }


/* ── TEST DESCRIPTIONS ────────────────────────────── */
.tests { padding: 80px 0; background: var(--sand); }
.tests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}
.test-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-top: 3px solid var(--terra);
}
.test-icon { font-size: 28px; margin-bottom: 12px; }
.test-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.test-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .test-card { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 600px) { .test-card { flex: 0 0 100%; } }


/* ── PICKUP ───────────────────────────────────────── */
.pickup { background: var(--navy); padding: 72px 0; }
.pickup-text-only { max-width: 700px; margin: 0 auto; text-align: center; }
.pickup-text-only h2 { font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 18px; }
.pickup-text-only p  { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.pickup-tag {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 2px; margin-bottom: 16px;
}
.pickup-content h2 { font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 18px; }
.pickup-content p  { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.pickup-graphic { text-align: center; }
.pickup-icon-wrap {
  display: inline-block; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  padding: 36px 40px;
}
.pickup-icon { font-size: 56px; margin-bottom: 16px; }
.pickup-icon-wrap p { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.5; }


/* ── TESTIMONIAL ─────────────────────────────────── */
.testimonial { background: var(--terra); padding: 64px 24px; text-align: center; }
.testimonial-label { color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
blockquote {
  max-width: 680px; margin: 0 auto 16px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic; color: var(--white); line-height: 1.7;
}
cite { color: rgba(255,255,255,.65); font-size: 13px; }


/* ── ABOUT ────────────────────────────────────────── */
.about { padding: 80px 0; background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.about-grid h2 { font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.about-grid p  { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.about-link { color: var(--blue); font-weight: 600; font-size: 14px; }
.about-info-card {
  background: var(--white); border-radius: 6px;
  padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.about-info-card h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin-bottom: 18px; }
.about-info-card p  { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 14px; }
.about-info-card a  { color: var(--blue); }


/* ── CONTACT ─────────────────────────────────────── */
.contact { background: var(--navy); }
.contact-full { max-width: 860px; margin: 0 auto; padding: 64px 24px; }
.contact-form-wrap h2 { color: var(--white); font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.contact-form-wrap p  { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px; color: var(--white); font-size: 14px; font-family: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--terra); background: rgba(255,255,255,.15); }
.contact-form textarea { resize: vertical; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }


/* ── FOOTER ──────────────────────────────────────── */
footer { background: var(--white); border-top: 1px solid #e0e5ee; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-logo-img { height: 165px; width: auto; display: block; }
.footer-info { font-size: 13px; line-height: 1.7; color: var(--text); }
.footer-info strong { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 10px; }
.footer-info p { margin-bottom: 6px; }
.footer-info a { color: var(--blue); }
.footer-copy {
  border-top: 1px solid #eee; padding: 16px 24px;
  text-align: center; font-size: 12px; color: var(--muted);
}


/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 800px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-top: 1px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }

  .intro-grid,
  .why-grid,
  .pickup-grid,
  .about-grid,
  .contact,
  .footer-inner { grid-template-columns: 1fr; }

  .hero-content { padding: 48px 24px; }
  .stats-grid { gap: 36px; flex-wrap: wrap; justify-content: space-around; }
  .contact-form-wrap { padding: 48px 24px; }
  .contact-cta { padding: 48px 24px; }
}
