@font-face {
  font-family: Fredoka;
  src: url("assets/brand/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
body:has(.apt-public) { margin: 0; }
.apt-public {
  --apt-ink: #292437;
  --apt-cream: #fff9ee;
  --apt-yellow: #ffcc02;
  --apt-plum: #3c304b;
  box-sizing: border-box;
  font: 400 1rem/1.55 Inter, system-ui, sans-serif;
  color: var(--apt-ink);
  background: var(--apt-cream);
  min-height: 100vh;
}
.apt-public *, .apt-public *::before, .apt-public *::after { box-sizing: border-box; }
.apt-public a { color: inherit; text-underline-offset: .19em; }
.apt-public a:focus-visible, .apt-public summary:focus-visible { outline: 3px solid #7851a3; outline-offset: 4px; }
.apt-public p { margin: 0 0 1em; }
.apt-wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
.apt-header { background: #fff; border-bottom: 1px solid #e9e0d4; }
.apt-bar { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.apt-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 600 1.12rem/1 Fredoka, system-ui, sans-serif; }
.apt-brand img { object-fit: contain; }
.apt-brand small { display: block; margin-top: 5px; font: 600 .72rem/1.2 Inter, system-ui, sans-serif; }
.apt-nav { display: flex; gap: clamp(12px, 2vw, 30px); margin-left: auto; }
.apt-nav a, .apt-access { font-weight: 700; font-size: .9rem; text-decoration: none; }
.apt-nav a:hover, .apt-access:hover { text-decoration: underline; }
.apt-access, .apt-menu summary { border: 1px solid #b3a5bc; border-radius: 100px; padding: 10px 13px; text-align: center; }
.apt-menu { display: none; }
.apt-skip { position: absolute; left: 1rem; top: -100px; }
.apt-skip:focus { top: 1rem; z-index: 5; background: #fff; padding: 10px; }
.apt-hero { background: var(--apt-plum); color: #fff9ee; padding: clamp(32px, 5vw, 75px) 0; }
.apt-split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 70px); }
.apt-public h1, .apt-public h2 { font-family: Fredoka, system-ui, sans-serif; font-weight: 600; margin: 0 0 .34em; line-height: 1.04; letter-spacing: -.02em; }
.apt-public h1 { font-size: clamp(2.62rem, 5.5vw, 5.55rem); }
.apt-public h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); }
.apt-public em { color: #ffda68; font-style: normal; }
.apt-public .apt-kicker { color: inherit; font-weight: 750; font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; }
.apt-lead { font-size: clamp(1.05rem, 1.5vw, 1.23rem); }
.apt-hero figure { margin: 0; }
.apt-hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; border-radius: 26px; border: 5px solid #f4dfaa; }
.apt-platform img { display: block; width: 100%; height: auto; border-radius: 15px; }
.apt-platform figcaption { font-size: .82rem; padding-top: 8px; }
.apt-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 28px; }
.apt-card { background: #fff; border: 1px solid #e9e0d4; border-radius: 24px; padding: clamp(22px, 3vw, 38px); }
.apt-card.apt-evaluation { background: #f0e9f5; border-color: #ded0e8; }
.apt-card.apt-club { background: #fff0ba; border-color: #f1dc91; }
.apt-card .apt-button { margin-top: .35rem; }
.apt-public .apt-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 100px; padding: 11px 20px; font-weight: 750; line-height: 1.25; text-decoration: none; background: var(--apt-yellow); color: var(--apt-ink); }
.apt-public .apt-button:hover { box-shadow: inset 0 0 0 2px currentColor; }
.apt-public .apt-button.dark { color: #fff; background: var(--apt-plum); }
.apt-section { padding-block: 28px 54px; }
.apt-section details { background: #fff; margin-bottom: 12px; padding: 12px 16px; border: 1px solid #e9e0d4; border-radius: 12px; }
.apt-section summary { cursor: pointer; font-weight: 750; padding: 5px 0; }
.apt-section details p { margin: .4rem 0 0; }
.apt-price { font-size: 1.2rem; }
.apt-price strong { font: 600 2.8rem/1 Fredoka, system-ui, sans-serif; }
.apt-note { font-size: .9rem; padding-top: 12px; }
.apt-footer { padding-block: 24px; background: #fff; border-top: 1px solid #e9e0d4; }
.apt-footer .apt-wrap, .apt-footer .apt-wrap div { display: flex; gap: 12px 18px; flex-wrap: wrap; justify-content: space-between; }
.apt-card ol { padding-left: 1.2em; margin-bottom: 1rem; }
@media (max-width: 900px) {
  .apt-wrap { width: calc(100% - 32px); }
  .apt-nav { display: none; }
  .apt-bar { gap: 8px; min-height: 68px; }
  .apt-access { margin-left: auto; }
  .apt-menu { display: block; }
  .apt-menu summary { list-style: none; cursor: pointer; font-size: .85rem; font-weight: 700; }
  .apt-menu summary::-webkit-details-marker { display: none; }
  .apt-menu nav { position: absolute; z-index: 2; right: 16px; top: 63px; display: grid; background: #fff; border: 1px solid #ded0e8; border-radius: 14px; box-shadow: 0 8px 24px #29243728; padding: 8px; }
  .apt-menu a { display: block; padding: 10px 16px; min-height: 44px; }
}
@media (max-width: 640px) {
  .apt-split, .apt-choices { grid-template-columns: 1fr; }
  .apt-brand { font-size: .94rem; gap: 4px; }
  .apt-brand img { width: 36px; height: 36px; }
  .apt-brand small { font-size: .65rem; }
  .apt-access { font-size: .75rem; line-height: 1.15; padding: 12px 8px; min-height: 44px; display: grid; place-content: center; }
  .apt-hero-image { display: none; }
  .apt-choices { gap: 12px; padding-block: 16px; }
}

body:has(#guest-shell:not(.hidden) .apt-public) > .legal-footer { display: none; }
.apt-cookie-settings { border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }
.apt-hero-image img { object-position: center 56%; }
@media (max-width: 365px) {
  .apt-brand img { width: 28px; height: 28px; }
  .apt-brand { font-size: .84rem; }
  .apt-menu summary { padding-inline: 8px; }
}

#guest-shell:has(.apt-public) { padding: 0; padding-bottom: 0 !important; margin: 0; }
.auth-card:has(#onboarding-form) h2 { padding-right: 32px; }
.auth-card #onboarding-form input[type="checkbox"] { min-width: 18px; min-height: 18px !important; }
@media (max-width: 640px) {
  .apt-public h1 { font-size: clamp(2.1rem, 9vw, 2.62rem) !important; }
  .apt-public h2 { font-size: clamp(1.45rem, 6vw, 1.85rem) !important; }
}

/* Identidad de Eventos GUAU en la navegación pública */
.apt-header { border-top: 5px solid var(--apt-yellow); }
.apt-brand { gap: 12px; }
.apt-brand img { width: 78px; height: 54px; }
.apt-brand span { border-left: 1px solid #ded0e8; padding-left: 12px; }
.apt-nav a { padding: 10px 11px; border-radius: 10px; }
.apt-nav a[aria-current], .apt-menu a[aria-current] { background: #fff0ba; }
.apt-public .apt-access { background: var(--apt-ink); color: white; border-color: var(--apt-ink); }
.apt-menu summary { background: var(--apt-yellow); border-color: var(--apt-yellow); }
.apt-menu nav { border-top: 4px solid var(--apt-yellow); }
.apt-hero-editorial { background: #fff0ba; color: var(--apt-ink); }
.apt-hero-editorial .apt-hero-image img { max-height: 320px; object-fit: cover; border-color: #ffcc02; }
.apt-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.apt-jump a { padding: 10px 16px; background: white; border-radius: 99px; font-weight: 750; }
.apt-editorial { scroll-margin-top: 1rem; }
.apt-editorial-grid, .apt-practice, .apt-areas { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.apt-editorial-card { overflow: hidden; border: 1px solid #e9e0d4; border-radius: 22px; background: white; }
@media (min-width: 721px) {
  #cursos .apt-editorial-grid:has(> .apt-editorial-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #talleres .apt-editorial-grid:has(> .apt-editorial-card:only-child) { grid-template-columns: 1fr; }
  #talleres .apt-editorial-card:only-child {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    align-items: center;
  }
}
@media (min-width: 641px) and (max-width: 720px) {
  .apt-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #talleres .apt-editorial-card:only-child { grid-column: 1 / -1; }
}
.apt-editorial-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.apt-editorial-card > div { padding: 21px; }
.apt-editorial-card h3 { font-family: Fredoka,system-ui,sans-serif; font-size: 1.45rem; line-height: 1.15; margin: 0 0 10px; }
.apt-editorial-card .apt-kicker { color: #514260; }
.apt-editorial-link { display: inline-block; margin: 10px; }
.apt-practice, .apt-areas { padding: 0; list-style: none; margin: 18px 0 34px; }
.apt-practice li, .apt-areas li { background: white; border: 1px solid #e9e0d4; border-radius: 16px; padding: 16px; }
.apt-practice strong, .apt-practice span { display: block; }
.apt-practice strong { margin-bottom: 5px; }
.apt-areas li { background: #fff0ba; font-weight: 750; }
@media (max-width: 1080px) {
  .apt-nav { display: none; }
  .apt-menu { display: block; }
  .apt-access { margin-left: auto; }
  .apt-menu summary { list-style: none; cursor: pointer; font-size: .85rem; font-weight: 750; }
  .apt-menu summary::-webkit-details-marker { display: none; }
  .apt-menu nav { position: absolute; z-index: 3; right: 16px; top: 72px; display: grid; background: #fff; border: 1px solid #ded0e8; border-top: 4px solid var(--apt-yellow); border-radius: 14px; box-shadow: 0 8px 24px #29243728; padding: 8px; }
  .apt-menu a { display: block; padding: 10px 16px; min-height: 44px; }
}
@media (max-width: 640px) {
  .apt-brand { gap: 5px; font-size: .88rem; }
  .apt-brand img { width: 50px; height: 42px; }
  .apt-brand span { padding-left: 5px; }
  .apt-menu summary { padding-inline: 10px; }
  .apt-editorial-grid, .apt-practice { grid-template-columns: 1fr; }
  .apt-areas { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 375px) {
  .apt-bar { width: calc(100% - 20px); gap: 5px; }
  .apt-brand { gap: 4px; font-size: .81rem; }
  .apt-brand img { width: 42px; height: 39px; }
  .apt-access { width: 76px; padding-inline: 4px; }
  .apt-menu summary { padding-inline: 7px; white-space: nowrap; }
}
.apt-menu summary { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; }
.apt-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.apt-public .apt-hero-secondary { color: #fff9ee; background: transparent; border: 1px solid #dccde3; }
.apt-availability { display: inline-block; background: #f0e9f5; border-radius: 8px; padding: 4px 9px; font-size: .85rem; font-weight: 700; margin-right: 8px !important; }
@media (max-width: 480px) { .apt-hero-actions .apt-button { width: 100%; } }
.apt-checkout-summary { background: #fff4c7; color: #292437; padding: 12px 14px; border-radius: 12px; margin-bottom: 1rem; }

.apt-sales-top { background: #fff; border-bottom: 1px solid #e9e0d4; padding: clamp(30px, 5vw, 70px) 0; }
.apt-sales-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-areas: "intro team"; align-items: start; gap: 18px 40px; }
.apt-sales-intro { grid-area: intro; }
.apt-sales-intro h1 { font-size: clamp(2.35rem, 4.8vw, 4.25rem); }
.apt-sales-intro .apt-lead { margin-bottom: .85rem; }
.apt-sales-team { grid-area: team; margin: 0; border: 1px solid #e9e0d4; border-radius: 20px; overflow: hidden; }
.apt-sales-team img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.apt-sales-team figcaption { background: #fff9ee; padding: 16px 19px; }
.apt-sales-team strong, .apt-sales-team span { display: block; }
.apt-sales-team span, .apt-sales-team a { font-size: .92rem; }
.apt-sales-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apt-sales-offer { display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid #e0d8e5; background: #f6f2f7; }
.apt-sales-club { background: #fff4cb; border-color: #eddb9a; }
.apt-sales-offer h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.apt-sales-offer > p { margin-bottom: .75rem; }
.apt-public .apt-sales-price { margin-top: auto; margin-bottom: .6rem; font-size: .89rem; }
.apt-sales-price strong { font: 650 1.85rem/1 Fredoka,system-ui,sans-serif; }
.apt-sales-detail { margin: .55rem 0 0 !important; font-size: .84rem; }
.apt-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.apt-proof-card { background: white; border: 1px solid #e9e0d4; padding: 20px; border-radius: 16px; }
.apt-proof-card h3 { margin-bottom: .6rem; line-height: 1.2; }
.apt-proof-card blockquote { margin: 0 0 1rem; }
.apt-proof-card img { display: block; width: 100%; max-width: 240px; height: auto; border-radius: 9px; margin: 0 0 .75rem; }
.apt-proof-card a { font-size: .9rem; }
.apt-sales-demo { background: #f3edf5; }
.apt-sales-demo figure { margin: 0; }
.apt-sales-demo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.apt-sales-demo figcaption { margin-top: 6px; font-size: .85rem; }
.apt-sales-last { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .apt-sales-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "team"; }
  .apt-sales-team { max-width: 520px; }
}
@media (max-width: 640px) {
  .apt-sales-offers, .apt-proof-grid { grid-template-columns: 1fr; }
  .apt-sales-top { padding-top: 22px; }
  .apt-sales-offer { padding: 13px 16px; }
  .apt-sales-offer h3 { font-size: 1.3rem !important; }
  .apt-sales-offer > p { font-size: .91rem; }
  .apt-sales-detail { margin-bottom: 0 !important; }
}
.apt-sales-conversion { margin-top: auto; display: grid; gap: 9px; }
.apt-sales-conversion .apt-sales-price { margin: 0; }
.apt-checkout-back { display: inline-block; margin-bottom: 14px; }
.apt-single-fields { display: grid; gap: 15px; }
.apt-single-fields label { display: block; }
.apt-single-fields input:not([type="checkbox"]) { display: block; width: 100%; margin-top: 4px; min-height: 44px; border: 1px solid #a996b1; border-radius: 9px; padding: 8px; font: inherit; }
.apt-single-fields .apt-button { border: 0; cursor: pointer; }
@media (max-width: 640px) {
  .apt-sales-conversion { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
  .apt-sales-conversion .apt-button { padding-inline: 11px; font-size: .88rem; }
  .apt-sales-conversion .apt-sales-price { font-size: .77rem; }
  .apt-sales-conversion .apt-sales-price strong { font-size: 1.5rem; }
}
@media (max-width: 375px) {
  .apt-sales-top { padding-top: 16px; }
  .apt-sales-grid { gap: 12px; }
  .apt-sales-offers { gap: 9px; }
  .apt-sales-offer { padding: 11px 13px; }
  .apt-sales-offer > p { margin-bottom: .45rem; }
}

/* Compra puntual */
.apt-payment-body { margin: 0; }
.apt-payment { background: #f8f6f2; display: flex; flex-direction: column; }
.apt-payment-wrap { width: min(1016px, calc(100% - 32px)); margin-inline: auto; }
.apt-payment-header { background: #fff; border-top: 4px solid var(--apt-yellow); border-bottom: 1px solid #e7e0d7; }
.apt-payment-top, .apt-payment-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.apt-payment-support { font-size: .88rem; font-weight: 700; }
.apt-payment-main { flex: 1; padding-block: 24px 40px; }
.apt-payment .apt-checkout-back { color: #514760; font-size: .88rem; }
.apt-payment h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .7em; }
.apt-payment h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.13; }
.apt-payment-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.apt-payment-order, .apt-payment-form { background: white; border: 1px solid #e4ddd4; border-radius: 19px; padding: clamp(20px, 3vw, 30px); }
.apt-payment-order { border-top: 4px solid #ffcc02; }
.apt-payment-includes { padding-left: 1.1rem; margin: 14px 0 20px; }
.apt-payment-includes li { padding-left: .18rem; margin-block: 4px; }
.apt-payment-includes li::marker { color: #79622b; }
.apt-payment-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 14px; border-block: 1px solid #e7e0d7; }
.apt-payment-total small { display: block; color: #514760; }
.apt-payment-total > strong { font: 650 2rem/1 Fredoka, system-ui, sans-serif; }
.apt-payment .apt-payment-seller { font-size: .88rem; color: #514760; margin: 12px 0 0; }
.apt-payment-test { display: grid; gap: 1px; border: 1px solid #e9dbad; border-radius: 10px; padding: 9px 12px; margin-bottom: 15px; color: #463821; background: #fff8e5; font-size: .86rem; }
.apt-payment-form .apt-single-fields { gap: 12px; }
.apt-single-fields > label { font-size: .9rem; font-weight: 650; }
.apt-single-fields input:not([type="checkbox"]) { box-sizing: border-box; border-color: #aaa1ad; font-size: 1rem; color: #292437; }
.apt-payment-form .apt-payment-consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; font-size: .88rem; }
.apt-payment-consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 2px 0 0; accent-color: #3c304b; }
.apt-single-fields .apt-button { width: 100%; border-radius: 11px; font: inherit; font-weight: 750; }
.apt-payment button:focus-visible, .apt-payment input:focus-visible { outline: 3px solid #7851a3; outline-offset: 3px; }
.apt-payment-gateway { margin-top: 17px; padding-top: 13px; border-top: 1px solid #e7e0d7; font-size: .85rem; color: #514760; }
.apt-payment .apt-payment-gateway p { margin: 3px 0 0; }
.apt-payment-footer { border-top: 1px solid #e7e0d7; background: white; }
.apt-payment-foot { flex-wrap: wrap; font-size: .87rem; }
.apt-payment-foot nav { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) {
  .apt-payment-grid { grid-template-columns: 1fr; gap: 13px; }
  .apt-payment-main { padding-block: 16px 24px; }
  .apt-payment-includes { margin: 9px 0 12px; font-size: .9rem; }
  .apt-payment-total { padding-block: 9px; }
  .apt-payment-foot { padding-block: 14px; min-height: auto; }
}
.apt-compra-dialog { position: fixed; inset: 0; margin: auto; max-height: calc(100dvh - 24px); padding: 0; border: 1px solid #e4ddd4; border-radius: 16px; width: min(1060px, 100% - 24px); max-width: none; color: #292437; }
.apt-compra-dialog::backdrop { background: #231d2abc; }
.apt-compra-dialog header { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 10px 16px; font: 700 .95rem/1.2 system-ui, sans-serif; border-bottom: 1px solid #e4ddd4; }
.apt-compra-dialog header button { cursor: pointer; min-height: 44px; padding-inline: 12px; border: 1px solid #aaa1ad; border-radius: 9px; background: #fff; color: inherit; }
.apt-compra-dialog iframe { display: block; width: 100%; height: min(79dvh, 900px, calc(100dvh - 110px)); border: 0; }
.apt-payment-embedded .apt-payment-main { padding-top: 15px; }
.apt-payment-embedded .apt-payment h1 { font-size: clamp(1.5rem, 4vw, 2.05rem); margin-bottom: .5em; }
.apt-invoice { border: 1px solid #e4ddd4; border-radius: 10px; padding: 10px 12px; }
.apt-invoice-fields { display: grid; min-width: 0; padding: 8px 0 0; margin: 8px 0 0; border: 0; border-top: 1px solid #e4ddd4; gap: 8px; font-size: .87rem; }
.apt-invoice-fields[hidden] { display: none; }
.apt-invoice-fields legend { font-weight: 700; padding-right: 7px; }
.apt-invoice-fields p { margin: 0; }
.apt-formacion-programa { margin-bottom: 12px; }
.apt-formacion-programa summary { min-height: 32px; padding-block: 4px; font-weight: 700; cursor: pointer; }
.apt-formacion-programa ul { margin: 5px 0 10px; padding-inline-start: 1.15rem; }
.apt-formacion-programa { scroll-margin-top: 20px; }
.apt-formacion-programa[open] { padding: 9px 12px; border-radius: 10px; background: #f8f6f2; }
.apt-formacion-programa h4 { margin: 9px 0 3px; font-size: .96rem; }
.apt-formacion-programa p, .apt-formacion-programa ul { font-size: .92rem; }

/* Sistema editorial de APT */
.apt-public { --apt-ink: #242435; --apt-cream: #f8f7f4; --apt-plum: #323040; }
.apt-public h1, .apt-public h2, .apt-editorial-card h3 {
  font-family: system-ui, sans-serif;
  font-weight: 730;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.apt-public .apt-kicker { letter-spacing: .085em; }
.apt-header { border-top-width: 4px; }
.apt-public .apt-button { border-radius: 9px; }
.apt-public .apt-hero { background: #323040; color: #fffdf7; }
.apt-public .apt-hero-editorial { background: #fbf3dc; color: var(--apt-ink); border-bottom: 1px solid #e9dfc7; }
.apt-public .apt-card, .apt-editorial-card, .apt-sales-offer, .apt-proof-card {
  border-radius: 14px;
}
.apt-public .apt-sales-price strong, .apt-price strong, .apt-payment-total > strong {
  font-family: system-ui, sans-serif;
  font-weight: 750;
  letter-spacing: -.055em;
}
.apt-sales-team { border-radius: 14px; }
.apt-editorial-card { display: flex; flex-direction: column; }
.apt-editorial-card > div { flex: 1; display: flex; flex-direction: column; }
.apt-editorial-card h3 a { text-decoration: none; }
.apt-editorial-card h3 a:hover { text-decoration: underline; }
.apt-card-action { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #e9e3db; }
.apt-card-action a { font-weight: 700; }
.apt-card-action .apt-availability { margin: 0 !important; }
.apt-training-hero { background: #fbf3dc; padding: 24px 0 44px; border-bottom: 1px solid #e9dfc7; }
.apt-training-back { display: inline-block; font-size: .88rem; margin-bottom: 20px; }
.apt-training-grid { display: grid; align-items: center; grid-template-columns: 1.2fr 1fr; gap: clamp(22px, 5vw, 64px); }
.apt-training-grid h1 { font-size: clamp(2.4rem, 4.6vw, 4.25rem); }
.apt-training-grid figure, .apt-evaluation-photo { margin: 0; }
.apt-training-grid img, .apt-evaluation-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.apt-training-payment { padding-top: 0; }
.apt-training-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 32%); gap: 30px; align-items: start; }
.apt-training-content > div > h2 + p { margin-bottom: 1.5em; }
.apt-training-list { padding-left: 1.25rem; }
.apt-training-list li { margin-bottom: .7rem; }
.apt-training-content aside .apt-button { margin-top: 5px; }
.apt-case .apt-training-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apt-case { scroll-margin: 12px; background: #f0eaf3; }
.apt-case .apt-section { padding-block: 36px; }
.apt-case h3 { margin: 0 0 .6rem; }
@media (max-width: 720px) {
  .apt-training-grid, .apt-training-content, .apt-case .apt-training-content { grid-template-columns: 1fr; gap: 18px; }
  .apt-training-grid img, .apt-evaluation-photo img { aspect-ratio: 16/9; }
  .apt-training-hero { padding-bottom: 22px; }
  .apt-training-back { margin-bottom: 15px; }
}
.apt-training-grid img { aspect-ratio: 16/9; }
.apt-sample-host { min-height: 0; }
.apt-sample-dialog { width: min(540px, calc(100% - 24px)); padding: clamp(18px, 4vw, 30px); background: #fff9e8; }
.apt-sample-dialog .apt-sample-close { display: flex; justify-content: flex-end; }
.apt-sample-close button { background: #fff; color: inherit; border: 1px solid #aaa1ad; border-radius: 9px; min-height: 44px; padding-inline: 12px; font: inherit; cursor: pointer; }
.apt-sample-dialog h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
.apt-sample-dialog > p { margin-block: .5rem .85rem; }
.apt-sample-form { display: grid; gap: 9px; }
.apt-sample-form > label { font-weight: 700; font-size: .9rem; }
.apt-sample-form input[type="email"] { box-sizing: border-box; background: #fff; border: 1px solid #ab9563; border-radius: 9px; min-height: 44px; padding: 9px 11px; width: 100%; font: inherit; }
.apt-sample-form .apt-sample-opt { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; margin-block: 4px; }
.apt-sample-opt input { margin: 3px 0 0; width: 18px; height: 18px; flex-shrink: 0; accent-color: #3c304b; }
.apt-sample-form .apt-button { font: inherit; font-weight: 750; border: 1px solid #8d6800; cursor: pointer; }
.apt-sample-form .apt-sample-privacy { margin: 0; font-size: .82rem; }
.apt-sample-form :focus-visible { outline: 3px solid #7851a3; outline-offset: 3px; }
.apt-sample-form button:disabled { cursor: not-allowed; background: #ded5ba; color: #514737; border-color: #a99b78; }

/* Jerarquía de compra y contacto compartido */
.apt-sales-top { background: #fbf6e8; }
.apt-sales-grid { align-items: center; }
.apt-sales-offer { background: #fff; border-color: #e2dcd1; }
.apt-sales-club { background: #fff; border-top: 4px solid #ffcc02; }
.apt-sales-offer:not(.apt-sales-club) { border-top: 4px solid #3c304b; }
.apt-sales-team { background: white; box-shadow: 0 10px 30px #45362112; }
.apt-sales-team figcaption { background: white; }
.apt-sales-proof { background: #f0e8f5; }
#opciones .apt-sales-offer > .apt-button { margin-top: auto; }
.apt-proof-card .apt-kicker { color: #5b5264; }
.apt-sales-demo { background: #f2edf5; }
.apt-public a.apt-button:focus-visible { outline-offset: 4px; }
.apt-public .apt-site-footer { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; align-items: start; }
.apt-footer .apt-site-footer .apt-footer-brand { display: flex; justify-content: flex-start; gap: 12px; flex-wrap: nowrap; align-items: center; }
.apt-footer-brand img { display: block; object-fit: contain; }
.apt-footer .apt-site-footer .apt-footer-brand div, .apt-footer .apt-site-footer .apt-footer-contact { display: grid; gap: 3px; justify-content: start; }
.apt-footer .apt-footer-brand p { margin: 0; color: #504959; font-size: .88rem; }
.apt-site-footer nav { display: flex; gap: 7px 15px; flex-wrap: wrap; font-size: .9rem; }
.apt-footer-contact a { font-size: .92rem; }
@media (max-width: 720px) {
  .apt-public .apt-site-footer { grid-template-columns: 1fr; gap: 18px; }
}
#guest-shell:has(.apt-payment) { padding: 0; margin: 0; }
.apt-checkout-error { color: #a1212d; font-weight: 650; font-size: .9rem; margin-top: 10px !important; }
.apt-checkout-error:empty { display: none; }
.apt-single-fields button:disabled { opacity: .65; cursor: not-allowed; }
#que-incluye { scroll-margin-top: 24px; }
.apt-evaluation-reserva { margin-top: 22px; max-width: 720px; }
.apt-sales-team figcaption strong + span + strong { margin-top: 7px; }
.apt-testimonio { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; }
.apt-testimonio-play { display: block; width: 100%; height: 100%; padding: 0; position: relative; border: 0; cursor: pointer; background: #323040; }
.apt-testimonio .apt-testimonio-play img { width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.apt-testimonio-play span { position: absolute; inset: auto auto 10px 10px; padding: 7px 9px; border-radius: 6px; background: #ffcc02; color: #242435; font: 700 .87rem system-ui, sans-serif; }
.apt-testimonio iframe { width: 100%; height: 100%; border: 0; }
.apt-testimonio-play:focus-visible { outline: 3px solid #ffcc02; outline-offset: -4px; }
.apt-public .apt-testimonio-aviso { margin-top: 8px; font-size: .85rem; }
.apt-evaluation-photo figcaption { padding-top: 9px; font-size: .88rem; line-height: 1.55; }
.apt-evaluation-topics { background: #f8f4ed; }
.apt-evaluation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.apt-evaluation-grid article { padding: clamp(17px, 2.2vw, 25px); border: 1px solid #e7dfd4; border-top: 4px solid var(--apt-yellow); border-radius: 14px; background: #fff; }
.apt-evaluation-grid h3 { margin: 0 0 7px; font-size: 1.13rem; line-height: 1.22; }
.apt-evaluation-grid article p { margin: 0; }
.apt-evaluation-grid article a { display: inline-block; margin-top: .8rem; font-weight: 700; }
.apt-evaluation-process .apt-evaluation-reserva { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; }
.apt-evaluation-booking .apt-price { margin-bottom: 7px; }
.apt-evaluation-booking .apt-price span { display: block; font-size: .88rem; margin-top: 5px; }
.apt-evaluation-reserva .apt-evaluation-contact { margin-bottom: 0; }
@media (max-width: 900px) {
  .apt-evaluation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .apt-evaluation-grid, .apt-evaluation-process .apt-evaluation-reserva { grid-template-columns: 1fr; }
}

.apt-guide-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.apt-guide-filters[hidden], .apt-editorial-card[hidden] { display: none; }
.apt-guide-filters label { display: grid; gap: 5px; color: inherit; text-transform: none; font-size: .9rem; }
.apt-guide-filters select { width: auto; min-width: 160px; font-size: .93rem; }
.apt-guide-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; list-style: none; }
.apt-guide-tags li { padding: 4px 9px; border-radius: 7px; background: #f0eaf3; color: #3c304b; font-size: .82rem; font-weight: 650; }
