/* Palette: Teal, Graphite, White */
:root {
    --teal: #00695C;
    --teal-light: #4DB6AC;
    --graphite: #37474F;
    --light-bg: #F5F7F8;
    --white: #FFFFFF;
    --text: #263238;
    --border: #CFD8DC;
    
    --font-head: 'Work Sans', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font-head);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; border-radius: 4px; }

/* Header */
.lab-header { background: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--teal); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--graphite); letter-spacing: 1px; }
.teal { color: var(--teal); }
.logo .sub { display: block; font-size: 0.7rem; font-weight: 400; color: var(--teal-light); letter-spacing: 3px; margin-top: -5px; }

.lab-nav a { margin-left: 20px; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; color: #555; }
.lab-nav a:hover, .lab-nav a.active { color: var(--teal); }

.btn-teal { background: var(--teal); color: var(--white) !important; padding: 10px 25px; border-radius: 4px; font-weight: 700; }
.btn-teal:hover { background: var(--graphite); }

/* Mobile Menu */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 3px; background: var(--teal); }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 260px; height: 100%; background: var(--graphite); z-index: 2000; transition: 0.4s; padding: 20px; display: flex; flex-direction: column; }
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; color: var(--white); background: none; border: none; font-size: 2rem; cursor: pointer; }
.mobile-menu a { color: var(--white); font-family: var(--font-head); font-size: 1.3rem; padding: 15px 0; border-bottom: 1px solid #444; }

@media (max-width: 900px) {
    .lab-nav { display: none; }
    .mobile-toggle { display: flex; }
}

/* Hero */
.hero-lab { height: 80vh; background-size: cover; background-position: center; position: relative; }
.hero-overlay { width: 100%; height: 100%; background: rgba(0, 105, 92, 0.8); display: flex; align-items: center; }
.hero-content { color: var(--white); max-width: 800px; padding-left: 5%; }
.data-code { font-family: var(--font-mono); color: var(--teal-light); font-size: 0.8rem; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.hero-content p { font-size: 1.2rem; color: #E0F2F1; margin-bottom: 40px; }

.cta-btns { display: flex; gap: 20px; }
.btn-main { background: var(--white); color: var(--teal); padding: 15px 35px; font-weight: 700; border-radius: 4px; }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 13px 35px; font-weight: 700; border-radius: 4px; }

/* Lab Cards */
.section-title h2 { font-family: var(--font-head); font-size: 2.2rem; color: var(--graphite); }
.teal-line { width: 60px; height: 5px; background: var(--teal); margin: 15px auto 0; }
.teal-line.left { margin: 20px 0; }

.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.lab-card { background: var(--light-bg); padding: 40px 25px; border: 1px solid var(--border); transition: 0.3s; border-bottom: 4px solid transparent; }
.lab-card:hover { transform: translateY(-10px); border-bottom-color: var(--teal); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.lab-card .icon { font-size: 3rem; margin-bottom: 20px; }
.lab-card h3 { font-family: var(--font-head); color: var(--teal); margin-bottom: 10px; font-size: 1.3rem; }
.lab-card p { font-size: 0.95rem; color: #555; }

/* Data Strip */
.data-strip { background: var(--graphite); color: var(--white); padding: 40px 0; }
.strip-flex { display: flex; justify-content: space-around; text-align: center; }
.data-item strong { display: block; font-family: var(--font-head); font-size: 2.5rem; color: var(--teal-light); line-height: 1; }
.data-item span { font-weight: 500; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; color: #BBB; }

/* Layouts */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.text-col h1 { font-family: var(--font-head); font-size: 2.8rem; line-height: 1.2; }
.spec-list { list-style: none; margin-top: 30px; }
.spec-list li { margin-bottom: 10px; font-weight: 600; color: var(--teal); font-family: var(--font-mono); font-size: 0.9rem; }
.visual-col img { border: 8px solid var(--light-bg); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.contact-box { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--light-bg); padding: 50px; border: 1px solid var(--border); }
.info-panel h2 { font-family: var(--font-head); color: var(--teal); }
.info-item { margin-top: 25px; font-weight: 500; font-family: var(--font-mono); font-size: 0.9rem; }

.lab-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.lab-form input, .lab-form select, .lab-form textarea { width: 100%; padding: 15px; border: 1px solid #DDD; font-family: var(--font-body); background: var(--white); }
.btn-submit { width: 100%; background: var(--teal); color: var(--white); border: none; padding: 15px; font-family: var(--font-head); font-weight: 700; cursor: pointer; transition: 0.3s; }

/* Testimonials & Legal */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.testi-card { background: var(--white); border: 1px solid var(--border); padding: 30px; border-top: 5px solid var(--teal-light); }
.testi-card.highlight { border-top-color: var(--teal); }

.legal-box { max-width: 800px; margin: 0 auto; background: var(--light-bg); padding: 50px; }
.legal-box h3 { color: var(--teal); margin-top: 30px; }

/* Footer */
.lab-footer { background: #1A2226; color: #888; padding: 60px 0 20px; margin-top: 80px; border-top: 5px solid var(--teal); }
.footer-layout { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2D373C; padding-bottom: 30px; margin-bottom: 20px; }
.f-brand h4 { color: var(--white); font-family: var(--font-head); font-size: 1.5rem; }
.f-links a { margin-left: 20px; color: var(--teal-light); font-weight: 600; }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.7; }

/* Cookie */
.cookie-box { position: fixed; bottom: 20px; left: 20px; background: var(--white); border-left: 5px solid var(--teal); padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 20px; z-index: 3000; display: none; }
.cookie-box.active { display: flex; }
.cookie-box button { background: var(--teal); color: var(--white); border: none; padding: 8px 20px; font-weight: 700; cursor: pointer; border-radius: 2px; }

@media (max-width: 900px) {
    .lab-grid, .about-grid, .contact-box, .testi-grid, .lab-form .form-row, .strip-flex { grid-template-columns: 1fr; }
    .hero-content { padding-right: 5%; text-align: center; padding-left: 5%; }
    .cta-btns { justify-content: center; }
    .footer-layout { flex-direction: column; text-align: center; gap: 30px; }
    .strip-flex { gap: 30px; }
}