@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --blue-950: #0a1a3b;
  --blue-900: #102a59;
  --blue-800: #1a3c7d;
  --blue-700: #1f4ea3;
  --blue-600: #2c66c5;
  --blue-500: #3b7ee2;
  --sky-100: #edf3ff;
  --sky-50: #f6f8ff;
  --orange-600: #f26b1c;
  --orange-500: #ff7b24;
  --orange-100: #ffe7d2;
  --slate-900: #1b2235;
  --slate-700: #34405a;
  --slate-500: #5b6a86;
  --slate-300: #c8d2e6;
  --white: #ffffff;
  --shadow-soft: 0 18px 40px rgba(15, 39, 82, 0.14);
  --shadow-card: 0 12px 24px rgba(13, 30, 65, 0.12);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

/* Splash screen */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0e1e42;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash.splash--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.splash-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.6);
  animation: splashLogoIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.splash-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splash-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(12px);
  animation: splashFadeUp 0.5s ease 0.6s forwards;
}

.splash-tagline {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(231, 239, 255, 0.6);
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(10px);
  animation: splashFadeUp 0.5s ease 0.85s forwards;
}

@keyframes splashLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children delay */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.35s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.45s; }
.stagger > .reveal:nth-child(8) { transition-delay: 0.5s; }
.stagger > .reveal:nth-child(9) { transition-delay: 0.55s; }
.stagger > .reveal:nth-child(10) { transition-delay: 0.6s; }

/* Hero entrance animations */
.page-home .hero-pill {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.6s ease 0.3s forwards;
}

.page-home .hero-banner-content h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s ease 0.5s forwards;
}

.page-home .hero-banner-content .subtle {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.6s ease 0.75s forwards;
}

.page-home .hero-actions {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.6s ease 0.95s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card hover lift */
.page-home .card,
.page-home .hero-card,
.page-home .feature-card,
.page-home .pro-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .card:hover,
.page-home .hero-card:hover,
.page-home .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 39, 82, 0.16);
}

.page-home .pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 39, 82, 0.18);
}

/* Counter animation */
.counter-value {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-700);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .page-home .hero-pill,
  .page-home .hero-banner-content h2,
  .page-home .hero-banner-content .subtle,
  .page-home .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--slate-900);
  background: #f4f7fc;
  min-height: 100vh;
  font-size: 16.5px;
}

p {
  line-height: 1.6;
}

h2,
h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

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

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

.page {
  position: relative;
  overflow: hidden;
}

.page::before {
  display: none;
}

body.page-home .page::before,
body.page-find .page::before,
body.page-messaging .page::before,
body.page-legal .page::before,
body.page-account .page::before,
body.page-client .page::before,
body.page-profile .page::before,
body.page-signup .page::before,
body.page-contact .page::before,
body.page-metiers .page::before {
  display: none;
}

.page.map-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px, 48px 48px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1400px, 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  color: #e7efff;
  background: #1f4ea3;
  box-shadow: 0 4px 20px rgba(10, 22, 48, 0.22);
}

.header .container {
  width: 100%;
  max-width: 100%;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 64px;
  padding: 0 32px;
  box-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  top: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1f4ea3;
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  display: block;
}

.nav {
  display: flex;
  gap: 2px;
  flex-wrap: nowrap;
  font-weight: 500;
  font-size: 0.88rem;
  position: relative;
  top: 0;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(231, 239, 255, 0.72);
  padding: 10px 16px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav a.active {
  color: #ffffff;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--orange-500);
  border-radius: 999px;
}

.nav a svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav a:hover svg,
.nav a.active svg {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(231, 239, 255, 0.8);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.header-action-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-action-btn svg {
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.header-action-btn:hover svg {
  opacity: 1;
}

.header-action-btn--outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(231, 239, 255, 0.9);
}

.header-action-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.header-action-btn--primary {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(240, 106, 26, 0.3);
}

.header-action-btn--primary:hover {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(240, 106, 26, 0.4);
}

.header-action-btn--primary svg {
  opacity: 1;
}

.header-actions .btn,
.header-actions .session-indicator {
  white-space: nowrap;
  min-height: 44px;
  border-radius: 13px;
  padding: 10px 18px;
}

.header-actions [data-account-link],
.header-actions a[href="compte-particulier.html"],
.header-actions a[href="inscription.html"],
.header-actions > .btn-primary,
.header-actions [data-login-link],
.header-actions .session-indicator {
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
}

.header-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f7ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.header-mobile-toggle__icon {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
}

.header-mobile-toggle__icon::before,
.header-mobile-toggle__icon::after,
.header-mobile-toggle__icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.header-mobile-toggle__icon::before {
  top: 0;
}

.header-mobile-toggle__icon span {
  top: 5px;
}

.header-mobile-toggle__icon::after {
  top: 10px;
}

.header-bar.is-mobile-open .header-mobile-toggle__icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.header-bar.is-mobile-open .header-mobile-toggle__icon span {
  opacity: 0;
}

.header-bar.is-mobile-open .header-mobile-toggle__icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

.session-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  min-height: 46px;
}

.session-indicator__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue-800);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  flex-shrink: 0;
}

.session-indicator__meta {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.session-indicator__name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
}

.session-indicator__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
}

.session-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37d67a;
  box-shadow: 0 0 0 4px rgba(55, 214, 122, 0.18);
  flex-shrink: 0;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--orange-600), var(--orange-500));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(240, 106, 26, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary--dark {
  background: #eef3ff;
  color: #111111;
  border-color: rgba(21, 58, 120, 0.16);
}

.btn-ghost {
  background: var(--white);
  color: var(--blue-800);
  border: 1px solid rgba(21, 58, 120, 0.15);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 52px 0 36px;
  color: #e7efff;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1.05;
  font-family: "Space Grotesk", sans-serif;
}

.hero p {
  margin-top: 14px;
  font-size: 1.08rem;
  color: #dbe6ff;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions form {
  margin: 0;
}

.hero-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.account-hero-card {
  padding: 0;
  overflow: hidden;
}

.account-hero-visual {
  height: 220px;
  padding: 18px 22px;
  align-items: flex-end;
}

.account-hero-body {
  padding: 18px 22px 0;
}

.account-hero-body .subtle {
  margin-top: 8px;
}

.account-hero-actions {
  padding: 18px 22px 22px;
  margin-top: 0;
}

.center {
  text-align: center;
}

.hero-home {
  padding: 42px 0 22px;
  color: #e7efff;
}

.hero-home__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
  position: relative;
  padding: 32px;
  border-radius: 26px;
  background-image: url("hero1.png");
  background-size: 95% auto;
  background-position: center 24%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-home__wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 18, 40, 0.7) 0%, rgba(7, 18, 40, 0.25) 55%, rgba(7, 18, 40, 0.15) 100%);
  z-index: 0;
}

.hero-home__text {
  position: relative;
  z-index: 1;
}


.hero-home__text h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  line-height: 1.05;
}

.hero-home__subtitle {
  margin-top: 12px;
  font-size: 1.05rem;
  color: #dbe6ff;
}

.page-home .hero-home__text {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: #f1f6ff;
  box-shadow: none;
  max-width: 540px;
}

.page-home .hero-home__text h1,
.page-home .hero-home__subtitle {
  color: #f1f6ff;
}

.page-home .hero-pill {
  background: #ffffff;
  color: #1b2235;
  border: 1px solid #e4ebf7;
}

.page-home .hero-home__text .btn-secondary {
  background: #1f4ea3;
  color: #ffffff;
  border-color: transparent;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #f1f6ff;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.hero-home__media {
  display: grid;
  place-items: center;
}

.hero-media-stack {
  position: relative;
  width: min(460px, 90vw);
}

.hero-graph-img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: block;
}

.hero-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid #e4ebf7;
}

.section-hero-home {
  padding: 0 0 30px;
  background: linear-gradient(180deg, rgba(10, 26, 59, 0.08) 0%, rgba(10, 26, 59, 0) 140px);
}

.section-hero-home .hero-banner {
  width: 100%;
  margin-top: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
  min-height: 620px;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  display: block;
}

.hero-banner-actions {
  position: absolute;
  left: 54px;
  bottom: clamp(16px, 4vw, 28px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 1;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 45, 0.55) 0%, rgba(8, 20, 45, 0.15) 45%, rgba(8, 20, 45, 0) 70%);
  z-index: 0;
}

.hero-banner--plain::after {
  display: none;
}

.hero-banner--overlay {
  position: relative;
}

.hero-banner--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 18, 40, 0.72) 0%, rgba(7, 18, 40, 0.35) 38%, rgba(7, 18, 40, 0.05) 60%, rgba(7, 18, 40, 0) 75%);
  z-index: 0;
}

.hero-banner-content {
  position: absolute;
  left: clamp(32px, 5vw, 68px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  color: #ffffff;
  z-index: 1;
}

.hero-banner-content h2 {
  margin: 10px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 1.05;
  color: #ffffff;
}

.hero-line-break {
  display: inline-block;
}

.hero-banner-content .subtle {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-banner--overlay .hero-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.header-actions a[href="compte-particulier.html"] {
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.header-actions a[href="inscription.html"] {
  background: linear-gradient(135deg, rgba(74, 123, 214, 0.7), rgba(92, 146, 240, 0.34));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 22px rgba(21, 58, 120, 0.22);
}

.header-actions > .btn-primary {
  box-shadow: 0 12px 22px rgba(240, 106, 26, 0.26);
}

.hero-banner-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #1f4ea3;
  border: 1px solid rgba(31, 78, 163, 0.2);
}

.hero-map {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.map-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-links line {
  stroke: rgba(47, 89, 170, 0.65);
  stroke-width: 1.6;
  stroke-dasharray: 4 6;
}

.hero-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 560'%3E%3Cpath fill='rgba(255,255,255,0.18)' d='M162 92l39-38 55 12 54-28 63 9 42 44 44-10 42 28 45 2 31 58 44 26-12 52 31 56-32 58-49 9-36 46-54 8-45 52-57 10-52-29-56 9-41-32-54 2-43-44-44-6-26-54-45-28 12-51-31-57 30-52 49-12 19-48z'/%3E%3C/svg%3E");
  background-size: 20px 20px, 78% 78%;
  background-position: 0 0, 50% 52%;
  background-repeat: repeat, no-repeat;
  opacity: 0.75;
}

.hero-map__ring {
  position: absolute;
  inset: 18%;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  z-index: 1;
}

.hero-map.small {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #f7faff 0%, #e9f1ff 100%);
  border: 1px solid #e0e8f8;
}

.hero-map.small::before {
  background-image: radial-gradient(rgba(30, 78, 163, 0.18) 1px, transparent 1px),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 560'%3E%3Cpath fill='rgba(30,78,163,0.18)' d='M162 92l39-38 55 12 54-28 63 9 42 44 44-10 42 28 45 2 31 58 44 26-12 52 31 56-32 58-49 9-36 46-54 8-45 52-57 10-52-29-56 9-41-32-54 2-43-44-44-6-26-54-45-28 12-51-31-57 30-52 49-12 19-48z'/%3E%3C/svg%3E");
  background-size: 18px 18px, 70% 70%;
  background-position: 0 0, 50% 52%;
  background-repeat: repeat, no-repeat;
  opacity: 0.7;
}

.hero-map.small .map-links line {
  stroke: rgba(47, 89, 170, 0.7);
}

.avatar-chip {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #eaf2ff;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #1f4ea3;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  z-index: 2;
}

.avatar-chip.large {
  width: 70px;
  height: 70px;
}

.avatar-chip.small {
  width: 46px;
  height: 46px;
}

.avatar-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 6px rgba(255, 122, 33, 0.2);
  z-index: 2;
}

.feature-grid {
  margin-top: 22px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid #e4ebf7;
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f0f5ff;
  color: #1f4ea3;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.discover {
  display: grid;
  gap: 22px;
}

.discover__top {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.discover__map {
  width: 92%;
  max-width: 520px;
  justify-self: center;
}

.map-card {
  background: var(--white);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e4ebf7;
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
}

.map-card .map-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center 10%;
  background: #f4f7fc;
  border-radius: 14px;
  display: block;
}

.map-card .map-image.hero-graph-copie {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
}

.map-card.map-card--bare {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.map-card.map-card--bare .map-image {
  border-radius: 0;
  background: transparent;
}

.google-map {
  width: 100%;
  display: grid;
  gap: 12px;
}

.google-map__frame {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 20px;
  background: #eaf1ff;
  display: block;
}

.hero-actions--map {
  margin-top: 14px;
}

.filter-stack {
  display: grid;
  gap: 14px;
}

.filter-stack label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #111827;
}

.filter-stack select {
  width: 100%;
  border: 1px solid #d5e0f5;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: #111827;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e4ebf7;
  vertical-align: top;
}

.admin-table th {
  color: #1b2235;
  font-weight: 700;
}

.admin-diagnostic {
  background: #f7faff;
  border: 1px solid #d8e6fb;
}

.admin-diagnostic-item + .admin-diagnostic-item {
  margin-top: 14px;
}

.admin-diagnostic-item strong {
  display: block;
  color: #15233f;
  margin-bottom: 6px;
}

.admin-diagnostic-value {
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.6;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e4ebf7;
  border-radius: 12px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.admin-photo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
}

.geo-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #e9f1ff 100%);
  border: 1px solid #e0e8f8;
  overflow: hidden;
}

.geo-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 78, 163, 0.15) 1px, transparent 1px),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 560'%3E%3Cpath fill='rgba(30,78,163,0.18)' d='M162 92l39-38 55 12 54-28 63 9 42 44 44-10 42 28 45 2 31 58 44 26-12 52 31 56-32 58-49 9-36 46-54 8-45 52-57 10-52-29-56 9-41-32-54 2-43-44-44-6-26-54-45-28 12-51-31-57 30-52 49-12 19-48z'/%3E%3C/svg%3E");
  background-size: 18px 18px, 72% 72%;
  background-position: 0 0, 50% 52%;
  background-repeat: repeat, no-repeat;
  opacity: 0.75;
}

.geo-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.geo-routes line {
  stroke: rgba(47, 89, 170, 0.7);
  stroke-width: 1.6;
  stroke-dasharray: 4 6;
}

.geo-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 6px rgba(255, 122, 33, 0.2);
  z-index: 2;
}

.geo-pin.p1 {
  top: 30%;
  left: 22%;
}

.geo-pin.p2 {
  top: 46%;
  left: 48%;
}

.geo-pin.p3 {
  top: 28%;
  left: 72%;
}

.geo-pin.p4 {
  top: 62%;
  left: 66%;
}

.search-panel {
  margin-top: 16px;
  background: var(--white);
  padding: 14px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid #e4ebf7;
}

.search-panel__fields {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr auto;
  gap: 12px;
}

.search-panel input,
.search-panel select {
  border: 1px solid #d5e0f5;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

/* Pro carousel (Google Reviews style) */
.pro-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -5vw;
  padding: 10px 0 20px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.pro-carousel__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: proCarouselScroll 45s linear infinite;
}

.pro-carousel__track:hover {
  animation-play-state: paused;
}

.pro-carousel .pro-card {
  flex: 0 0 240px;
  min-width: 240px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pro-carousel .pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(10, 20, 50, 0.12);
}

@keyframes proCarouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .pro-carousel__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .pro-carousel {
    mask-image: none;
    -webkit-mask-image: none;
    margin: 0;
    overflow: visible;
  }
}

.pro-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e4ebf7;
  box-shadow: var(--shadow-card);
}

.pro-card--search-ad {
  border-color: #ffd4a6;
  box-shadow: 0 18px 34px rgba(178, 102, 0, 0.12);
}

.pro-photo {
  position: relative;
  height: 170px;
  padding: 12px;
  background: #e9f1ff;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  font-weight: 700;
  color: #1f4ea3;
  overflow: hidden;
}

.pro-photo--cover {
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
}

.pro-grid--filtered .pro-photo--cover {
  background-size: 100% auto;
  background-position: center;
}

.pro-grid--filtered {
  grid-template-columns: repeat(auto-fit, minmax(420px, 520px));
  justify-content: center;
}

.pro-grid--filtered .pro-photo {
  height: 148px;
}

.pro-grid--filtered .pro-avatar {
  width: 68px;
  height: 68px;
}

.pro-grid--filtered .pro-body {
  padding: 10px 12px 14px;
}

.pro-photo--cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 15, 35, 0.25) 0%, rgba(6, 15, 35, 0.05) 70%);
}

.pro-avatar {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 20px rgba(10, 20, 40, 0.25);
}

.pro-avatar--initials {
  display: grid;
  place-items: center;
  color: var(--blue-800);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.pro-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pro-body {
  padding: 12px 14px 16px;
}

.pro-rating {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #f4a646;
}

.pro-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pro-actions .btn {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.pro-empty {
  margin-top: 12px;
  text-align: center;
}

.community-grid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.community-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #e4ebf7;
  box-shadow: var(--shadow-card);
}

.avatar.small {
  width: 46px;
  height: 46px;
  font-size: 0.85rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-home .subtle,
.page-find .subtle {
  color: #111827;
}

body.page-home .page::before {
  display: none;
}

.page-home .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.page-home .header-bar {
  min-height: 86px;
  padding: 14px clamp(18px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(7, 17, 38, 0.9) 0%, rgba(7, 17, 38, 0.72) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.page-home .nav a {
  color: rgba(245, 248, 255, 0.9);
}

.page-home .nav a:hover,
.page-home .nav a.active {
  color: #ffffff;
}

.page-home .header-actions .btn,
.page-home .header-actions .session-indicator {
  min-height: 42px;
  padding: 9px 16px;
}

.page-home .header-actions [data-account-link],
.page-home .header-actions a[href="compte-particulier.html"],
.page-home .header-actions [data-login-link],
.page-home .header-actions .btn-ghost,
.page-home .header-actions .session-indicator {
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.page-home .header-actions a[href="inscription.html"] {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.page-home .header-actions > .btn-primary {
  box-shadow: 0 12px 22px rgba(240, 106, 26, 0.24);
}

.page-home .hero-banner-content,
.page-home .hero-banner-content h2,
.page-home .hero-banner-content .subtle {
  color: #ffffff;
}

.page-home .hero-banner-content .hero-pill {
  color: #ffffff;
}

.page-home .hero-banner {
  width: 100%;
  display: block;
  height: clamp(520px, 64vw, 760px);
}

.page-home .hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-home .section-hero-home {
  padding: 0;
  background: none;
}

.page-home .hero-banner-content {
  top: calc(50% + 18px);
}

.page-signup .subtle,
.page-client .subtle,
.page-account .subtle,
.page-profile .subtle {
  color: #111827;
}

.page-about .hero,
.page-about .hero p,
.page-about .subtle,
.page-about .section-title,
.page-about .badge {
  color: #111827;
}

.page-about .hero h1 {
  color: #ffffff;
}

.page-about .hero h1 + p {
  margin-top: 52px;
}

.page-legal .hero h1 {
  color: #111827;
}

.page-metiers .hero h1 {
  color: #111827;
}

.page-metiers .hero p {
  color: #111827;
}

.page-legal .hero h1 + p {
  color: #111827;
  margin-top: 40px;
}

.page-legal .hero-card .subtle {
  color: #111827;
}

.page-signup .hero,
.page-client .hero,
.page-account .hero,
.page-profile .hero {
  color: #111827;
}

.page-signup .hero p,
.page-client .hero p,
.page-account .hero p,
.page-profile .hero p {
  color: #111827;
}

.page-signup .hero > div:first-child,
.page-client .hero > div:first-child {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.page-account .hero > div:first-child {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.page-find .hero-copy {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 18px;
  color: #111827;
  box-shadow: var(--shadow-card);
}

.page-find .hero-copy p {
  color: #111827;
}

.messaging-hero {
  margin-top: 22px;
  padding: 36px 26px;
  border-radius: 26px;
  background: linear-gradient(120deg, #1a3c7d 0%, #2c66c5 100%);
  color: #f1f6ff;
  box-shadow: var(--shadow-soft);
}

.chat-shell {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 320px) 1fr;
}

.chat-sidebar {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid #e4ebf7;
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.chat-search input {
  width: 100%;
  border: 1px solid #d5e0f5;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}

.chat-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f9ff;
  border: 1px solid #e5ecf8;
  color: inherit;
}

.chat-item.active {
  border-color: #ffb56e;
  box-shadow: inset 3px 0 0 #ff7b24;
}

.chat-meta {
  display: grid;
  gap: 2px;
}

.chat-time {
  font-size: 0.78rem;
  color: #6b7a96;
}

.chat-pane {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid #e4ebf7;
  box-shadow: var(--shadow-card);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.chat-pane__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.chat-actions .btn {
  padding: 6px 10px;
  border-radius: 10px;
}

.chat-messages {
  display: grid;
  gap: 12px;
}

.chat-bubble-wrap {
  display: grid;
  gap: 6px;
}

.chat-bubble-wrap.outgoing {
  justify-items: end;
}

.chat-bubble {
  max-width: 70%;
  padding: 12px 14px;
  border-radius: 16px;
  background: #eef3ff;
  color: var(--slate-900);
}

.chat-bubble.outgoing {
  margin-left: auto;
  background: linear-gradient(120deg, #2b66c6, #3b7ee2);
  color: #fff;
}

.chat-bubble-meta {
  font-size: 0.76rem;
  color: #6b7a96;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.chat-input input {
  border: 1px solid #d5e0f5;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}

.chat-empty {
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed #d3def3;
  background: #f8fbff;
}

.chat-empty--pane {
  min-height: 220px;
  display: grid;
  align-content: center;
}

.chat-error {
  color: #b42318;
}

.search-bar {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 12px;
  background: var(--white);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f5;
  box-shadow: 0 10px 20px rgba(15, 39, 82, 0.08);
}

.search-bar input,
.search-bar select {
  border: 1px solid #d5e0f5;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}

.card input,
.card textarea,
.card select {
  width: 100%;
  border: 1px solid #d5e0f5;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  margin-top: 6px;
}

.password-field {
  position: relative;
  margin-top: 6px;
}

.password-field input {
  margin-top: 0;
  padding-right: 96px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-width: 74px;
  border: 1px solid #d5e0f5;
  background: #f4f7ff;
  color: var(--blue-800);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.password-toggle:hover {
  background: #e8efff;
}

.password-field.is-visible .password-toggle {
  background: #e6f0ff;
}

.card textarea {
  resize: vertical;
  min-height: 110px;
}

.card label {
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.92rem;
}

.account-edit-form {
  margin-top: 18px;
}

.account-photo-preview {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}

.account-photo-preview img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 24px rgba(10, 20, 40, 0.16);
}

.account-photo-preview--cover {
  display: flex;
  width: 100%;
  max-width: 420px;
}

.account-photo-preview--cover img {
  width: 100%;
  height: 170px;
  border-radius: 18px;
  border: 1px solid #d9e5fb;
}

.account-file-preview {
  align-items: flex-start;
}

.account-verification-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e4ebf7;
}

.lead-capture {
  margin-top: 40px;
  margin-bottom: 20px;
}

.lead-capture__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.lead-capture__info {
  padding: 10px 0;
}

.lead-capture__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 78, 163, 0.08);
  color: #1f4ea3;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.lead-capture__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #15233f;
  line-height: 1.25;
  margin: 0 0 14px 0;
}

.lead-capture__desc {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

.lead-capture__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lead-capture__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lead-capture__step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f4ea3 0%, #2d6fd6 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-capture__step strong {
  display: block;
  color: #15233f;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.lead-capture__step span {
  color: #64748b;
  font-size: 0.88rem;
}

.lead-capture__form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(10, 20, 50, 0.08), 0 1px 3px rgba(10, 20, 50, 0.04);
  padding: 28px 30px 30px;
  border: 1px solid rgba(31, 78, 163, 0.08);
}

.lead-capture__form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f4ea3;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.lead-capture__form-header svg {
  flex-shrink: 0;
}

.lead-selected {
  font-weight: 600;
}

.lead-capture__form {
  margin-top: 0;
}

.lead-capture__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-capture__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-capture__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.lead-capture__field input,
.lead-capture__field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d9e6;
  border-radius: 10px;
  font-size: 0.92rem;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.lead-capture__field input:focus,
.lead-capture__field textarea:focus {
  outline: none;
  border-color: #1f4ea3;
  box-shadow: 0 0 0 3px rgba(31, 78, 163, 0.1);
  background: #fff;
}

.lead-capture__form textarea {
  min-height: 100px;
  resize: vertical;
}

.lead-capture__form .checkbox-row {
  margin-top: 0;
}

.lead-capture__submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .lead-capture__wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lead-capture__title {
    font-size: 1.4rem;
  }
  .lead-capture__form-card {
    padding: 22px 18px 24px;
  }
  .lead-capture__field-row {
    grid-template-columns: 1fr;
  }
}

.lead-consents {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.lead-consents a {
  color: var(--blue-700);
}

.admin-form-stack {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.admin-form-stack input,
.admin-form-stack select,
.admin-form-stack textarea {
  width: 100%;
}

.account-verification-block .btn-secondary {
  color: #1b2235;
}

.verification-form input {
  width: 220px;
}

.status-message {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.status-message--success {
  background: #e8f8ef;
  border: 1px solid #b7e4c7;
  color: #1f6a3b;
}

.status-message--error {
  background: #fff1f1;
  border: 1px solid #f0c6c6;
  color: #a63232;
}

.btn-danger {
  background: #c83838;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(200, 56, 56, 0.28);
}

.btn-danger:hover {
  transform: translateY(-2px);
}

.account-danger-zone {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e4ebf7;
}

.checkbox-card {
  display: flex;
  align-items: center;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-actions form {
  margin: 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-row span {
  color: var(--slate-700);
  line-height: 1.5;
}

.section {
  padding: 38px 0;
}

.section--compact {
  padding-top: 10px;
  padding-bottom: 8px;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: #15233f;
}

.subtle {
  color: #42526f;
  margin-top: 8px;
  font-size: 1rem;
}

.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.appointment-meta {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.appointment-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e4ebf7;
}

.appointment-actions--secondary {
  margin-top: 12px;
  padding-top: 12px;
}

.appointment-actions label {
  font-weight: 600;
  color: var(--slate-700);
}

.appointment-actions input {
  width: 100%;
}

.appointment-actions textarea,
.appointment-actions select {
  width: 100%;
}

.appointment-actions__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.account-report-card {
  border-color: #d5e2fb;
}

.account-report-target {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #f5f8ff;
  border: 1px solid #dbe6fb;
}

.account-report-target .profile-header {
  margin: 0;
}

.grid-4 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid #e4ebf7;
}

.card--search-ad {
  border-color: #ffd4a6;
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
}

#matched-profiles {
  scroll-margin-top: 140px;
}

.card--focused {
  border-color: #86a8ff;
  box-shadow: 0 22px 44px rgba(28, 64, 140, 0.18);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sky-100);
  color: var(--blue-800);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge--verified {
  background: #e8f8ef;
  color: #1f6a3b;
  border: 1px solid #b7e4c7;
}

.badge--auto-sent {
  margin-top: 6px;
  margin-bottom: 6px;
  background: #e8f1ff;
  color: #164194;
  border: 1px solid #bfd3fb;
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59, 126, 226, 0.1);
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f1f5ff;
  color: var(--blue-800);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 6px 6px 0 0;
}

.tag--ad {
  background: #fff1df;
  color: #9a4a00;
  border: 1px solid #ffd4a6;
}

.tag--soft {
  background: #fff7ec;
  color: #8b5a15;
  border: 1px dashed #f4c990;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(140deg, #f1f6ff, #cfe2ff);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  color: var(--blue-800);
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  overflow: hidden;
}

.avatar--ad {
  background: linear-gradient(145deg, #fff5e7, #ffd9a8);
  color: #8b4d00;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #f4a646;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f9ff;
  border: 1px solid #e5ecf8;
}

.map-card {
  height: 200px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 122, 33, 0.18), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(59, 126, 226, 0.2), transparent 45%),
    linear-gradient(180deg, #f7faff 0%, #e9f1ff 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e8f8;
}

.map-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-500);
  position: absolute;
  box-shadow: 0 0 0 6px rgba(255, 122, 33, 0.2);
}

.map-pin.one {
  top: 60%;
  left: 20%;
}

.map-pin.two {
  top: 40%;
  left: 58%;
}

.map-pin.three {
  top: 65%;
  left: 70%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.gallery-item {
  height: 110px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dfe9ff, #f6f9ff);
  border: 1px solid #e0e8f8;
  width: 100%;
  object-fit: cover;
  display: block;
}

.chat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.chat-list {
  display: grid;
  gap: 12px;
}

.chat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #f6f9ff;
  border: 1px solid #e5ecf8;
}

.chat-window {
  display: grid;
  gap: 12px;
}

.message {
  max-width: 70%;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef3ff;
  color: var(--slate-900);
}

.message.outgoing {
  margin-left: auto;
  background: linear-gradient(120deg, #2b66c6, #3b7ee2);
  color: var(--white);
}

.footer {
  margin-top: 60px;
  font-size: 0.92rem;
}

.footer-main {
  background: #1f4ea3;
  padding: 48px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand .logo {
  top: 0;
  color: #fff;
}

.footer-brand .logo-icon {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.9rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, color 0.2s;
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom-bar {
  background: #17396e;
  padding: 16px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* --- Contact page --- */
.contact-hero {
  background: #1f4ea3;
  padding: 52px 0 48px;
  text-align: center;
}

.contact-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.contact-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.contact-hero__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin: 0;
  max-width: 520px;
  margin-inline: auto;
}

/* Contact info cards */
.contact-cards-section {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(10, 20, 50, 0.07), 0 1px 3px rgba(10, 20, 50, 0.04);
  border: 1px solid rgba(31, 78, 163, 0.06);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(10, 20, 50, 0.1);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(31, 78, 163, 0.08);
  color: #1f4ea3;
  margin-bottom: 16px;
}

.contact-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #15233f;
  margin: 0 0 8px;
}

.contact-card__text {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 10px;
}

.contact-card__link {
  display: inline-block;
  color: #1f4ea3;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.contact-card__link:hover {
  color: #15233f;
}

/* Contact main section (form + info) */
.contact-main-section {
  padding-top: 40px;
  padding-bottom: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-side {
  padding: 10px 0;
}

.contact-info__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #15233f;
  margin: 0 0 12px;
  line-height: 1.3;
}

.contact-info__desc {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 28px;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info__item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(31, 78, 163, 0.08);
  color: #1f4ea3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__item strong {
  display: block;
  color: #15233f;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info__item span {
  color: #64748b;
  font-size: 0.88rem;
}

/* Contact form card */
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(10, 20, 50, 0.08), 0 1px 3px rgba(10, 20, 50, 0.04);
  border: 1px solid rgba(31, 78, 163, 0.08);
  padding: 28px 30px 30px;
}

.contact-form-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f4ea3;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.contact-form-card__header svg {
  flex-shrink: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form__row {
  display: grid;
  gap: 16px;
}

.contact-form__row--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  min-width: 0;
}

.contact-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  border: 1px solid #d1d9e6;
  background: #f8fafc;
  color: #15233f;
  border-radius: 10px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #94a3b8;
}

.contact-field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  outline: none;
  border-color: #1f4ea3;
  box-shadow: 0 0 0 3px rgba(31, 78, 163, 0.1);
  background: #fff;
}

.contact-form__submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
}

.page-contact .footer {
  margin-top: 0;
}

.page-maintenance {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(78, 131, 219, 0.22), transparent 28%),
    linear-gradient(180deg, #08142f 0%, #102a59 45%, #1a3c7d 100%);
  color: #ffffff;
}

.maintenance-shell {
  min-height: 100vh;
  padding: 36px 20px;
  display: grid;
  place-items: center;
}

.maintenance-stage {
  width: min(1040px, 100%);
  display: grid;
  gap: 26px;
}

.maintenance-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.maintenance-brand__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px rgba(3, 10, 22, 0.26);
}

.maintenance-brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.maintenance-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(11, 26, 60, 0.95), rgba(18, 44, 94, 0.86)),
    rgba(8, 20, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(2, 9, 23, 0.34);
}

.maintenance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 123, 36, 0.18), transparent 18%),
    radial-gradient(circle at 18% 90%, rgba(74, 123, 214, 0.2), transparent 26%);
  pointer-events: none;
}

.maintenance-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--orange-500);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maintenance-card h1 {
  position: relative;
  max-width: 14ch;
  margin: 0 0 14px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
  color: #ffffff;
}

.maintenance-copy {
  position: relative;
  max-width: 720px;
  margin: 0;
  font-size: 1.08rem;
  color: rgba(235, 241, 255, 0.86);
}

.maintenance-grid {
  position: relative;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.maintenance-info {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 6px;
}

.maintenance-info__label {
  color: rgba(231, 239, 255, 0.68);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.maintenance-code {
  position: relative;
  margin-top: 28px;
}

.maintenance-code__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(231, 239, 255, 0.65);
  margin-bottom: 12px;
}

.maintenance-code__inputs {
  display: flex;
  gap: 12px;
}

.maintenance-code__inputs input {
  width: 64px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  caret-color: var(--orange-500);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.maintenance-code__inputs input:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255, 123, 36, 0.15);
  background: rgba(255, 255, 255, 0.1);
}

.maintenance-code__inputs input.shake {
  animation: codeShake 0.4s ease;
  border-color: #e53e3e;
}

.maintenance-code__error {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: #fc8181;
  font-weight: 600;
}

.maintenance-card--success {
  animation: cardSuccess 0.5s ease forwards;
}

@keyframes codeShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

@keyframes cardSuccess {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.96); }
}

.maintenance-actions {
  position: relative;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 600px) {
  .maintenance-code__inputs input {
    width: 52px;
    height: 60px;
    font-size: 1.4rem;
    border-radius: 12px;
  }
}

@media (max-width: 900px) {
  .header-bar {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    min-height: auto;
    padding: 12px 16px;
  }

  .logo {
    top: 0;
  }

  .logo span {
    font-size: 0.96rem;
  }

  .header-mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    order: 3;
    top: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    padding-bottom: 4px;
  }

  .header-bar.is-mobile-open .nav {
    display: flex;
  }

  .nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    white-space: nowrap;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .nav a.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .nav a.active::after {
    display: none;
  }

  .nav a svg {
    opacity: 0.9;
  }

  .hero-actions {
    width: 100%;
  }

  .header-actions {
    order: 4;
    width: 100%;
    margin-left: 0;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
  }

  .header-bar.is-mobile-open .header-actions {
    display: flex;
  }

  .header-action-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .header-action-btn--outline {
    background: rgba(255, 255, 255, 0.06);
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }

  .chat-layout {
    grid-template-columns: 1fr;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-panel__fields {
    grid-template-columns: 1fr;
  }

  .chat-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    padding: 24px 18px 20px;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form-card {
    padding: 22px 18px 24px;
  }

  .contact-form__row--split {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .footer-main {
    padding: 36px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

}

@media (max-width: 600px) {
  .page::before {
    height: 320px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .header-bar {
    padding: 12px 14px;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    padding: 11px 12px;
    font-size: 0.9rem;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .hero-card {
    padding: 18px;
  }

  .section-hero-home {
    padding-top: 0;
    padding-bottom: 22px;
  }

  .section-hero-home .hero-banner {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    border: 0;
  }

  .hero-banner img {
    min-height: 520px;
    object-fit: cover;
  }

  .hero-banner--overlay::after {
    background: linear-gradient(
      180deg,
      rgba(6, 16, 38, 0.1) 0%,
      rgba(8, 19, 44, 0.5) 34%,
      rgba(8, 20, 45, 0.88) 100%
    );
  }

  .hero-banner-content {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 24px;
    transform: none;
    max-width: none;
  }

  .hero-banner-content .subtle {
    color: rgba(255, 255, 255, 0.92);
  }

  .contact-hero {
    padding: 36px 0 40px;
  }

  .contact-cards-section {
    margin-top: -20px;
  }

  .contact-form__row--split {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
