/* ==========================================================================
   Landing Pages — World Study (country promo landings)
   Reuses the design tokens in variables.css. Scoped under .ws-landing so it
   never leaks into the rest of the site. Loaded only on
   pagetemplate-landing.php (see inc/enqueue.php).
   ========================================================================== */

.ws-landing {
  --lp-gap: 16px;
  color: var(--color-blue);
}

.ws-landing .ws-lp-section {
  padding: 56px 0;
}

.ws-landing .ws-lp-section--grey {
  background: var(--color-grey);
}


/* ── Shared section heading ── */

.ws-lp-head {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.ws-lp-super {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.ws-lp-title {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.ws-lp-sub {
  font-size: 15px;
  line-height: 1.65;
  color: #6c757d;
  margin-bottom: 0;
}


/* ==========================================================================
   Block 1 — Hero
   ========================================================================== */

.ws-lp-hero {
  background: var(--color-blue);
  border-bottom-left-radius: var(--radius-section);
  border-bottom-right-radius: var(--radius-section);
  padding: 64px 0 56px;
  text-align: center;
}

.ws-lp-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.ws-lp-hero__title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 18px;
}

.ws-lp-hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

.ws-lp-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  background: var(--color-orange);
  border: 2px solid var(--color-orange);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ws-lp-hero__cta:hover {
  background: var(--color-orange-light);
  border-color: var(--color-orange-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 102, 0, 0.28);
}

.ws-lp-hero__note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 14px 0 22px;
}

.ws-lp-hero__social {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
}

.ws-lp-stars {
  color: #ffb800;
  letter-spacing: 2px;
  font-size: 16px;
}

/* Hero proof image (e.g. admission certificate) */
.ws-lp-hero__proof {
  margin-top: 36px;
}

.ws-lp-hero__caption {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.ws-lp-hero__proof img {
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}


/* ==========================================================================
   Blocks 2 & 3 — Problem / Solution cards
   ========================================================================== */

.ws-lp-cards {
  --bs-gutter-x: var(--lp-gap);
  --bs-gutter-y: var(--lp-gap);
}

.ws-lp-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-grey-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.ws-lp-section--grey .ws-lp-card {
  background: var(--color-white);
}

.ws-lp-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.ws-lp-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.ws-lp-card--problem .ws-lp-card__icon {
  background: rgba(238, 102, 0, 0.1);
  color: var(--color-orange);
}

.ws-lp-card--solution .ws-lp-card__icon {
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
}

.ws-lp-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-blue);
  margin-bottom: 10px;
}

.ws-lp-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

.ws-lp-card__text + .ws-lp-card__text {
  margin-top: 10px;
}


/* ── Accent block (bottom of problem section) ── */

.ws-lp-accent {
  background: var(--color-blue);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-top: var(--lp-gap);
}

.ws-lp-accent__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: 12px;
}

.ws-lp-accent__text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.ws-lp-accent__text + .ws-lp-accent__text {
  margin-top: 10px;
}

.ws-lp-accent__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ws-lp-accent__person-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ws-lp-accent__person-info {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.ws-lp-accent__person-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
}

.ws-lp-accent__person-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}


/* ==========================================================================
   Block 4 — Roadmap (vertical steps)
   ========================================================================== */

.ws-lp-roadmap {
  max-width: 820px;
  margin: 0 auto;
}

.ws-lp-step {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
}

.ws-lp-step:last-child {
  padding-bottom: 0;
}

/* connecting line */
.ws-lp-step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: -4px;
  width: 2px;
  background: var(--color-grey-dark);
}

.ws-lp-step:last-child::before {
  display: none;
}

.ws-lp-step__marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-lp-step__body {
  padding-top: 2px;
}

.ws-lp-step__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 4px;
}

.ws-lp-step__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 8px;
}

.ws-lp-step__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

.ws-lp-step__text + .ws-lp-step__text {
  margin-top: 8px;
}

.ws-lp-step__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.ws-lp-step__list li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.ws-lp-step__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
}

.ws-lp-roadmap__footer {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: #6c757d;
}


/* ==========================================================================
   Block 5 — Cases (stats bar + testimonials)
   ========================================================================== */

.ws-lp-stats {
  background: var(--color-blue);
  border-radius: var(--radius-section);
  padding: 36px 24px;
  margin-bottom: 36px;
}

.ws-lp-stats__row {
  display: flex;
  flex-wrap: wrap;
}

.ws-lp-stats__item {
  flex: 1 1 25%;
  text-align: center;
  padding: 8px 12px;
  position: relative;
}

.ws-lp-stats__item + .ws-lp-stats__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
}

.ws-lp-stats__num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.ws-lp-stats__label {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.ws-lp-case {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-grey-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.ws-lp-case__uni {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.ws-lp-case__quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-blue);
  font-style: italic;
  margin-bottom: 18px;
}

.ws-lp-case__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ws-lp-case__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.ws-lp-case__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.3;
}

.ws-lp-case__program {
  font-size: 12px;
  color: #6c757d;
}

.ws-lp-case__results {
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--color-grey-dark);
  list-style: none;
}

.ws-lp-case__results li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
}

.ws-lp-case__results li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 12px;
  height: 7px;
  border: solid #28a745;
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}

.ws-lp-cases__caption {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: #6c757d;
}


/* ==========================================================================
   Block 6 — Lead magnet / guide (inline, collapsible)
   ========================================================================== */

.ws-lp-guide__cover {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 40px;
  text-align: center;
  color: var(--color-white);
}

.ws-lp-guide__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(238, 102, 0, 0.14);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 16px;
}

.ws-lp-guide__cover-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.ws-lp-guide__cover-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin: 0 auto 16px;
}

.ws-lp-guide__tags {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* collapsible wrapper */
.ws-lp-guide__details {
  background: var(--color-white);
  border: 1px solid var(--color-grey-dark);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.ws-lp-guide__toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-orange);
  text-align: center;
}

.ws-lp-guide__toggle::-webkit-details-marker {
  display: none;
}

.ws-lp-guide__toggle::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ee6600' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 14px;
  transition: transform var(--transition-fast);
}

.ws-lp-guide__details[open] .ws-lp-guide__toggle::after {
  transform: rotate(180deg);
}

.ws-lp-guide__toggle .ws-lp-guide__toggle-close {
  display: none;
}

.ws-lp-guide__details[open] .ws-lp-guide__toggle-open {
  display: none;
}

.ws-lp-guide__details[open] .ws-lp-guide__toggle-close {
  display: inline;
}

.ws-lp-guide__body {
  padding: 8px 40px 36px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.ws-lp-guide__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  margin: 28px 0 12px;
}

.ws-lp-guide__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-blue);
  margin: 20px 0 8px;
}

.ws-lp-guide__body p {
  margin-bottom: 14px;
}

.ws-lp-guide__body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.ws-lp-guide__body li {
  margin-bottom: 6px;
}

.ws-lp-guide__lead {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-blue);
}

/* guide tables */
.ws-lp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 20px;
  font-size: 14px;
}

.ws-lp-table th,
.ws-lp-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-grey-dark);
}

.ws-lp-table th {
  background: var(--color-grey);
  font-weight: 700;
  color: var(--color-blue);
}

.ws-lp-table td:last-child {
  font-weight: 600;
  color: var(--color-blue);
  white-space: nowrap;
}

.ws-lp-guide__cta {
  margin-top: 24px;
  text-align: center;
}


/* ==========================================================================
   Team trust photo — contained width, no caption (Block 5, above stats)
   ========================================================================== */

.ws-lp-team__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}


/* ==========================================================================
   Final CTA + form
   ========================================================================== */

.ws-lp-final {
  background: var(--color-blue);
  border-radius: var(--radius-section);
  padding: 48px;
}

.ws-lp-final__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ws-lp-final__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
  .ws-lp-stats__item {
    flex: 1 1 50%;
  }
  .ws-lp-stats__item:nth-child(3)::before,
  .ws-lp-stats__item:nth-child(2n + 1)::before {
    display: none;
  }
  .ws-lp-final {
    padding: 36px 28px;
  }
}

@media (max-width: 767px) {
  .ws-landing .ws-lp-section {
    padding: 40px 0;
  }
  .ws-lp-hero {
    padding: 48px 0 44px;
  }
  .ws-lp-hero__title {
    font-size: 1.7rem;
  }
  .ws-lp-hero__subtitle {
    font-size: 1rem;
  }
  .ws-lp-hero__cta {
    width: 100%;
    padding: 15px 24px;
    font-size: 1rem;
  }
  .ws-lp-title {
    font-size: 1.5rem;
  }
  .ws-lp-card,
  .ws-lp-case {
    padding: 22px 20px;
  }
  .ws-lp-accent {
    padding: 28px 22px;
  }
  .ws-lp-step {
    gap: 16px;
  }
  .ws-lp-step__marker {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
  .ws-lp-step::before {
    left: 19px;
    top: 46px;
  }
  .ws-lp-guide__cover,
  .ws-lp-guide__body {
    padding-left: 22px;
    padding-right: 22px;
  }
  .ws-lp-guide__cover-title {
    font-size: 1.25rem;
  }
  .ws-lp-final {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
  }
}
