/* css/pages/home.css — index.html only (hero, benefits, how-it-works, testimonials, FAQ, contact). */
/* § HOME HERO — full-viewport gradient + grid */
.hero {
  min-height: 100vh;
  padding: 120px 24px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, rgba(31, 168, 242, 0.10) 0%, #FFFFFF 70%);
}

.hero-grid {
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: center;
  overflow: visible;
  padding: 0 24px;
}

.hero-inner {
  max-width: 520px;
  text-align: left;
}

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  min-height: 85vh;
  height: 85vh;
  align-self: stretch;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 85vh;
  display: block;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 900px) {
  .hero {
    padding: 100px 24px 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 16px;
    min-width: 0;
  }

  .hero-inner {
    text-align: center;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero h1 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image {
    min-height: 60vh;
    height: 60vh;
  }

  .hero-image img {
    min-height: 60vh;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 80px 16px 28px;
    min-height: auto;
  }

  .hero-grid {
    gap: 28px;
    padding: 0 12px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 44px);
    margin-bottom: 16px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image {
    min-height: 50vh;
    height: 50vh;
  }

  .hero-image img {
    min-height: 50vh;
  }
}

/* Very narrow viewports (XR viewer, small phones) */
@media (max-width: 400px) {
  .hero {
    padding: 24px 12px 24px;
    min-height: auto;
  }

  .hero-grid {
    gap: 20px;
    padding: 0 8px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.5vw, 32px);
    margin-bottom: 12px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero-cta {
    gap: 8px;
  }

  .hero-cta .btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .hero-image {
    min-height: 40vh;
    height: 40vh;
  }

  .hero-image img {
    min-height: 40vh;
  }

  .header {
    padding: calc(18px + env(safe-area-inset-top, 0px)) 12px 10px;
  }

  .header-content {
    padding: 8px 12px;
  }

  .btn-cta-header {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.hero h1 {
  margin: 0 auto 24px;
  font-size: clamp(44px, 5.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 720px;
  color: var(--color-hero-h1);
  font-weight: 700;
}

.hero h1 .em {
  font-style: italic;
  font-weight: 600;
  color: var(--color-primary);
}

.hero-subtitle {
  margin: 0 0 24px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* § Home — product video below hero */
.hero-video {
  padding: 20px 24px 72px;
  background: #ffffff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.hero-video-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.hero-video-header {
  text-align: center;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-video-pill {
  margin: 0 auto 16px;
  display: inline-flex;
  background: var(--color-bg-soft-blue, #ecf6fe);
  border: 1px solid var(--color-border);
}

.hero-video-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-hero-h1, #1a2433);
}

.hero-video-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.hero-video-frame {
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  background: linear-gradient(165deg, #0f1729 0%, #1e293b 45%, #0f1729 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 48px -12px rgba(15, 23, 41, 0.35),
    0 0 0 1px rgba(15, 23, 41, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-video-player {
  display: block;
  width: 100%;
  vertical-align: middle;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 620px);
  object-fit: contain;
  background: #000;
}

.hero-video-player:focus {
  outline: none;
}

.hero-video-player:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .hero-video {
    padding: 12px 16px 56px;
  }

  .hero-video-header {
    margin-bottom: 28px;
  }

  .hero-video-lede {
    font-size: 15px;
  }

  .hero-video-player {
    max-height: none;
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }
}

/* Logo scrolling banner */
.logo-banner {
  padding: 24px 0 64px;
  overflow: hidden;
  background: #FFFFFF;
  min-height: 200px;
}

.logo-banner-track {
  display: flex;
  width: max-content;
  animation: logo-banner-scroll 25s linear infinite;
  will-change: transform;
}

.logo-banner-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 0 64px;
  flex-shrink: 0;
}

.logo-banner-img {
  height: 96px;
  width: auto;
  min-width: 160px;
  max-width: 360px;
  object-fit: contain;
  display: block;
  filter: grayscale(0.3);
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .logo-banner-track {
    animation: none;
  }
}

@keyframes logo-banner-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.benefits {
  padding: 72px 24px 80px;
  display: flex;
  justify-content: center;
  background: #F7F9FC;
  box-sizing: border-box;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.benefits-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.benefits .section-pill {
  background: var(--color-bg-soft-blue);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 auto 14px;
}

.section-pill::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-blue);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.benefits-stack {
  display: grid;
  gap: 28px;
}

/* Benefit cards */
.benefit-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.benefit-card--dark {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card--dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.benefit-card--dark .benefit-kicker,
.benefit-card--dark .benefit-line,
.benefit-card--dark .benefit-value,
.benefit-card--dark .benefit-text {
  position: relative;
  z-index: 1;
}

.benefit-kicker {
  display: block;
  font-size: 14px;
  color: var(--color-text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: none;
}

.benefit-card--dark .benefit-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.benefit-line {
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  margin-bottom: 2px;
}

.benefit-card--dark .benefit-line {
  background: var(--color-primary);
}

.benefit-card:not(.benefit-card--dark) .benefit-line {
  background: var(--color-border);
}

.benefit-value {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--color-section-heading);
}

.benefit-value--small {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-section-heading);
}

.benefit-card--dark .benefit-value {
  color: #ffffff;
}

.benefit-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.benefit-card--dark .benefit-text {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 320px;
}

@media (max-width: 768px) {
  .benefits {
    padding: 60px 16px 60px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefits-stack {
    gap: 20px;
  }

  .benefit-card {
    padding: 20px;
  }

  .benefit-card--dark {
    padding: 28px;
  }

  .benefit-value {
    font-size: 52px;
  }

  .benefit-value--small {
    font-size: 36px;
  }
}

.how-it-works {
  padding: 0 24px 0;
  display: flex;
  justify-content: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: var(--color-card);
}

.section-bg-gray {
  background: var(--color-bg);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 60px 24px 48px;
  box-sizing: border-box;
}

/* Comment ça fonctionne — full-width black band */
.how-it-works .section-bg-gray {
  background: #000000;
}

.how-it-works .section-bg-gray .section-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.how-it-works .section-bg-gray-inner h2 {
  color: #ffffff;
}

.how-it-works .section-bg-gray .section-subtitle {
  color: rgba(255, 255, 255, 0.68);
}

.how-it-works .section-bg-gray .btn-dark {
  background: #ffffff;
  color: var(--color-section-heading);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.how-it-works .section-bg-gray .btn-dark:hover {
  background: #f3f4f6;
  color: var(--color-section-heading);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.section-bg-gray-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-bg-tint {
  background: var(--color-section-tint);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 48px 24px 72px;
  box-sizing: border-box;
}

.how-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.how-it-works h2 {
  margin: 0 auto 24px;
  color: var(--color-hero-h1);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 720px;
  text-align: center;
}

/* Keep "pour les achats d'électricité" on one line (exactly 3-line headline). */
.how-it-works h2 .headline-nowrap {
  white-space: nowrap;
}

.how-it-works .section-pill {
  margin-bottom: 24px;
  background: var(--color-bg-soft-blue);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
}

.section-subtitle {
  margin: 0 auto 40px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 620px;
}

.how-it-works .btn {
  margin: 0 auto 36px;
}

@media (max-width: 960px) {
  .how-it-works {
    padding: 0 16px 0;
  }

  .section-bg-gray {
    padding: 48px 16px 40px;
  }

  .section-bg-tint {
    padding: 40px 16px 56px;
  }

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

  .how-it-works h2 {
    font-size: 26px;
  }

  .section-subtitle br,
  .how-it-works h2 br {
    display: none;
  }
}

@media (max-width: 640px) {
  .how-it-works {
    padding: 0 12px 0;
  }

  .section-bg-gray {
    padding: 36px 12px 32px;
  }

  .section-bg-tint {
    padding: 32px 12px 48px;
  }

  .how-it-works h2 {
    font-size: 22px;
  }

  .how-it-works h2 .headline-nowrap {
    white-space: normal;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .how-card-preview {
    height: 380px;
  }

  .how-card h3 {
    font-size: 15px;
  }

  .how-card p {
    min-height: auto;
  }

  .consumer-toggle-section {
    padding: 0 16px;
  }
}

.how-cards {
  margin-top: 8px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Consumer toggle (Small / Large) — full layout block */
.consumer-toggle-section {
  margin-top: 0;
  margin-bottom: 96px;
  padding: 48px 24px 0;
  text-align: center;
  background: transparent;
}

.consumer-toggle-heading {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--color-hero-h1);
  margin: 0 0 48px;
  line-height: 1.25;
}

.consumer-toggle-heading .em {
  color: var(--color-primary);
  font-style: italic;
}

.consumer-toggle {
  display: inline-flex;
  align-items: center;
  height: 64px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 10px;
  gap: 4px;
  margin-bottom: 40px;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.consumer-toggle-btn {
  padding: 0 40px;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.consumer-toggle-btn:not(.is-active):hover,
.consumer-toggle-btn:not(.is-active):focus-visible {
  color: var(--color-heading);
}

.consumer-toggle-btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.consumer-toggle-btn:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.consumer-toggle-btn:hover {
  color: var(--color-heading);
}

.consumer-toggle-btn.is-active {
  background: var(--color-button-navy);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(31, 42, 58, 0.22);
  font-weight: 800;
}

.consumer-toggle-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.consumer-toggle-card:hover {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.9) inset, var(--glass-shadow-hover);
}

.consumer-toggle-card-inner {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  min-height: 400px;
}

.consumer-toggle-content {
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
}

.consumer-panel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-bg-soft-blue);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.consumer-panel-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0 0 16px;
  line-height: 1.3;
}

.consumer-panel-desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0 0 24px;
}

.consumer-panel-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.consumer-panel-features li {
  font-size: 15px;
  color: var(--color-text);
  padding-left: 32px;
  position: relative;
  margin-bottom: 14px;
}

.consumer-panel-features li:last-child {
  margin-bottom: 0;
}

.consumer-panel-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231FA8F2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
}

.consumer-panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  margin-top: auto;
  align-self: flex-start;
  background: var(--color-button-navy) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--glass-highlight), 0 10px 24px rgba(31, 42, 58, 0.22);
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.consumer-panel-cta:hover {
  background: var(--color-button-navy-hover) !important;
  box-shadow: var(--glass-highlight), 0 12px 28px rgba(22, 34, 55, 0.28);
  transform: translateY(-2px);
}

.consumer-toggle-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 0 20px 20px 0;
}

.consumer-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 16px 16px 0;
}

.consumer-panel-img.is-hidden,
.consumer-panel.is-hidden {
  display: none !important;
}

@media (max-width: 800px) {
  .consumer-toggle-section {
    margin-bottom: 80px;
    margin-left: 16px;
    margin-right: 16px;
    padding: 48px 24px 0;
  }

  .consumer-toggle-heading {
    margin-bottom: 32px;
  }

  .consumer-toggle {
    margin-bottom: 32px;
  }

  .consumer-toggle-card-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .consumer-toggle-media {
    min-height: 260px;
    order: -1;
    border-radius: 24px 24px 0 0;
  }

  .consumer-panel-img {
    border-radius: 24px 24px 0 0;
  }

  .consumer-toggle-content {
    padding: 36px 24px 32px;
  }

  .consumer-toggle-heading br {
    display: none;
  }

  .consumer-toggle-btn {
    padding: 0 24px;
    height: 36px;
    font-size: 14px;
  }
}

.how-card {
  text-align: left;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.how-card:hover {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.9) inset, var(--glass-shadow-hover);
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--color-heading);
  font-weight: 800;
}

.how-card p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  min-height: 72px;
}

/* Second layer: visible card wrapper so all 3 columns have outer card → inner preview card → mock content. */
.how-card-preview {
  margin-top: 24px;
  height: 520px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  border-radius: var(--radius-sm);
  padding: 18px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.how-card-img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.how-card-img--scale {
  transform: scale(1.12);
  transform-origin: center center;
}

/* Content only — no card styling so we stay at 2 layers (outer card + preview card). */
.how-mock {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 20px;
  display: grid;
  grid-template-rows: 84px 1fr 72px;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.how-mock-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-mock-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.how-mock-footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
}

.how-mock-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 700;
  color: #8b9bb0;
  text-align: center;
}

.how-mock-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  border: var(--glass-border);
  padding: 14px;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.how-mock-card--best {
  border: 2px solid rgba(16, 185, 129, 0.25);
  box-shadow: var(--glass-highlight), var(--glass-shadow-hover);
  position: relative;
}

.how-mock-card--alt {
  background: rgba(248, 250, 252, 0.7);
}

.how-mock-card--panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  display: contents;
}

.how-mock-card--mini {
  background: #f5f7fb;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
}

.how-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-mock-row--end {
  justify-content: space-between;
}

.how-mock-row--space {
  justify-content: space-between;
}

.how-mock-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e2e8f0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  filter: blur(3px);
}

.how-mock-logo--small {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

/* Blur company/offer names in comparison mock */
.how-mock--compare .how-mock-badge,
.how-mock--compare .how-mock-kicker {
  filter: blur(4px);
  user-select: none;
}

.how-mock-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #10b981;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-bottom-left-radius: 10px;
}

.how-mock-savings {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 999px;
}

.how-mock-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
}

.how-mock-unit {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 2px;
}

.how-mock-action {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-button-navy);
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: var(--glass-highlight), 0 8px 18px rgba(31, 42, 58, 0.2);
}

.how-mock-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.how-mock-meta--right {
  margin-left: auto;
  align-items: flex-end;
}

.how-mock-kicker {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
}

.how-mock-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
}

.how-mock-value span {
  font-size: 10px;
  color: #94a3b8;
  margin-left: 2px;
}

.how-mock-delta {
  font-size: 9px;
  color: #ef4444;
  font-weight: 600;
}

.how-mock-footer {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
  margin-top: 0;
}

.how-mock--form {
  background: var(--white);
  padding: 20px;
  gap: 12px;
}

.how-mock--form .how-mock-footer-wrap {
}

.how-mock-chip {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5f5;
}

.how-mock-step {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
}

.how-mock-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.how-mock-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-mock-label-sm {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.how-mock-input {
  height: 38px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid #e2e8f0;
}

.how-mock-clear {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.how-mock-signature {
  height: 60px;
  border-radius: 12px;
  border: 2px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.2em;
  background: var(--white);
}

.how-mock-footer--form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: #94a3b8;
}

.how-mock-checkbox {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  background: var(--white);
}

.how-mock-submit {
  background: var(--color-button-navy);
  color: var(--color-white);
  text-align: center;
  padding: 12px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
  box-shadow: var(--glass-highlight), 0 8px 18px rgba(31, 42, 58, 0.2);
}

.how-mock-footnote {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
}

.how-mock--dashboard {
  background: var(--white);
  padding: 20px;
}

.how-mock-metric {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
}

.how-mock-sub {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
}

.how-mock-trend {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}

.how-mock-chart {
  height: 110px;
  margin: 14px 0 18px;
}

.how-mock-chart svg {
  width: 100%;
  height: 100%;
}

.how-mock-chart path {
  fill: rgba(16, 185, 129, 0.12);
  stroke: none;
}

.how-mock-chart .how-mock-line {
  fill: none;
  stroke: #10b981;
  stroke-width: 2;
}

.how-mock-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 38, 66, 0.12);
  color: var(--accent-blue);
  font-size: 14px;
}

.how-mock-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ==========================================================================
   CONTRACT DETAILS CARD — one section, one padding, no conflicts
   ========================================================================== */

/* Force override base .how-mock grid/padding — same single-layer look as compare/form mocks (no extra “card” layer). */
.how-mock.how-mock--contract {
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  gap: 0;
  min-height: 0;
  background: transparent;
  grid-template-rows: unset;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Single inner column — only this element has horizontal padding */
.how-mock--contract .how-mock-contract-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 16px 20px 14px;
  box-sizing: border-box;
}

.how-mock--contract .how-mock-header {
  flex: 0 0 auto;
  margin-bottom: -32px;
  line-height: 1.15;
}

.how-mock--contract .how-mock-body {
  flex: 1 1 0;
  min-height: 0;
  overflow: visible;
  gap: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  order: 1;
}

.how-mock--contract .how-mock-cta-section {
  flex: 0 0 auto;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
  order: 2;
}

.how-mock--contract .how-mock-cta-section .how-mock-question {
  order: 2;
}

.how-mock--contract .how-mock-cta-section .how-mock-footer-wrap {
  order: 3;
}

.how-mock--contract .how-mock-cta-section .how-mock-divider {
  display: block;
  margin: 8px 0 10px;
}

.how-mock--contract .how-mock-footer-wrap {
  padding-top: 0;
  justify-content: flex-start;
}

/* Header — same baseline, link flush right */
.how-mock--contract .how-mock-header.how-mock-header--row {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  line-height: 1.25;
}

.how-mock--contract .how-mock-label,
.how-mock--contract .how-mock-label--left {
  text-align: left !important;
}

.how-mock--contract .how-mock-header .how-mock-label {
  margin: 0;
  line-height: inherit;
}

.how-mock--contract .how-mock-header .how-mock-link {
  flex-shrink: 0;
  line-height: inherit;
}

.how-mock--contract .how-mock-label--left {
  text-align: left;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.18em;
}

.how-mock--contract .how-mock-link {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}

/* Hero — icon + pill on one axis, price block aligned */
.how-mock--contract .how-mock-contract-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 14px;
  width: 100%;
  flex-shrink: 0;
}

.how-mock--contract .how-mock-contract-hero .how-mock-row {
  gap: 8px;
  align-items: center;
  display: flex;
  width: 100%;
}

.how-mock--contract .how-mock-contract-hero .how-mock-price--large {
  margin-top: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.how-mock--contract .how-mock-unit {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-left: 2px;
}

.how-mock--contract .how-mock-contract-hero .how-mock-sub {
  margin-top: 0;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.how-mock--contract .how-mock-icon--green {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e7f7ef;
  color: #10b981;
  font-size: 15px;
}

.how-mock--contract .how-mock-pill {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: #10b981;
  border: 1px solid #10b981;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Meta cards — same height, same top edge */
.how-mock--contract .how-mock-term-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
  align-items: stretch;
  width: 100%;
  flex-shrink: 0;
}

.how-mock--contract .how-mock-term-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  align-items: stretch;
}

.how-mock--contract .how-mock-term-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-height: 46px;
  box-sizing: border-box;
}

.how-mock--contract .how-mock-term-value {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
}

.how-mock--contract .how-mock-term-label {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* Section rows */
.how-mock--contract .how-mock-detail-rows {
  margin-bottom: 14px;
  width: 100%;
  flex-shrink: 0;
}

.how-mock--contract .how-mock-divider {
  height: 1px;
  background: #e8eef6;
  margin: 0;
  width: 100%;
}

.how-mock--contract .how-mock-detail-rows .how-mock-divider {
  margin: 0;
}

.how-mock--contract .how-mock-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  width: 100%;
}

.how-mock--contract .how-mock-detail-row .how-mock-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
}

.how-mock--contract .how-mock-detail-row .how-mock-link {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

/* CTA — full width, edges align */
.how-mock--contract .how-mock-footer-wrap--contract {
  align-items: stretch;
  text-align: center;
  padding-top: 0;
  margin-top: -2px;
  width: 100%;
  max-width: none;
}

.how-mock--contract .how-mock-question {
  margin: 0 0 0;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
}

.how-mock--contract .how-mock-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  background: var(--color-button-navy);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-white);
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--glass-highlight), 0 8px 18px rgba(31, 42, 58, 0.2);
}

.how-mock--contract .how-mock-cta-icon {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.95;
}

.how-mock--contract .how-mock-cta-icon--pink {
  color: #ffb3d9 !important;
  opacity: 1;
}

.how-mock-glow {
  display: none;
}

.how-mock-glow--one {
  bottom: -50px;
  right: -50px;
  background: rgba(16, 185, 129, 0.2);
}

.how-mock-glow--two {
  top: -50px;
  left: -50px;
  background: rgba(15, 23, 42, 0.18);
}

.mock-panel {
  height: 150px;
  border-radius: 10px;
  background: #f6f7f9;
  border: 1px solid #eceff3;
  position: relative;
  overflow: hidden;
}

.mock-panel--list {
  background: #f7f7f7;
}

.mock-panel--list::before,
.mock-panel--list::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 10px;
  background: #e2e6ee;
  border-radius: 8px;
}

.mock-panel--list::before {
  top: 18px;
}

.mock-panel--list::after {
  top: 40px;
}

.mock-panel--list::marker {
  content: none;
}

.mock-panel--doc {
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-panel--doc::before {
  content: "";
  width: 62%;
  height: 70px;
  background: repeating-linear-gradient(
    to bottom,
    #e1e6ee,
    #e1e6ee 8px,
    transparent 8px,
    transparent 14px
  );
  border-radius: 8px;
}

.mock-panel--doc::after {
  content: "Document signé";
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
}

.mock-panel--contract {
  background: #f7f7f7;
}

.mock-panel--contract::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18px;
  height: 8px;
  background: #e2e6ee;
  border-radius: 6px;
}

.mock-panel--contract::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid var(--navy);
  box-shadow: inset 0 0 0 3px var(--navy);
  transform: rotate(15deg);
}

.feature-block {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: center;
  text-align: left;
}

.feature-block--reverse {
  grid-template-columns: 1.1fr 1fr;
}

.feature-block--reverse .feature-media {
  order: 2;
}

.feature-block--reverse .feature-content {
  order: 1;
}

/* 3D glass feature cards */
.feature-media {
  height: 320px;
  border-radius: 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.feature-media--one,
.feature-media--two {
  background: rgba(255, 255, 255, 0.5);
}

.feature-media--three {
  background: rgba(255, 255, 255, 0.5);
}

.feature-content {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 26px;
  padding: 34px 36px;
  border: var(--glass-border);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.feature-content h3 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-heading);
}

.feature-block--muted .feature-content h3 {
  font-size: 24px;
}

.accent {
  background: linear-gradient(
    90deg,
    #ffb3d9 0%,
    #f07db7 45%,
    #a855f7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.feature-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
}

.feature-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.feature-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--primary-dark);
}

.feature-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 10px 14px;
  border-radius: 12px;
  border: var(--glass-border);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.feature-badge-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-badge-icon svg {
  width: 100%;
  height: 100%;
}

.feature-badge-text {
  background: linear-gradient(
    90deg,
    #ffb3d9 0%,
    #f07db7 45%,
    #a855f7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 900px) {
  .feature-block,
  .feature-block--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .feature-block--reverse .feature-media {
    order: 1;
  }

  .feature-block--reverse .feature-content {
    order: 2;
  }

  .feature-media {
    height: 260px;
    min-height: 260px;
  }

  .feature-content h3 {
    font-size: 22px;
  }

  .feature-content {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .feature-block {
    margin-top: 32px;
    gap: 20px;
  }

  .feature-media {
    height: 220px;
    min-height: 220px;
  }

  .feature-content h3 {
    font-size: 20px;
  }

  .feature-content {
    padding: 24px 20px;
  }

  .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.testimonials {
  padding: 120px 20px 120px;
  display: flex;
  justify-content: center;
  background: #F7F9FC;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.testimonials-inner {
  width: 1120px;
  max-width: 100%;
  text-align: center;
}

.testimonials h2 {
  margin: 16px 0 10px;
  color: var(--primary-dark);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.testimonials-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.9) inset, var(--glass-shadow-hover);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: #f5b23b;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6e9ef;
  display: inline-block;
}

.author-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
}

.author-role {
  font-size: 11px;
  color: #8a94a3;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 16px 60px;
  }

  .testimonials h2 {
    font-size: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .section-subtitle br {
    display: none;
  }
}

@media (max-width: 640px) {
  .testimonials h2 {
    font-size: 20px;
  }
}

.faq {
  padding: 120px 20px 120px;
  display: flex;
  justify-content: center;
  background: var(--color-bg);
}

.faq-inner {
  width: 1120px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.faq-header {
  text-align: left;
}

.faq-header h2 {
  margin: 16px 0 10px;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-accordion details {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.faq-accordion summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: "+";
  font-size: 16px;
  color: #7d8795;
}

.faq-accordion details[open] summary::after {
  content: "–";
}

.faq-accordion p {
  margin: 10px 0 0;
  color: #5b6573;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .faq {
    padding: 60px 16px 60px;
  }

  .faq-inner {
    grid-template-columns: 1fr;
  }

  .faq-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .faq {
    padding: 48px 12px 48px;
  }

  .faq-header h2 {
    font-size: 20px;
  }
}

.contact {
  padding: 120px 20px 120px;
  display: flex;
  justify-content: center;
  background: #F7F9FC;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.contact-inner {
  width: 1120px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.contact-left {
  text-align: left;
}

.contact-left h2 {
  margin: 16px 0 10px;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.contact-right {
  text-align: left;
}

.contact-intro {
  margin: 0 0 14px;
  color: #6b7584;
  font-size: 13px;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--color-card);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 168, 242, 0.15);
}

.contact-form textarea {
  min-height: 92px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6d7684;
}

.checkbox input {
  width: 14px;
  height: 14px;
}

.contact-form .btn {
  margin-top: 6px;
  width: fit-content;
}

.contact-form-label {
  margin: 14px 0 6px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
}

.contact-form-label:first-of-type {
  margin-top: 0;
}

.contact-form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-form-status--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-form-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 900px) {
  .contact {
    padding: 60px 16px 60px;
  }

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

  .contact-left h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .contact {
    padding: 48px 12px 48px;
  }

  .contact-left h2 {
    font-size: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
    justify-content: center;
  }
}
