/*
 * School bootcamps landing page.
 * Brand colours and the GT Walsheim @font-face come from brand.css, which the
 * page links directly. Only page-specific values are declared here.
 */
:root {
  --b2b-text: #283044;
  --b2b-muted: #667085;
  --b2b-paper: #fff;
  --b2b-tint: #f3f6fa;
  --b2b-line: #dfe4ec;
  --b2b-radius: 18px;
  --b2b-shadow: 0 20px 60px rgba(5, 7, 29, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--b2b-text);
  background: var(--b2b-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--loc-dark);
  font-family: var(--font-heading);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  letter-spacing: -0.035em;
}

h2 {
  max-width: 850px;
  margin-bottom: 42px;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section--tint {
  background: var(--b2b-tint);
}

.why-barcelona {
  background: var(--b2b-paper);
}

.section--dark {
  color: #d9deea;
  background: var(--loc-dark);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section-intro {
  max-width: 760px;
  margin: -20px 0 42px;
  color: var(--b2b-muted);
  font-size: 1.1rem;
}

.section-note {
  margin: 28px 0 0;
  color: #aeb5c7;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--loc-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note {
  margin: 16px 0 0;
  color: var(--b2b-muted);
  font-size: 0.88rem;
}

.tag {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 9px;
  color: var(--loc-blue);
  background: #e9ebff;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 9px 14px;
  color: #fff;
  background: var(--loc-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(20px, calc((100% - 1180px) / 2));
  background: rgba(5, 7, 29, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand img {
  width: 185px;
  height: auto;
  filter: brightness(0) invert(1);
}

.menu-toggle,
.mobile-navigation {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #fff;
  background: var(--loc-blue);
  border: 1px solid var(--loc-blue);
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.button:hover {
  background: #222cd6;
  border-color: #222cd6;
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.button--light {
  color: var(--loc-dark);
  background: #fff;
  border-color: #fff;
}

.text-link {
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link--light {
  color: #fff;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.actions--center {
  justify-content: center;
}

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--loc-dark);
  overflow: hidden;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 29, 0.94) 0%,
      rgba(5, 7, 29, 0.78) 48%,
      rgba(5, 7, 29, 0.22) 100%
    ),
    linear-gradient(0deg, rgba(5, 7, 29, 0.72), transparent 65%);
}

.hero__content {
  position: relative;
  padding-top: 190px;
  padding-bottom: 100px;
}

.hero h1 {
  max-width: 950px;
  margin-bottom: 26px;
  color: #fff;
}

.hero__lead {
  max-width: 730px;
  margin-bottom: 38px;
  color: #e2e5ed;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.trust-strip {
  color: #fff;
  background: var(--loc-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 27px;
}

.trust-strip p {
  margin: 0;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-strip p:first-child {
  padding-left: 0;
}

.trust-strip p:last-child {
  border: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: #9098ad;
  font-size: 0.82rem;
}

.card-grid,
.image-grid,
.project-grid,
.coach-grid,
.video-grid {
  display: grid;
  gap: 22px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  min-height: 240px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.card h3 {
  margin: 38px 0 12px;
}

.card p {
  margin: 0;
  color: var(--b2b-muted);
}

.card__number {
  color: var(--loc-blue);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.split h2 {
  margin: 0;
}

.prose {
  font-size: 1.08rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--b2b-line);
}

thead th {
  color: var(--loc-dark);
  background: var(--b2b-tint);
  font-family: var(--font-heading);
}

tbody th {
  color: var(--loc-blue);
  font-family: var(--font-heading);
}

tbody tr:last-child > * {
  border-bottom: 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
}

.delivery-grid article {
  padding: 36px;
  background: #11142b;
  border: 1px solid #282c47;
  border-radius: var(--b2b-radius);
}

.delivery-grid p:last-child {
  margin-bottom: 0;
  color: #aeb5c7;
}

.image-grid,
.project-grid,
.coach-grid {
  grid-template-columns: repeat(3, 1fr);
}

.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--b2b-radius);
}

.image-grid h3 {
  margin: 20px 0 8px;
}

.image-grid p,
.project-grid p {
  color: var(--b2b-muted);
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.responsibility-grid article {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.responsibility-grid ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.responsibility-grid li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--b2b-line);
}

.responsibility-grid li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--loc-blue);
  font-weight: 800;
}

.coach {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.coach img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.coach div {
  padding: 26px;
}

.coach h3 {
  margin-bottom: 2px;
}

.coach p {
  color: var(--b2b-muted);
}

.coach .role {
  color: var(--loc-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-study {
  color: #dfe3eb;
  background: var(--loc-dark);
}

.case-study h2 {
  color: #fff;
}

.case-study__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.prose--light {
  color: #c5cada;
}

.result {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #2b2e45;
}

.result strong {
  color: var(--loc-cyan);
  font-family: var(--font-heading);
  font-size: 2.4rem;
}

.result span {
  max-width: 160px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.case-study figure {
  margin: 0;
}

.case-study figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--b2b-radius);
}

.case-study figcaption {
  margin-top: 12px;
  color: #8f97ab;
  font-size: 0.86rem;
}

.project-grid article {
  overflow: hidden;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.project-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--b2b-line);
}

.project-grid h3,
.project-grid p {
  margin-inline: 24px;
}

.project-grid h3 {
  margin-top: 22px;
  margin-bottom: 5px;
}

.project-grid p {
  margin-bottom: 24px;
}

.section--video {
  background: #edf0ff;
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}

.video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border-radius: var(--b2b-radius);
  box-shadow: var(--b2b-shadow);
}

.video-card video {
  width: 100%;
  height: 520px;
  object-fit: cover;
  background: var(--loc-dark);
}

.video-card__copy {
  padding: 28px;
}

.video-card__copy h3 {
  margin-bottom: 0;
}

.pricing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: start;
}

.pricing h2 {
  margin-bottom: 24px;
}

.pricing > div > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.pricing aside {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.pricing dl {
  margin: 0;
}

.pricing dl div {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--b2b-line);
}

.pricing dt {
  color: var(--b2b-muted);
}

.pricing dd {
  margin: 0;
  color: var(--loc-dark);
  font-weight: 800;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.faq-layout h2 {
  margin: 0;
}

.faq-list details {
  border-top: 1px solid var(--b2b-line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--b2b-line);
}

.faq-list summary {
  position: relative;
  padding: 24px 42px 24px 0;
  color: var(--loc-dark);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--loc-blue);
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 42px 24px 0;
  color: var(--b2b-muted);
}

.contact {
  padding: 110px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--loc-blue), #1d2894);
}

.contact h2 {
  margin-inline: auto;
  color: #fff;
}

.contact__inner > p:not(.eyebrow) {
  max-width: 690px;
  margin: -18px auto 34px;
  color: #dfe2ff;
  font-size: 1.1rem;
}

.site-footer {
  padding: 42px 0;
  color: #aeb5c7;
  background: #02030f;
  font-size: 0.86rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr auto auto;
  gap: 28px;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 1000px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid,
  .project-grid,
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coach:last-child {
    grid-column: span 2;
    max-width: calc(50% - 11px);
  }

  .video-card video {
    height: 560px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 72px 0;
  }

  .site-header {
    padding: 11px 16px;
  }

  .brand img {
    width: 185px;
  }

  .site-header .button {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 0.76rem;
  }

  .site-header > .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .mobile-navigation[data-mobile-menu-open] {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: rgba(5, 7, 29, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  }

  .mobile-navigation a {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-navigation .mobile-navigation__cta {
    margin-top: 12px;
    border: 0;
    border-radius: 10px;
    background: var(--loc-blue, #3844ff);
    text-align: center;
  }

  .hero {
    min-height: 600px;
  }

  .hero__overlay {
    background: linear-gradient(0deg, rgba(5, 7, 29, 0.96), rgba(5, 7, 29, 0.34));
  }

  .hero__content {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .actions {
    gap: 14px;
  }

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

  .trust-strip p {
    padding: 12px;
    border: 0;
  }

  .trust-strip p:nth-child(odd) {
    padding-left: 0;
  }

  .card-grid--4,
  .image-grid,
  .project-grid,
  .coach-grid,
  .video-grid,
  .responsibility-grid,
  .delivery-grid,
  .split,
  .case-study__grid,
  .pricing,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .split,
  .case-study__grid,
  .pricing,
  .faq-layout {
    gap: 40px;
  }

  .image-grid,
  .project-grid {
    gap: 34px;
  }

  .coach-grid {
    gap: 16px;
  }

  .coach:last-child {
    grid-column: auto;
    max-width: none;
  }

  .coach div {
    padding: 18px;
  }

  .video-card video {
    height: auto;
    max-height: none;
  }

  .video-card__copy {
    padding: 20px;
  }

  .pricing aside {
    padding: 24px;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-inline: 12px;
  }

  .brand img {
    width: 185px;
  }

  .site-header .button {
    padding-inline: 9px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero__content {
    padding-top: 105px;
    padding-bottom: 44px;
  }

  .hero__lead {
    font-size: 0.95rem;
  }

  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button,
  .actions .text-link {
    text-align: center;
  }

  .actions--center {
    align-items: center;
  }

  .trust-strip strong {
    font-size: 0.86rem;
  }

  .trust-strip span {
    font-size: 0.7rem;
  }

  .coach div {
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
