/* =========================================================
   AIDE V2
   ========================================================= */

.aide-v2 {
  background: #ffffff;
}

/* HERO */

.aide-v2-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 92px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 22%, rgba(31, 196, 209, 0.22), transparent 28%),
    linear-gradient(
      90deg,
      rgba(4, 18, 45, 0.94) 0%,
      rgba(4, 18, 45, 0.84) 42%,
      rgba(4, 18, 45, 0.58) 68%,
      rgba(4, 18, 45, 0.38) 100%
    );
}
.aide-v2-hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(31, 196, 209, 0.22), transparent 28%),
    linear-gradient(
      90deg,
      rgba(4, 18, 45, 0.94) 0%,
      rgba(4, 18, 45, 0.84) 42%,
      rgba(4, 18, 45, 0.58) 68%,
      rgba(4, 18, 45, 0.38) 100%
    ),
    url("/img/aide/aide-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.aide-v2-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.4;
}

.aide-v2-breadcrumb--light,
.aide-v2-breadcrumb--light a {
  color: rgba(255, 255, 255, 0.72);
}

.aide-v2-breadcrumb a {
  text-decoration: none;
}

.aide-v2-breadcrumb a:hover {
  color: #1fc4d1;
}

.aide-v2-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}

.aide-v2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #1fc4d1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aide-v2-hero__title {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: 50px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.aide-v2-hero__lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 17px;
  line-height: 1.7;
}

.aide-v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* MAIN */

.aide-v2-main {
  padding: 64px 0 82px;
  background: #f9fbfe;
}

.aide-v2-head {
  max-width: 860px;
  margin: 0 0 34px;
}

.aide-v2-head h2 {
  margin: 0;
  color: var(--color-heading);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.aide-v2-head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* TABS */

.aide-v2-tabs {
  display: grid;
  gap: 26px;
}

.aide-v2-tabs__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

.aide-v2-tabs__nav .nav-item {
  min-width: 0;
}

.aide-v2-tab-btn {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  height: 72px;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  color: var(--color-heading);
  background: #ffffff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 28px rgba(16, 36, 73, 0.045);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.aide-v2-tab-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1fa6b3;
  font-size: 21px;
  line-height: 1;
}

.aide-v2-tab-btn span {
  display: block;
  min-width: 0;
}

.aide-v2-tab-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 196, 209, 0.55);
  color: var(--color-heading);
  background: #eefbfc;
  box-shadow: 0 16px 32px rgba(16, 36, 73, 0.08);
}

.aide-v2-tab-btn:hover i {
  color: #1298a8;
}

.aide-v2-tab-btn.active {
  transform: translateY(-2px);
  border-color: #1fc4d1;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0b345f 0%, #11587f 100%) !important;
  box-shadow: 0 18px 36px rgba(16, 36, 73, 0.12);
}

.aide-v2-tab-btn.active i,
.aide-v2-tab-btn.active span {
  color: #ffffff !important;
}

.aide-v2-tabs__content {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 36, 73, 0.06);
}

.aide-v2-panel {
  padding: 34px;
}

/* CLEAN OLD INCLUDED CONTENT */

.aide-v2-panel > .row:first-child {
  margin: 0 0 22px;
}

.aide-v2-panel > .row:first-child .col-12 {
  margin: 0 !important;
  padding: 0;
  text-align: left !important;
}

.aide-v2-panel > .row:first-child h2 {
  margin: 0;
  color: var(--color-heading);
  font-size: 30px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.aide-v2-panel .row {
  margin-left: 0;
  margin-right: 0;
}

.aide-v2-panel .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.aide-v2-panel .accordion {
  display: grid;
  gap: 14px;
}

.aide-v2-panel .accordion-item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
}

.aide-v2-panel .accordion-button {
  gap: 12px;
  padding: 18px 20px;
  color: var(--color-heading);
  background: #ffffff;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}

.aide-v2-panel .accordion-button:not(.collapsed) {
  color: var(--color-heading);
  background: #f4fbfd;
}

.aide-v2-panel .accordion-button:focus {
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(31, 196, 209, 0.12);
}

.aide-v2-panel .accordion-button h5 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.aide-v2-panel .card-body {
  padding: 20px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
  background: #ffffff;
}

.aide-v2-panel .card-body p {
  margin: 0 0 12px;
}

.aide-v2-panel .card-body p:last-child {
  margin-bottom: 0;
}

.aide-v2-panel .card-body hr {
  margin: 14px 0;
  border-color: #e7eef5;
  opacity: 1;
}

.aide-v2-panel .checkQuest {
  color: #1fa6b3;
}

.aide-v2-panel .mainBlock {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #f9fbfe;
}

/* CONTACT CTA */

.aide-v2-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(31, 196, 209, 0.13), transparent 34%),
    #ffffff;
  box-shadow: 0 16px 36px rgba(16, 36, 73, 0.06);
}

.aide-v2-contact h2 {
  max-width: 780px;
  margin: 0;
  color: var(--color-heading);
  font-size: 30px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.aide-v2-contact p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.aide-v2-contact__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.aide-v2-contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.aide-v2-contact__phone:hover {
  color: #1fa6b3;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .aide-v2-tabs__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .aide-v2-hero {
    padding: 84px 0 74px;
  }

  .aide-v2-hero__title {
    font-size: 42px;
  }

  .aide-v2-tabs__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aide-v2-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .aide-v2-hero {
    padding: 56px 0 58px;
  }

  .aide-v2-hero__title {
    font-size: 34px;
  }

  .aide-v2-hero__lead {
    font-size: 16px;
  }

  .aide-v2-hero__actions,
  .aide-v2-hero__actions .ui-btn {
    width: 100%;
  }

  .aide-v2-main {
    padding: 42px 0 56px;
  }

  .aide-v2-head h2 {
    font-size: 29px;
  }

  .aide-v2-head p {
    font-size: 16px;
  }

  .aide-v2-tabs__nav {
    grid-template-columns: 1fr;
  }

.aide-v2-tab-btn {
  grid-template-columns: 24px minmax(0, 1fr);
  height: auto;
  min-height: 60px;
  justify-content: initial;
  text-align: left;
}

  .aide-v2-panel {
    padding: 22px;
  }

  .aide-v2-panel > .row:first-child h2 {
    font-size: 25px;
  }

  .aide-v2-contact {
    padding: 24px;
  }

  .aide-v2-contact h2 {
    font-size: 25px;
  }

  .aide-v2-contact__actions,
  .aide-v2-contact__actions .ui-btn,
  .aide-v2-contact__phone {
    width: 100%;
  }
}