/* Fundamentos, variables y reglas compartidas */

:root {
  --paper: #f7f6f2;
  --surface: #fbfaf7;
  --ink: #22231f;
  --quiet: #565e54;
  --line: #dcded5;
  --deep: #293a30;
  --salvia: #a9bfa3;
  --sans: "Schibsted Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color-scheme: light;
}
*,*::before,*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,summary:focus-visible {
  outline: 2px solid #73866b;
  outline-offset: 5px;
}
::selection {
  background: #d4e0cf;
  color: #25392a;
}
.frame {
  width: min(calc(100% - 112px),1320px);
  margin: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f7f6f2ed;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.045em;
}
.back {
  font-size: 14px;
  color: var(--quiet);
  display: flex;
  align-items: center;
  gap: 9px;
}
.back:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.faq-hero {
  padding-block: clamp(68px,8vw,115px) clamp(45px,5vw,72px);
  text-align: center;
}
h1 {
  font-size: clamp(44px,6vw,83px);
  font-weight: 570;
  line-height: 1.03;
  letter-spacing: -.055em;
  margin: 0;
  text-wrap: balance;
}
.faq-sub {
  max-width: 530px;
  margin: 24px auto 0;
  font-size: clamp(16px,1.45vw,20px);
  line-height: 1.6;
  color: var(--quiet);
  text-wrap: balance;
}
.faq-area {
  border-top: 1px solid var(--line);
  background: #eeefe9;
}
.faq-inner {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(160px,220px) minmax(0,1fr);
  gap: clamp(40px,6vw,88px);
  padding-block: clamp(50px,6vw,85px) clamp(60px,7vw,95px);
}
.toc {
  align-self: start;
  position: sticky;
  top: 105px;
  display: grid;
  gap: 7px;
}
.toc p {
  margin: 0 0 9px;
  font-size: 13px;
  color: var(--quiet);
}
.toc a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 15px;
  color: #435747;
  transition: background .2s;
}
.toc a:hover,.toc a:focus-visible {
  background: #dfe5db;
}
.faq-group+ .faq-group {
  margin-top: 48px;
}
.faq-group h2 {
  font-size: clamp(23px,2.2vw,30px);
  letter-spacing: -.035em;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 600;
}
.faq-item {
  border-bottom: 1px solid #d0d5cb;
}
.faq-item:first-of-type {
  border-top: 1px solid #d0d5cb;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 42px 20px 0;
  min-height: 60px;
  font-size: clamp(16px,1.3vw,18px);
  font-weight: 550;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before,.faq-item summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 29px;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: #52634f;
  transition: transform .22s ease;
}
.faq-item summary::after {
  transform: rotate(90deg);
}
.faq-item[open] summary::after {
  transform: rotate(0deg);
}
.faq-item[open] summary {
  color: #34543d;
}
.faq-item p {
  margin: 0 32px 22px 0;
  max-width: 650px;
  color: var(--quiet);
  line-height: 1.65;
  font-size: 15.5px;
}
.faq-item[open] p {
  animation: answer .24s ease-out;
}
@keyframes answer{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.faq-cta {
  background: var(--deep);
  color: var(--paper);
  text-align: center;
  padding-block: clamp(55px,7vw,92px);
}
.faq-cta h2 {
  font-size: clamp(32px,4vw,54px);
  font-weight: 560;
  letter-spacing: -.045em;
  margin: 0;
  text-wrap: balance;
}
.faq-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 56px;
  padding: 14px 23px;
  margin-top: 28px;
  background: #f4f5ef;
  color: var(--deep);
  border: 1px solid #d4ded0;
  border-radius: 14px;
  font-weight: 650;
  font-size: 15px;
  box-shadow: 0 5px 15px #0002;
  transition: transform .2s,background .2s;
}
.faq-cta-link:hover {
  transform: translateY(-2px);
  background: #fff;
}
.faq-cta-link svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.faq-cta p {
  color: #cbd7c9;
  margin: 18px 0 0;
  font-size: 14px;
}
.site-footer {
  background: #23332a;
  color: #f7f6f2;
}
.footer-inner {
  padding-block: 30px 20px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-identity {
  display: grid;
  gap: 6px;
}
.footer-brand {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.045em;
}
.footer-tagline,.footer-links {
  font-size: 13px;
  color: #c4cec2;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  border-top: 1px solid #ffffff20;
  margin-top: 23px;
  padding-top: 13px;
  color: #aebbb0;
  font-size: 12px;
}
@media (max-width:760px) {
  .frame {
    width: calc(100% - 44px);
  }
  .nav {
    min-height: 58px;
    gap: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .back {
    font-size: 12px;
    gap: 5px;
  }
  .faq-hero {
    padding-block: 55px 42px;
  }
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 32px 55px;
  }
  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .toc p {
    width: 100%;
    margin-bottom: 3px;
  }
  .toc a {
    background: #e1e6dd;
    padding: 10px 12px;
    font-size: 13px;
  }
  .faq-group+ .faq-group {
    margin-top: 35px;
  }
  .faq-item p {
    margin-right: 15px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
@media (max-width:359px) {
  .frame {
    width: calc(100% - 32px);
  }
  .back {
    font-size: 11px;
  }
  .toc a {
    font-size: 12px;
    padding-inline: 9px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation: none !important;
    transition: none !important;
  }
}
