/*  
Theme Name: Alternetwork V2
Theme URI: https://alternetwork.fr/
Description: Thème Wordpress pour Alternetwork
Author: Alternetwork
Author URI: https://alternetwork.fr/
*/

@charset "UTF-8";

/*** Vars ***/
:root {
  --an-dark: #4a505f;
  --an-dark-900: #0f1116;
  --an-dark-900-rgb: 15, 17, 22;
  --an-dark-800: #2c313d;
  --an-mid: #8b8f9a;
  --an-light: #eceef1;
  --an-offwhite: #fafafb;
  --an-blue-1: #c7d3e8;
  --an-blue-2: #93a2c4;
  --an-blue-3: #67759c;
  --an-red: #d53952;
  --an-red-light: #f7dde1;

  --col-noir: #3a1f34;
  --col-blanc: #f3f1ec;
  --col-beige: #f2d6b8;
  --col-violet:#7e73ba;
  --col-bleu:#7ec8d9;
  --col-menthe:#36ad99;
  --col-rouge:#d95a4c;
  --col-gris:#6f6f6f;
  --col-gris-clair:#E4E4E4;
  --rgb-noir: 58, 31, 52;
  --rgb-blanc: 243, 241, 236;
  --rgb-beige: 242, 214, 184;
  --rgb-violet: 126, 115, 186;
  --rgb-bleu: 126, 200, 217;
  --rgb-menthe: 54, 173, 153;
  --rgb-rouge: 217, 90, 76;
  --rgb-gris:111, 111, 111;
  --rgb-gris-clair:228, 228, 228;

  --size-h1: 128px;
  --size-h1-b: 96px;
  --size-h2: 62px;
  --size-h3: 30px;
  --size-h4: 24px;
  --size-titre-anime:90px;
  --size-surtitre:  16px;
  --size-titre-intro:  36px;
  --size-big-txt:  22px;
  --size-txt:  20px;

  --navbar-height: 90px;
  --sticky-height: 90px;

  --width-header-logo: 250px;
  --width-footer-logo:  200px;

  --break-point-1500: 1420px;

  --width-container: min(1420px, calc(100dvw - 30px));
  --marge-left: max(15px, calc((100dvw - var(--width-container)) / 2));
  --marge-right: max(15px, calc((100dvw - var(--width-container)) / 2));

  --width-hr: 20dvw;
  --height-top:10dvh;

  --banner-height:600px;
  --cadre-photo-height-min: 310px;
  --cadre-photo-height-med: 450px;
  --cadre-photo-height-max: 560px;
  --cadre-photo-height-portrait: 300px;
  --cadre-photo-width-portrait: 210px;
  --banniere-photo-height:  740px;
  --bulle-photo-height:200px;
  --slider-photo-height: 500px;
  --button-cross-height:24px;

  --width-button-arrow:90px;
  --height-button-arrow:100px;
  --height-bloc-jour:550px;
  --height-bloc-intervenant:500px;
  --height-header-event:140px;

  --radius-min: 20px;
  --radius-med: 40px;
  --radius-max: 100px;

  --main-padding:  100px;
  --main-padding-min: 60px;
  --main-padding-left:  50px;
  --main-padding-right: 50px;

  --transition-duration : 0.45s;

  --arrow-right: polygon(0 40%,91% 40%,80% 0%, 88% 0%,100% 50%,88% 100%,80% 100%,91% 60%,0 60%);
}

/*** Animations ***/

/*** Règles ***/
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--an-offwhite);
  color: var(--an-dark-800);
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  margin: 0;
}


a,
a:hover,
a:link {
  text-decoration: none;
}
a:not(.button) {
  transition:all var(--transition-duration) ease-in;
  position:relative;
}

/* ---------- Google Recaptcha ---------- */
.grecaptcha-badge {
  opacity: 0;
}

/* ---------- Curseur personnalisé ---------- */
@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  background: var(--an-red-light);
  border: 2px solid transparent;
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.cursor.is-visible { opacity: 1; }

.cursor.is-hovering {
  width: 90px;
  height: 90px;
  background: transparent;
  border-color: var(--an-red-light);
}

.cursor__label {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--an-red-light);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor.is-hovering .cursor__label { opacity: 1; }

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--an-dark-900);
  z-index: 999;
  padding: 5vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#loader-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

#loader-logo {
  font-family: 'Quicksand', sans-serif;
  font-size: 22px;
}
#loader-logo .bold { font-weight: 500; color: var(--an-offwhite); }
#loader-logo .light { font-weight: 300; color: var(--an-offwhite); }

#loader-count {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(64px, 12vw, 140px);
  color: var(--an-offwhite);
  line-height: 1;
  letter-spacing: -2px;
}

#loader-count::after {
  content: '%';
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.32em;
  color: var(--an-red);
  letter-spacing: 0;
  margin-left: 6px;
}

  /* ---------- Site header (top-header + header, fixes, fond qui apparaît au scroll) ---------- */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: transform 0.4s ease;
    height:var(--navbar-height);
  }

  .site-header.is-hidden {
    transform: translateY(-100%);
  }

  .site-header::before {
    content: "";
    position: absolute;
    left: -4vw;
    right: -4vw;
    top: -60px;
    bottom: 0px;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    background: linear-gradient(
      to bottom,
      rgba(var(--an-dark-900-rgb), 0.95) 0%,
      rgba(var(--an-dark-900-rgb), 0.75) 15%,
      rgba(var(--an-dark-900-rgb), 0.35) 40%,
      rgba(var(--an-dark-900-rgb), 0) 100%
    );
    transition: opacity 420ms ease;
  }

  .site-header.is-scrolled::before {
    opacity: 1;
  }

  /* ---------- Structure principale du header ---------- */

  .site-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 5vw;
  }

  /* ---------- Colonne de droite ---------- */

  .site-header__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }

  .top-header {
    padding: 0 5vw;
  }

  .top-header__contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
  }

  .top-header__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    color: var(--an-dark-900);
    text-decoration: none;
    transition: color 0.4s ease;
  }

  .top-header__contact a i.fa {
    margin-right: 0;
    color: var(--an-red);
  }
  .site-header.is-scrolled .top-header__contact a {
    color: var(--an-light);
  }

  /* ---------- Header ---------- */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 5vw 20px;
  }

  .an-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
  }

  .an-logo__mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--an-dark-900);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.4s ease;
  }

  .an-logo__mark span:first-child { font-weight: 500; }
  .an-logo__mark span:last-child { font-weight: 300; margin-left: -4px; }
  .an-logo__mark span { font-size: 21px; color: var(--an-dark-900); transition: color 0.4s ease; }

  .an-logo__word { font-size: 26px; white-space: nowrap; }
  .an-logo__word .bold { font-weight: 500; color: var(--an-dark-900); transition: color 0.4s ease; }
  .an-logo__word .light { font-weight: 300; color: var(--an-dark-900); transition: color 0.4s ease; }

  .site-header.is-scrolled .an-logo__mark { border-color: var(--an-light); }
  .site-header.is-scrolled .an-logo__mark span,
  .site-header.is-scrolled .an-logo__word .bold,
  .site-header.is-scrolled .an-logo__word .light { color: var(--an-light); }

  /* ---------- Bouton burger ---------- */
  .burger {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .burger__label {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    color: var(--an-dark-800);
    transition: color 0.3s ease, color 0.4s ease;
  }

  .site-header.is-scrolled .burger__label { color: var(--an-light); }
  .burger:hover .burger__label { color: var(--an-red); }
  .burger:hover .burger__line { background: var(--an-red); }

  .burger__lines {
    position: relative;
    width: 28px;
    height: 12px;
    flex-shrink: 0;
  }

  .burger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--an-dark-800);
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, background-color 0.4s ease, width 0.3s ease;
  }

  .site-header.is-scrolled .burger__line { background: var(--an-light); }

  .burger__line:first-child { top: 0; }
  .burger__line:last-child { top: 100%; left: auto; right: 0; transform: translateY(-100%); }

  .burger:hover .burger__line:last-child { width: 55%; }

  .burger[aria-expanded="true"] .burger__line {
    width: 100%;
    left: 0;
    right: auto;
  }

  .burger[aria-expanded="true"] .burger__line:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .burger[aria-expanded="true"] .burger__line:last-child {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  @media (max-width: 767px) {
    .site-header__main {
      gap: 20px;
      padding: 15px 5vw;
    }

    .site-header__right {
      gap: 12px;
    }

    .top-header__contact {
      gap: 14px;
    }

    .top-header__contact a {
      font-size: 0;
      gap: 0;
    }

    .top-header__contact a i.fa {
      font-size: 18px;
    }

    .an-logo__word {
      display: none;
    }
  }

  /* ---------- Menu plein écran (2 panneaux) ---------- */
  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    visibility: hidden;
  }

  .nav-overlay__panel {
    position: relative;
    height: 100%;
    overflow: hidden;
  }

  .nav-overlay__panel--left {
    width: 43%;
    background: var(--an-dark-900);
    padding: 28px 5%;
    display: flex;
    flex-direction: column;
  }

  .nav-overlay__panel--right {
    width: 57%;
    background: var(--an-dark-800);
    display: flex;
    align-items: center;
    padding: 0 6%;
  }

  @media (max-width: 860px) {
    .nav-overlay { flex-direction: column; }
    .nav-overlay__panel--left,
    .nav-overlay__panel--right { width: 100%; }
    .nav-overlay__panel--left { flex: 0 0 auto; }
    .nav-overlay__panel--right { flex: 1 1 auto; padding: 40px 6%; }
  }

  /* -- Logo en tête du panneau gauche -- */
  .nav-overlay__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    opacity: 0;
  }

  .nav-overlay__brand .an-logo__mark { border-color: var(--an-light); }
  .nav-overlay__brand .an-logo__mark span,
  .nav-overlay__brand .an-logo__word .bold,
  .nav-overlay__brand .an-logo__word .light { color: var(--an-light); }

  /* -- Bloc coordonnées + logo répété, centré verticalement -- */
  .nav-overlay__info {
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 15vh;
  }

  .nav-overlay__info .an-logo__mark { width: 56px; height: 56px; border-color: var(--an-light); }
  .nav-overlay__info .an-logo__mark span { font-size: 22px; color: var(--an-light); }
  .nav-overlay__info .an-logo__word { font-size: 26px; }
  .nav-overlay__info .an-logo__word .bold,
  .nav-overlay__info .an-logo__word .light { color: var(--an-light); }
  .nav-overlay__info .nav-overlay__brand { justify-content: flex-end; }

  .nav-overlay__address,
  .nav-overlay__contact-links {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    opacity: 0;
  }

  .nav-overlay__address {
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--an-light);
    text-align: right;
  }

  .nav-overlay__contact-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .nav-overlay__contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--an-light);
    text-decoration: none;
  }

  .nav-overlay__contact-links a .fa {
    color: var(--an-red);
  }

  /* -- Illustration décorative (monogramme géant) -- */
  .nav-overlay__illustration {
    position: absolute;
    left: -12%;
    bottom: -14%;
    width: 60%;
    aspect-ratio: 1;
    border: 1.5px solid rgba(250, 250, 251, 0.08);
    border-radius: 50%;
    pointer-events: none;
  }

  .nav-overlay__illustration::after {
    content: 'an';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 14vw;
    color: rgba(250, 250, 251, 0.06);
    white-space: nowrap;
  }

  /* -- Liste des items de menu -- */
  .nav-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .nav-overlay__item {
    display: flex;
    align-items: baseline;
    gap: 18px;
  }

  .nav-overlay__number {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--an-red);
    width: 20px;
    text-align: right;
    opacity: 0;
  }

  .nav-overlay__link-mask {
    overflow: hidden;
    flex: 1;
  }

  .nav-overlay__link {
    display: block;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 56px);
    color: var(--an-offwhite);
    text-decoration: none;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(100%);
  }

  /* -- Croix de fermeture -- */
  .nav-overlay__close {
    position: absolute;
    top: 28px;
    right: 5%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
  }

  .nav-overlay__close-label {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    color: var(--an-offwhite);
    transition: color 0.3s ease;
  }

  .nav-overlay__close-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.35s ease;
  }

  .nav-overlay__close-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--an-offwhite);
    transition: background-color 0.3s ease;
  }

  .nav-overlay__close-line:first-child { transform: translateY(-50%) rotate(45deg); }
  .nav-overlay__close-line:last-child { transform: translateY(-50%) rotate(-45deg); }

  .nav-overlay__close:hover .nav-overlay__close-label { color: var(--an-red); }
  .nav-overlay__close:hover .nav-overlay__close-line { background: var(--an-red); }
  .nav-overlay__close:hover .nav-overlay__close-icon { transform: rotate(90deg); }

  @media (max-width:768px) {
    nav .top-contacts {
      flex-direction: column;
      align-items: flex-end;
      gap:6px;
    } 
  }

  @media (max-width:500px) {
    .an-logo {
      gap:6px;
    }
    .top-contacts li::before {
      font-size:14px;
    }

    nav .top-contacts a {
      font-size: 14px;
      margin-left:6px;
    }
  }

  @media (max-width:450px) {
    .an-logo__mark {
      width: 40px;
      height: 40px;
    }

    .an-logo__mark span { font-size: 17px; }

    .an-logo__word { font-size: 20px; }

    header {
      flex-direction: column;
      align-items: flex-start;
    }
    header nav {
      width:100%;
    }
  }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5vw;
  position: relative;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle, rgba(250, 250, 251, 0.8) 0%, rgba(199, 211, 232, 0.8) 33%, rgba(147, 162, 196, 0.8) 66%, rgba(103, 117, 156, 0.8) 100%);
  background-size: 220% 220%;
  animation: hero-gradient-move 11s ease-in-out infinite;
}

@keyframes hero-gradient-move {
  0%   { background-position: 10% 15%; }
  22%  { background-position: 75% 30%; }
  47%  { background-position: 35% 85%; }
  68%  { background-position: 90% 65%; }
  86%  { background-position: 25% 60%; }
  100% { background-position: 10% 15%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__gradient { animation: none; background-position: 15% 15%; }
}

#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top:var(--navbar-height);
}

.hero__eyebrow {
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  color: var(--an-red);
  text-transform: uppercase;
  margin-left: 5px;
  margin-bottom: 10px;
}

.hero__eyebrow-mask,
.hero__desc-mask {
  overflow: hidden;
  display: block;
}

.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--an-dark-800);
  max-width: 16ch;
}

.hero__title .line { overflow: hidden; display: block; }
.hero__title .line span { display: block; }
.hero__title-accent { color: var(--an-red); display: inline; }

[data-reveal] {
  display: block;
  opacity: 0;
  transform: translateY(24px);
}

.hero__desc {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--an-dark-900);
  max-width: 46ch;
  margin-top: 20px;
  line-height: 1.25;
}

.hero__cta {
  margin-top: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--an-dark-900);
  background: transparent;
  border: 2px solid var(--an-dark-900);
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  overflow: hidden;
}

.hero__cta-fill,
.button-bg {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--an-dark-900);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: scale(0);
}

.hero__cta-label {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease 0.1s;
}

.hero__cta:hover .hero__cta-label {
  color: var(--an-offwhite);
}

/* ---------- Bandeau défilant ---------- */

.hero {
  /*
   * Évite que le bouton soit masqué par le bandeau
   * lorsque la hauteur de l'écran est réduite.
   */
  padding-bottom: 70px;
}

.hero__flash {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 20;

  width: 100%;
  overflow: hidden;

  color: var(--an-offwhite);
  background: var(--an-dark-900);

  padding: 10px 0;

  pointer-events: none;
}

.hero__flash-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.hero__flash-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 70px;

  /*
   * Le padding crée le même espacement entre la fin
   * du premier groupe et le début de sa copie.
   */
  padding-right: 70px;
}

.hero__flash-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 70px;
}

.hero__flash .an-infos {
  flex-shrink: 0;

  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;

  color: var(--an-offwhite);
}

/*
 * On reprend le logo du header, mais on surcharge
 * ses couleurs et ses dimensions dans le bandeau.
 */

.hero__flash .an-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.hero__flash .an-logo__mark {
  width: 34px;
  height: 34px;

  border-color: var(--an-offwhite);
}

.hero__flash .an-logo__mark span {
  color: var(--an-offwhite);
  font-size: 15px;
}

.hero__flash .an-logo__word {
  font-size: 19px;
}

.hero__flash .an-logo__word .bold,
.hero__flash .an-logo__word .light {
  color: var(--an-offwhite);
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 75px;
  }

  .hero__flash {
    padding: 11px 0;
  }

  .hero__flash-group,
  .hero__flash-item {
    gap: 38px;
  }

  .hero__flash-group {
    padding-right: 38px;
  }

  .hero__flash .an-logo__mark {
    width: 28px;
    height: 28px;
  }

  .hero__flash .an-logo__mark span {
    font-size: 12px;
  }

  .hero__flash .an-logo__word {
    font-size: 16px;
  }
}

/* ---------- Services (accordéon) ---------- */
.services {
  padding: 80px 5vw;
  background: var(--an-dark-900);
}

.services__header {
  margin-bottom: 80px;
}

.services__eyebrow {
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--an-red);
  margin: 0 0 16px;
}

.services__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--an-offwhite);
  max-width: 20ch;
  margin: 0;
}

.services__list {
  border-top: 1px solid rgba(250, 250, 251, 0.14);
}

.service {
  border-bottom: 1px solid rgba(250, 250, 251, 0.14);
}

.service__header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
}

.service__number {
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--an-red);
  width: 32px;
  flex-shrink: 0;
}

.service__heading {
  flex: 1;
  min-width: 0;
}

.service__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--an-offwhite);
  margin: 0 0 8px;
}

.service__subtitle {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--an-mid);
  margin: 0;
}

.service__toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 250, 251, 0.3);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.service__header:hover .service__toggle {
  border-color: var(--an-red);
  background: rgba(213, 57, 82, 0.1);
}

.service__toggle-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.service__toggle-line {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--an-offwhite);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.service__toggle-line--horizontal {
  width: 100%;
  height: 2px;
}

.service__toggle-line--vertical {
  width: 2px;
  height: 100%;
}

.service__toggle[aria-expanded="true"] .service__toggle-line--vertical {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.service__content {
  height: 0;
  overflow: hidden;
}

.service__content-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 0 0 40px;
}

@media (max-width: 860px) {
  .service__content-inner {
    flex-direction: column;
  }
}

.service__description {
  flex: 1 1 55%;
  min-width: 0;
}

.service__description p {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--an-light);
  margin: 0;
}

.service__keywords {
  flex: 1 1 40%;
  min-width: 0;
  overflow: hidden;
}

.service__keywords-track {
  display: flex;
  flex-wrap: wrap;
}

.service__keywords-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.service__keywords-group[aria-hidden="true"] {
  display: none;
}

.service__keywords-group span {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--an-mid);
  white-space: nowrap;
  border: 1px solid var(--an-mid);
  border-radius: 999px;
  padding: 10px 15px;
}
