:root {
  --ffap-paper: #f4efe6;
  --ffap-paper-light: #fffdf9;
  --ffap-ink: #101820;
  --ffap-muted: #646158;
  --ffap-copper: #b94a14;
  --ffap-gold: #d3a623;
  --ffap-line: #d8d0c3;
  --ffap-good: #16643d;
  --ffap-danger: #a33232;
}

.ffap-page,
.ffap-page * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.ffap-page {
  width: 100%;
  margin: 0;
  overflow: clip;
  color: var(--ffap-ink);
  background: var(--ffap-paper);
  font-family: Montserrat, Arial, sans-serif;
}

.ffap-hero {
  position: relative;
  display: grid;
  min-height: min(720px, 78vh);
  align-items: end;
  background: #171614 url("https://footballfun.es/wp-content/uploads/2026/05/GAI02963-scaled.jpg") center 36% / cover no-repeat;
  color: #fff;
}

.ffap-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 13, 0.62);
}

.ffap-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 76px;
}

.ffap-academy-mark {
  width: 106px;
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.ffap-kicker {
  margin: 0 0 12px;
  color: var(--ffap-copper);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ffap-hero .ffap-kicker {
  color: #f0c861;
}

.ffap-hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 72px;
  line-height: 0.98;
}

.ffap-hero-copy {
  max-width: 690px;
  margin: 0 0 30px;
  color: #f4efe6;
  font-size: 20px;
  line-height: 1.55;
}

.ffap-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.ffap-button-primary {
  color: #fff;
  background: var(--ffap-copper);
  box-shadow: 0 10px 26px rgba(185, 101, 34, 0.28);
}

.ffap-button-secondary {
  border-color: var(--ffap-ink);
  color: var(--ffap-ink);
  background: transparent;
}

.ffap-button:focus-visible,
.ffap-choice:focus-visible,
.ffap-plan:focus-visible,
.ffap-payment-choice:focus-visible,
.ffap-field input:focus-visible,
.ffap-field select:focus-visible {
  outline: 3px solid #2274d4;
  outline-offset: 3px;
}

.ffap-button[disabled] {
  cursor: wait;
  opacity: 0.56;
}

.ffap-mode {
  display: inline-block;
  margin: 0 0 0 14px;
  color: #ded8ce;
  font-size: 12px;
}

.ffap-section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ffap-schedule {
  padding: 76px 0 80px;
  border-bottom: 1px solid var(--ffap-line);
}

.ffap-schedule h2,
.ffap-form-heading h2,
.ffap-terms h1 {
  max-width: 820px;
  margin: 0 0 28px;
  font-size: 46px;
  line-height: 1.08;
}

.ffap-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ffap-line);
  border-bottom: 1px solid var(--ffap-line);
}

.ffap-schedule-pass {
  min-width: 0;
  padding: 30px;
}

.ffap-schedule-pass + .ffap-schedule-pass {
  border-left: 1px solid var(--ffap-line);
}

.ffap-schedule-pass > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ffap-muted);
  font-size: 13px;
  font-weight: 700;
}

.ffap-schedule-pass h3 {
  margin: 0 0 24px;
  font-size: 26px;
}

.ffap-schedule-pass dl {
  margin: 0 0 22px;
}

.ffap-schedule-pass dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
}

.ffap-schedule-pass dt {
  font-weight: 700;
}

.ffap-schedule-pass dd {
  margin: 0;
  font-weight: 800;
}

.ffap-schedule-free {
  background: #fffaf0;
  box-shadow: inset 5px 0 0 var(--ffap-gold);
}

.ffap-schedule-paid {
  background: #171614;
  color: #fff;
  box-shadow: inset 5px 0 0 var(--ffap-copper);
}

.ffap-schedule-paid > span,
.ffap-schedule-paid dl div {
  color: #ddd5c9;
  border-color: rgba(255, 255, 255, 0.16);
}

.ffap-note {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--ffap-muted);
  line-height: 1.6;
}

.ffap-enrollment {
  padding: 82px 0 120px;
  background-color: var(--ffap-paper-light);
}

.ffap-form-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.ffap-prelaunch {
  padding: 0;
}

.ffap-prelaunch .ffap-section-inner {
  padding-top: 64px;
  padding-bottom: 64px;
}

.ffap-prelaunch .ffap-form-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ffap-form-heading p:last-child {
  color: var(--ffap-muted);
  font-size: 17px;
  line-height: 1.6;
}

.ffap-app {
  min-height: 340px;
  border-top: 5px solid var(--ffap-ink);
  background: #fff;
  box-shadow: 0 24px 60px rgba(45, 37, 25, 0.12);
}

.ffap-loading,
.ffap-unavailable {
  padding: 48px 34px;
  color: var(--ffap-muted);
}

.ffap-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ffap-line);
}

.ffap-progress span {
  min-width: 0;
  padding: 13px 16px;
  color: var(--ffap-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.ffap-progress span[aria-current="step"] {
  color: #fff;
  background: var(--ffap-ink);
}

.ffap-preview-notice {
  display: grid;
  gap: 4px;
  margin: 0 0 20px;
  border: 1px solid #c99a28;
  border-left: 5px solid var(--ffap-gold);
  padding: 14px 16px;
  color: var(--ffap-ink);
  background: #fff8e2;
}

.ffap-preview-notice strong {
  font-weight: 900;
}

.ffap-preview-notice span {
  color: var(--ffap-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ffap-form-body {
  padding: 34px;
}

.ffap-step[hidden],
.ffap-conditional[hidden] {
  display: none !important;
}

.ffap-step h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.ffap-step-intro {
  margin: 0 0 24px;
  color: var(--ffap-muted);
  line-height: 1.55;
}

.ffap-fieldset {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.ffap-fieldset legend {
  width: 100%;
  margin: 0 0 18px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--ffap-line);
  font-size: 16px;
  font-weight: 800;
}

.ffap-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ffap-field {
  min-width: 0;
}

.ffap-field-full {
  grid-column: 1 / -1;
}

.ffap-field label,
.ffap-field > span {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 800;
}

.ffap-field input,
.ffap-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aaa397;
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ffap-ink);
  background: #fff;
  font: inherit;
}

.ffap-field input::placeholder {
  color: #77736c;
}

.ffap-field small {
  display: block;
  margin-top: 6px;
  color: var(--ffap-muted);
  line-height: 1.4;
}

.ffap-time-result {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--ffap-gold);
  background: #fff9e8;
  line-height: 1.55;
}

.ffap-choice-grid,
.ffap-plan-grid,
.ffap-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ffap-plan-item {
  min-width: 0;
  transition: opacity 160ms ease;
}

.ffap-plan-item.is-selected {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--ffap-ink);
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 24, 32, 0.14);
}

.ffap-plan-item.is-selected .ffap-plan {
  border: 0;
  border-radius: 0;
}

.ffap-plan-item.is-muted {
  opacity: 0.42;
}

.ffap-plan-item.is-muted:hover,
.ffap-plan-item.is-muted:focus-within {
  opacity: 0.78;
}

.ffap-plan-item.is-unavailable {
  opacity: 0.52;
}

.ffap-choice,
.ffap-plan,
.ffap-payment-choice {
  position: relative;
  display: block;
  min-width: 0;
  border: 1px solid var(--ffap-line);
  border-radius: 6px;
  padding: 18px;
  color: var(--ffap-ink);
  background: #fff;
  cursor: pointer;
}

.ffap-choice:has(input:checked),
.ffap-plan:has(input:checked),
.ffap-payment-choice:has(input:checked) {
  border-color: var(--ffap-ink);
  color: #fff;
  background: var(--ffap-ink);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.18);
}

.ffap-choice:has(input:checked)::after,
.ffap-plan:has(input:checked)::after,
.ffap-payment-choice:has(input:checked)::after {
  position: absolute;
  top: 12px;
  right: 12px;
  content: "\2713";
  font-size: 17px;
  font-weight: 900;
}

.ffap-choice:has(input:focus-visible),
.ffap-plan:has(input:focus-visible),
.ffap-payment-choice:has(input:focus-visible) {
  outline: 3px solid #2274d4;
  outline-offset: 3px;
}

.ffap-choice input,
.ffap-plan input,
.ffap-payment-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ffap-choice strong,
.ffap-plan strong,
.ffap-payment-choice strong {
  display: block;
  margin-bottom: 6px;
}

.ffap-choice small,
.ffap-plan small,
.ffap-payment-choice small {
  display: block;
  color: inherit;
  opacity: 0.72;
  line-height: 1.45;
}

.ffap-plan-price {
  display: block;
  margin-top: 14px;
  font-size: 24px;
  font-weight: 900;
}

.ffap-plan-dates,
.ffap-plan-unavailable {
  display: block;
  margin-top: 13px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.ffap-plan-unavailable {
  color: var(--ffap-danger);
}

.ffap-plan-payment {
  min-width: 0;
  padding: 20px;
  border-left: 1px solid var(--ffap-line);
  background: #fffaf2;
}

.ffap-payment-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.ffap-payment-fieldset legend {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 900;
}

.ffap-payment-loading {
  margin: 0;
  color: var(--ffap-muted);
  font-weight: 700;
}

.ffap-text-button,
.ffap-inline-link {
  border: 0;
  padding: 0;
  color: #793600;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ffap-page .ffap-inline-link,
.ffap-page .ffap-inline-link:hover,
.ffap-page .ffap-inline-link:active {
  color: #662b00;
  background-color: transparent;
  background-image: none;
  opacity: 1;
}

.ffap-text-button {
  margin-top: 14px;
  font-size: 12px;
}

.ffap-text-button:focus-visible,
.ffap-inline-link:focus-visible {
  outline: 3px solid var(--ffap-gold);
  outline-offset: 3px;
}

.ffap-free-options {
  display: grid;
  gap: 10px;
}

.ffap-free-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--ffap-line);
  border-radius: 5px;
  padding: 15px 16px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ffap-free-option:has(input:checked) {
  border-color: var(--ffap-ink);
  color: #fff;
  background: var(--ffap-ink);
  box-shadow: inset 5px 0 0 var(--ffap-gold);
}

.ffap-free-option:has(input:checked) strong {
  color: #f7d66f;
}

.ffap-free-option.is-unavailable {
  cursor: not-allowed;
  opacity: 0.48;
}

.ffap-free-option > strong {
  color: var(--ffap-good);
  font-weight: 900;
}

.ffap-fieldset-help {
  margin: -6px 0 16px;
  color: var(--ffap-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ffap-free-block {
  padding: 20px;
  border: 1px solid #e3d39f;
  background: #fffaf0;
}

.ffap-free-block legend {
  padding-top: 3px;
}

.ffap-summary {
  border: 1px solid var(--ffap-line);
}

.ffap-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: #fff;
  background: var(--ffap-ink);
}

.ffap-summary-head h4 {
  margin: 0;
  font-size: 22px;
}

.ffap-summary-lines {
  padding: 8px 22px;
}

.ffap-summary-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ffap-line);
}

.ffap-summary-line span:first-child {
  min-width: 0;
}

.ffap-summary-line small {
  display: block;
  margin-top: 3px;
  color: var(--ffap-muted);
}

.ffap-summary-line strong {
  flex: 0 0 auto;
}

.ffap-summary-line.ffap-saving {
  color: var(--ffap-good);
  background: #f1fbf4;
}

.ffap-summary-line.ffap-saving strong {
  color: var(--ffap-good);
}

.ffap-summary-line.ffap-management-fee {
  background: #fff8e8;
}

.ffap-summary-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  padding: 22px;
  background: #fff8e8;
}

.ffap-summary-total del {
  color: var(--ffap-muted);
}

.ffap-summary-total strong {
  font-size: 27px;
}

.ffap-summary-saving {
  grid-column: 1 / -1;
  color: var(--ffap-good);
  font-weight: 900;
}

.ffap-installments {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ffap-payment-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--ffap-line);
  background: var(--ffap-line);
}

.ffap-payment-summary span {
  display: grid;
  gap: 5px;
  padding: 15px 18px;
  background: #fff;
}

.ffap-payment-summary small {
  color: var(--ffap-muted);
}

.ffap-payment-summary strong {
  font-size: 20px;
}

.ffap-installments li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ffap-line);
}

.ffap-installments li span small {
  display: block;
  margin-top: 3px;
  color: var(--ffap-muted);
}

.ffap-installments.is-compact {
  margin-top: 12px;
  font-size: 11px;
}

.ffap-installments.is-compact li {
  padding: 6px 0;
}

.ffap-consents {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.ffap-consents label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--ffap-line);
  border-left: 5px solid var(--ffap-copper);
  border-radius: 4px;
  padding: 13px 15px;
  background: #fffaf2;
  line-height: 1.5;
}

.ffap-consents input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ffap-ink);
}

.ffap-consents a,
.ffap-legal-provider a {
  color: #8b4200;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ffap-consents a:focus-visible,
.ffap-legal-provider a:focus-visible {
  outline: 3px solid var(--ffap-gold);
  outline-offset: 3px;
}

.ffap-modal[hidden] {
  display: none;
}

.ffap-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 24px;
}

.ffap-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.72);
}

.ffap-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  border-top: 6px solid var(--ffap-copper);
  padding: 34px;
  color: var(--ffap-ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.ffap-modal-panel > h3 {
  margin: 0 48px 22px 0;
  font-size: 28px;
}

.ffap-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ffap-line);
  border-radius: 50%;
  color: var(--ffap-ink);
  background: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.ffap-modal-content {
  color: var(--ffap-muted);
  line-height: 1.65;
}

.ffap-modal-content h4 {
  margin: 26px 0 6px;
  color: var(--ffap-ink);
  font-size: 17px;
}

.ffap-modal-content p,
.ffap-modal-content ul {
  margin-top: 7px;
}

.ffap-modal-provider {
  border-left: 4px solid var(--ffap-gold);
  padding: 10px 14px;
  color: var(--ffap-ink);
  background: #fff8e8;
}

.ffap-modal-open {
  overflow: hidden;
}

.ffap-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.ffap-alert {
  margin: 18px 0 0;
  border-left: 4px solid var(--ffap-danger);
  padding: 13px 15px;
  color: #6f1c1c;
  background: #fff0f0;
  line-height: 1.5;
}

.ffap-success {
  padding: 38px 34px;
}

.ffap-success h3 {
  margin: 0 0 10px;
  font-size: 30px;
}

.ffap-success p {
  color: var(--ffap-muted);
  line-height: 1.6;
}

.ffap-success .ffap-summary {
  margin-top: 24px;
}

.ffap-page-terms {
  min-height: 100vh;
  padding: 72px 20px;
}

.ffap-terms {
  width: min(820px, 100%);
  margin: 0 auto;
  border-top: 5px solid var(--ffap-ink);
  padding: 42px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(45, 37, 25, 0.12);
}

.ffap-terms h2 {
  margin: 30px 0 8px;
  font-size: 20px;
}

.ffap-terms p {
  color: var(--ffap-muted);
  line-height: 1.65;
}

.ffap-legal-warning {
  margin: 22px 0;
  border-left: 4px solid var(--ffap-copper);
  padding: 14px 16px;
  background: #fff5e9;
  color: var(--ffap-ink);
  line-height: 1.5;
}

.ffap-legal-provider {
  display: grid;
  gap: 1px;
  margin: 26px 0 34px;
  border: 1px solid var(--ffap-line);
  background: var(--ffap-line);
}

.ffap-legal-provider div {
  display: grid;
  grid-template-columns: minmax(145px, 0.34fr) 1fr;
  gap: 20px;
  padding: 12px 15px;
  background: #fff;
}

.ffap-legal-provider dt {
  color: var(--ffap-muted);
  font-weight: 700;
}

.ffap-legal-provider dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.ffap-legal-section ul {
  color: var(--ffap-muted);
  line-height: 1.65;
}

.ffap-legal-evidence {
  margin-top: 20px;
}

@media print {
  .ffap-page-terms {
    padding: 0;
  }

  .ffap-terms {
    width: 100%;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .ffap-legal-actions,
  .ffap-legal-warning {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ffap-button,
  .ffap-choice,
  .ffap-plan,
  .ffap-payment-choice {
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  }

  .ffap-button:hover,
  .ffap-choice:hover,
  .ffap-plan:hover,
  .ffap-payment-choice:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 760px) {
  .ffap-hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .ffap-hero-content {
    width: min(100% - 28px, 620px);
    padding: 72px 0 52px;
  }

  .ffap-academy-mark {
    width: 84px;
  }

  .ffap-hero h1 {
    font-size: 44px;
  }

  .ffap-schedule h2,
  .ffap-form-heading h2,
  .ffap-terms h1 {
    font-size: 34px;
  }

  .ffap-hero-copy {
    font-size: 17px;
  }

  .ffap-mode {
    display: block;
    margin: 12px 0 0;
  }

  .ffap-section-inner {
    width: min(100% - 28px, 620px);
  }

  .ffap-prelaunch .ffap-section-inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .ffap-schedule,
  .ffap-enrollment {
    padding: 58px 0 72px;
  }

  .ffap-schedule-grid,
  .ffap-fields,
  .ffap-choice-grid,
  .ffap-plan-grid,
  .ffap-payment-grid {
    grid-template-columns: 1fr;
  }

  .ffap-plan-item.is-selected {
    grid-template-columns: 1fr;
  }

  .ffap-plan-payment {
    border-top: 1px solid var(--ffap-line);
    border-left: 0;
  }

  .ffap-modal {
    align-items: end;
    padding: 0;
  }

  .ffap-modal-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 28px 18px;
  }

  .ffap-schedule-pass + .ffap-schedule-pass {
    border-top: 1px solid var(--ffap-line);
    border-left: 0;
  }

  .ffap-form-body,
  .ffap-success {
    padding: 26px 18px;
  }

  .ffap-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .ffap-progress span:nth-child(n + 3) {
    border-top: 1px solid var(--ffap-line);
  }

  .ffap-actions {
    flex-direction: column-reverse;
  }

  .ffap-actions .ffap-button {
    width: 100%;
  }

  .ffap-summary-head,
  .ffap-summary-line,
  .ffap-installments li {
    align-items: flex-start;
  }

  .ffap-summary-total strong {
    font-size: 23px;
  }

  .ffap-payment-summary {
    grid-template-columns: 1fr;
  }

  .ffap-terms {
    padding: 28px 20px;
  }

  .ffap-legal-provider div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
