/* =============================================================
   FIRST STAMPS — hospitals.yourfirststamps.com
   styles/main.css
   ============================================================= */

/* ----------------------------------------------------------------
   CUSTOM PROPERTIES
---------------------------------------------------------------- */
:root {
  /* Brand colours */
  --color-dark: #1C2A39;          /* First Stamps dark */
  --color-dark-hover: #253647;
  --color-accent: #2590BA;        /* First Stamps accent blue */
  --color-accent-dark: #1a7299;
  --color-accent-light: #4AAED0;
  --color-accent-glow: rgba(37, 144, 186, 0.2);

  /* Neutrals */
  --color-text: #1C2A39;
  --color-text-muted: #4d6070;
  --color-text-light: #7a90a4;
  --color-bg: #ffffff;
  --color-bg-section: #f4f7fa;
  --color-bg-dark: #1C2A39;
  --color-bg-mid: #243444;
  --color-border: #dde5ed;

  /* Typography */
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

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

  /* Layout */
  --container-max: 1200px;
  --bar-height: 36px;
  --nav-height: 68px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28, 42, 57, 0.06), 0 1px 2px rgba(28, 42, 57, 0.04);
  --shadow-md: 0 4px 16px rgba(28, 42, 57, 0.1), 0 2px 6px rgba(28, 42, 57, 0.05);
  --shadow-lg: 0 12px 40px rgba(28, 42, 57, 0.14), 0 4px 12px rgba(28, 42, 57, 0.07);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms var(--ease-in-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);
}

/* ----------------------------------------------------------------
   RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-height) + var(--nav-height));
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent-dark); }

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------------
   UTILITY
---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-24);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.section-label--light { color: var(--color-accent-light); }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   BUTTONS
   Dark bg  → btn--accent (filled) or btn--ghost / btn--outline-light
   Light bg → btn--dark (filled) or btn--outline-dark
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  /* Minimum tap target */
  min-height: 44px;
}

/* Filled accent — for use on dark backgrounds */
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}
.btn--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}

/* Filled dark — for use on light/white backgrounds */
.btn--dark {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}
.btn--dark:hover {
  background: var(--color-dark-hover);
  border-color: var(--color-dark-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outline dark — for use on light/white backgrounds */
.btn--outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn--outline-dark:hover {
  background: var(--color-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Ghost — transparent with white border, for use on dark backgrounds */
.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

/* Outline light — white outline, for use on dark backgrounds */
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
}

.btn--full { width: 100%; }

/* ----------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------- */
.shop-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--bar-height);
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-inline: var(--space-4);
}
.shop-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.shop-bar a:hover {
  opacity: 0.85;
}

.site-nav {
  position: fixed;
  top: var(--bar-height);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--space-8);
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.site-nav.scrolled {
  background: rgba(28, 42, 57, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 40px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  min-height: 36px;
  display: inline-flex !important;
  align-items: center;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}
.nav-cta:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--color-bg-dark);
  z-index: 200;
  padding: var(--space-16) var(--space-8);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.mobile-menu a {
  font-size: var(--text-xl);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  padding-block: var(--space-2);
}
.mobile-menu a:hover { color: var(--color-accent-light); }

.mobile-menu-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xl);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.mobile-menu-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--bar-height) + var(--nav-height));
  padding-inline: var(--space-6);
  padding-bottom: var(--space-16);
  overflow: hidden;
  background: var(--color-bg-dark);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 144, 186, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 144, 186, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37, 144, 186, 0.18) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: orb-float 14s ease-in-out infinite;
}
.hero-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 144, 186, 0.1) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orb-float 18s ease-in-out infinite reverse;
}
.hero-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74, 174, 208, 0.08) 0%, transparent 70%);
  top: 40%; right: 20%;
  animation: orb-float 11s ease-in-out infinite 2s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  width: 100%;
  padding-block: var(--space-8);
}

.hero-logo-wrap { margin-bottom: var(--space-6); }
.hero-logo {
  height: 80px;
  width: auto;
  margin-inline: auto;
}
.hero-logo-fallback {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  background: rgba(37, 144, 186, 0.14);
  border: 1px solid rgba(37, 144, 186, 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--space-5);
}
.hero-headline .accent { color: var(--color-accent-light); }

.hero-sub {
  font-size: clamp(var(--text-base), 2.5vw, var(--text-lg));
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-5) var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
  gap: var(--space-6);
}
.hero-stat { text-align: center; }
.hero-stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1.2;
  font-family: var(--font-display);
}
.hero-stat-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  margin-top: var(--space-1);
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.hero-scroll:hover { color: rgba(255, 255, 255, 0.65); }
.hero-scroll-icon {
  display: block;
  width: 20px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 10px;
  position: relative;
}
.hero-scroll-icon::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 5px;
  background: currentColor;
  border-radius: 3px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ----------------------------------------------------------------
   HOW IT WORKS
---------------------------------------------------------------- */
.how-it-works { background: var(--color-bg); }

.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: calc(-1 * var(--space-10) + var(--space-5));
  left: calc(72px / 2 + var(--space-8));
  width: 2px;
  height: var(--space-10);
  background: linear-gradient(var(--color-accent), transparent);
  transform: translateX(-50%);
}

.step-number {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
  text-align: center;
  transition: opacity var(--transition-base);
}
.step:hover .step-number { opacity: 0.45; }

.step-title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.step-body {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--text-base);
}

.step-visual { flex-shrink: 0; }
.step-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-lg);
  background: rgba(37, 144, 186, 0.06);
  border: 1px solid rgba(37, 144, 186, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.step-icon-wrap svg { width: 50px; height: 50px; }

/* ----------------------------------------------------------------
   WHAT'S INCLUDED
---------------------------------------------------------------- */
.included { background: var(--color-bg-section); }

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.included-card {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.included-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.included-icon {
  width: 52px;
  height: 52px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  background: rgba(37, 144, 186, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.included-icon svg { width: 28px; height: 28px; }

.included-card h3 {
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.included-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Branded keepsake callout */
.branded-keepsake {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
  margin-block: var(--space-10);
  padding: var(--space-10);
  background: var(--color-bg-dark);
  border-radius: var(--radius-xl);
  color: #fff;
}

.branded-keepsake-text .section-label {
  color: var(--color-accent-light);
}

.branded-keepsake-text h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: #fff;
}

.branded-keepsake-text p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}
.branded-keepsake-text p:last-of-type { margin-bottom: var(--space-6); }

/* Keepsake card illustration */
.branded-keepsake-visual {
  flex-shrink: 0;
}

.branded-keepsake-card {
  width: 200px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  color: var(--color-accent);
}

.branded-keepsake-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.bk-logo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(37, 144, 186, 0.12);
  border: 1px solid rgba(37, 144, 186, 0.2);
  flex-shrink: 0;
}

.bk-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.bk-lines span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--color-border);
}
.bk-lines span:first-child { width: 80%; }
.bk-lines span:last-child { width: 55%; }

.bk-footprint-area {
  display: flex;
  justify-content: center;
  padding-block: var(--space-3);
}
.bk-footprint-area svg {
  width: 72px;
  height: 72px;
  color: var(--color-accent);
}

.bk-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: var(--space-3);
}
.bk-details span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--color-border);
}
.bk-details span:nth-child(1) { width: 90%; }
.bk-details span:nth-child(2) { width: 70%; }
.bk-details span:nth-child(3) { width: 50%; }

.branded-keepsake-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 768px) {
  .branded-keepsake {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-8);
  }
  .branded-keepsake-visual { display: none; }
}

.included-note {
  text-align: center;
  padding: var(--space-6) var(--space-8);
  background: rgba(37, 144, 186, 0.05);
  border: 1px solid rgba(37, 144, 186, 0.14);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.7;
}
.included-note strong { color: var(--color-text); }

/* ----------------------------------------------------------------
   NURSING TIME / STATS
---------------------------------------------------------------- */
.nursing-time {
  background: var(--color-bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.nursing-time::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(37, 144, 186, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 50%, rgba(37, 144, 186, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.nursing-time-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.nursing-time-text h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}
.nursing-time-text h2 .accent { color: var(--color-accent-light); }

.nursing-time-text p {
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

.nursing-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.nursing-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  line-height: 1.6;
}
.nursing-benefit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 7px;
}

.nursing-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.nursing-stat-card {
  padding: var(--space-6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition-base), background var(--transition-base);
}
.nursing-stat-card:hover {
  border-color: rgba(37, 144, 186, 0.4);
  background: rgba(37, 144, 186, 0.06);
}

.nursing-stat-value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.nursing-stat-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ----------------------------------------------------------------
   FOR FAMILIES / PRODUCTS
---------------------------------------------------------------- */
.products { background: var(--color-bg); }

.digital-first {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-14);
  padding: var(--space-10);
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.digital-first-text h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 800;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
.digital-first-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.75;
  font-size: var(--text-base);
}
.digital-first-text p:last-child { margin-bottom: 0; }

.digital-first-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.digital-badge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(37, 144, 186, 0.06);
  border: 2px solid rgba(37, 144, 186, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  flex-shrink: 0;
}
.digital-badge-icon {
  width: 52px;
  height: 52px;
  color: var(--color-accent);
}
.digital-badge-icon svg { width: 100%; height: 100%; }
.digital-badge-label {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
}
.digital-badge-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.products-sub-header {
  text-align: center;
  margin-top: var(--space-12);
  margin-bottom: var(--space-8);
}
.products-sub-header h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.products-sub-header p { color: var(--color-text-muted); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}
.product-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.product-card-inner { padding: var(--space-6); }

.product-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.product-icon svg { width: 100%; height: 100%; }

.product-card h3 {
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.product-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   PRIVACY / OWNERSHIP
---------------------------------------------------------------- */
.privacy { background: var(--color-bg-section); }

.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.privacy-text h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.privacy-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}

.privacy-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.privacy-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.privacy-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-sm);
}

.privacy-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(37, 144, 186, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.privacy-card-icon svg { width: 20px; height: 20px; }

.privacy-card-title {
  font-size: var(--text-sm);
  font-weight: 800;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}
.privacy-card-body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   BEREAVEMENT
---------------------------------------------------------------- */
.bereavement {
  background: var(--color-bg-dark);
  color: #fff;
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}
.bereavement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(37, 144, 186, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.bereavement-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.bereavement-content h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: #fff;
}
.bereavement-lead {
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-6);
  line-height: 1.65;
}
.bereavement-content p {
  color: rgba(255,255,255,0.62);
  margin-bottom: var(--space-4);
  line-height: 1.75;
  font-size: var(--text-base);
}
.bereavement-content .btn { margin-top: var(--space-4); }

/* ----------------------------------------------------------------
   WHY FIRST STAMPS
---------------------------------------------------------------- */
.why { background: var(--color-bg-section); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.tech-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.tech-card:hover::before { transform: scaleX(1); }
.tech-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-accent-light);
}

.tech-card-icon {
  width: 38px;
  height: 38px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.tech-card-icon svg { width: 100%; height: 100%; }

.tech-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.tech-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   CONTACT
---------------------------------------------------------------- */
.contact { background: var(--color-bg); }

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

.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.contact-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-benefits li {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.contact-form-wrap {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}
.form-group label span { color: var(--color-accent); }

/* 16px min to prevent iOS zoom on focus */
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 500;
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-light); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%237a90a4' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  min-height: 1.2em;
}
.form-note.success { color: #16a34a; font-weight: 600; }
.form-note.error { color: #dc2626; font-weight: 600; }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.55);
  padding-block: var(--space-12);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-8);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: var(--space-2);
}
.footer-logo-fallback {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2);
}
.footer-tagline {
  font-size: var(--text-sm);
  font-style: italic;
  color: rgba(255,255,255,0.35);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
}
.footer-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-legal {
  text-align: right;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  line-height: 1.9;
}
.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ----------------------------------------------------------------
   SCROLL ANIMATIONS
---------------------------------------------------------------- */
.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.92); }

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

.revealed { opacity: 1; transform: none; }

/* ----------------------------------------------------------------
   RESPONSIVE — Tablet (≤ 1024px)
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .included-grid { grid-template-columns: 1fr 1fr; }
  .nursing-time-inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .nursing-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .privacy-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .digital-first { grid-template-columns: 1fr; }
  .digital-first-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-6); }
  .footer-brand { align-items: center; }
  .footer-legal { text-align: center; }
}

/* ----------------------------------------------------------------
   RESPONSIVE — Mobile (≤ 768px)
---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-16: 3rem;
    --space-12: 2.5rem;
  }

  .container { padding-inline: var(--space-5); }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .site-nav { padding-inline: var(--space-4); }

  /* Hero */
  .hero-logo { height: 64px; }
  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-5);
  }
  .hero-stat-divider { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .hero-btn-keepsakes { width: auto; }
  .hero-scroll { display: none; } /* avoid overlap on short screens */

  /* Steps */
  .step {
    grid-template-columns: 52px 1fr;
    gap: var(--space-4);
    padding: var(--space-5);
  }
  .step-visual { display: none; }
  .step:not(:last-child)::after {
    left: calc(52px / 2 + var(--space-5));
  }
  .step-title { font-size: var(--text-lg); }

  /* Included */
  .included-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }

  /* Nursing stats */
  .nursing-stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .nursing-stat-card { padding: var(--space-4); }

  /* Products */
  .products-grid { grid-template-columns: 1fr 1fr; }

  /* Tech */
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { padding: 1.25rem; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--space-6); }

  /* Section headers */
  .section-header { margin-bottom: var(--space-10); }
}

/* ----------------------------------------------------------------
   RESPONSIVE — Small mobile (≤ 480px)
---------------------------------------------------------------- */
@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .included-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .included-card { padding: var(--space-5) var(--space-4); }
  .products-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .product-card-inner { padding: var(--space-4); }
  .nursing-stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .nursing-stat-card { padding: var(--space-3); }
  .contact-form-wrap { padding: var(--space-5); border-radius: var(--radius-lg); }
  .hero-stats { border-radius: var(--radius-md); }
}

/* ----------------------------------------------------------------
   ACCESSIBILITY & PRINT
---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-orb { animation: none; }
  .hero-scroll-icon::after { animation: none; }
}

@media print {
  .shop-bar, .site-nav, .hero-scroll, .mobile-menu, .mobile-overlay { display: none; }
  .hero { min-height: auto; padding-top: var(--space-8); }
}
