/* ===========================================================
   DataLeak — Feuille de style principale
   =========================================================== */

/* ---------- Variables de design (couleurs, ombres, etc.) ---------- */
:root {
  --background: 0 0% 100%;
  --foreground: 213 31% 18%;

  --card: 0 0% 100%;
  --card-foreground: 213 31% 18%;

  --primary: 213 94% 32%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 213 100% 65%;

  --secondary: 213 20% 96%;
  --secondary-foreground: 213 31% 18%;

  --muted: 213 20% 96%;
  --muted-foreground: 213 15% 45%;

  --accent: 213 94% 32%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;

  --border: 213 20% 90%;
  --input: 213 20% 90%;
  --ring: 213 94% 32%;

  --gradient-primary: linear-gradient(135deg, hsl(213 94% 32%), hsl(213 100% 65%));
  --gradient-hero: linear-gradient(135deg, hsl(213 94% 32%) 0%, hsl(213 80% 25%) 100%);
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(213 20% 98%) 100%);
  --shadow-glow: 0 0 40px hsl(213 100% 65% / 0.2);
  --shadow-card: 0 10px 30px -10px hsl(213 94% 32% / 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --radius: 0.5rem;
}

/* ---------- Reset de base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  border: none;
  transition: var(--transition-smooth);
}

.btn svg, .btn .icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-default {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.btn-default:hover {
  background: hsl(213 94% 28%);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15);
}

.btn-outline {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  color: hsl(var(--foreground));
}
.btn-outline:hover {
  background: hsl(var(--secondary));
}

.btn-outline-white {
  border: 2px solid rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.1);
  color: white;
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: rgb(255 255 255 / 0.2);
  border-color: rgb(255 255 255 / 0.5);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}
.btn-ghost:hover {
  background: hsl(var(--secondary));
}

.btn-red {
  background: #dc2626;
  color: white;
}
.btn-red:hover {
  background: #b91c1c;
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
  font-size: 1.125rem;
}
.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}
.btn-full {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  transition: var(--transition-smooth);
}
.desktop-nav a:hover {
  color: hsl(var(--primary));
}

.desktop-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  color: hsl(var(--foreground));
}
.mobile-menu-btn svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav {
  display: none;
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.mobile-nav.open { display: block; }

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.mobile-nav-inner a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  padding: 0.5rem 0;
}

.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .desktop-cta { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-icon-circle {
  padding: 0.75rem;
  background: rgb(255 255 255 / 0.1);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  animation: float 3s ease-in-out infinite;
}
.hero-icon-circle svg { width: 2rem; height: 2rem; }
.hero-icon-circle:nth-child(2) { animation-delay: 0.5s; }
.hero-icon-circle:nth-child(3) { animation-delay: 1s; }

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 .highlight {
  display: block;
  background: linear-gradient(90deg, hsl(var(--primary-glow)), white);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 0.9);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.8);
}

.hero-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(var(--primary-glow));
  border-radius: 50%;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
}
.scroll-pill {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgb(255 255 255 / 0.5);
  border-radius: 1rem;
  display: flex;
  justify-content: center;
}
.scroll-pill .dot-inner {
  width: 0.25rem;
  height: 0.75rem;
  background: rgb(255 255 255 / 0.7);
  border-radius: 1rem;
  margin-top: 0.5rem;
  animation: pulse 1.5s infinite;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
  .hero p.subtitle { font-size: 1.5rem; }
}

/* ---------- Sections génériques ---------- */
section {
  padding: 5rem 0;
}

.bg-subtle { background: var(--gradient-subtle); }
.bg-primary-grad { background: var(--gradient-primary); color: white; }
.bg-white { background: hsl(var(--background)); }
.bg-muted { background: hsl(var(--secondary) / 0.5); }

.section-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.section-head p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.text-primary { color: hsl(var(--primary)); }

@media (min-width: 768px) {
  .section-head h2 { font-size: 3rem; }
}

/* ---------- Cartes de service ---------- */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 2rem;
  transition: var(--transition-smooth);
}
.card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}
.card-icon svg { width: 2rem; height: 2rem; }

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--card-foreground));
}

.card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.feature-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-list .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.feature-list .feature-item .dot {
  flex-shrink: 0;
  background: hsl(var(--primary));
}

.card-center {
  text-align: center;
}
.card-center .card-icon {
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-item {
  cursor: pointer;
}

.value-icon-wrap {
  position: relative;
  margin-bottom: 2rem;
  width: 5rem;
  height: 5rem;
  margin-left: auto;
  margin-right: auto;
}

.value-icon-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-smooth);
}
.value-icon-circle svg { width: 2.5rem; height: 2.5rem; }
.value-item:hover .value-icon-circle {
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}

.value-icon-ring {
  position: absolute;
  inset: 0;
  border: 2px solid hsl(var(--primary) / 0.2);
  border-radius: 50%;
}

.grad-blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.grad-primary-glow { background: var(--gradient-primary); }
.grad-indigo { background: linear-gradient(135deg, #4f46e5, #818cf8); }

.value-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}
.value-item p {
  color: hsl(var(--muted-foreground));
  max-width: 22rem;
  margin: 0 auto;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

.about-grid h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}
.about-grid h2 .highlight { display: block; color: hsl(var(--primary)); }

.about-grid > div:first-child > p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.about-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.about-features svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.about-image-wrap {
  position: relative;
}
.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-image img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--primary) / 0.8), transparent 60%);
}

.about-stats {
  position: relative;
  margin-top: -2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
  z-index: 2;
}
.about-stats-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}
.about-stats-grid svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
  margin: 0 auto 0.5rem;
}
.about-stats-grid .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.about-stats-grid .stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .about-grid h2 { font-size: 3rem; }
}

/* ---------- Contact ---------- */
.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}
@media (min-width: 640px) {
  .contact-cta-buttons { flex-direction: row; }
}

.contact-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.form-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}
.form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--card-foreground));
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .form-row.two-col { grid-template-columns: repeat(2, 1fr); }
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}
.form-control:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-subtle);
  transition: var(--transition-smooth);
  cursor: pointer;
}
.contact-info-item:hover { box-shadow: var(--shadow-card); }

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 1.5rem; height: 1.5rem; }

.contact-info-item h4 {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}
.contact-info-item .info-detail {
  color: hsl(var(--primary));
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.contact-info-item .info-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.emergency-box {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  color: white;
}
.emergency-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.emergency-box p {
  margin-bottom: 1rem;
  color: rgb(255 255 255 / 0.9);
}

/* ---------- Footer ---------- */
.site-footer {
  background: hsl(var(--primary));
  color: white;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgb(255 255 255 / 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg { width: 1.5rem; height: 1.5rem; }
.footer-logo span { font-size: 1.5rem; font-weight: 700; }

.footer-tagline {
  color: rgb(255 255 255 / 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgb(255 255 255 / 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.footer-social a:hover { background: rgb(255 255 255 / 0.3); }
.footer-social svg { width: 1.25rem; height: 1.25rem; }

.footer-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: rgb(255 255 255 / 0.8);
}
.footer-col a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgb(255 255 255 / 0.8);
}
.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}
.footer-bottom p { color: rgb(255 255 255 / 0.6); font-size: 0.875rem; }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.6);
}
.footer-bottom-links a:hover { color: white; }

/* ---------- Page intérieure (hero coloré) ---------- */
.page-hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
}
.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}
.page-hero h1 .sub { display: block; color: rgb(255 255 255 / 0.9); }
.page-hero p {
  font-size: 1.25rem;
  color: rgb(255 255 255 / 0.9);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
}
.page-hero .cta-wrap { text-align: center; }
@media (min-width: 768px) {
  .page-hero h1 { font-size: 3.75rem; }
}

.page-hero-red {
  background: linear-gradient(to right, #dc2626, #991b1b);
  color: white;
  padding-top: 9rem;
}
.page-hero-red .icon-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.page-hero-red .icon-title svg { width: 3rem; height: 3rem; }
.page-hero-red h1 { font-size: 2.25rem; font-weight: 700; text-align: center; }
.page-hero-red p { text-align: center; max-width: 42rem; margin: 0 auto; color: rgb(255 255 255 / 0.9); font-size: 1.25rem; }
@media (min-width: 768px) { .page-hero-red h1 { font-size: 3rem; } }

.has-header-padding { padding-top: 4rem; }

/* ---------- Process / steps ---------- */
.process-grid {
  max-width: 64rem;
  margin: 0 auto;
}
.step-circle {
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step-text {
  text-align: center;
  font-weight: 500;
  color: hsl(var(--foreground));
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-big {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

/* ---------- Search bar (help center) ---------- */
.search-bar-wrap {
  max-width: 28rem;
  margin: 2rem auto 0;
  position: relative;
}
.search-bar-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.search-bar-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: var(--radius);
  border: none;
  color: hsl(var(--foreground));
}

/* ---------- Help / docs cards row (icon + title) ---------- */
.icon-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.icon-card-head .icon-box {
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-card-head .icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}
.icon-card-head h3 { font-size: 1.25rem; font-weight: 600; }

.faq-card, .guide-card {
  margin-bottom: 1.5rem;
}
.faq-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.faq-card p { color: hsl(var(--muted-foreground)); }

.guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.guide-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.guide-card-left .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-card-left .icon-box svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); }
.guide-card-left h3 { font-size: 1.125rem; font-weight: 600; }
.guide-card-left p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; }

/* ---------- Emergency response time cards ---------- */
.response-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .response-grid { grid-template-columns: repeat(3, 1fr); }
}
.response-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.response-icon svg { width: 2rem; height: 2rem; }
.response-icon.red { background: #fee2e2; color: #dc2626; }
.response-icon.orange { background: #ffedd5; color: #ea580c; }
.response-icon.yellow { background: #fef9c3; color: #ca8a04; }
.response-time {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.response-time.red { color: #dc2626; }
.response-time.orange { color: #ea580c; }
.response-time.yellow { color: #ca8a04; }

/* ---------- Checklist ---------- */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.checklist-number {
  width: 2rem;
  height: 2rem;
  background: hsl(var(--primary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.checklist-item h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.checklist-item p { color: hsl(var(--muted-foreground)); }

/* ---------- "When to contact" coloured cards ---------- */
.when-card { text-align: center; padding: 1.5rem; }
.when-card svg { width: 3rem; height: 3rem; margin: 0 auto 0.5rem; display:block; }
.when-card.red svg { color: #ef4444; }
.when-card.yellow svg { color: #eab308; }
.when-card.blue svg { color: #3b82f6; }
.when-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; text-align: center; }
.when-card.red h3 { color: #dc2626; }
.when-card.yellow h3 { color: #ca8a04; }
.when-card.blue h3 { color: #2563eb; }
.when-card ul { font-size: 0.875rem; color: hsl(var(--muted-foreground)); display: flex; flex-direction: column; gap: 0.5rem; }

/* ---------- Legal pages (privacy, terms, cookies) ---------- */
.legal-content {
  max-width: 56rem;
  margin: 0 auto;
  padding-top: 6rem;
}
.legal-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 2rem;
}
.legal-content .updated {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}
.legal-content section { padding: 0; margin-bottom: 2rem; }
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}
.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
.legal-content p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}
.legal-content li { margin-bottom: 0.5rem; }

/* ---------- 404 ---------- */
.notfound-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  text-align: center;
}
.notfound-wrap h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.notfound-wrap p { font-size: 1.25rem; color: #4b5563; margin-bottom: 1rem; }
.notfound-wrap a { color: #3b82f6; text-decoration: underline; }
.notfound-wrap a:hover { color: #1d4ed8; }

/* ---------- Form feedback ---------- */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.form-message.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}
.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -15%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in { animation: fadeIn 0.6s ease-out; }

/* utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.flex-col-center {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .flex-col-center.row-sm { flex-direction: row; }
}
