/* ============================================================
   Strivita Pharma — Design System
   3D-feel biotech website
   ============================================================ */

:root {
  /* Brand colors */
  --navy-950: #061a33;
  --navy-900: #0a2e5c;
  --navy-800: #0c3a70;
  --blue-700: #0d4f9e;
  --blue-600: #1266c2;
  --blue-500: #1a7fe0;
  --cyan-400: #22d3ee;
  --cyan-300: #5fe3f7;
  --teal-500: #0ea5b7;

  --ink: #0f1e33;
  --ink-soft: #42536f;
  --ink-muted: #6b7c98;
  --line: #e3eaf4;
  --paper: #ffffff;
  --bg: #f4f8fd;
  --bg-soft: #eaf2fb;

  /* Glass */
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-dark: rgba(10, 46, 92, 0.55);

  /* Effects */
  --shadow-1: 0 4px 18px rgba(10, 46, 92, 0.08);
  --shadow-2: 0 16px 44px rgba(10, 46, 92, 0.16);
  --shadow-3: 0 30px 80px rgba(10, 46, 92, 0.22);
  --glow: 0 10px 40px rgba(34, 211, 238, 0.35);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --grad-brand: linear-gradient(120deg, #0a2e5c 0%, #0d4f9e 45%, #17c3e6 100%);
  --grad-cyan: linear-gradient(120deg, #0ea5b7, #22d3ee);

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  /* Top background flush to the very top edge (通铺到最顶部):
     paint the top of the page canvas with the same dark navy as the
     hero / page-hero, so no light gap can appear above the top
     section even when a preview environment offsets the content.
     In normal rendering this band sits behind the dark hero region
     and is invisible. */
  background:
    linear-gradient(180deg,
      #04121f 0px,
      #061a33 110px,
      var(--bg) 150px);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
  will-change: transform;
  position: relative;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 12px 30px rgba(13, 79, 158, 0.32);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 44px rgba(13, 79, 158, 0.42); }
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px) scale(1.04); background: rgba(255, 255, 255, 0.2); }
.btn-cyan {
  color: var(--navy-900);
  background: linear-gradient(120deg, #5fe3f7, #22d3ee);
  box-shadow: var(--glow);
}
.btn-cyan:hover { transform: translateY(-3px) scale(1.04); }
.btn-dark {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 12px 30px rgba(10, 46, 92, 0.3);
}
.btn-dark:hover { transform: translateY(-3px) scale(1.04); }
.btn-outline {
  color: var(--blue-700);
  background: transparent;
  border: 1.5px solid var(--blue-600);
}
.btn-outline:hover { background: var(--blue-600); color: #fff; transform: translateY(-3px) scale(1.03); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s, height 0.4s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 6px 30px rgba(10, 46, 92, 0.10);
  height: 64px;
  border-bottom: 1px solid rgba(13, 79, 158, 0.08);
}
.nav.on-dark:not(.scrolled) { color: #fff; background: transparent; backdrop-filter: none; box-shadow: none; border-bottom: none; }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, 94%);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; transition: height 0.4s; }
.nav.scrolled .brand img { height: 36px; }
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  line-height: 1.05;
}
.brand .brand-name small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.22em; opacity: 0.65; }
.nav.on-dark:not(.scrolled) .brand-name { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: inherit;
  opacity: 0.88;
  border-radius: 10px;
  transition: opacity 0.25s, color 0.25s, background 0.25s;
}
.nav-links a:hover { opacity: 1; background: rgba(13, 79, 158, 0.08); }
.nav.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255, 255, 255, 0.14); }
.nav-links a.active { color: var(--blue-700); font-weight: 600; }
.nav.on-dark:not(.scrolled) .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-cyan);
}
.nav-cta { margin-left: 10px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 0 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  perspective: 1200px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(1200px 700px at 82% -10%, rgba(34, 211, 238, 0.28), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(14, 165, 183, 0.30), transparent 55%),
    linear-gradient(150deg, #04121f 0%, #07244a 42%, #0a3a72 78%, #0c4d92 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: -2;
  will-change: transform;
}
.orb-1 { width: 420px; height: 420px; left: -120px; top: 8%; background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 70%); animation: float 12s ease-in-out infinite; }
.orb-2 { width: 360px; height: 360px; right: -80px; bottom: 4%; background: radial-gradient(circle, rgba(14,165,183,0.45), transparent 70%); animation: float 16s ease-in-out infinite reverse; }
.orb-3 { width: 220px; height: 220px; right: 26%; top: 60%; background: radial-gradient(circle, rgba(95,227,247,0.4), transparent 70%); animation: float 10s ease-in-out infinite 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-34px) translateX(20px); }
}

.hero-particles { position: absolute; inset: 0; z-index: -1; }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan-300);
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 12px var(--cyan-400); }

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(100deg, #5fe3f7, #22d3ee, #8be9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px; color: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
}
.trust-chip svg { width: 14px; height: 14px; color: var(--cyan-300); }

/* Hero visual — layered 3D */
.hero-visual { position: relative; height: 520px; perspective: 1400px; }
.hero-figure {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg) translateZ(0);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  will-change: transform;
  transition: transform 0.6s var(--ease);
}
.hero:hover .hero-figure { transform: rotateY(0) rotateX(0) scale(1.02); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow-2);
  color: var(--ink);
  animation: floatCard 7s ease-in-out infinite;
  will-change: transform;
}
.fc-1 { top: 6%; right: -26px; animation-delay: 0s; z-index: 3; }
.fc-2 { bottom: 12%; left: -34px; animation-delay: 1.6s; z-index: 3; }
.fc-3 { bottom: 4%; right: 8%; animation-delay: 3s; z-index: 2; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-16px) rotate(var(--r, 0deg)); }
}
.fc-1 { --r: 2deg; } .fc-2 { --r: -2deg; } .fc-3 { --r: 1deg; }
.float-card .fc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 2px; }
.float-card .fc-value { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy-900); line-height: 1.1; }
.float-card .fc-sub { font-size: 12px; color: var(--ink-muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #fff, var(--bg)); }
.section-dark {
  background: linear-gradient(160deg, #061a33, #0a2e5c 60%, #0c3a70);
  color: #fff;
  overflow: hidden;
}
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--cyan-300); }
.eyebrow::before, .eyebrow::after { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: 0.5; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 14px; color: var(--navy-900); }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,0.75); }

/* ---------- Stats ---------- */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 34px 0; }
.stat {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.stat:hover { transform: translateY(-4px); background: var(--bg-soft); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat .lbl { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }

/* ---------- 3D tilt cards ---------- */
.card3d {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  padding: 30px;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  cursor: pointer;
  will-change: transform;
}
.card3d:hover {
  box-shadow: var(--shadow-3);
  z-index: 5;
}
.card3d .card-inner { transform: translateZ(30px); }
.card3d .card-inner-2 { transform: translateZ(52px); }

.card3d .ico {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(13,79,158,0.12), rgba(34,211,238,0.18));
  color: var(--blue-700);
  margin-bottom: 18px;
}
.card3d .ico svg { width: 28px; height: 28px; }
.card3d h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--navy-900); }
.card3d p { color: var(--ink-soft); font-size: 0.95rem; }
.card3d .link-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--blue-600);
}
.card3d .link-more svg { width: 16px; height: 16px; transition: transform 0.3s; }
.card3d:hover .link-more svg { transform: translateX(4px); }

/* hover zoom image card */
.img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.img-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-3); }
.img-card:hover img { transform: scale(1.08); }
.img-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 20px 16px;
  background: linear-gradient(transparent, rgba(6,26,51,0.88));
  color: #fff; font-weight: 600; font-size: 15px;
}

/* ---------- Service feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 84px; }
.feature-row > * { min-width: 0; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.rev .feature-visual { order: 2; }
.feature-row .feature-visual { order: 1; }
.feature-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-400); margin-bottom: 12px; }
.feature-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy-900); margin-bottom: 16px; }
.feature-body p { color: var(--ink-soft); margin-bottom: 20px; }
.feature-list { display: grid; gap: 12px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start; min-width: 0;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
  font-size: 0.95rem; color: var(--ink);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.feature-list li:hover { transform: translateX(6px); border-color: var(--cyan-400); }
.feature-list li svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }
.feature-visual { position: relative; perspective: 1200px; }
.feature-visual .fv-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.feature-visual:hover .fv-img { transform: rotateY(0) rotateX(0) scale(1.03); }
.feature-visual .fv-img img { width: 100%; height: 420px; object-fit: cover; }
.feature-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  font-size: 13px;
  animation: floatCard 6s ease-in-out infinite;
}
.feature-float strong { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 17px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process-step {
  position: relative;
  text-align: center;
  padding: 30px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.process-step:hover { transform: translateY(-8px); background: rgba(255,255,255,0.12); border-color: var(--cyan-400); }
.process-step .step-no {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  background: var(--grad-cyan); color: var(--navy-900);
  box-shadow: var(--glow);
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: rgba(255,255,255,0.72); }
.process-arrow { position: absolute; top: 50%; right: -16px; z-index: 2; color: var(--cyan-400); opacity: 0.7; }

/* ---------- Case cards ---------- */
.case-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  cursor: pointer;
}
.case-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-3); }
.case-card .cc-body { padding: 26px; }
.case-card .cc-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-600);
  background: var(--bg-soft);
  border-radius: 999px; padding: 5px 12px;
  margin-bottom: 12px;
}
.case-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--navy-900); }
.case-card p { font-size: 0.9rem; color: var(--ink-soft); }
.case-card .cc-steps { display: grid; gap: 10px; margin-top: 16px; }
.case-card .cc-steps li { display: flex; gap: 10px; font-size: 0.85rem; color: var(--ink-soft); align-items: flex-start; }
.case-card .cc-steps li b { color: var(--navy-900); }
.case-card .cc-steps li svg { width: 16px; height: 16px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  background: var(--grad-brand);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  text-align: center;
  color: #fff;
  transform-style: preserve-3d;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(34,211,238,0.35), transparent 60%),
    radial-gradient(400px 280px at 5% 100%, rgba(14,165,183,0.4), transparent 60%);
}
.cta-banner h2 { position: relative; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta-banner p { position: relative; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 30px; }
.cta-banner .cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact strip / footer ---------- */
.contact-strip { background: #fff; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--blue-700);
}
.contact-item .ci-ico svg { width: 20px; height: 20px; }
.contact-item .ci-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); font-weight: 600; }
.contact-item .ci-val { font-size: 14.5px; font-weight: 600; color: var(--navy-900); margin-top: 2px; }

.footer { background: var(--navy-950); color: rgba(255,255,255,0.8); padding: 70px 0 34px; position: relative; overflow: hidden; }
.footer::before {
  content: '';
  position: absolute; top: -180px; right: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.14), transparent 70%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.footer .brand-name { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.footer p.foot-about { margin: 16px 0 22px; font-size: 0.92rem; color: rgba(255,255,255,0.65); max-width: 300px; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: 15px; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 0.92rem; color: rgba(255,255,255,0.72); transition: color 0.25s, padding-left 0.25s; }
.footer ul a:hover { color: var(--cyan-300); padding-left: 5px; }
.footer .foot-contact li { display: flex; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.72); align-items: flex-start; }
.footer .foot-contact svg { width: 16px; height: 16px; color: var(--cyan-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  position: relative;
}
.footer-bottom a { color: var(--cyan-300); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 70px;
  background: linear-gradient(160deg, #061a33, #0a2e5c 55%, #0d4f9e);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(34,211,238,0.25), transparent 60%),
    radial-gradient(600px 400px at 0% 110%, rgba(14,165,183,0.3), transparent 55%);
}
.page-hero .ph-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.page-hero p { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; font-weight: 500; }
.breadcrumb a { color: var(--cyan-300); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Quote page ---------- */
.quote-page { padding: calc(var(--nav-h) + 30px) 0 90px; }
.quote-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }

.quote-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 34px;
}
.q-step-indicator { display: flex; align-items: center; gap: 0; margin-bottom: 30px; flex-wrap: wrap; }
.q-step { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--ink-muted); }
.q-step .q-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink-muted);
  font-size: 13px;
  transition: all 0.3s;
}
.q-step.active { color: var(--navy-900); }
.q-step.active .q-dot { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(13,79,158,0.3); }
.q-step.done .q-dot { background: var(--teal-500); color: #fff; border-color: transparent; }
.q-line { flex: 1; height: 2px; background: var(--line); margin: 0 12px; min-width: 24px; }
.q-line.done { background: var(--teal-500); }

.q-field { margin-bottom: 26px; }
.q-label {
  display: block;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--navy-900); margin-bottom: 10px;
}
.q-label .hint { font-weight: 400; font-size: 12.5px; color: var(--ink-muted); margin-left: 6px; }

.q-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.q-option {
  position: relative;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  transform-style: preserve-3d;
}
.q-option:hover { transform: translateY(-3px) scale(1.02); border-color: var(--cyan-400); box-shadow: var(--shadow-1); }
.q-option.selected { border-color: var(--blue-600); background: linear-gradient(160deg, #f0f8ff, #fff); box-shadow: 0 12px 30px rgba(13,79,158,0.14); }
.q-option .q-opt-name { font-weight: 600; font-size: 15px; color: var(--navy-900); display: flex; align-items: center; gap: 8px; }
.q-option .q-opt-desc { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; }
.q-option .q-opt-price { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--blue-600); }
.q-option.selected::after {
  content: '✓';
  position: absolute; top: 10px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

.q-radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.q-radio {
  padding: 12px 20px;
  border: 2px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all 0.3s;
  background: #fff;
}
.q-radio:hover { border-color: var(--cyan-400); }
.q-radio.selected { border-color: var(--blue-600); background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(13,79,158,0.25); }

.q-number {
  display: inline-flex; align-items: center; gap: 0;
  border: 2px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #fff;
}
.q-number button {
  width: 40px; height: 44px; border: none; background: var(--bg-soft);
  font-size: 20px; font-weight: 700; color: var(--blue-700);
  cursor: pointer; transition: background 0.25s;
}
.q-number button:hover { background: var(--blue-600); color: #fff; }
.q-number input {
  width: 70px; height: 44px; border: none; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy-900);
  outline: none; background: #fff;
}
.q-check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: all 0.25s; background: #fff; }
.q-check:hover { border-color: var(--cyan-400); }
.q-check.checked { border-color: var(--blue-600); background: #f0f8ff; }
.q-check input { display: none; }
.q-check .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: all 0.25s; background: #fff; flex-shrink: 0; }
.q-check.checked .box { background: var(--grad-brand); border-color: transparent; color: #fff; }
.q-check .box svg { width: 14px; height: 14px; }
.q-check .qt { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.q-check .qp { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue-600); }

.q-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }

.q-summary {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: linear-gradient(170deg, #fff, #f0f8ff);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 28px;
}
.q-summary .qs-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy-900); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.q-summary .qs-title svg { width: 20px; height: 20px; color: var(--blue-600); }
.qs-items { display: grid; gap: 10px; margin-bottom: 16px; max-height: 300px; overflow: auto; padding-right: 4px; }
.qs-item { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-soft); padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.qs-item .qs-amt { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.qs-item.free .qs-amt { color: var(--teal-500); }
.qs-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 2px solid var(--navy-900);
  margin-top: 6px;
}
.qs-total .lbl { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy-900); }
.qs-total .amt {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.qs-note { margin-top: 14px; font-size: 12px; color: var(--ink-muted); background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; }
.qs-cta { margin-top: 16px; width: 100%; justify-content: center; }
.qs-recalc { margin-top: 10px; width: 100%; }

/* category selector */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  background: #fff;
  padding: 28px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  transform-style: preserve-3d;
}
.cat-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-2); border-color: var(--cyan-400); }
.cat-card.selected { border-color: var(--blue-600); box-shadow: 0 16px 44px rgba(13,79,158,0.18); background: linear-gradient(165deg, #f0f8ff, #fff); }
.cat-card .cat-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(13,79,158,0.12), rgba(34,211,238,0.2)); color: var(--blue-700); margin-bottom: 16px; }
.cat-card .cat-ico svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy-900); }
.cat-card p { font-size: 0.88rem; color: var(--ink-soft); }
.cat-card .cat-tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--blue-600); background: var(--bg-soft); padding: 5px 12px; border-radius: 999px; }

/* ---------- Contact / forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body); font-size: 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(18, 102, 194, 0.12);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-msg { font-size: 13px; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; display: none; }
.form-msg.ok { display: block; background: #e6f7f0; color: #0a7a4f; border: 1px solid #b9e8d3; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; border: 1px solid #f5c6c6; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff; padding: 24px 16px;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.admin-side .brand { padding: 0 8px 20px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 16px; }
.admin-side .brand-name { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.admin-side .brand-name small { display: block; font-size: 10px; letter-spacing: 0.18em; opacity: 0.6; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav button {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; width: 100%;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 500;
  border-radius: 10px; text-align: left;
  transition: background 0.25s, color 0.25s;
}
.admin-nav button:hover { background: rgba(255,255,255,0.1); color: #fff; }
.admin-nav button.active { background: rgba(34,211,238,0.18); color: var(--cyan-300); }
.admin-nav button svg { width: 18px; height: 18px; }
.admin-main { padding: 30px 36px; max-width: 1200px; }
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.admin-topbar h1 { font-size: 22px; color: var(--navy-900); }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.admin-panel { display: none; }
.admin-panel.active { display: block; animation: fadeUp 0.4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.price-group { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 26px; margin-bottom: 24px; }
.price-group h2 { font-size: 18px; color: var(--navy-900); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.price-group .pg-desc { font-size: 13px; color: var(--ink-muted); margin-bottom: 20px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-muted); padding: 8px 12px; border-bottom: 2px solid var(--line);
}
.price-table td { padding: 10px 12px; border-bottom: 1px solid var(--bg-soft); font-size: 14px; vertical-align: middle; }
.price-table tr:hover td { background: var(--bg-soft); }
.price-table input[type=number] {
  width: 110px; padding: 8px 10px;
  border: 2px solid var(--line); border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy-900);
  outline: none; background: #fff;
}
.price-table input[type=number]:focus { border-color: var(--blue-600); }
.price-table .na { color: var(--ink-muted); opacity: 0.6; }
.price-save-bar {
  position: sticky; bottom: 20px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-2);
  z-index: 20;
}
.price-save-bar .psb-msg { font-size: 13.5px; color: var(--ink-muted); }
.price-save-bar .psb-msg.ok { color: #0a7a4f; }

/* login */
.admin-login {
  min-height: 100vh; display: grid; place-items: center;
  background: linear-gradient(160deg, #061a33, #0a2e5c, #0d4f9e);
  padding: 24px;
}
.login-card {
  width: min(420px, 100%);
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
.login-card .lc-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.login-card .lc-brand img { height: 40px; }
.login-card .lc-brand span { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 18px; }
.login-card h2 { font-size: 22px; margin: 18px 0 6px; color: var(--navy-900); }
.login-card .lc-sub { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 24px; }

/* quotes table */
.quotes-list { display: grid; gap: 16px; }
.quote-row {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); overflow: hidden;
}
.quote-row .qr-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px; cursor: pointer; flex-wrap: wrap;
  background: linear-gradient(170deg, #fff, var(--bg));
}
.quote-row .qr-head:hover { background: var(--bg-soft); }
.quote-row .qr-id { font-family: var(--font-display); font-weight: 700; color: var(--blue-700); }
.quote-row .qr-who { font-size: 14px; color: var(--navy-900); font-weight: 600; }
.quote-row .qr-org { font-size: 12.5px; color: var(--ink-muted); }
.quote-row .qr-total { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy-900); }
.quote-row .qr-tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.quote-row .qr-tag.new { background: #fff2d9; color: #b26a00; }
.quote-row .qr-tag.contacted { background: #e6f0ff; color: #1a5fc4; }
.quote-row .qr-tag.done { background: #e6f7f0; color: #0a7a4f; }
.quote-row .qr-body { padding: 0 20px 20px; display: none; }
.quote-row.open .qr-body { display: block; animation: fadeUp 0.3s var(--ease); }
.quote-row .qr-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 6px; }
.quote-row .qr-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); margin-bottom: 8px; }
.quote-row .qr-block .kv { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; border-bottom: 1px dashed var(--bg-soft); }
.quote-row .qr-block .kv b { color: var(--navy-900); }
.quote-row .qr-actions { display: flex; gap: 10px; margin-top: 16px; }

/* settings */
.settings-grid { display: grid; gap: 20px; }

/* toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--navy-900); color: #fff;
  padding: 14px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-3);
  z-index: 200; transition: transform 0.5s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.err { background: #c0392b; }
.toast.ok { background: #0a7a4f; }

/* ---------- Resources ---------- */
.resource-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  cursor: pointer;
}
.resource-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-3); border-color: var(--cyan-400); }
.resource-card .rc-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.resource-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--navy-900); }
.resource-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 16px; }
.resource-card .rc-meta { font-size: 12.5px; color: var(--ink-muted); display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .brand { gap: 9px; min-width: 0; }
  .brand img { height: 34px; }
  .brand-name { font-size: 15px; line-height: 1.18; white-space: nowrap; }
  .brand .brand-name small { font-size: 8.5px; letter-spacing: 0.14em; margin-top: 1px; }
  /* Switch to burger drawer on tablets too — prevents brand/nav overlap */
  .nav-burger { display: block; z-index: 12; color: inherit; }
  .nav-links {
    display: flex; position: fixed; top: 0; right: 0; height: 100vh;
    width: min(340px, 80vw); flex-direction: column; align-items: stretch;
    justify-content: flex-start; background: #0a1c38; padding: 96px 28px 40px;
    gap: 6px; z-index: 11; transform: translateX(110%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.35); color: #fff !important;
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: #fff !important; font-size: 16px; padding: 12px 10px; width: 100%; border-radius: 10px; opacity: 1 !important; }
  .nav-links a:hover { background: rgba(255,255,255,.08); }
  .nav-cta { width: 100%; justify-content: center; margin-top: 10px; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.rev .feature-visual { order: 0; }
  .quote-layout { grid-template-columns: 1fr; }
  .q-summary { position: static; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 200px 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 84%);
    height: 100vh; flex-direction: column; justify-content: flex-start;
    align-items: stretch; gap: 4px;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    padding: 90px 22px 30px;
    box-shadow: -20px 0 60px rgba(10,46,92,0.2);
    transition: right 0.45s var(--ease);
    color: var(--ink) !important;
    z-index: 98;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 16px; padding: 13px 14px; color: var(--ink) !important; opacity: 1 !important; }
  .nav-burger { display: block; z-index: 99; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-arrow { display: none; }
  .section { padding: 70px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; left: -260px; width: 250px; z-index: 90; transition: left 0.4s; height: 100vh; }
  .admin-side.open { left: 0; }
  .admin-main { padding: 20px; }
  .quote-row .qr-detail { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 26px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero-visual { height: 320px; }
  .float-card { padding: 10px 14px; }
}
@media (max-width: 520px) {
  .brand .brand-name small { display: none; }
  .brand-name { font-size: 13px; }
  .process-grid { grid-template-columns: 1fr; }
  .q-options { grid-template-columns: 1fr; }
}

/* ============================================================
   Strivita Pharma — appended: science notes + responsive
   ============================================================ */

/* ---------- Science note (SEO knowledge blocks) ---------- */
.science-note {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(135deg, #eaf3ff, #f4f9ff);
  border: 1px solid #cfe1f7;
  border-radius: 16px; padding: 20px 24px; margin: 8px 0 26px;
}
.science-note .sn-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0a2e5c, #1266c2);
}
.science-note .sn-ico svg { width: 22px; height: 22px; }
.science-note b { color: var(--navy-900); font-size: 14.5px; display: block; margin-bottom: 6px; }
.science-note p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 640px) {
  .science-note { flex-direction: column; padding: 16px 18px; }
}

/* ---------- Values cards ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }

/* ---------- Responsive: tablet 1024 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.rev .feature-visual { order: 1; }
  .feature-row.rev .feature-body { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-arrow { display: none; }
}

/* ---------- Responsive: mobile 768 ---------- */
@media (max-width: 768px) {
  .nav-inner { position: relative; }
  .nav-burger { display: block; margin-left: auto; z-index: 12; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    background: #0a1c38; padding: 96px 28px 40px; gap: 6px; z-index: 11; color: #fff !important;
    transform: translateX(110%); transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.35);
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: #fff !important; font-size: 16px; padding: 12px 8px; width: 100%; border-radius: 10px; opacity: 1 !important; }
  .nav-links a:hover { background: rgba(255,255,255,.08); }
  .nav-cta { width: 100%; justify-content: center; margin-top: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 32px; }
  .brand-name { font-size: 14px; line-height: 1.15; white-space: nowrap; }
  .brand .brand-name small { font-size: 8px; letter-spacing: 0.12em; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 40px) 0 70px; }
  .hero-figure { min-height: 320px !important; }
  .float-card { transform: scale(0.9); }
  .fc-1 { left: -6px; top: -14px; }
  .fc-2 { right: -6px; bottom: -14px; }
  .hero-dots { bottom: -22px; }
  .cta-banner { padding: 34px 22px; }
  .page-hero { padding: calc(var(--nav-h) + 44px) 0 46px; }
  .section { padding: 60px 0; }
}

/* ---------- Responsive: phone 520 ---------- */
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-wrap: wrap; }
  .brand-name small { display: none; }
  .hero-figure { min-height: 250px !important; }
  .float-card { padding: 10px 14px; }
  .fc-1, .fc-2 { display: none; }
  .hero-dots { bottom: -18px; }
  .fv-img { height: 230px; }
  .fv-img img { height: 100%; object-fit: cover; }
  .feature-float { transform: scale(0.88); }
  .section-head h2 { font-size: 1.55rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .science-strip { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .legal .toc { grid-template-columns: 1fr; }
}


/* ============================================================
   Strivita — responsive polish v2.2 (tablet + phone)
   Added: gallery-grid, hero type scale, touch targets, tables,
   AI/consent overlays, tighter spacing on small screens.
   ============================================================ */

/* gallery (about page) */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* --- Tablet 769–1024 --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
}

/* --- Phone ≤768 --- */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero h1 { font-size: clamp(1.7rem, 5vw, 2.1rem); }
  .hero-visual { height: 420px; }
}

/* --- Phone ≤520 --- */
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero h1 { font-size: clamp(1.42rem, 6.4vw, 1.72rem); margin-bottom: 14px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-eyebrow { font-size: 0.74rem; }
  .section { padding: 46px 0; }
  .section-head h2 { font-size: 1.42rem; }
  .page-hero h1 { font-size: 1.65rem; }
  .page-hero .lead { font-size: 0.98rem; }
  /* 16px+ inputs to prevent iOS zoom; comfortable touch targets */
  input, select, textarea { font-size: 16px !important; }
  .btn { min-height: 46px; padding: 0 20px; }
  /* horizontal scroll for wide tables / option rows */
  .table-wrap, .q-table-wrap, .opt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .img-card .cap { font-size: 0.7rem; padding: 7px 9px; }
  /* science notes & cards */
  .science-note { padding: 14px 16px; }
  .science-note b { font-size: 13.5px; }
  .science-note p { font-size: 13px; }
  .svc-card, .news-card, .value-card { padding: 18px; }
  /* AI assistant */
  #svAiFab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  #svAiPanel { right: 10px; left: 10px; width: auto; height: 68vh; bottom: 78px; }
  /* privacy consent stacks full-width */
  #privacyBanner .pb-actions { flex-direction: column; gap: 8px; }
  #privacyBanner .pb-actions .btn, #privacyBanner .pb-actions a { width: 100%; justify-content: center; }
  #privacyBanner .pb-inner { padding: 14px 16px; gap: 12px; }
  #privacyBanner .pb-text { min-width: 0; }
  /* stat cards */
  .stat-card { padding: 16px 12px; }
  .stat-card .num { font-size: 1.7rem; }
  /* footer */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-social { justify-content: center; }
  /* hero visual & float cards */
  .hero-visual { height: 300px; }
  .fv-img { height: 200px; }
  .feature-float { display: none; }
}


/* --- overflow fixes --- */
@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-field.full { grid-column: 1 / -1; }
  .feature-visual, .fv-img, .feature-visual img, .feature-visual video { width: 100% !important; max-width: 100% !important; }
  .feature-row { gap: 28px; }
  .feature-float { display: none; }
  .quote-card, .contact-card { padding: 20px 16px; }
  .q-field, .opt-row, .opt-block { width: 100%; }
}


/* --- contact two-col layout collapse on phone --- */
@media (max-width: 768px) {
  .quote-layout { grid-template-columns: 1fr !important; gap: 28px; }
  .quote-layout > div:first-child { order: 2; }
  .quote-layout .quote-card { position: static !important; order: 1; }
}
@media (max-width: 520px) {
  .fv-img { transform: none !important; }
  .fv-img img { height: 210px !important; }
}


/* ============ Privacy Banner (international standard) ============ */
#privacyBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: #ffffff; backdrop-filter: blur(14px);
  border-top: 1px solid #e3eaf4;
  box-shadow: 0 -8px 40px rgba(10,46,92,0.15);
  transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
#privacyBanner.show { transform: translateY(0); }
#privacyBanner .pb-inner {
  max-width: 1100px; margin: 0 auto; padding: 22px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
#privacyBanner .pb-head { display: flex; gap: 16px; align-items: flex-start; }
#privacyBanner .pb-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
  background: linear-gradient(135deg,#0d4f9e,#17c3e6); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
#privacyBanner .pb-icon svg { width: 22px; height: 22px; }
#privacyBanner .pb-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--navy-900); margin-bottom: 5px;
}
#privacyBanner .pb-desc {
  font-size: 13.5px; line-height: 1.65; color: var(--ink-soft);
}
#privacyBanner .pb-desc a { color: var(--blue-600); text-decoration: underline; }
#privacyBanner .pb-prefs {
  background: #f4f8fd; border: 1px solid #e3eaf4; border-radius: 12px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 10px;
}
#privacyBanner .pb-prefs-title {
  font-weight: 700; font-size: 14px; color: var(--navy-900); margin-bottom: 4px;
}
#privacyBanner .pb-opt {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink-soft); cursor: pointer;
}
#privacyBanner .pb-opt input { margin-top: 3px; width: auto; accent-color: var(--blue-600); }
#privacyBanner .pb-opt b { color: var(--navy-900); }
#privacyBanner .pb-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; align-items: center;
}
#privacyBanner .pb-link {
  background: none; border: none; color: var(--blue-600); font-size: 13.5px;
  font-weight: 500; cursor: pointer; padding: 6px 4px; text-decoration: none;
}
#privacyBanner .pb-link:hover { text-decoration: underline; }
#privacyBanner .btn-cyan { background: var(--navy-900); color: #fff; border: none; }
#privacyBanner .btn-cyan:hover { background: var(--blue-700); }
#privacyBanner .btn-outline { background: #fff; color: var(--navy-900); border: 1.5px solid var(--navy-900); }
#privacyBanner .btn-outline:hover { background: var(--navy-900); color: #fff; }


/* ============ Quote Submission Ceremony ============ */
.q-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: qspin 0.7s linear infinite;
  vertical-align: middle; margin-right: 8px;
}
@keyframes qspin { to { transform: rotate(360deg); } }

.q-success-card {
  text-align: center; padding: 40px 30px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd; border-radius: 16px;
  animation: qfadeIn 0.5s ease-out;
}
@keyframes qfadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.q-check-circle {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%; background: linear-gradient(135deg, #0d4f9e, #17c3e6);
  display: flex; align-items: center; justify-content: center;
  animation: qpop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
  box-shadow: 0 8px 30px rgba(13, 79, 158, 0.3);
}
@keyframes qpop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.q-check-circle svg { width: 36px; height: 36px; color: #fff; }
.q-check-circle svg path {
  stroke-dasharray: 30; stroke-dashoffset: 30;
  animation: qdraw 0.4s ease-out 0.5s forwards;
}
@keyframes qdraw { to { stroke-dashoffset: 0; } }
.q-success-title {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--navy-900); margin-bottom: 8px;
}
.q-success-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.q-total-display {
  font-size: 42px; font-weight: 800; color: var(--navy-900);
  font-family: var(--font-display); margin: 16px 0 4px;
  background: linear-gradient(135deg, #0d4f9e, #17c3e6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.q-total-label { font-size: 13px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1px; }
.q-success-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.q-review-fade { animation: qfadeOut 0.3s ease-out forwards; }
@keyframes qfadeOut { to { opacity: 0; transform: translateY(-10px); } }


/* ---------- ALCOA+ Cards ---------- */
.alcoa-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.alcoa-card {
  background:#fff; border-radius:14px; padding:24px 18px; text-align:center;
  box-shadow:0 2px 12px rgba(10,28,56,0.06); border:1px solid rgba(13,79,158,0.08);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.alcoa-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,79,158,0.12); }
.alcoa-letter {
  font-size:2.4rem; font-weight:800; line-height:1;
  background:linear-gradient(135deg,#0d4f9e,#17c3e6);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; margin-bottom:8px;
}
.alcoa-full { font-size:15px; font-weight:700; color:var(--ink); margin-bottom:2px; }
.alcoa-cn { font-size:12px; color:var(--ink-muted); margin-bottom:10px; letter-spacing:.5px; }
.alcoa-card p { font-size:12.5px; color:var(--ink-soft); line-height:1.6; margin:0; }

/* Tablet */
@media (min-width:769px) and (max-width:1024px) {
  .alcoa-grid { grid-template-columns:repeat(3,1fr); }
}
/* Phone */
@media (max-width:768px) {
  .alcoa-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
  .alcoa-card { padding:18px 14px; }
  .alcoa-letter { font-size:2rem; }
}


/* ---------- Lab Gallery (Featured Masonry) ---------- */
.lab-gallery { display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:200px; gap:14px; }
.lab-item { position:relative; border-radius:12px; overflow:hidden; box-shadow:0 2px 12px rgba(10,28,56,.08); cursor:pointer; transition:transform .3s var(--ease),box-shadow .3s var(--ease); }
.lab-item:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,79,158,.18); z-index:2; }
.lab-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease); }
.lab-item:hover img { transform:scale(1.06); }
.lab-item.lab-featured { grid-column:span 2; grid-row:span 2; }
.lab-cap { position:absolute; bottom:0; left:0; right:0; padding:14px 16px; background:linear-gradient(transparent,rgba(10,28,56,.85)); color:#fff; }
.lab-cap strong { display:block; font-size:14px; font-weight:600; }
.lab-cap span { font-size:12px; opacity:.8; }
.lab-item:not(.lab-featured) .lab-cap { padding:8px 12px; }
.lab-item:not(.lab-featured) .lab-cap strong { font-size:12px; }

/* Tablet */
@media (min-width:769px) and (max-width:1024px) {
  .lab-gallery { grid-template-columns:repeat(3,1fr); grid-auto-rows:180px; }
  .lab-item.lab-featured { grid-column:span 2; grid-row:span 2; }
}
/* Phone */
@media (max-width:768px) {
  .lab-gallery { grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; gap:10px; }
  .lab-item.lab-featured { grid-column:span 2; grid-row:span 1; }
}
