/* Microgenex — navy authority + life-sciences green */
:root {
  --navy: #0c2340;
  --navy-2: #163a5f;
  --ink: #0c2340;
  --text: #3d4f63;
  --text-soft: #5c6d80;
  --accent: #1a8f5c;
  --accent-dark: #147a4a;
  --accent-soft: #e9f7ef;
  --green-bright: #22a86e;
  --warning-bg: #fff8e6;
  --warning-border: #e8c547;
  --warning-ink: #6b4e00;
  --bg: #ffffff;
  --bg-alt: #f4f8f5;
  --border: #dde5ec;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(12, 35, 64, 0.08);
  --max: 1040px;
  --pad-x: 1.25rem;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.35rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding: 3.5rem 0;
}

.section-intro {
  max-width: 62ch;
  margin-bottom: 1.75rem;
  color: var(--text-soft);
}

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

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.brand-tagline {
  font-size: 0.76rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

#primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

#primary-nav a:hover { color: var(--accent-dark); }

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  #primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--pad-x) 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  #primary-nav.is-open { display: flex; }

  #primary-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  #primary-nav a:last-child { border-bottom: none; }

  .nav-cta { text-align: center; margin-top: 0.25rem; }
}

/* Hero */
.band-hero {
  background: linear-gradient(165deg, var(--bg-alt) 0%, var(--bg) 55%);
  border-bottom: 1px solid var(--border);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin: 0 0 0.75rem;
}

.product-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.product-chip:last-child { border-bottom: none; }

.chip-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
}

/* Bands */
.band-alt { background: var(--bg-alt); }

/* Products — categories + catalog */
.products-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 820px) {
  .products-layout { grid-template-columns: 1fr 1fr; }
}

.product-categories {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.product-cat {
  padding: 1.25rem 1.35rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-cat h3 { margin: 0 0 0.4rem; }
.product-cat p  { margin: 0; font-size: 0.93rem; }

.catalog-list-wrap {
  padding: 1.35rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.catalog-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.catalog-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.catalog-list li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

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

.cat-id {
  flex-shrink: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  color: var(--accent-dark);
  white-space: nowrap;
}

.catalog-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Trust / Why us */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.35rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--accent);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-item h3 { margin: 0; }
.trust-item p  { margin: 0; font-size: 0.93rem; }

/* Process steps */
.process-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-steps li {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.process-steps li:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.process-steps li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-size: 0.97rem;
}

.process-steps li p {
  margin: 0;
  font-size: 0.91rem;
}

/* FAQ */
.faq-wrap {
  max-width: 720px;
}

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

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

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 1.1rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text);
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  margin-top: 0.25rem;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  text-decoration: none;
}

.btn-whatsapp svg {
  width: 1rem;
  height: 1rem;
}

/* Footer expanded */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #8fa3b8;
  line-height: 1.55;
}

.footer-col-head {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8fa3b8;
  margin: 0 0 0.65rem !important;
}

.footer-col p {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
}

.footer-col a {
  color: #c4d3e0;
  text-decoration: none;
}

.footer-col a:hover { text-decoration: underline; }

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

@media (min-width: 480px) {
  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}

.footer-bottom-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

@media (min-width: 480px) {
  .footer-bottom-actions {
    align-items: flex-end;
    justify-self: end;
  }
}

.footer-copy {
  font-size: 0.82rem;
  color: #8fa3b8;
  margin: 0;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  background: #fff;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.btn-share:hover {
  background: #e8eef4;
}

.share-status {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #8fa3b8;
}

/* Planning note — informative, not alarming */
.planning-note {
  padding: 1.1rem 1.2rem;
  background: rgba(26, 143, 92, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
}

.planning-note-title {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}

.planning-note p:last-child {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.process-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
}

.process-list li { margin-bottom: 0.5rem; }

/* Contact — form + aside (BRIA-style) */
.section-contact {
  border-top: 1px solid var(--border);
}

.contact-lede {
  max-width: 52ch;
  margin: 0 0 2rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 820px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
    gap: 3rem;
  }
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-aside .planning-note {
  margin-bottom: 0;
}

.contact-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.contact-block h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-soft);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.contact-block p {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-block p:last-child { margin-bottom: 0; }

.contact-plain {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--bg-alt);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  word-break: break-all;
}

.contact-plain:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

/* Form */
.inquiry-form { margin: 0; }

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-group .req { color: var(--accent); margin-left: 2px; }

.form-group .label-optional {
  font-weight: 400;
  color: var(--text-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 143, 92, 0.12);
}

.form-group textarea { resize: vertical; min-height: 6.5rem; }

.form-footer {
  font-size: 0.83rem;
  color: var(--text-soft);
  margin: 1rem 0 0;
  line-height: 1.5;
}

.inquiry-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  display: none;
  line-height: 1.5;
}

.form-status.is-visible { display: block; }

.form-status--pending {
  background: rgba(26, 143, 92, 0.06);
  border: 1px solid rgba(26, 143, 92, 0.2);
  color: var(--text);
}

.form-status--success {
  background: rgba(26, 143, 92, 0.1);
  border: 1px solid rgba(26, 143, 92, 0.35);
  color: var(--ink);
}

.form-status--error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #991b1b;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--navy);
  color: #b8c5d4;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.site-footer a { color: #e8eef4; }

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Legal pages */
.legal-page main {
  max-width: 72ch;
  margin: 0 auto;
  padding: 3rem var(--pad-x) 4rem;
}

.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.legal-page .legal-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-page ul {
  padding-left: 1.4rem;
  margin: 0.6rem 0 1rem;
}

.legal-page ul li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--accent-dark);
}
