/* ============================================================
   Talvoria Bioscience Inc — Global Stylesheet
   Scientific English Editing & Research Language Services
   Palette: deep navy + medical teal
   ============================================================ */

:root {
  /* Brand colors */
  --navy-900: #061a2e;
  --navy-800: #0a2540;
  --navy-700: #103a5e;
  --navy-600: #1a4d7a;

  --teal-700: #0b5f5c;
  --teal-600: #0e7c7b;
  --teal-500: #14948f;
  --teal-400: #22b3ac;
  --teal-100: #d3f4f1;
  --teal-50:  #ecfaf8;

  --cyan-500: #06b6d4;

  --accent: #f59e0b;

  /* Neutrals */
  --white: #ffffff;
  --bg-soft: #f5f9fb;
  --bg-tint: #eef4f7;
  --text: #152a3b;
  --text-muted: #5b6b7b;
  --text-faint: #8395a5;
  --border: #e2ebf1;
  --border-strong: #c9d8e2;

  /* Semantic */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 6px 18px rgba(10, 37, 64, 0.08), 0 2px 6px rgba(10, 37, 64, 0.05);
  --shadow-lg: 0 20px 45px rgba(6, 26, 46, 0.16), 0 6px 16px rgba(6, 26, 46, 0.08);

  /* Shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Type */
  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;

  /* Layout */
  --container: 1180px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-500); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 124, 123, 0.28);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--teal-600), var(--teal-700)); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 124, 123, 0.34); }

.btn-navy {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.24);
}
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--teal-600);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--teal-500); color: var(--teal-600); }

.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--navy-800); }
.brand svg { flex: none; }

.brand .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: color .16s ease, background .16s ease;
}
.nav-links a:hover { color: var(--teal-600); background: var(--teal-50); }
.nav-links a.is-active { color: var(--teal-600); background: var(--teal-50); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(34, 179, 172, 0.35), transparent 60%),
    radial-gradient(900px 560px at -8% 110%, rgba(6, 182, 212, 0.28), transparent 55%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 48%, var(--navy-700) 100%);
  padding: 104px 0 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(34, 179, 172, 0.12);
  border: 1px solid rgba(34, 179, 172, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px rgba(34,179,172,0.2); }

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #5eead4, #22b3ac, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stats .stat .num sup { font-size: 0.55em; color: var(--teal-400); }
.hero-stats .stat .lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 5px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .dna {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 24px 50px rgba(6, 26, 46, 0.45));
}
.hero-visual .float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 5s ease-in-out infinite;
}
.hero-visual .float-card .ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600);
  flex: none;
}
.hero-visual .float-card b { display: block; color: var(--navy-800); font-family: var(--font-display); font-size: 14px; }
.hero-visual .float-card span { color: var(--text-muted); font-size: 12px; }
.fc-1 { top: 6%; left: -4%; }
.fc-2 { bottom: 8%; right: -2%; animation-delay: 1.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; margin: 0; }

/* ---------- Services cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
  color: var(--teal-600);
  margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.card .card-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link svg { transition: transform .18s ease; }
.card .card-link:hover svg { transform: translateX(3px); }

/* ---------- Featured work ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card .thumb {
  height: 170px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.thumb-g1 { background: linear-gradient(135deg, #0e7c7b, #06b6d4); }
.thumb-g2 { background: linear-gradient(135deg, #0a2540, #1a4d7a); }
.thumb-g3 { background: linear-gradient(135deg, #134e4a, #14948f); }
.work-card .thumb svg { opacity: 0.9; }
.work-card .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.work-card .body { padding: 22px 24px 24px; }
.work-card .body h3 { font-size: 18px; margin-bottom: 4px; }
.work-card .body .meta { color: var(--text-faint); font-size: 13px; margin-bottom: 12px; }
.work-card .body p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal-400);
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.testi .stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testi blockquote { margin: 0 0 22px; color: var(--text); font-size: 15.5px; line-height: 1.75; }
.testi .who { display: flex; align-items: center; gap: 13px; }
.testi .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  flex: none;
}
.av-1 { background: linear-gradient(135deg, #0e7c7b, #22b3ac); }
.av-2 { background: linear-gradient(135deg, #0a2540, #1a4d7a); }
.av-3 { background: linear-gradient(135deg, #134e4a, #14948f); }
.testi .who b { display: block; font-family: var(--font-display); color: var(--navy-800); font-size: 14.5px; }
.testi .who span { font-size: 13px; color: var(--text-faint); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(34, 179, 172, 0.4), transparent 60%),
    linear-gradient(140deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 64px 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.78); margin: 0; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { color: #fff; display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.footer-col p { color: rgba(255,255,255,0.6); max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(34, 179, 172, 0.32), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 80px 0 88px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--teal-400); justify-content: center; }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--teal-400); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 17.5px; max-width: 680px; margin: 0 auto; }

/* ---------- Service detail rows (services page) ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.svc-row:last-child { border-bottom: none; }
.svc-row .svc-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal-500);
  margin-bottom: 12px;
}
.svc-row h2 { font-size: 27px; margin-bottom: 14px; }
.svc-row p { color: var(--text-muted); margin-bottom: 20px; }
.checklist { list-style: none; margin: 0 0 24px; padding: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 7px 0;
  color: var(--text);
  font-size: 15px;
}
.checklist li svg { flex: none; margin-top: 3px; color: var(--teal-500); }

.svc-visual {
  background: linear-gradient(150deg, var(--teal-50), var(--bg-tint));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-600);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid var(--teal-500);
  box-shadow: var(--shadow-lg);
}
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-card .tier { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--teal-600); margin-bottom: 6px; }
.price-card .price { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--navy-800); line-height: 1; margin-bottom: 4px; }
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--text-faint); }
.price-card .desc { color: var(--text-muted); font-size: 14.5px; margin: 12px 0 22px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.price-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li svg { flex: none; margin-top: 3px; color: var(--teal-500); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid .story h2 { font-size: 30px; }
.about-grid .story p { color: var(--text-muted); }

.monogram {
  background: linear-gradient(150deg, var(--navy-800), var(--teal-600));
  border-radius: var(--radius-lg);
  height: 340px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.monogram .letter { font-family: var(--font-display); font-size: 120px; font-weight: 700; opacity: 0.95; }
.monogram .est {
  position: absolute;
  bottom: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .value-icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 26px;
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-card .avatar-lg {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 160px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
}
.team-card h4 { font-size: 17px; margin-bottom: 3px; }
.team-card .role { color: var(--teal-600); font-size: 13.5px; font-weight: 600; }
.tm-1 { background: linear-gradient(135deg, #0e7c7b, #22b3ac); }
.tm-2 { background: linear-gradient(135deg, #0a2540, #1a4d7a); }
.tm-3 { background: linear-gradient(135deg, #134e4a, #14948f); }
.tm-4 { background: linear-gradient(135deg, #0b5f5c, #0e7c7b); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-band .num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--teal-600);
  line-height: 1;
}
.stats-band .lbl { color: var(--text-muted); font-size: 14.5px; margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.contact-info .info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .info-item .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
  flex: none;
}
.contact-info .info-item b { display: block; font-family: var(--font-display); color: var(--navy-800); font-size: 15px; margin-bottom: 2px; }
.contact-info .info-item span, .contact-info .info-item a { color: var(--text-muted); font-size: 14.5px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--text-faint); margin-top: 12px; }
.form-success {
  display: none;
  background: var(--teal-50);
  border: 1px solid var(--teal-400);
  color: var(--teal-700);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14.5px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .process-grid, .values-grid, .team-grid, .stats-band { grid-template-columns: repeat(2, 1fr); }
  .works-grid, .testi-grid, .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 76px 0 88px; }
  .hero-visual { order: -1; }
  .hero-visual .dna { max-width: 380px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .cards-grid, .process-grid, .values-grid, .team-grid, .stats-band,
  .works-grid, .testi-grid, .pricing-grid { grid-template-columns: 1fr; }

  .svc-row, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-visual, .monogram { height: 220px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 24px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-stats .stat .num { font-size: 26px; }
  .price-card .price { font-size: 34px; }
}
