:root {
  --bg: #f7f2e8;
  --bg-soft: #fff7ea;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #fff9f0;
  --text: #17181f;
  --muted: #515463;
  --gold: #c99617;
  --gold-strong: #e0b638;
  --lime: #2f8d57;
  --shadow: 0 24px 60px rgba(27, 19, 9, 0.12);
  --border: rgba(23, 24, 31, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(224, 182, 56, 0.16) 0 14%, transparent 14%),
    linear-gradient(180deg, #fffaf1 0%, var(--bg) 42%, #efe7d8 100%);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

body {
  line-height: 1.45;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.top-alert {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(90deg, #8f1117 0%, #c22127 48%, #8f1117 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.top-alert-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.top-alert p {
  font-size: 0.96rem;
  color: #fff7ea;
}

.top-alert strong {
  color: #fff2b7;
}

.top-alert-link {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff; /* Explicit readable white text */
  transition: background 0.2s ease, color 0.2s ease;
}

.top-alert-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff2b7;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0 3.4rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(224, 182, 56, 0.28) 0 45%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(194, 33, 39, 0.22) 0 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0 100%),
    #fffcf5;
  pointer-events: none;
}

.hero-crest,
.hero-flag {
  position: absolute;
  pointer-events: none;
}

.hero-crest {
  top: 2rem;
  right: 5.5%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.54) 0 34%, transparent 34%),
    radial-gradient(circle at center, rgba(224, 182, 56, 0.22) 0 52%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 247, 232, 0.55));
  border: 1px solid rgba(23, 24, 31, 0.08);
  box-shadow: inset 0 0 0 14px rgba(201, 150, 23, 0.08), 0 0 40px rgba(201, 150, 23, 0.12);
}

.hero-crest::before,
.hero-crest::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
}

.hero-crest::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.28));
  box-shadow: inset 0 0 0 1px rgba(23, 24, 31, 0.07);
}

.hero-crest::after {
  inset: 50px;
  background: radial-gradient(circle, rgba(201, 150, 23, 0.95) 0 16%, transparent 16%),
    linear-gradient(45deg, rgba(192, 33, 39, 0.16), rgba(224, 182, 56, 0.2));
}

.hero-flag {
  left: 0;
  top: 0;
  width: 100%;
  height: 14px;
  background: linear-gradient(90deg, #c22127 0 24%, #e0b638 24% 76%, #c22127 76% 100%);
  opacity: 0.8;
  box-shadow: 0 1px 0 rgba(23, 24, 31, 0.08);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-copy,
.offer-panel,
.why-card,
.benefit-card,
.syllabus-accordion details,
.guarantee-wrap,
.final-cta-wrap {
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: 1.5rem 0;
  text-align: center;
}

.eyebrow,
.section-kicker,
.offer-badge,
.offer-price-label,
.pricing-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.78rem;
  color: #8f1117;
  background: rgba(192, 33, 39, 0.08);
  border: 1px solid rgba(192, 33, 39, 0.16);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 auto;
  color: #16161d;
}

.spain-stamp {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 24, 31, 0.08);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.spain-stamp span {
  font-size: 1.6rem;
}

.spain-stamp strong {
  display: block;
  font-size: 0.98rem;
}

.spain-stamp small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-copy h1 strong {
  color: #c22127;
}

.hero-lead {
  margin-top: 1rem;
  max-width: 68ch;
  color: #4b4e5b;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  margin-left: auto;
  margin-right: auto;
}

.pricing-highlight {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.85rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-main,
.pricing-secondary {
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(23, 24, 31, 0.08);
}

.pricing-main {
  background: linear-gradient(180deg, rgba(224, 182, 56, 0.22), rgba(255, 255, 255, 0.72));
}

.pricing-label {
  font-size: 0.72rem;
  color: #7a6a37;
  margin-bottom: 0.35rem;
}

.pricing-main strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  color: #c22127;
}

.pricing-secondary strong {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.15;
}

.pricing-main small,
.pricing-secondary small {
  display: block;
  margin-top: 0.45rem;
  color: #5c5f6f;
  font-size: 0.84rem;
}

.hero-proof {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.hero-proof li {
  position: relative;
  padding-left: 1.3rem;
  color: #1f2430;
  font-weight: 600;
  max-width: 48ch;
}

.hero-proof li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #c22127;
}

.hero-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #c22127 0%, #8f1117 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(194, 33, 39, 0.2);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 24, 31, 0.1);
  color: #17181f;
}

.full {
  width: 100%;
}

.live-demand {
  margin-top: 1.05rem;
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 251, 242, 0.9));
  border: 1px solid rgba(23, 24, 31, 0.08);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.live-demand p {
  color: #22252e;
  font-weight: 600;
}

.live-track,
.mobile-live-track {
  margin: 0.65rem 0;
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(23, 24, 31, 0.08);
}

.live-track span,
.mobile-live-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #c22127 0%, #e0b638 48%, #f08a00 100%);
  box-shadow: 0 0 18px rgba(194, 33, 39, 0.2);
  transition: width 0.55s ease;
}

.live-demand.is-hot .live-track span,
.mobile-bar.is-hot .mobile-live-track span {
  background: linear-gradient(90deg, #c22127 0%, #e0b638 100%);
}

.live-demand.is-critical .live-track span,
.mobile-bar.is-critical .mobile-live-track span {
  background: linear-gradient(90deg, #d67b00 0%, #c22127 100%);
  box-shadow: 0 0 22px rgba(194, 33, 39, 0.32);
}

.live-demand.is-max .live-track span,
.mobile-bar.is-max .mobile-live-track span {
  background: linear-gradient(90deg, #c22127 0%, #8f1117 100%);
  box-shadow: 0 0 24px rgba(143, 17, 23, 0.45);
}

.live-note {
  font-size: 0.92rem;
  color: #4b4e5b;
}

.offer-panel {
  position: relative;
  margin-top: 0.6rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf4e6 100%);
  border: 1px solid rgba(23, 24, 31, 0.08);
  padding: 1.35rem;
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
}

.offer-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(194, 33, 39, 0.65), rgba(224, 182, 56, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.offer-panel-top h2 {
  margin-top: 0.55rem;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.03;
  color: #15161b;
}

.offer-panel-top h2 strong {
  color: #c22127;
}

.offer-badge {
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(180deg, #c22127 0%, #8f1117 100%);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.offer-price {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(194, 33, 39, 0.08), rgba(224, 182, 56, 0.12));
  border: 1px solid rgba(194, 33, 39, 0.14);
}

.offer-price strong {
  display: block;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  color: #c22127;
}

.offer-price small {
  display: block;
  margin-top: 0.4rem;
  color: #5a5d6b;
  font-size: 0.84rem;
}

.offer-facts {
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.offer-facts div {
  padding: 0.9rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 24, 31, 0.08);
  text-align: center;
}

.offer-facts span {
  display: block;
  color: #6a6e7c;
  font-size: 0.78rem;
}

.offer-facts strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.offer-foot {
  margin-top: 0.8rem;
  color: #5a5d6b;
  font-size: 0.88rem;
}

.offer-foot strong {
  color: #17181f;
}

.trust,
.why-spanish,
.syllabus,
.benefits,
.guarantee,
.final-cta {
  padding: 3.2rem 0;
}

.trust-grid,
.benefits-grid,
.why-grid {
  display: grid;
  gap: 1rem;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article,
.why-card,
.benefit-card {
  border-radius: 22px;
  padding: 1.1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbf6eb 100%);
  border: 1px solid rgba(23, 24, 31, 0.08);
}

.trust-grid h3 {
  font-family: 'Archivo Black', sans-serif;
  color: #c22127;
  font-size: 1.7rem;
}

.trust-grid p {
  color: #5c5f6f;
  font-size: 0.92rem;
}

.section-head {
  margin-bottom: 1.2rem;
}

.syllabus-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.syllabus-intro-card {
  border-radius: 20px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.syllabus-intro-card strong {
  display: block;
  font-size: 1.02rem;
  color: var(--gold-strong);
}

.syllabus-intro-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-kicker {
  font-size: 0.78rem;
  color: #8f1117;
  background: rgba(194, 33, 39, 0.07);
  border: 1px solid rgba(194, 33, 39, 0.14);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  margin-bottom: 0.8rem;
}

.section-head h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.03;
  max-width: 18ch;
  color: #16161d;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.why-card h3,
.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.why-card {
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 33, 39, 0.12) 0%, rgba(194, 33, 39, 0) 70%);
}

.why-card p,
.benefit-card p,
.why-cta p,
.guarantee p,
.final-cta p {
  color: #5c5f6f;
}


.benefit-card {
  position: relative;
}

.benefit-card h3 {
  color: #16161d;
}
.why-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px dashed rgba(194, 33, 39, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ed 100%);
}

.syllabus-accordion {
  display: grid;
  gap: 0.8rem;
}

.syllabus-accordion details {
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf7ee 100%);
  border: 1px solid rgba(23, 24, 31, 0.08);
  overflow: hidden;
}

.syllabus-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.1rem;
  font-weight: 900;
  font-size: 1.02rem;
  position: relative;
}

.syllabus-accordion summary::-webkit-details-marker {
  display: none;
}

.syllabus-accordion summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #c22127;
  font-size: 1.2rem;
}

.syllabus-accordion details[open] summary::after {
  content: '−';
}

.syllabus-accordion ul {
  margin: 0;
  padding: 0 1.25rem 1.15rem 2rem;
  color: #5c5f6f;
}

.syllabus-accordion li {
  font-size: 0.98rem;
}

.syllabus-accordion li + li {
  margin-top: 0.35rem;
}

.benefits-grid {
  grid-template-columns: repeat(4, 1fr);
}

.guarantee-wrap,
.final-cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 26px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #fbf4e6 100%);
  border: 1px solid rgba(23, 24, 31, 0.08);
}

.guarantee-chip {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #e3c25e 0%, #c22127 65%);
  font-family: 'Archivo Black', sans-serif;
  box-shadow: 0 0 26px rgba(194, 33, 39, 0.12);
}

.guarantee h2,
.final-cta h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.04;
  color: #16161d;
}

.final-cta {
  padding-bottom: 4rem;
}

.final-cta-wrap {
  background: linear-gradient(135deg, rgba(194, 33, 39, 0.06), rgba(224, 182, 56, 0.08));
}

.final-cta p {
  max-width: 54ch;
  margin-top: 0.45rem;
}

.site-footer {
  padding: 1.1rem 0 5.5rem;
  border-top: 1px solid rgba(23, 24, 31, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  display: grid;
  gap: 0.6rem;
}

.footer-wrap p {
  color: #5c5f6f;
  font-size: 0.88rem;
}

.footer-wrap nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-wrap a {
  color: #8f1117;
  text-decoration: none;
  font-weight: 700;
}

.footer-school {
  min-width: 220px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(194, 33, 39, 0.08), rgba(224, 182, 56, 0.08));
  border: 1px solid rgba(194, 33, 39, 0.14);
}

.footer-school span {
  display: block;
  color: #5c5f6f;
  font-size: 0.8rem;
}

.footer-school strong {
  display: block;
  margin-top: 0.25rem;
  color: #16161d;
  font-size: 1.02rem;
}

.faq {
  padding: 3.2rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.faq-card {
  padding: 1.05rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
  border: 1px solid rgba(23, 24, 31, 0.08);
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin-bottom: 0.45rem;
  color: #16161d;
  font-size: 1.03rem;
}

.faq-card p {
  color: #5c5f6f;
  font-size: 0.95rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  text-decoration: none;
  background: linear-gradient(180deg, #34d26c 0%, #0eac47 100%);
  color: #fff;
  font-weight: 800;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: none;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(23, 24, 31, 0.08);
}

.mobile-bar-copy {
  flex: 1;
}

.mobile-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f1117;
  margin-bottom: 0.15rem;
}

.mobile-prices {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.mobile-prices strong {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.2rem;
  color: #16161d;
}

.mobile-prices span,
.mobile-vagas {
  color: #5c5f6f;
  font-size: 0.78rem;
}

.mobile-vagas {
  margin-top: 0.25rem;
}

.mobile-bar a {
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #c22127 0%, #8f1117 100%);
  color: #fff;
  font-weight: 900;
  padding: 0.78rem 0.95rem;
  border-radius: 999px;
}

@media (max-width: 1060px) {
  .trust-grid,
  .benefits-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .syllabus-intro {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-alert-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-copy {
    text-align: left;
  }

  .spain-stamp,
  .pricing-highlight,
  .live-demand,
  .offer-panel {
    width: 100%;
  }

  .spain-stamp {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy h1,
  .hero-lead,
  .hero-cta,
  .hero-proof {
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
    justify-items: flex-start;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .pricing-highlight,
  .offer-facts,
  .trust-grid,
  .benefits-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-cta,
  .guarantee-wrap,
  .final-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-wrap {
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .mobile-bar {
    display: flex;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 5.8rem;
  }

  body {
    padding-bottom: 84px;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}
