/* ============================================================
   PANTHER FORENSIC — Design System
   Corporate, clear, trustworthy
   ============================================================ */

/* ------- Design Tokens ------- */
:root {
  /* Brand colors */
  --panther-teal:        #157A90;   /* Primary brand color (panther) */
  --panther-teal-dark:   #0E5A6B;   /* Hover / active */
  --panther-teal-light:  #1E9AB3;   /* Accent variations */
  --panther-teal-50:     #E7F2F5;   /* Tinted backgrounds */
  --panther-teal-10:     #F4FAFB;   /* Very subtle teal-tinted bg */

  /* Neutrals */
  --navy:                #0A1428;   /* Headers, footers (carry-over from brochure) */
  --navy-soft:           #1A2D4E;
  --slate-900:           #0F172A;
  --slate-700:           #334155;
  --slate-600:           #475569;
  --slate-500:           #64748B;
  --slate-400:           #94A3B8;
  --slate-300:           #CBD5E1;
  --slate-200:           #E2E8F0;
  --slate-100:           #F1F5F9;
  --slate-50:            #F8FAFC;
  --white:               #FFFFFF;

  /* Semantic */
  --color-text:          var(--slate-900);
  --color-text-muted:    var(--slate-600);
  --color-text-subtle:   var(--slate-500);
  --color-bg:            var(--white);
  --color-bg-alt:        var(--slate-50);
  --color-bg-tinted:     var(--panther-teal-10);
  --color-border:        var(--slate-200);
  --color-border-strong: var(--slate-300);
  --color-primary:       var(--panther-teal);
  --color-primary-hover: var(--panther-teal-dark);

  /* Accent (use sparingly, for CTAs and highlights) */
  --accent-amber:        #E8B339;
  --accent-amber-dark:   #B88A1D;

  /* Status colors (for future use) */
  --color-success:       #10B981;
  --color-warning:       #F59E0B;
  --color-error:         #DC2626;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", sans-serif;
  --font-display: "Inter", var(--font-sans);
  --font-mono: "JetBrains Mono", "SF Mono", Monaco, Menlo, Consolas, monospace;

  /* Font sizes (modular scale) */
  --fs-xs:   0.75rem;     /* 12px */
  --fs-sm:   0.875rem;    /* 14px */
  --fs-base: 1rem;        /* 16px */
  --fs-md:   1.125rem;    /* 18px */
  --fs-lg:   1.25rem;     /* 20px */
  --fs-xl:   1.5rem;      /* 24px */
  --fs-2xl:  1.875rem;    /* 30px */
  --fs-3xl:  2.25rem;     /* 36px */
  --fs-4xl:  3rem;        /* 48px */
  --fs-5xl:  3.75rem;     /* 60px */
  --fs-6xl:  4.5rem;      /* 72px */

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm:  0.25rem;
  --radius:     0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:    0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 880px;
  --container-wide: 1400px;
  --gutter: var(--space-6);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;

  /* Header */
  --header-height: 88px;

  /* Z-index */
  --z-header: 100;
  --z-modal: 200;
  --z-tooltip: 300;
}

/* ------- Reset ------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--duration-fast) var(--ease); }
a:hover { color: var(--color-primary-hover); }
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ------- Typography ------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
h1 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl)); letter-spacing: -0.03em; }
h2 { font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl)); letter-spacing: -0.025em; }
h3 { font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p { color: var(--color-text-muted); line-height: 1.65; }
.lead { font-size: var(--fs-lg); color: var(--color-text-muted); line-height: 1.55; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ------- Layout ------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }
.container-wide   { max-width: var(--container-wide); }

.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }
.section-lg { padding: var(--space-32) 0; }
.section-tinted { background: var(--color-bg-tinted); }
.section-alt    { background: var(--color-bg-alt); }
.section-dark   { background: var(--navy); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-dark .eyebrow { color: var(--accent-amber); }

/* ------- Grid utilities ------- */
.grid { display: grid; gap: var(--space-8); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--white);
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  background: var(--panther-teal-10);
}
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
}
.btn-ghost:hover {
  background: var(--panther-teal-10);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--slate-700);
  color: var(--white);
}
.btn-lg { padding: 1rem 2rem; font-size: var(--fs-md); }
.btn-sm { padding: 0.625rem 1.25rem; font-size: var(--fs-sm); }
.btn-icon::after {
  content: "→";
  transition: transform var(--duration-fast) var(--ease);
  display: inline-block;
}
.btn-icon:hover::after { transform: translateX(3px); }

/* ------- Cards ------- */
.card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration) var(--ease);
}
.card:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-flat {
  background: var(--color-bg-alt);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.card-flat:hover { transform: none; box-shadow: none; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.card p { font-size: var(--fs-sm); line-height: 1.6; }

/* ------- Header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.brand img {
  height: 70px;
  width: auto;
  padding-left: 100px;
  padding-top: 10px;
}
.brand-name { display: none; }  /* Logo SVG already includes wordmark */

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: flex-end;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
}
.nav-list a {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius);
  transition: all var(--duration-fast) var(--ease);
}
.nav-list a:hover {
  color: var(--color-primary);
  background: var(--panther-teal-10);
}
.nav-list a.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Dropdown for Productos */
.nav-item-dropdown { position: relative; }
.nav-dropdown-trigger::after {
  content: "▾";
  display: inline-block;
  margin-left: var(--space-1);
  font-size: 0.65em;
  transform: translateY(-1px);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) var(--ease);
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  text-align: left;
}
.nav-dropdown a strong { color: var(--slate-900); font-size: var(--fs-sm); font-weight: 600; }
.nav-dropdown a span { color: var(--slate-500); font-size: var(--fs-xs); font-weight: 400; }
.nav-dropdown a:hover { background: var(--panther-teal-10); }
.nav-dropdown a:hover strong { color: var(--color-primary); }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--slate-100);
  border-radius: var(--radius);
  margin-left: var(--space-2);
}
.lang-switch a {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate-500);
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}
.lang-switch a:hover { color: var(--slate-900); }
.lang-switch a.is-active {
  background: var(--white);
  color: var(--slate-900);
  box-shadow: var(--shadow-xs);
}

.nav-cta { margin-left: var(--space-3); }

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--slate-700);
  position: relative;
  transition: all var(--duration-fast) var(--ease);
}
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--slate-700);
  transition: all var(--duration-fast) var(--ease);
}
.mobile-toggle span::before { top: -6px; }
.mobile-toggle span::after  { top: 6px; }
.mobile-toggle.is-open span { background: transparent; }
.mobile-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ------- Hero ------- */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  background:
    radial-gradient(ellipse at top right, rgba(21, 122, 144, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(21, 122, 144, 0.04) 0%, transparent 50%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-16);
}
.hero-content .eyebrow { margin-bottom: var(--space-4); }
.hero h1 { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: var(--space-8); max-width: 540px; }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
/* Decorative grid behind hero visual */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(var(--slate-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--slate-200) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
  opacity: 0.6;
  z-index: 0;
}
.hero-visual-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--panther-teal-10) 0%, var(--white) 60%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-12);
}
.hero-visual-inner img { width: 70%; height: auto; }

/* Variant: hero visual containing a photograph (fills the card) */
.hero-visual-inner.has-photo {
  padding: 0;
  overflow: hidden;
  background: var(--slate-100);
}
.hero-visual-inner.has-photo picture,
.hero-visual-inner.has-photo img {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-visual-inner.has-photo img {
  object-fit: cover;
  object-position: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.hero-stat .num {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.hero-stat .label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ------- Section header ------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}
.section-header .eyebrow { margin-bottom: var(--space-3); }
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p { font-size: var(--fs-md); }

/* ------- Product cards (home) ------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--space-8);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}
.product-card:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.product-card-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  padding: var(--space-2);
}
.product-card-logo img,
.product-card-logo svg { max-width: 100%; height: auto; }
.product-card h3 { margin-bottom: 0; font-size: var(--fs-xl); }
.product-card-tagline {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.product-card p { font-size: var(--fs-base); margin-bottom: var(--space-6); flex-grow: 1; }
.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  display: grid;
  gap: var(--space-2);
}
.product-card-features li {
  font-size: var(--fs-sm);
  color: var(--slate-700);
  padding-left: var(--space-6);
  position: relative;
}
.product-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
}

/* ------- Feature grid (Why us) ------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-8);
}
.feature {
  text-align: center;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.feature-icon svg { width: 48px; height: 48px; }
.feature h3 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.feature p { font-size: var(--fs-sm); }

/* ------- CTA banner ------- */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-16);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(21, 122, 144, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-4); }
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-md);
  max-width: 580px;
  margin: 0 auto var(--space-8);
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--navy);
}
.cta-banner .btn-primary:hover {
  background: var(--panther-teal-50);
  color: var(--navy);
}
.cta-banner .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ------- Footer ------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-20) 0 var(--space-8);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}
.footer-brand img { height: 56px; margin-bottom: var(--space-4); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: var(--fs-sm); max-width: 280px; }
.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-sm);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p { color: rgba(255, 255, 255, 0.5); font-size: var(--fs-xs); margin: 0; }
.footer-legal-links { display: flex; gap: var(--space-6); }
.footer-legal-links a { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); }
.footer-legal-links a:hover { color: var(--white); }

/* ------- Responsive ------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-8);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin: 0 auto; max-width: 380px; }
}

@media (max-width: 768px) {
  :root { --gutter: 1rem; }
  .section { padding: var(--space-16) 0; }
  .section-lg { padding: var(--space-20) 0; }

  .mobile-toggle { display: flex; }

  /* Disable backdrop-filter on mobile: it creates a containing block that
     traps the position:fixed mobile nav inside the 88px header box. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
  }

  .primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-6);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    z-index: calc(var(--z-header) - 1);
  }
  .primary-nav.is-open { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: var(--space-4);
    font-size: var(--fs-base);
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-4);
    background: var(--color-bg-alt);
    margin-top: var(--space-2);
  }
  .lang-switch {
    align-self: center;
    margin-top: var(--space-4);
    margin-left: 0;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-4);
    align-self: stretch;
  }
  .nav-cta .btn { width: 100%; }

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

  .cta-banner { padding: var(--space-10) var(--space-6); }
  .cta-banner .btn { width: 100%; max-width: 320px; margin: 0 auto; }

  .hero { padding: var(--space-16) 0 var(--space-12); }
  .hero-stats { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 480px) {
  .product-card { padding: var(--space-6); }
  .card { padding: var(--space-6); }
}

/* ------- Animations ------- */
@media (prefers-reduced-motion: no-preference) {
  /* fade-in only applies when JS has marked the document as ready;
     this prevents content from being invisible if JS fails to load */
  html.js-ready .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  html.js-ready .fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------- Utilities ------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.no-margin { margin: 0; }

/* ============================================================
   PRODUCT PAGE COMPONENTS
   ============================================================ */

/* ------- Product hero ------- */
.product-hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-12);
  background:
    radial-gradient(ellipse at top right, rgba(21, 122, 144, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--panther-teal-10) 0%, var(--white) 100%);
  overflow: hidden;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.product-hero-content .eyebrow { margin-bottom: var(--space-4); }
.product-hero-content h1 { margin-bottom: var(--space-5); }
.product-hero-content .lead { margin-bottom: var(--space-8); max-width: 540px; }
.product-hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.product-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin-left: auto;
}
.product-hero-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-12);
}
.product-hero-visual-inner img { width: 80%; height: auto; }

/* Variant: product hero containing a photograph (fills the card) */
.product-hero-visual-inner.has-photo {
  padding: 0;
  overflow: hidden;
  background: var(--slate-100);
}
.product-hero-visual-inner.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ------- Trust bar ------- */
.trust-bar {
  margin-top: var(--space-12);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item-text {
  font-size: var(--fs-sm);
  color: var(--slate-700);
  line-height: 1.35;
}
.trust-item-text strong {
  color: var(--slate-900);
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.trust-item-text span {
  font-size: var(--fs-xs);
  color: var(--slate-500);
}

/* ------- Capability cards (the 6 main capabilities) ------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.capability {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.capability:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.capability::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.capability:hover::before { opacity: 1; }
.capability-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.capability-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--panther-teal-50) 0%, var(--panther-teal-10) 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.capability-icon svg { width: 26px; height: 26px; }
.capability h3 {
  font-size: var(--fs-lg);
  margin: 0;
  letter-spacing: -0.015em;
}
.capability p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}
.capability-list li {
  font-size: var(--fs-xs);
  color: var(--slate-700);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.45;
}
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ------- Use case chips ------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.usecase {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--duration-fast) var(--ease);
}
.usecase:hover {
  border-color: var(--panther-teal-light);
  background: var(--panther-teal-10);
}
.usecase-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.usecase-icon svg { width: 18px; height: 18px; }
.usecase-text {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate-800);
  line-height: 1.3;
}

/* ------- Two-column feature (alternating) ------- */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
}
.split-feature:last-child { margin-bottom: 0; }
.split-feature.reverse { direction: rtl; }
.split-feature.reverse > * { direction: ltr; }
.split-feature h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}
.split-feature .eyebrow { margin-bottom: var(--space-3); }
.split-feature p { font-size: var(--fs-md); margin-bottom: var(--space-6); }
.split-feature ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.split-feature ul li {
  font-size: var(--fs-sm);
  color: var(--slate-700);
  padding-left: var(--space-7);
  position: relative;
  line-height: 1.55;
}
.split-feature ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--panther-teal-50);
  color: var(--color-primary);
}
.split-feature ul li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
}
.split-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--panther-teal-50) 0%, var(--panther-teal-10) 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.split-visual .placeholder-label {
  font-size: var(--fs-xs);
  color: var(--slate-500);
  font-style: italic;
  text-align: center;
  letter-spacing: 0.04em;
}
.split-visual img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ------- Standards / institutional pills ------- */
.standards-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.standard-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate-800);
  letter-spacing: 0.02em;
}
.standard-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ------- Comparison table ------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--white);
}
.compare-table thead th {
  background: var(--slate-50);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--slate-900);
  border-bottom: 1px solid var(--color-border);
}
.compare-table thead th.product {
  background: var(--panther-teal-10);
  color: var(--color-primary);
}
.compare-table thead th.competitor {
  background: var(--slate-100);
  color: var(--slate-600);
}
.compare-table tbody td {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--slate-100);
  font-size: var(--fs-sm);
  color: var(--slate-700);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .feat-name {
  font-weight: 600;
  color: var(--slate-900);
  width: 35%;
}
.compare-table .cell-yes,
.compare-table .cell-no {
  width: 32.5%;
}
.compare-table .check {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
}
.compare-table .cross {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--slate-400);
}

/* ------- Reports / output showcase ------- */
.report-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.report-features {
  display: grid;
  gap: var(--space-5);
}
.report-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.report-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.report-feature-icon svg { width: 22px; height: 22px; }
.report-feature h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-1);
  color: var(--slate-900);
}
.report-feature p { font-size: var(--fs-sm); margin: 0; }

/* ------- Responsive overrides for product page ------- */
@media (max-width: 1024px) {
  .product-hero-grid,
  .split-feature,
  .report-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: left;
  }
  .product-hero-visual { margin: 0 auto; max-width: 320px; }
  .product-hero-content .lead { margin-left: 0; margin-right: 0; }
  .split-feature.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .compare-table thead th,
  .compare-table tbody td {
    padding: var(--space-3) var(--space-4);
    font-size: var(--fs-xs);
  }
  .product-hero { padding: var(--space-12) 0 var(--space-8); }
  .split-feature h2 { font-size: var(--fs-2xl); }
}

/* ============================================================
   COMPANY PAGE COMPONENTS
   ============================================================ */

/* ------- Company hero (different from product hero — quieter) ------- */
.company-hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-16);
  background:
    linear-gradient(180deg, var(--panther-teal-10) 0%, var(--white) 100%);
  text-align: center;
}
.company-hero .eyebrow { margin-bottom: var(--space-4); }
.company-hero h1 {
  max-width: 860px;
  margin: 0 auto var(--space-6);
}
.company-hero .lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--fs-md);
  line-height: 1.65;
}

/* Variant: company hero with photo (grid layout) */
.company-hero:has(.company-hero-grid) {
  text-align: left;
}
.company-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.company-hero-content h1 {
  max-width: 580px;
  margin: 0 0 var(--space-6);
}
.company-hero-content .lead {
  max-width: 560px;
  margin: 0;
}
.company-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: var(--slate-100);
}
.company-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .company-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .company-hero-content h1,
  .company-hero-content .lead {
    max-width: none;
  }
  .company-hero-visual {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ------- Origin / narrative block ------- */
.narrative-block {
  max-width: 760px;
  margin: 0 auto;
}
.narrative-block .eyebrow {
  display: block;
  margin-bottom: var(--space-4);
  text-align: center;
}
.narrative-block h2 {
  text-align: center;
  margin-bottom: var(--space-10);
  letter-spacing: -0.025em;
}
.narrative-block p {
  font-size: var(--fs-md);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  color: var(--slate-700);
}
.narrative-block p:last-child { margin-bottom: 0; }
.narrative-block p strong {
  color: var(--slate-900);
  font-weight: 600;
}

/* Big decorative quote mark for narrative */
.narrative-block::before {
  content: "“";
  display: block;
  font-family: 'Inter', serif;
  font-size: 8rem;
  line-height: 0.7;
  color: var(--panther-teal-light);
  text-align: center;
  opacity: 0.25;
  margin-bottom: var(--space-6);
  font-weight: 800;
}

/* ------- Principles grid (numbered) ------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.principle {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: all var(--duration) var(--ease);
}
.principle:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.principle-number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 0.9;
  color: var(--panther-teal-50);
  user-select: none;
  letter-spacing: -0.05em;
}
.principle h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
  letter-spacing: -0.015em;
  max-width: 80%;
  position: relative;
}
.principle p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* ------- Approach (narrative + numbered points) ------- */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.approach-narrative p {
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  color: var(--slate-700);
}
.approach-narrative p:last-child { margin-bottom: 0; }
.approach-narrative p strong {
  color: var(--slate-900);
  font-weight: 600;
}

/* ------- Products quick links on company page ------- */
.products-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.product-quick {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
}
.product-quick:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  color: inherit;
  transform: translateY(-2px);
}
.product-quick-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
}
.product-quick-logo img,
.product-quick-logo svg {
  max-width: 100%;
  height: auto;
}
.product-quick-info h4 {
  margin: 0 0 var(--space-1);
  font-size: var(--fs-lg);
  color: var(--slate-900);
}
.product-quick-info p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ------- Location card ------- */
.location-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.location-card .location-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.location-card .location-icon svg { width: 28px; height: 28px; }
.location-card h2 {
  margin-bottom: var(--space-4);
  font-size: var(--fs-2xl);
}
.location-card p {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.location-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* ------- Responsive company page ------- */
@media (max-width: 1024px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .products-quick {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .company-hero { padding: var(--space-16) 0 var(--space-12); }
  .narrative-block p { font-size: var(--fs-base); }
  .narrative-block::before { font-size: 5rem; }
  .principle-number { font-size: var(--fs-4xl); }
  .principle h3 { max-width: 100%; padding-right: var(--space-12); }
  .location-card { padding: var(--space-8); }
}

/* ============================================================
   CONTACT PAGE COMPONENTS
   ============================================================ */

.contact-hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-12);
  background: linear-gradient(180deg, var(--panther-teal-10) 0%, var(--white) 100%);
  text-align: center;
}
.contact-hero .eyebrow { margin-bottom: var(--space-4); }
.contact-hero h1 {
  max-width: 760px;
  margin: 0 auto var(--space-5);
}
.contact-hero .lead {
  max-width: 640px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
}
.contact-info h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-6);
}
.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-text h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 2px;
}
.contact-info-text p {
  font-size: var(--fs-sm);
  color: var(--slate-600);
  margin: 0;
  line-height: 1.5;
}
.contact-info-text a {
  font-size: var(--fs-sm);
  color: var(--color-primary);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: var(--space-5); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: var(--space-2);
}
.form-label .req {
  color: var(--color-error);
  margin-left: 2px;
}
.form-input,
.form-textarea,
.form-select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  color: var(--slate-900);
  background: var(--white);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
  font-family: inherit;
}
.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(21, 122, 144, 0.12);
}
.form-input.is-error,
.form-textarea.is-error,
.form-select.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}
.form-help {
  font-size: var(--fs-xs);
  color: var(--slate-500);
  margin-top: var(--space-1);
}
.form-error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
  display: none;
}
.form-error.is-visible { display: block; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--slate-50);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.form-consent label {
  font-size: var(--fs-xs);
  color: var(--slate-600);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent label a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit { width: 100%; }
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-recaptcha-notice {
  font-size: 0.7rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: var(--space-4);
  line-height: 1.45;
}
.form-recaptcha-notice a {
  color: var(--slate-500);
  text-decoration: underline;
}

.form-status {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  text-align: center;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-status.is-error {
  background: rgba(220, 38, 38, 0.06);
  color: var(--color-error);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* Hide reCAPTCHA badge in corner (we show our own notice) */
.grecaptcha-badge { visibility: hidden !important; }

/* Thank-you page */
.ty-block {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-16) var(--space-4);
}
.ty-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--panther-teal-50);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}
.ty-icon svg { width: 36px; height: 36px; }
.ty-block h1 { margin-bottom: var(--space-4); }
.ty-block p {
  font-size: var(--fs-md);
  margin-bottom: var(--space-8);
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact-info { position: static; }
}
@media (max-width: 768px) {
  .contact-form { padding: var(--space-6); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   LEGAL DOCUMENT PAGES
   ============================================================ */

.legal-page {
  padding: var(--space-16) 0 var(--space-20);
  background: var(--white);
}
.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.legal-draft-banner {
  background: rgba(232, 179, 57, 0.10);
  border: 1px solid rgba(232, 179, 57, 0.45);
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-10);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.legal-draft-banner-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent-amber-dark);
}
.legal-draft-banner-icon svg { width: 100%; height: 100%; }
.legal-draft-banner-text {
  font-size: var(--fs-sm);
  color: #8a6914;
  line-height: 1.55;
  margin: 0;
}
.legal-draft-banner-text strong {
  color: #5d4708;
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.legal-header {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}
.legal-header .eyebrow { margin-bottom: var(--space-3); }
.legal-header h1 {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  margin-bottom: var(--space-5);
  letter-spacing: -0.025em;
}
.legal-meta {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--slate-500);
}
.legal-meta strong {
  color: var(--slate-700);
  font-weight: 600;
}

.legal-content {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--slate-700);
}
.legal-content h2 {
  font-size: var(--fs-xl);
  color: var(--slate-900);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: var(--fs-md);
  color: var(--slate-900);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.legal-content p {
  margin-bottom: var(--space-4);
  color: var(--slate-700);
}
.legal-content p strong { color: var(--slate-900); }
.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}
.legal-content li {
  margin-bottom: var(--space-2);
  color: var(--slate-700);
  line-height: 1.7;
}
.legal-content li strong { color: var(--slate-900); }
.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--color-primary-hover); }

/* Definition list (used for "Datos recabados", etc.) */
.legal-content dl {
  margin-bottom: var(--space-5);
  background: var(--slate-50);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
}
.legal-content dt {
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: var(--space-1);
}
.legal-content dd {
  margin-left: 0;
  margin-bottom: var(--space-3);
  color: var(--slate-700);
}
.legal-content dd:last-child { margin-bottom: 0; }

/* Highlight box for on-premise declaration */
.legal-highlight {
  background: linear-gradient(135deg, var(--panther-teal-10) 0%, var(--white) 100%);
  border: 1px solid var(--panther-teal-light);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-7);
  margin: var(--space-8) 0;
}
.legal-highlight h3 {
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-size: var(--fs-md);
  font-weight: 700;
}
.legal-highlight p {
  margin-bottom: 0;
  color: var(--slate-800);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* Placeholder marker (visual highlight for [PLACEHOLDERS]) */
.legal-content .placeholder {
  background: rgba(232, 179, 57, 0.15);
  color: #8a6914;
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px dashed rgba(232, 179, 57, 0.6);
  font-weight: 600;
}

/* TOC sidebar on desktop */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-12);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  font-size: var(--fs-sm);
}
.legal-toc-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: var(--space-4);
}
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--color-border);
}
.legal-toc li { margin: 0; padding: 0; }
.legal-toc a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--slate-600);
  font-size: var(--fs-xs);
  line-height: 1.5;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all var(--duration-fast) var(--ease);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* ============================================================
   VERUMLIMS - WORKFLOW VISUAL + DISCIPLINES
   ============================================================ */

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-12);
  position: relative;
}
.workflow-step {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: all var(--duration) var(--ease);
}
.workflow-step:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.workflow-step-num {
  position: absolute;
  top: -12px;
  left: var(--space-6);
  background: var(--color-primary);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: 0 4px 8px rgba(21, 122, 144, 0.25);
}
.workflow-step h4 {
  margin: var(--space-4) 0 var(--space-2);
  font-size: var(--fs-base);
  color: var(--slate-900);
}
.workflow-step p {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Disciplines grid */
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}
.discipline-chip {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate-800);
  transition: all var(--duration-fast) var(--ease);
}
.discipline-chip:hover {
  border-color: var(--panther-teal-light);
  background: var(--panther-teal-10);
  color: var(--color-primary);
}
.discipline-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ISO compliance list */
.iso-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-5);
}
.iso-list li {
  font-size: var(--fs-sm);
  color: var(--slate-700);
  padding-left: var(--space-7);
  position: relative;
  line-height: 1.55;
}
.iso-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--panther-teal-50);
}
.iso-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
}

/* ============================================================
   USE CASES PAGE
   ============================================================ */

.case-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  margin-bottom: var(--space-6);
  transition: all var(--duration) var(--ease);
}
.case-card:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
}
.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.case-card .eyebrow {
  background: var(--panther-teal-50);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
}
.case-card h3 {
  font-size: var(--fs-xl);
  margin: 0;
  flex: 1;
  min-width: 60%;
}
.case-card-summary {
  font-size: var(--fs-md);
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.case-card-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.case-card-detail-block h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.case-card-detail-block p {
  font-size: var(--fs-sm);
  color: var(--slate-700);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .case-card { padding: var(--space-6); }
  .case-card-detail { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.resource-card:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.resource-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}
.resource-icon svg { width: 48px; height: 48px; }
.resource-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-1);
}
.resource-card-type {
  font-size: var(--fs-xs);
  color: var(--slate-500);
  font-family: var(--font-mono);
  margin-bottom: var(--space-4);
}
.resource-card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.resource-card .btn {
  align-self: center;
}
.resource-card.is-disabled .btn {
  background: var(--slate-200);
  color: var(--slate-500);
  cursor: not-allowed;
  pointer-events: none;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}
.compliance-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border-top: 4px solid var(--color-primary);
}
.compliance-card h4 {
  font-size: var(--fs-md);
  color: var(--slate-900);
  margin-bottom: var(--space-2);
}
.compliance-card p {
  font-size: var(--fs-sm);
  margin: 0;
}

/* ============================================================
   VALIDATION / ACCREDITATION SUPPORT SECTION
   (Used in product pages: IdenticoreADN, VerumLIMS)
   ============================================================ */

.validation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.validation-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration) var(--ease);
  position: relative;
}
.validation-card:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.validation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  background: var(--panther-teal-50);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.validation-icon svg {
  width: 48px;
  height: 48px;
}

.validation-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
  color: var(--slate-900);
}
.validation-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.validation-footnote {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--slate-500);
  font-style: italic;
  margin-top: var(--space-6);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */

.careers-hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-12);
  background: linear-gradient(180deg, var(--panther-teal-10) 0%, var(--white) 100%);
  text-align: center;
}
.careers-hero .eyebrow { margin-bottom: var(--space-4); }
.careers-hero h1 {
  max-width: 820px;
  margin: 0 auto var(--space-5);
}
.careers-hero .lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: var(--fs-md);
}

/* Profile cards (perfiles que buscamos) */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: all var(--duration) var(--ease);
}
.profile-card:hover {
  border-color: var(--panther-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.profile-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.profile-card-marker {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.profile-card p {
  font-size: var(--fs-sm);
  color: var(--slate-700);
  line-height: 1.65;
  margin: 0;
}

/* Process steps (cómo trabajamos juntos) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 0.9;
  color: var(--panther-teal-50);
  letter-spacing: -0.05em;
}
.process-step h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-2);
  color: var(--slate-900);
  max-width: 75%;
}
.process-step p {
  font-size: var(--fs-sm);
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

/* Application form */
.application-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}
.application-form h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-2);
  text-align: center;
}
.application-form > p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  text-align: center;
}

/* File upload custom styling */
.file-upload {
  position: relative;
}
.file-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.file-upload-display {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}
.file-upload-display:hover {
  border-color: var(--color-primary);
  background: var(--panther-teal-10);
}
.file-upload.has-file .file-upload-display {
  border-style: solid;
  border-color: var(--color-primary);
  background: var(--panther-teal-10);
}
.file-upload.is-error .file-upload-display {
  border-color: var(--color-error);
}
.file-upload-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}
.file-upload-icon svg { width: 100%; height: 100%; }
.file-upload-text {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--slate-700);
}
.file-upload-text strong {
  display: block;
  color: var(--slate-900);
  font-weight: 600;
  margin-bottom: 2px;
}
.file-upload-text span {
  font-size: var(--fs-xs);
  color: var(--slate-500);
}
.file-upload-clear {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-700);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.file-upload.has-file .file-upload-clear { display: inline-flex; }
.file-upload-clear:hover { background: var(--color-error); color: var(--white); }
.file-upload-clear svg { width: 14px; height: 14px; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

/* Banner is hidden by default; JS adds .is-visible when needed */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--color-border-strong);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  padding: var(--space-6) 0;
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease);
  visibility: hidden;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.cookie-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cookie-banner-text {
  font-size: var(--fs-sm);
  color: var(--slate-700);
  line-height: 1.55;
}
.cookie-banner-text h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-2);
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.cookie-banner-text h3::before {
  content: "🍪";
  font-size: var(--fs-lg);
}
.cookie-banner-text p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--slate-600);
  line-height: 1.6;
}
.cookie-banner-text a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner-actions .btn {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

/* Settings expanded view */
.cookie-banner-settings {
  display: none;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-5);
  padding-top: var(--space-6);
}
.cookie-banner.is-settings-open .cookie-banner-settings {
  display: block;
}
.cookie-banner.is-settings-open .cookie-banner-inner {
  align-items: flex-start;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}
.cookie-category:last-child { border-bottom: none; }

.cookie-category-info {
  flex: 1;
}
.cookie-category-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.cookie-category-required {
  font-size: var(--fs-xs);
  color: var(--color-primary);
  background: var(--panther-teal-50);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.cookie-category-desc {
  font-size: var(--fs-xs);
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--slate-300);
  border-radius: 24px;
  transition: background var(--duration-fast) var(--ease);
}
.cookie-toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-primary);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: var(--color-primary);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Cookie settings footer (Save preferences button) */
.cookie-settings-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .cookie-banner { padding: var(--space-4) 0; }
  .cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .cookie-banner-actions {
    justify-content: stretch;
    flex-direction: column-reverse;
  }
  .cookie-banner-actions .btn {
    width: 100%;
  }
  .cookie-category {
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
  }
  .cookie-settings-footer {
    flex-direction: column;
  }
  .cookie-settings-footer .btn {
    width: 100%;
  }
}
