/* ===== UPGRADE BIO LAB SERVICES — MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --navy:      #0a1628;
  --deep:      #0d2045;
  --teal:      #0e8a7a;
  --teal-lt:   #12b8a3;
  --gold:      #c8a94a;
  --gold-lt:   #e0c06a;
  --offwhite:  #f4f1eb;
  --cream:     #faf8f3;
  --mid:       #6b7a8d;
  --light:     #d4dbe5;
  --white:     #ffffff;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: .03em; }
p  { font-size: 1rem; font-weight: 300; color: #3a4a5c; }

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

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,74,.18);
  transition: padding .3s;
}
nav.scrolled { padding: .7rem 5%; }
.nav-brand {
  display: flex; align-items: center; gap: .8rem;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-main { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--white); letter-spacing:.02em; }
.nav-brand-sub  { font-size: .68rem; font-weight: 300; color: var(--gold); letter-spacing:.12em; text-transform:uppercase; }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a { font-size: .88rem; font-weight: 400; color: var(--light); letter-spacing:.04em; transition: color .2s; position: relative; }
.nav-links a::after { content:''; position:absolute; bottom:-3px; left:0; width:0; height:1px; background:var(--gold); transition:width .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-cta {
  background: var(--teal); color: var(--white) !important;
  padding: .5rem 1.3rem; border-radius: 2px;
  font-weight: 500 !important; letter-spacing:.04em;
  transition: background .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--teal-lt) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--light); transition: .3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 7rem 5% 4rem;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,138,122,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(14,138,122,.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-1 { width:500px; height:500px; background:rgba(14,138,122,.18); top:-100px; right:-80px; }
.hero-orb-2 { width:350px; height:350px; background:rgba(200,169,74,.10); bottom:0; left:10%; }
.hero-content { position: relative; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content:''; display:block; width:28px; height:1px; background:var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--teal-lt); }
.hero-desc { color: var(--light); font-size: 1.08rem; max-width: 560px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--teal); color: var(--white);
  padding: .85rem 2rem; border-radius: 2px;
  font-size: .9rem; font-weight: 500; letter-spacing:.04em;
  transition: background .2s, transform .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { background: var(--teal-lt); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(212,219,229,.4); color: var(--light);
  padding: .85rem 2rem; border-radius: 2px;
  font-size: .9rem; font-weight: 400; letter-spacing:.04em;
  transition: border-color .2s, color .2s, transform .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid rgba(212,219,229,.12);
}
.stat-item { }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--gold); line-height:1; }
.stat-label { font-size: .75rem; font-weight: 400; color: var(--mid); letter-spacing:.08em; text-transform:uppercase; margin-top:.3rem; }

/* ===== SECTION SHARED ===== */
section { padding: 5.5rem 5%; }
.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.section-label::before { content:''; display:block; width:24px; height:1px; background:var(--teal); }
.section-heading { margin-bottom: 1rem; color: var(--navy); }
.section-heading em { font-style: italic; color: var(--teal); }
.section-sub { max-width: 560px; color: var(--mid); font-size: 1.02rem; margin-bottom: 3rem; }
.divider { width: 48px; height: 2px; background: var(--gold); margin-bottom: 2.5rem; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--light);
}
.service-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  transition: background .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content:''; position:absolute; left:0; top:0; width:3px; height:0;
  background: var(--teal); transition: height .35s;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { background: var(--white); }
.service-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--teal);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.4rem;
  color: var(--teal);
  transition: background .25s, color .25s;
}
.service-card:hover .service-icon { background: var(--teal); color: var(--white); }
.service-card h3 { font-size: 1.25rem; margin-bottom: .75rem; color: var(--navy); }
.service-card p { font-size: .93rem; color: var(--mid); }

/* ===== ABOUT PAGE ===== */
.about-intro { background: var(--navy); color: var(--white); }
.about-intro p { color: var(--light); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--deep), var(--teal) 60%, var(--navy));
  border-radius: 2px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-img-inner { text-align: center; color: var(--white); }
.about-img-inner .big-letter { font-family:'Cormorant Garamond',serif; font-size:10rem; font-weight:300; color:rgba(255,255,255,.08); line-height:1; }
.about-img-inner .tagline { font-size:.85rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-top:-2rem; }
.values-list { list-style: none; }
.values-list li { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.5rem; }
.values-list li .icon { font-size:1.2rem; margin-top:.1rem; flex-shrink:0; }
.values-list li strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:600; color:var(--navy); margin-bottom:.2rem; }
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.5rem; margin-top:1rem; }
.team-card { background:var(--white); border:1px solid var(--light); padding:2rem 1.5rem; text-align:center; border-radius:2px; }
.team-avatar { width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--navy)); display:flex; align-items:center; justify-content:center; font-family:'Cormorant Garamond',serif; font-size:1.8rem; color:var(--white); margin:0 auto 1rem; }
.team-card h4 { font-size:1rem; color:var(--navy); margin-bottom:.3rem; }
.team-card span { font-size:.8rem; color:var(--teal); letter-spacing:.06em; }

/* ===== CONTACT ===== */
.contact-split { display:grid; grid-template-columns:1fr 1.3fr; gap:4rem; align-items:start; }
.contact-info-block { background:var(--navy); padding:3rem 2.5rem; border-radius:2px; color:var(--white); }
.contact-info-block h3 { color:var(--white); margin-bottom:1.5rem; }
.contact-detail { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.5rem; }
.contact-detail .ic { font-size:1.2rem; color:var(--gold); flex-shrink:0; margin-top:.1rem; }
.contact-detail p { color:var(--light); font-size:.93rem; }
.contact-detail strong { display:block; color:var(--white); margin-bottom:.2rem; font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; }
.map-placeholder { background:var(--deep); height:160px; border-radius:2px; display:flex; align-items:center; justify-content:center; margin-top:1.5rem; border:1px solid rgba(255,255,255,.06); }
.map-placeholder span { color:var(--mid); font-size:.85rem; letter-spacing:.1em; text-transform:uppercase; }

/* ===== FORM ===== */
.form-card { background:var(--white); border:1px solid var(--light); border-radius:2px; padding:2.5rem; }
.form-group { margin-bottom:1.4rem; }
.form-group label { display:block; font-size:.8rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--navy); margin-bottom:.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:.75rem 1rem;
  border:1px solid var(--light);
  border-radius:2px;
  background:var(--cream);
  font-family:'DM Sans',sans-serif; font-size:.95rem; color:var(--navy);
  transition: border-color .2s, background .2s;
  outline:none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color:var(--teal); background:var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-submit {
  width:100%; padding:.95rem;
  background:var(--teal); color:var(--white); border:none; cursor:pointer;
  font-family:'DM Sans',sans-serif; font-size:.95rem; font-weight:500; letter-spacing:.05em;
  border-radius:2px; transition: background .2s, transform .2s;
}
.form-submit:hover { background:var(--teal-lt); transform:translateY(-1px); }
.success-msg { display:none; background:rgba(14,138,122,.08); border:1px solid var(--teal); border-radius:2px; padding:1.2rem; color:var(--teal); text-align:center; font-size:.92rem; margin-top:1rem; }
.hours-note { font-size:.8rem; color:var(--mid); margin-top:.4rem; }

/* ===== CONSULTATION PAGE ===== */
.consult-hero { background:var(--navy); padding:8rem 5% 4rem; }
.consult-hero h1 { color:var(--white); margin-bottom:1rem; }
.consult-hero p { color:var(--light); max-width:560px; }
.consult-layout { display:grid; grid-template-columns:1.4fr 1fr; gap:3rem; align-items:start; }
.consult-sidebar { background:var(--navy); padding:2.5rem; border-radius:2px; color:var(--white); position:sticky; top:100px; }
.consult-sidebar h4 { font-family:'Cormorant Garamond',serif; font-size:1.4rem; color:var(--gold); margin-bottom:1.5rem; }
.rate-card { border-top:1px solid rgba(255,255,255,.08); padding:.9rem 0; display:flex; justify-content:space-between; }
.rate-card span { font-size:.88rem; color:var(--light); }
.rate-card strong { color:var(--gold); }
.process-steps { counter-reset:steps; margin-top:2rem; }
.step { display:flex; gap:1rem; margin-bottom:1.2rem; }
.step-num { width:28px; height:28px; border-radius:50%; border:1px solid var(--teal); display:flex; align-items:center; justify-content:center; font-size:.75rem; color:var(--teal); flex-shrink:0; }
.step p { color:var(--light); font-size:.88rem; }

/* ===== FOOTER ===== */
footer { background:var(--navy); color:var(--light); padding:4rem 5% 2rem; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:3rem; margin-bottom:3rem; }
.footer-brand p { font-size:.88rem; color:var(--mid); margin-top:1rem; line-height:1.7; }
.footer-col h4 { font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin-bottom:1.2rem; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:.6rem; }
.footer-col ul li a { font-size:.88rem; color:var(--mid); transition:color .2s; }
.footer-col ul li a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.06); padding-top:1.5rem; display:flex; justify-content:space-between; align-items:center; }
.footer-bottom p { font-size:.8rem; color:var(--mid); }
.footer-bottom a { color:var(--teal); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background:var(--navy); padding:7.5rem 5% 3.5rem; position:relative; overflow:hidden; }
.page-hero-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(14,138,122,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(14,138,122,.06) 1px,transparent 1px); background-size:50px 50px; }
.page-hero h1 { color:var(--white); position:relative; }
.page-hero .breadcrumb { font-size:.78rem; color:var(--mid); letter-spacing:.08em; margin-bottom:1rem; position:relative; }
.page-hero .breadcrumb a { color:var(--teal); }

/* ===== TESTIMONIALS ===== */
.testimonials-bg { background:var(--deep); }
.testimonials-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5rem; }
.testimonial-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); padding:2rem; border-radius:2px; }
.testimonial-stars { color:var(--gold); font-size:.9rem; margin-bottom:1rem; }
.testimonial-card blockquote { font-family:'Cormorant Garamond',serif; font-size:1.08rem; font-style:italic; color:var(--light); margin-bottom:1.2rem; line-height:1.6; }
.testimonial-card cite { font-size:.8rem; color:var(--mid); font-style:normal; letter-spacing:.06em; }

/* ===== CTA BAND ===== */
.cta-band { background:var(--teal); padding:4rem 5%; text-align:center; }
.cta-band h2 { color:var(--white); margin-bottom:1rem; }
.cta-band p { color:rgba(255,255,255,.8); margin-bottom:2rem; }
.btn-white { background:var(--white); color:var(--teal); padding:.9rem 2.2rem; border-radius:2px; font-weight:500; font-size:.95rem; transition:transform .2s,box-shadow .2s; display:inline-block; }
.btn-white:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.15); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .two-col, .contact-split, .consult-layout, .footer-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero-stats { gap:1.5rem; flex-wrap:wrap; }
  .nav-links { display:none; flex-direction:column; position:fixed; top:68px; left:0; right:0; background:var(--navy); padding:2rem; gap:1.5rem; border-bottom:1px solid rgba(255,255,255,.06); }
  .nav-links.open { display:flex; }
  .hamburger { display:flex; }
  .consult-sidebar { position:static; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:560px) {
  section { padding:3.5rem 5%; }
  .footer-grid { grid-template-columns:1fr; }
}
