/* Design tokens — Rasa NordVi luxury medical brand */
:root {
  --nv-primary: #E11D48;
  --nv-primary-dark: #BE123C;
  --nv-primary-deep: #9F1239;
  --nv-primary-light: #FB7185;
  --nv-primary-soft: rgba(225, 29, 72, 0.1);
  --nv-primary-muted: rgba(225, 29, 72, 0.06);

  --nv-ink: #0F172A;
  --nv-ink-deep: #0B1220;
  --nv-muted: #64748B;
  --nv-muted-2: #94A3B8;

  --nv-surface: #FFFFFF;
  --nv-surface-warm: #FFFBFA;
  --nv-surface-alt: #F8F6F4;
  --nv-surface-rose: #FFF1F2;
  --nv-border: rgba(15, 23, 42, 0.07);
  --nv-border-rose: rgba(225, 29, 72, 0.12);

  --nv-danger: #E11D48;
  --nv-danger-soft: rgba(225, 29, 72, 0.1);
  --nv-gold: #D4A853;

  --nv-pastel-mint: #FFF1F2;
  --nv-pastel-peach: #FFEDD5;
  --nv-pastel-lilac: #FFE4E6;
  --nv-pastel-sky: #FFF5F5;
  --nv-pastel-rose: #FCE7F3;

  --nv-grad-stats: linear-gradient(145deg, #9F1239 0%, #BE123C 40%, #E11D48 72%, #FB7185 100%);
  --nv-grad-cta: linear-gradient(135deg, #0B1220 0%, #1a0a12 45%, #7F1D1D 100%);
  --nv-grad-newsletter: linear-gradient(
    135deg,
    #7F1D1D 0%,
    #BE123C 48%,
    #9F1239 100%
  );
  --nv-grad-footer-band: linear-gradient(120deg, #0B1220 0%, #9F1239 52%, #E11D48 100%);
  --nv-grad-icon-tile: linear-gradient(160deg, #FFF5F5 0%, #FFE4E6 50%, #FFF1F2 100%);
  --nv-grad-hero: radial-gradient(circle at 18% 15%, rgba(225, 29, 72, 0.1), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(251, 113, 133, 0.08), transparent 38%),
    radial-gradient(circle at 70% 85%, rgba(225, 29, 72, 0.05), transparent 42%);

  --nv-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --nv-font-display: "Instrument Serif", Georgia, "Times New Roman", serif;

  --nv-radius-sm: 12px;
  --nv-radius-md: 16px;
  --nv-radius-lg: 24px;
  --nv-radius-xl: 32px;
  --nv-radius-pill: 999px;

  --nv-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.04);
  --nv-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  --nv-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.08);
  --nv-shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.1);
  --nv-shadow-glow: 0 6px 20px rgba(225, 29, 72, 0.22);
  --nv-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);

  --nv-space-1: 4px;
  --nv-space-2: 8px;
  --nv-space-3: 12px;
  --nv-space-4: 16px;
  --nv-space-5: 24px;
  --nv-space-6: 32px;
  --nv-space-7: 48px;
  --nv-space-8: 64px;
  --nv-space-9: 96px;
  --nv-space-10: 120px;

  --nv-container: 1200px;
  --nv-container-wide: 1440px;

  --nv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nv-duration: 280ms;
  --nv-header-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.rasa-nordvi {
  margin: 0;
  font-family: var(--nv-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nv-ink);
  background: var(--nv-surface-warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.nv-skip-link {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: var(--nv-primary);
  color: #fff;
  z-index: 10000;
}

.nv-skip-link:focus {
  position: fixed;
  top: 16px;
  inset-inline-start: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 16px;
  clip: auto;
  overflow: visible;
  border-radius: 8px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nv-container {
  width: min(100% - 40px, var(--nv-container));
  margin-inline: auto;
}

.nv-container--wide {
  width: min(100% - 40px, var(--nv-container-wide));
}

.nv-section {
  padding: var(--nv-space-9) 0;
}

.nv-section--alt {
  background: var(--nv-surface-alt);
}

.nv-muted {
  color: var(--nv-muted);
}

h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1, h2 {
  font-family: var(--nv-font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.35rem, 4.5vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-family: var(--nv-font); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
