/* ==========================================================
   Design tokens
   ========================================================== */
:root {
  /* Colors */
  --color-bg: #f7f6f4;
  --color-white: #ffffff;
  --color-primary: #4b674b;
  --color-green-40: #4f6a4f;
  --color-green-30: #769375;
  --color-green-card: #425a45;
  --color-hero-accent: #121f11;
  --color-neutral-50: #3e3e38;
  --color-neutral-source: #f0f0e7;
  --color-text: #333333;
  --color-label: #1a1a1a;

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-variation-body: "opsz" 14, "wdth" 100;

  --fs-nav: 14px;
  --fs-small: 14px;
  --fs-body: 15px;
  --fs-button: 18px;
  --fs-question: 22px;
  --fs-h2: 26px;
  --fs-h1: 42px;

  --lh-nav: 20px;
  --lh-small: 24px;
  --lh-body: 27px;
  --lh-button: 22px;
  --lh-question: 24px;
  --lh-h2: 28px;
  --lh-h1: 50px;

  /* Spacing */
  --space-5: 5px;
  --space-10: 10px;
  --space-15: 15px;
  --space-20: 20px;
  --space-25: 25px;
  --space-30: 30px;
  --space-35: 35px;
  --space-40: 40px;
  --space-45: 45px;
  --space-50: 50px;
  --space-60: 60px;
  --space-80: 80px;
  --space-100: 100px;
  --space-120: 120px;

  /* Radius */
  --radius-sm: 30px;
  --radius-photo: 43px;
  --radius-card: 59px;
  --radius-lg: 60px;
  --radius-pill: 100px;

  /* Layout */
  --section-py: 120px;
  --gutter: 24px;
  --menu-speed: 0.35s;
}

/* ==========================================================
   Base
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  font-variation-settings: var(--font-variation-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 135px;
}

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

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

/* ==========================================================
   Shared components
   ========================================================== */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--color-green-40);
}

.section-title--center {
  text-align: center;
}

.section-title--dark {
  color: var(--color-text);
}

.section-title--primary {
  color: var(--color-primary);
}

.subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: -0.25px;
  color: var(--color-neutral-50);
}

.body-text {
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-neutral-50);
  font-variation-settings: var(--font-variation-body);
}

.body-text p + p {
  margin-top: var(--lh-body);
}

.body-text--trailing-space p:last-child {
  margin-bottom: var(--lh-body);
}

.btn {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-20) var(--space-35);
  background: var(--color-primary);
  color: var(--color-neutral-source);
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-button);
  line-height: var(--lh-button);
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-variation-settings: var(--font-variation-body);
}

.btn--tall {
  height: 64px;
}

.logo {
  position: relative;
  display: block;
}

.logo__layer {
  position: absolute;
}

.logo--nav {
  width: 315.949px;
  height: 55px;
}

.logo--nav .logo__layer--wordmark {
  left: 15.145%;
  top: 16.702%;
  width: 84.855%;
  height: 83.298%;
}

.logo--nav .logo__layer--mark {
  left: 0;
  top: 0;
  width: 11.827%;
  height: 98.881%;
}

.logo--large {
  width: 300px;
  aspect-ratio: 300 / 260.453;
}

.logo--contact {
  width: 461.3px;
  aspect-ratio: 461.3 / 400.49;
}

.logo--large .logo__layer--leaves,
.logo--contact .logo__layer--leaves {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.logo--large .logo__layer--wordmark,
.logo--contact .logo__layer--wordmark {
  left: 7.653%;
  top: 50.66%;
  width: 90.75%;
  height: 49.34%;
}

.logo__layer img {
  width: 100%;
  height: 100%;
  max-width: none;
}

/* ==========================================================
   Navbar
   ========================================================== */
.navbar {
  background: var(--color-bg);
  padding: 0 var(--gutter);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: var(--space-40) 0;
}

.navbar__brand {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}

.navbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.navbar__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-label);
  border-radius: 2px;
  transition: transform var(--menu-speed) ease, opacity var(--menu-speed) ease;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navbar__toggle:focus-visible,
.navbar__link:focus-visible,
.navbar__contact:focus-visible,
.btn:focus-visible,
.faq-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.navbar__menu {
  display: block;
}

.navbar__menu-inner {
  min-height: 0;
}

.navbar__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 659px;
}

.navbar__link {
  display: block;
  font-weight: 500;
  font-size: var(--fs-nav);
  line-height: var(--lh-nav);
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--color-label);
  font-variation-settings: var(--font-variation-body);
}

.navbar__link--current {
  color: var(--color-text);
}

.navbar__contact {
  /*display: block;*/
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.navbar__contact img {
  width: 48px;
  height: 48px;
}

.section-link {
  scroll-margin-top: 70px;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  background: var(--color-white);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 92px;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-120) var(--space-100);
}

.hero__logo {
  flex: 0 0 auto;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: var(--space-15);
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--color-green-40);
}

.hero__line {
  display: block;
}

.hero__accent {
  color: var(--color-hero-accent);
}

/* ==========================================================
   About (Acerca de)
   ========================================================== */
.about {
  padding: var(--section-py) var(--gutter);
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-60);
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

.about__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  width: 100%;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-45);
  flex: 0 1 500px;
  min-width: 0;
}

.about__figure {
  position: relative;
  flex: 0 1 384px;
  width: 384px;
  aspect-ratio: 384 / 385;
  margin-top: 32.55px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about__image {
  position: absolute;
  height: 140.52%;
  left: -139.31%;
  top: -33.08%;
  width: 239.28%;
  max-width: none;
}

/* ==========================================================
   Services
   ========================================================== */
.services {
  background: var(--color-white);
  padding: var(--section-py) var(--gutter);
}

.services__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-60);
  max-width: 940px;
  margin: 0 auto;
}

.services__cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-40);
  width: 100%;
}

.service-card {
  display: flex;
  flex: 1 1 450px;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
  max-width: 450px;
  min-height: 400px;
  padding: var(--space-60);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.service-card__text {
  min-height: 135px;
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-neutral-50);
  font-variation-settings: var(--font-variation-body);
}

/* ==========================================================
   Psicoterapia
   ========================================================== */
.therapy {
  padding: var(--section-py) var(--gutter);
}

.therapy__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
  max-width: 1040px;
  margin: 0 auto;
}

.therapy__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 940px;
}

.therapy__figure {
  display: flex;
  flex: 0 1 361px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.therapy__illustration {
  width: 100%;
  /*aspect-ratio: 122.64 / 64.27;*/
}

.therapy__text {
  display: flex;
  flex: 0 1 500px;
  flex-direction: column;
  gap: var(--space-40);
  min-width: 0;
}

/* ==========================================================
   FAQ item
   ========================================================== */
.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
  width: 100%;
  max-width: 1040px;
  padding: var(--space-15) var(--space-50);
  background: var(--color-bg);
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-question);
  line-height: var(--lh-question);
  letter-spacing: -0.25px;
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
}

.faq-item--white {
  background: var(--color-white);
}

.faq-item__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-20);
  width: 100%;
  max-width: 1040px;
}

/* ==========================================================
   Orientación vocacional
   ========================================================== */
.vocational {
  background: var(--color-white);
  padding: var(--section-py) var(--gutter);
}

.vocational__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
  max-width: 1040px;
  margin: 0 auto;
}

.vocational__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 940px;
}

.vocational__text {
  display: flex;
  flex: 0 1 500px;
  flex-direction: column;
  gap: var(--space-40);
  min-width: 0;
}

.vocational__figure {
  display: flex;
  flex: 0 1 362px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.vocational__illustration {
  width: 100%;
  /*aspect-ratio: 362 / 165.319;*/
}

.vocational__aspects {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
  width: 100%;
  max-width: 940px;
}

.vocational__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-40);
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.aspect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*gap: var(--space-15);*/
  min-height: 360px;
  padding: var(--space-40);
  background: var(--color-bg);
  border-radius: var(--radius-card);
  text-align: center;
  color: var(--color-green-card);
}

.aspect-card--tight {
  padding: var(--space-30);
}

.aspect-card__icon {
  width: 60px;
  height: 60px;
}

.aspect-card__title {
  width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: -0.25px;
}

.aspect-card__text {
  width: 100%;
  font-weight: 300;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  font-variation-settings: var(--font-variation-body);
}

/* ==========================================================
   Sobre mi
   ========================================================== */
.about-me {
  padding: var(--space-80) var(--gutter);
}

.about-me__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-40);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-80) var(--space-100);
  background: var(--color-white);
  border-radius: var(--radius-lg);
}

.about-me__profile {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: var(--space-30);
  min-height: 613px;
}

.about-me__photo {
  width: 396px;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.about-me__list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 550px;
  min-width: 0;
}

.about-me__item {
  display: flex;
  align-items: center;
  gap: var(--space-25);
  min-height: 108px;
}

.about-me__item--short {
  min-height: 81px;
}

.about-me__text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 476px;
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  font-variation-settings: var(--font-variation-body);
}

.about-me__icon {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.about-me__icon--1 {
  height: 20.985px;
}

.about-me__icon--2 {
  height: 25px;
  overflow: hidden;
}

.about-me__icon--3,
.about-me__icon--5 {
  overflow: hidden;
}

.about-me__icon-inner {
  position: absolute;
}

.about-me__icon--2 .about-me__icon-inner {
  inset: 8.33% 8.33% 8.35% 8.33%;
}

.about-me__icon--3 .about-me__icon-inner {
  inset: 8.33% 12.5%;
}

.about-me__icon--5 .about-me__icon-inner {
  inset: 8.33% 8.33% 12.5% 8.33%;
}

.about-me__icon-inner img,
.about-me__icon > img {
  position: absolute;
  max-width: none;
}

.about-me__icon--1 > img {
  inset: -4.77% -3.33%;
  width: 106.66%;
  height: 109.54%;
}

.about-me__icon--2 .about-me__icon-inner img {
  inset: -4.8% -4%;
  width: 108%;
  height: 109.6%;
}

.about-me__icon--3 .about-me__icon-inner img {
  inset: -4% -4.44%;
  width: 108.88%;
  height: 108%;
}

.about-me__icon--4 > img {
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-me__icon--5 .about-me__icon-inner img {
  inset: -4.21% -4%;
  width: 108%;
  height: 108.42%;
}

/* ==========================================================
   Contacto
   ========================================================== */
.contact {
  background: var(--color-white);
  padding: var(--section-py) var(--gutter);
}

.contact__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 101px;
  max-width: 1097.3px;
  margin: 0 auto;
}

.contact__info {
  display: flex;
  flex: 1 1 535px;
  flex-direction: column;
  gap: var(--space-25);
  max-width: 535px;
  min-width: 0;
}

.contact__intro {
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  font-variation-settings: var(--font-variation-body);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-25);
  height: 85px;
  padding: var(--space-10) var(--space-50);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.contact__item--social {
  height: 82.194px;
}

.contact__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.contact__social {
  width: 24px;
  height: 24.194px;
}

.contact__text {
  font-weight: 300;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--color-text);
  font-variation-settings: var(--font-variation-body);
}

.contact__key {
  font-weight: 700;
  font-size: var(--fs-button);
  line-height: 1.5;
}

.contact__link {
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}

.contact__logo {
  flex: 0 1 461.3px;
  min-width: 0;
}

/* ==========================================================
   Tablet (max-width: 1024px)
   ========================================================== */
@media (max-width: 1024px) {
  :root {
    --fs-h1: 36px;
    --lh-h1: 43px;
    --section-py: 96px;
    --gutter: 40px;
  }

  /* Navbar: hamburger + collapsible menu */

  body {
    padding-top: 80px;
 }

  .navbar__inner {
    flex-wrap: wrap;
    padding: var(--space-20) 0;
  }

  .navbar__toggle {
    display: inline-flex;
  }

  .navbar__menu {
    display: grid;
    grid-template-rows: 0fr;
    order: 3;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition:
      grid-template-rows var(--menu-speed) ease,
      opacity var(--menu-speed) ease,
      visibility 0s linear var(--menu-speed);
  }

  .navbar__menu--open {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    transition:
      grid-template-rows var(--menu-speed) ease,
      opacity var(--menu-speed) ease,
      visibility 0s;
  }

  .navbar__menu-inner {
    overflow: hidden;
  }

  .navbar__list {
    flex-direction: column;
    /*align-items: flex-end;*/
    gap: var(--space-10);
    width: 100%;
    padding: var(--space-20) 0 var(--space-10);
    align-items: stretch;
  }

  .navbar__link {
    padding: var(--space-10) 0;
    text-align: left;
    border-bottom: solid 1px #B0C39F;
    box-sizing: border-box;
    display: block;
    text-align: center; 
    width: 100%;
  }

  .navbar__contact img {
  display: block; 
  margin: 0 auto; 
  }

  /* Hero */
  .hero__inner {
    flex-direction: column;
    gap: var(--space-40);
    padding: var(--space-80) var(--gutter);
    text-align: center;
  }

  .hero__title {
    align-items: center;
  }

  /* Sobre mi */
  .about-me__box {
    padding: var(--space-80) var(--space-40);
  }

  .about-me__profile {
    flex: 0 1 396px;
  }

  .about-me__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 396 / 520;
  }
}

/* ==========================================================
   Mobile (max-width: 768px)
   ========================================================== */
@media (max-width: 768px) {
  :root {
    --fs-h1: 30px;
    --lh-h1: 36px;
    --fs-h2: 22px;
    --lh-h2: 26px;
    --fs-question: 18px;
    --lh-question: 22px;
    --section-py: 64px;
    --gutter: 20px;
  }

  .logo--nav {
    width: 240px;
    height: auto;
    aspect-ratio: 315.949 / 55;
  }

  .hero__inner {
    gap: var(--space-30);
    padding: var(--space-60) var(--gutter);
  }

  .logo--large {
    width: 240px;
  }

  .about__row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-40);
  }

  .about__text {
    flex: 0 0 auto;
  }

  .about__figure {
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    max-width: 384px;
    margin-top: 0;
  }

  .about__inner .btn,
  .btn {
    white-space: normal;
  }

  .services__cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    padding: var(--space-40) var(--space-30);
  }

  .service-card__text {
    min-height: 0;
  }

  .therapy__intro {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: var(--space-40);
  }

  .vocational__intro {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-40);
  }

  .therapy__figure,
  .vocational__figure {
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    max-width: 361px;
    padding: var(--space-30) 0;
  }

  .therapy__text,
  .vocational__text {
    flex: 0 0 auto;
  }

  .faq-item {
    padding: var(--space-15) var(--space-25);
  }

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

  .aspect-card {
    min-height: 0;
    padding: var(--space-40) var(--space-30);
  }

  .about-me {
    padding: var(--space-40) var(--gutter);
  }

  .about-me__box {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-30);
    padding: var(--space-50) var(--space-25);
  }

  .about-me__profile {
    flex: 0 0 auto;
    min-height: 0;
  }

  .about-me__list {
    max-width: none;
  }

  .about-me__item,
  .about-me__item--short {
    min-height: 0;
    padding: var(--space-15) 0;
  }

  .contact__inner {
    flex-direction: column;
    gap: var(--space-50);
  }

  .contact__info {
    flex: 0 0 auto;
    width: 100%;
  }

  .contact__item,
  .contact__item--social {
    height: auto;
    min-height: 82px;
    padding: var(--space-10) var(--space-30);
  }

  .contact__text {
    overflow-wrap: anywhere;
  }

  .contact__logo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 461.3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar__menu,
  .navbar__menu--open,
  .navbar__toggle-bar {
    transition: none;
  }
}


/* ==========================================================
   FAQ panels 
   ========================================================== */
.faq-panel {
  width: 100%;
  max-width: 1040px;
  /*margin-top: -var(--space-20);*/
  overflow: hidden;
  background: var(--color-bg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 1;
}

.faq-panel--white {
  background: var(--color-white);
}

.faq-panel[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.faq-panel__inner {
  padding: var(--space-20) var(--space-50) var(--space-40);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  font-weight: 300;
  color: var(--color-neutral-50);
}

.faq-panel__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-40);
}

.faq-panel__text p + p {
  margin-top: var(--space-20);
}

.faq-panel__eyebrow {
  margin-bottom: var(--space-10);
  font-weight: 600;
}

.faq-panel__bullets {
  padding-left: 1.2em;
  list-style: disc;
}

.faq-panel__bullets li + li {
  margin-top: var(--space-5);
}

.faq-panel__icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-40);
  row-gap: var(--space-25);
}

.faq-panel__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-20);
  min-width: 0;
}

.faq-panel__feature img {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.faq-item[aria-expanded="true"] {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding-bottom: var(--space-10);
}

.faq-item[aria-expanded="true"] .faq-item__icon {
  opacity: 0;
}

.faq-item[aria-expanded="true"]::after {
  content: "−";
  flex: 0 0 42px;
  width: 42px;
  margin-left: -62px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 28px;
  line-height: 42px;
  text-align: center;
}

#faq-psicoterapia-panel{
  margin-top: -40px;
  }

.faq-item[aria-expanded="false"]::after {
  content: "";
  display: none;
}

.faq-panel[hidden] {
    margin-top: 0;
}

.faq-item[aria-expanded="true"] + .faq-panel:not([hidden]) {
    margin-top: calc(-1 * var(--space-20));
}

@media (max-width: 768px) {
  .faq-panel__inner {
    padding: var(--space-20) var(--space-25) var(--space-30);
  }

  .faq-panel__columns,
  .faq-panel__icon-grid {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }

  .faq-item[aria-expanded="true"]::after {
    margin-left: -42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel {
    transition: none;
  }
}