/* Retinotech — styles */

:root {
  --navy: #0a2540;
  --navy-light: #1a3a5c;
  --teal: #2dd4bf;
  --teal-dark: #14b8a6;
  --teal-glow: rgba(45, 212, 191, 0.25);
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --refer: #f59e0b;
  --refer-bg: rgba(245, 158, 11, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 37, 64, 0.15);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }

.container {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}

.narrow { max-width: 720px; margin-inline: auto; }

/* Typography */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }

h1 em, .page-hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-dark);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

.eyebrow-light { color: var(--teal); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-header p { color: var(--gray-600); margin-top: 0.75rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo:hover { color: var(--navy); }

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 2.5px solid var(--teal);
  border-radius: 50%;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active { color: var(--navy); }

.site-nav a.active:not(.btn) {
  position: relative;
}

.site-nav a.active:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-sm { padding: 0.5rem 1.125rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--teal-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.link-arrow {
  font-weight: 600;
  color: var(--teal-dark);
}

.link-arrow:hover { color: var(--teal); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, #ecfdf5 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  pointer-events: none;
}

.hero-content { padding-left: max(24px, calc((100vw - 1140px) / 2 + 24px)); }

.hero-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 1.25rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Fundus visual */
.hero-visual {
  padding-right: max(24px, calc((100vw - 1140px) / 2 + 24px));
}

.fundus-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.fundus-card:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.fundus-image {
  position: relative;
  height: 280px;
  background:
    radial-gradient(ellipse 35% 35% at 55% 45%, #c0392b 0%, transparent 70%),
    radial-gradient(ellipse 80% 80% at 50% 50%, #e67e22 0%, #d35400 30%, #922b21 60%, #641e16 100%);
  overflow: hidden;
}

.fundus-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,0.4) 100%);
  border-radius: 50%;
  transform: scale(1.1);
}

.fundus-image::after {
  content: '';
  position: absolute;
  top: 42%;
  left: 48%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #f5cba7 0%, #e8b88a 40%, transparent 70%);
  border-radius: 50%;
  opacity: 0.9;
}

.heatmap-overlay {
  position: absolute;
  top: 38%;
  left: 44%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.7) 0%, rgba(245, 158, 11, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  animation: pulse-heat 2s ease-in-out infinite;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scan 3s linear infinite;
  opacity: 0.8;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

@keyframes pulse-heat {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.fundus-result {
  padding: 1.25rem 1.5rem;
  background: var(--gray-50);
}

.result-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.result-tag.refer {
  background: var(--refer-bg);
  color: #b45309;
}

.fundus-result p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.confidence {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Trust bar */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--navy);
  overflow: hidden;
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-logos span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

/* Sections */
.section { padding: 5rem 0; }
.section-muted { background: var(--gray-50); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, 0.85); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.7); }

.section-accent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.section-accent h2 { color: var(--white); }
.section-accent p { color: rgba(255, 255, 255, 0.75); }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

.feature-card p { font-size: 0.9375rem; color: var(--gray-600); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  color: var(--gray-600);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.section-dark .check-list li { color: rgba(255, 255, 255, 0.75); }
.section-dark .check-list li::before { color: var(--teal); }

.check-list.compact { margin: 0.75rem 0 0; }
.check-list.compact li { font-size: 0.875rem; margin-bottom: 0.375rem; }

/* Cert grid */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cert-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cert-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.cert-card strong { color: var(--white); font-size: 1.125rem; }
.cert-card span:last-child { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}

.testimonial p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial footer strong {
  display: block;
  color: var(--navy);
  font-style: normal;
  font-size: 0.9375rem;
}

.testimonial footer span {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* CTA banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p { margin-top: 1rem; font-size: 0.875rem; }
.footer-brand .logo { color: var(--white); margin-bottom: 0; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.875rem; }
.site-footer a { color: rgba(255, 255, 255, 0.6); }
.site-footer a:hover { color: var(--teal); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  text-align: center;
}

.footer-bottom p + p { margin-top: 0.25rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.page-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-top: 1rem;
}

.version {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--gray-400);
  vertical-align: super;
}

/* Product page */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.product-main p { color: var(--gray-600); margin-bottom: 1rem; }
.product-main h2 { margin-top: 2.5rem; }

.info-box {
  padding: 1.25rem 1.5rem;
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.info-box.warning {
  background: #fffbeb;
  border-color: var(--refer);
}

.workflow-steps {
  list-style: none;
  counter-reset: step;
  margin: 1.5rem 0;
}

.workflow-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  margin-bottom: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  counter-increment: step;
}

.workflow-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.workflow-steps span { font-size: 0.875rem; color: var(--gray-600); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.spec-table th {
  width: 35%;
  color: var(--gray-600);
  font-weight: 500;
}

.sidebar-card {
  padding: 1.5rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.sidebar-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.sidebar-card dl { display: grid; gap: 0.75rem; }
.sidebar-card dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); }
.sidebar-card dd { font-weight: 600; color: var(--navy); margin-left: 0; }

.sidebar-card.highlight {
  background: linear-gradient(135deg, #ecfdf5, var(--gray-50));
  border-color: var(--teal);
}

/* Compare table */
.compare-table-wrap { overflow-x: auto; margin-top: 1.5rem; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.compare-table thead th {
  background: var(--navy);
  color: var(--white);
}

.compare-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }

.compare-table .yes { color: #059669; font-weight: 600; }
.compare-table .no { color: #dc2626; }
.compare-table .partial { color: var(--gray-400); }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.375rem;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
  transform: translateX(-5px);
  box-shadow: 0 0 0 4px var(--white);
}

.timeline-year {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.timeline-item p { color: var(--gray-600); font-size: 0.9375rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: hsl(var(--hue, 195), 45%, 85%);
  color: hsl(var(--hue, 195), 45%, 30%);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.team-role {
  display: block;
  font-size: 0.8125rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p { font-size: 0.875rem; color: var(--gray-600); }

.company-address {
  font-style: normal;
  line-height: 1.8;
  margin: 1rem 0;
}

.company-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
  font-size: 0.9375rem;
}

.company-details dt { color: var(--gray-400); font-weight: 500; }
.company-details dd { color: var(--navy); font-weight: 600; margin: 0; }

.map-placeholder {
  height: 320px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid var(--gray-200);
  color: var(--gray-400);
  font-weight: 500;
}

.map-pin {
  width: 24px;
  height: 24px;
  background: var(--teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px var(--teal-glow);
}

/* Jobs */
.jobs-list { display: flex; flex-direction: column; gap: 0.75rem; }

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  transition: all var(--transition);
}

.job-card:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateX(4px);
}

.job-card strong { display: block; margin-bottom: 0.25rem; }
.job-card span { font-size: 0.8125rem; opacity: 0.6; }

/* Evidence page */
.metrics-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-block {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.metric-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-desc {
  font-size: 0.8125rem;
  color: var(--gray-600);
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.award-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.award-icon { font-size: 1.5rem; display: block; margin-bottom: 0.75rem; }
.award-card strong { display: block; color: var(--white); margin-bottom: 0.25rem; font-size: 0.9375rem; }
.award-card span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc2626;
}

.checkbox-group { margin-bottom: 1.5rem; }

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--gray-600);
  cursor: pointer;
}

.checkbox-label input { width: auto; margin-top: 3px; flex-shrink: 0; }

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

.contact-sidebar address { font-style: normal; font-size: 0.9375rem; line-height: 1.7; }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  animation: slide-in 0.4s ease;
  max-width: 360px;
}

.toast-icon {
  width: 28px;
  height: 28px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.toast p { font-size: 0.875rem; opacity: 0.8; margin-top: 0.125rem; }

@keyframes slide-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Modal */
.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: var(--navy); }

.modal-content h2 { margin-bottom: 1rem; }
.modal-content p { font-size: 0.9375rem; color: var(--gray-600); margin-bottom: 0.75rem; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-content,
  .hero-visual {
    padding-inline: 24px;
  }

  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }

  .split,
  .product-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .metrics-banner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cert-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(1140px, 100% - 32px); }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-stats { flex-direction: column; gap: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .metrics-banner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}
