/* Sucantis Biotech — Pharma Manufacturing */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #0b1f2a;
  --ink-soft: #1a3a4a;
  --teal: #0d6e6e;
  --teal-deep: #085858;
  --teal-bright: #1a9a8c;
  --mint: #e8f5f3;
  --mint-deep: #c5e8e3;
  --sand: #f2efe8;
  --cream: #faf8f4;
  --white: #ffffff;
  --muted: #5a6f7a;
  --line: rgba(11, 31, 42, 0.1);
  --accent: #c45c26;
  --shadow: 0 20px 50px rgba(11, 31, 42, 0.12);
  --radius: 4px;
  --nav-h: 76px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Top bar ——— */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 1.25rem; }

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(11, 31, 42, 0.08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal-bright), var(--teal-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(13, 110, 110, 0.35);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-text span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: var(--mint);
}

.nav-cta {
  margin-left: 0.5rem;
  background: var(--teal) !important;
  color: #fff !important;
  padding: 0.55rem 1.1rem !important;
}
.nav-cta:hover {
  background: var(--teal-deep) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 110, 110, 0.3);
}
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--mint); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 32px);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 5rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(8, 40, 48, 0.88) 0%, rgba(13, 80, 80, 0.55) 45%, rgba(8, 30, 40, 0.75) 100%),
    url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.15;
  background-image: radial-gradient(circle at 20% 80%, rgba(26,154,140,0.5) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(196,92,38,0.25) 0%, transparent 35%);
}
.hero-content { max-width: 640px; }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  animation: fadeUp 0.9s var(--ease) both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.95);
  animation: fadeUp 0.9s 0.12s var(--ease) both;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 1.75rem;
  font-weight: 300;
  animation: fadeUp 0.9s 0.22s var(--ease) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 0.9s 0.32s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Page hero (inner) ——— */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(8, 48, 55, 0.92), rgba(13, 90, 85, 0.8)),
    url('https://images.unsplash.com/photo-1579165466949-3180a3d881b9?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
  animation: fadeUp 0.7s var(--ease) both;
}
.page-hero p {
  max-width: 520px;
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  animation: fadeUp 0.7s 0.1s var(--ease) both;
}

/* ——— Sections ——— */
.section { padding: 5rem 0; }
.section-alt {
  background: linear-gradient(180deg, var(--mint) 0%, var(--cream) 100%);
}
.section-dark {
  background: linear-gradient(160deg, var(--ink) 0%, #123545 100%);
  color: #fff;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-dark .section-label { color: var(--teal-bright); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.section-dark .section-lead { color: rgba(255,255,255,0.7); }

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ——— Stats ——— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal);
  font-weight: 600;
  line-height: 1.1;
}
.stat span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ——— Feature / specialization ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature {
  padding: 0;
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  background: var(--mint);
  color: var(--teal);
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ——— About split ——— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.split-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  animation: subtleFloat 8s ease-in-out infinite alternate;
}
@keyframes subtleFloat {
  from { transform: scale(1.02); }
  to { transform: scale(1.06) translateY(-8px); }
}
.split-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(11,31,42,0.35));
}
.split-copy p { color: var(--muted); margin-bottom: 1rem; }
.split-copy .btn { margin-top: 0.75rem; }

.checklist {
  margin: 1.25rem 0 1.5rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0;
  font-weight: 500;
  font-size: 0.95rem;
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ——— Product / division tiles ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  isolation: isolate;
  transition: transform 0.35s var(--ease);
}
.product-tile:hover { transform: translateY(-4px); }
.product-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(8,40,48,0.9) 100%),
    var(--tile-img) center/cover;
  transition: transform 0.5s var(--ease);
}
.product-tile:hover::before { transform: scale(1.05); }
.product-tile h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.product-tile p { font-size: 0.88rem; opacity: 0.85; }

/* ——— Cert badges ——— */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.cert-badge {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cert-badge:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.cert-badge .cert-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  padding: 0.5rem;
}
.cert-badge h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.cert-badge p { font-size: 0.85rem; color: var(--muted); }

/* ——— Location ——— */
.location-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.location-info { padding: 2.5rem; }
.location-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.location-info address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.location-map {
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(13,110,110,0.15), rgba(11,31,42,0.2)),
    url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1000&q=80') center/cover;
}

/* ——— Blog ——— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card-body { padding: 1.35rem 1.35rem 1.5rem; }
.blog-meta {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-card p { font-size: 0.9rem; color: var(--muted); }

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}
.contact-details h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.contact-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.contact-item p, .contact-item a {
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-item a:hover { color: var(--teal); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,110,110,0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.form-success {
  display: none;
  padding: 1rem;
  background: var(--mint);
  color: var(--teal-deep);
  border: 1px solid var(--mint-deep);
  margin-bottom: 1rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ——— CTA band ——— */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background:
    linear-gradient(115deg, rgba(8, 55, 60, 0.94), rgba(13, 100, 90, 0.88)),
    url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; line-height: 1.65; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-bright); }
.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ——— Misc ——— */
.prose { max-width: 720px; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2rem 0 0.75rem;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.timeline {
  border-left: 2px solid var(--mint-deep);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}
.timeline-item {
  position: relative;
  padding-bottom: 1.75rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.9rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--cream);
}
.timeline-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.timeline-item p { color: var(--muted); font-size: 0.92rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.product-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  align-items: flex-start;
  transition: border-color 0.2s;
}
.product-item:hover { border-color: var(--teal); }
.product-item .dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
}
.product-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.product-item p { font-size: 0.85rem; color: var(--muted); }
.product-item .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--mint);
  padding: 0.15rem 0.5rem;
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid,
  .product-grid,
  .blog-grid,
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .split,
  .location-block,
  .contact-grid,
  .two-col,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: calc(var(--nav-h) + 32px) 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 0.75rem; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero { min-height: 78vh; padding: 3rem 0 4rem; }
  .form-row,
  .product-list { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .stats,
  .feature-grid,
  .product-grid,
  .blog-grid,
  .cert-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  :root { --nav-h: 68px; }
}
