/* ALMA — Preguntas frecuentes basadas en el diseño aprobado. */
.alma-faq,
.alma-faq * {
  box-sizing: border-box;
}

.alma-faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 743px;
  padding: 111px 42px 91px;
  color: #14382d;
  background: #f6f7f2 url('assets/images/faq-background-ai.webp') center / cover no-repeat;
  font-family: 'DM Sans', Arial, sans-serif;
}

.alma-faq::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(250 251 247 / 8%) 0%, rgb(250 251 247 / 15%) 47%, rgb(250 251 247 / 22%) 100%);
  pointer-events: none;
}

.alma-faq__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 530px minmax(0, 676px);
  gap: 56px;
  width: min(100%, 1260px);
  margin: 0 auto;
}

.alma-faq__intro {
  padding-top: 20px;
}

.alma-faq__eyebrow {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #4b7864;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .31em;
  line-height: 1;
  text-transform: uppercase;
}

.alma-faq__eyebrow > span {
  display: block;
  width: 58px;
  height: 1px;
  background: #587a6d;
}

.alma-faq__intro h2 {
  margin: 34px 0 23px;
  color: #12382e;
  font-family: 'Inter Display', 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(3rem, 4.6vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -.066em;
  line-height: 1.02;
}

.alma-faq__intro h2 em {
  color: #79a477;
  font-style: normal;
}

.alma-faq__intro > p {
  margin: 0;
  color: #485f55;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.75;
  text-shadow: 0 1px 2px rgb(255 255 255 / 90%);
}

.alma-faq__actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 28px;
}

.alma-faq__button {
  min-width: 221px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 13px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #518b63, #2c764c);
  box-shadow: 0 13px 30px rgb(41 102 67 / 17%);
  color: white;
  font-size: .8rem;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.alma-faq__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgb(41 102 67 / 24%);
}

.alma-faq__button span {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: .5;
}

.alma-faq__divider {
  width: 1px;
  height: 50px;
  background: #c7d1c9;
}

.alma-faq__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #4f655b;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.5;
}

.alma-faq__whatsapp svg {
  width: 29px;
  height: 29px;
  flex: none;
  color: #347b54;
}

.alma-faq__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.alma-faq .alma-faq__list details {
  overflow: hidden;
  border: 1px solid rgb(216 224 216 / 86%);
  border-radius: 14px;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 11px 28px rgb(30 63 42 / 6%);
  backdrop-filter: blur(7px);
}

.alma-faq .alma-faq__list summary {
  min-height: 80px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  list-style: none;
  cursor: pointer;
  color: #17382f;
}

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

.alma-faq .alma-faq__list summary strong {
  font-family: 'Inter Display', 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.alma-faq .alma-faq__list summary .alma-faq__icon,
.alma-faq .alma-faq__list summary .alma-faq__plus {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3f7f1, #e8f1e6);
  color: #236c49;
  border: 1px solid rgb(61 125 82 / 14%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 90%);
}

.alma-faq .alma-faq__list summary .alma-faq__icon {
  position: static;
  width: 54px;
  height: 54px;
  flex: none;
}

.alma-faq__icon svg {
  width: 26px;
  height: 26px;
  overflow: visible;
  stroke-width: 1.9;
  vector-effect: non-scaling-stroke;
}

.alma-faq .alma-faq__list summary .alma-faq__icon::before,
.alma-faq .alma-faq__list summary .alma-faq__icon::after {
  content: none;
  display: none;
}

.alma-faq .alma-faq__list summary .alma-faq__plus {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
}

.alma-faq .alma-faq__list summary .alma-faq__plus::before,
.alma-faq .alma-faq__list summary .alma-faq__plus::after {
  content: '';
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: #2d7654;
  translate: -50% -50%;
  transition: transform .22s ease;
}

.alma-faq .alma-faq__list summary .alma-faq__plus::after {
  transform: rotate(90deg);
}

.alma-faq .alma-faq__list details[open] .alma-faq__plus::after {
  transform: rotate(0);
}

.alma-faq .alma-faq__list details[open] summary {
  padding-bottom: 8px;
}

.alma-faq .alma-faq__list details > p {
  margin: 0;
  padding: 0 76px 21px 90px;
  color: #66756f;
  font-size: .84rem;
  line-height: 1.65;
}

.alma-faq__top-note,
.alma-faq__bottom-note {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  color: #597a6d;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .29em;
  line-height: 1.6;
  text-transform: uppercase;
}

.alma-faq__top-note {
  top: 34px;
  right: 55px;
  gap: 17px;
}

.alma-faq__top-note i {
  width: 53px;
  height: 1px;
  background: #628276;
}

.alma-faq__bottom-note {
  right: 55px;
  bottom: 72px;
  gap: 17px;
}

.alma-faq__bottom-note i {
  width: 90px;
  height: 1px;
  background: #628276;
}

@media (max-width: 1180px) {
  .alma-faq { padding-inline: 32px; }
  .alma-faq__container { grid-template-columns: minmax(390px, .86fr) minmax(520px, 1.14fr); gap: 35px; }
  .alma-faq__intro h2 { font-size: clamp(3rem, 5.1vw, 3.8rem); }
  .alma-faq__actions { gap: 20px; }
  .alma-faq__divider { display: none; }
}

@media (max-width: 920px) {
  .alma-faq { padding: 92px 28px 100px; background-position: 33% center; }
  .alma-faq__container { grid-template-columns: 1fr; gap: 48px; max-width: 720px; }
  .alma-faq__intro { max-width: 590px; }
  .alma-faq__intro h2 { font-size: clamp(3.1rem, 7.4vw, 4rem); }
  .alma-faq__top-note { right: 28px; }
  .alma-faq__bottom-note { right: 28px; }
}

@media (max-width: 600px) {
  .alma-faq { min-height: 0; padding: 76px 20px 92px; background-position: 28% bottom; }
  .alma-faq::before { background: rgb(249 250 246 / 38%); }
  .alma-faq__intro { padding-top: 0; }
  .alma-faq__eyebrow { gap: 12px; font-size: .58rem; letter-spacing: .25em; }
  .alma-faq__eyebrow > span { width: 38px; }
  .alma-faq__intro h2 { margin-top: 27px; font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .alma-faq__intro > p { font-size: .9rem; }
  .alma-faq__intro > p br { display: none; }
  .alma-faq__actions { align-items: stretch; flex-direction: column; gap: 17px; margin-top: 25px; }
  .alma-faq__button { width: 100%; }
  .alma-faq__whatsapp { padding-left: 3px; }
  .alma-faq__container { gap: 39px; }
  .alma-faq .alma-faq__list summary { min-height: 76px; grid-template-columns: 45px minmax(0, 1fr) 36px; gap: 11px; padding: 10px 12px; }
  .alma-faq .alma-faq__list summary strong { font-size: .86rem; }
  .alma-faq .alma-faq__list summary .alma-faq__icon { width: 45px; height: 45px; }
  .alma-faq__icon svg { width: 24px; height: 24px; }
  .alma-faq .alma-faq__list summary .alma-faq__plus { width: 36px; height: 36px; }
  .alma-faq .alma-faq__list details > p { padding: 0 17px 20px; font-size: .8rem; }
  .alma-faq__top-note { display: none; }
  .alma-faq__bottom-note { right: 20px; bottom: 82px; font-size: .52rem; letter-spacing: .18em; }
  .alma-faq__bottom-note i { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .alma-faq__button,
  .alma-faq__plus::before,
  .alma-faq__plus::after { transition: none; }
}
