/* =========================================================
   WFG TIMESHARE FIGHT — page layout, sections, sliders
   Tokens live in tokens.css. This file styles the page.
   ========================================================= */

/* ---------------------------------------------------------
   SECTION SCAFFOLD
   --------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--wfg-white); }
.section--alt   { background: var(--wfg-light-gray); }
.section--navy  { background: var(--wfg-deep); }
.section--green { background: var(--wfg-deep); }

/* Text colors on dark/green sections */
.section--navy h1, .section--navy h2, .section--navy h3,
.section--green h1, .section--green h2, .section--green h3 { color: var(--wfg-white); }
.section--navy p, .section--green p { color: rgba(255,255,255,0.88); }

/* Centered section head */
.section__head, .twf__head, .questions__head, .process__head,
.warriors__head, .reviews__head, .fto__head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.twf__head h2, .questions__head h2, .reviews__head h2, .fto__head h2 { margin-bottom: var(--space-m); }

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
.site-header {
  background: var(--wfg-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: 14px;
}
.site-header__logo img { height: 44px; width: auto; }
.site-header__phone { padding: 10px 18px; }

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero {
  background: var(--wfg-deep);
  color: var(--wfg-white);
  padding-block: clamp(40px, 6vw, 72px) var(--section-y);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero__title {
  color: var(--wfg-white);
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--space-m);
}
.hero__subtitle {
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xl);
}
.hero__subtitle .text-link { color: var(--wfg-green); }

/* Hero video (Wistia inline embed) */
.hero__video {
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* (hero video now uses the Wistia inline embed — styled via .hero__video) */

/* Press bar */
.press { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-m) var(--space-l); }
.press__label {
  font-size: var(--type-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.press__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--space-l);
}
.press__list img { height: 30px; width: auto; opacity: 0.95; }
.press__list img[alt="Inc. 500"] { height: 52px; }

/* ---------------------------------------------------------
   LEAD CARD + FORM (hero + free-kit, on navy)
   --------------------------------------------------------- */
.lead-card {
  background: var(--wfg-navy-panel);
  border: 1px solid var(--wfg-navy-line);
  border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}
.lead-card__title { color: var(--wfg-white); font-size: var(--type-h3); margin-bottom: var(--space-s); }
.lead-card__sub { color: rgba(255,255,255,0.8); font-size: var(--type-small); margin-bottom: var(--space-l); }

.lead-form { display: flex; flex-direction: column; gap: var(--space-m); }
.lead-form .field { display: flex; flex-direction: column; }
.lead-form label {
  font-size: var(--type-small);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-s);
}
.lead-form input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;               /* 16px prevents iOS zoom-on-focus */
  color: var(--wfg-near-black);
  background: var(--wfg-white);
  border: 1px solid var(--wfg-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-form input::placeholder { color: var(--wfg-warm-gray); }
.lead-form input:focus {
  outline: none;
  border-color: var(--wfg-ocean);
  box-shadow: inset 0 0 0 1px var(--wfg-ocean);
}
.lead-form input:invalid:not(:placeholder-shown) { border-color: #D32F2F; }
.lead-form__disclaimer {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255,255,255,0.55);
}
.lead-form__disclaimer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead-form__status { font-size: var(--type-small); margin-top: var(--space-xs); min-height: 1em; }
.lead-form__status[data-state="ok"]  { color: #8DE0B4; }
.lead-form__status[data-state="err"] { color: #FF9B9B; }

/* ---------------------------------------------------------
   2. TIMESHARE WARRIORS FIGHTING FOR YOU
   --------------------------------------------------------- */
.twf__intro { font-size: 18px; color: var(--wfg-text-secondary); }
.twf__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
.twf__item {
  text-align: left;
}
.twf__item::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--wfg-ocean);
  margin-bottom: var(--space-l);
}
.twf__item h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.twf__cta { text-align: center; }
.twf__cta-text { font-family: var(--font-display); font-size: var(--type-h3); color: var(--wfg-near-black); margin-bottom: var(--space-m); }

/* ---------------------------------------------------------
   3. WE KNOW TIMESHARE (green) + CREDENTIAL SLIDER
   --------------------------------------------------------- */
.wkt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.wkt__copy h2 { margin-bottom: var(--space-m); }
.wkt__copy p { margin-bottom: var(--space-xl); font-size: 18px; }

/* Prevent aspect-ratio media inside grid/flex tracks from blowing out width
   (grid/flex children default to min-width:auto; Swiper then reads a runaway width) */
.hero__grid > *, .wkt__grid > *, .freekit__grid > *, .process-step > * { min-width: 0; }

/* Credential slider — full team-stat graphics (image carousel) */
.wfg-credslider { position: relative; width: 100%; min-width: 0; }
.wfg-credslider__swiper { overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-lg); }
.wfg-credslider .swiper-slide { min-width: 0; }
.wfg-credslider .swiper-slide img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); }
.wfg-credslider__pagination {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-s);
  margin-top: var(--space-m);
}
.wfg-credslider__pagination .swiper-pagination-bullet {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--wfg-white); opacity: 0.45;
  cursor: pointer; transition: opacity 0.3s ease, transform 0.3s ease;
}
.wfg-credslider__pagination .swiper-pagination-bullet-active { opacity: 1; transform: scale(1.3); }

/* ---------------------------------------------------------
   4. THINKING ABOUT CANCELING — 5 QUESTIONS
   --------------------------------------------------------- */
.questions__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-l);
  margin-bottom: var(--space-2xl);
}
.question { text-align: center; }
.question__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--space-m);
  border-radius: 50%;
  background: var(--wfg-navy);
  color: var(--wfg-white);
  font-family: var(--font-display);
  font-weight: 700; font-size: 20px;
}
.question p { font-size: var(--type-small); color: var(--wfg-text); }
.questions__cta { text-align: center; }
.questions__cta-text { font-family: var(--font-display); font-size: var(--type-h3); color: var(--wfg-near-black); margin-bottom: var(--space-m); }

/* ---------------------------------------------------------
   5. OUR PROCESS — 4 STEPS
   --------------------------------------------------------- */
.process__steps { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px); margin-bottom: var(--space-2xl); }
.process-step {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.process-step__media img {
  width: 100%; height: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-md);
}
.process-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: var(--space-m);
  border-radius: 50%;
  background: var(--wfg-light-ice);
  color: var(--wfg-navy);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.process-step__body h3 { margin-bottom: var(--space-s); text-transform: uppercase; letter-spacing: 0.01em; }
.process-step__body p { color: var(--wfg-text-secondary); }
.process__cta { text-align: center; }

/* ---------------------------------------------------------
   6. OUR TIMESHARE WARRIORS — quote
   --------------------------------------------------------- */
.warriors__quote {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.4vw, 24px);
  font-style: italic;
  line-height: 1.5;
  color: var(--wfg-near-black);
  max-width: 760px;
  margin: var(--space-l) auto 0;
}
.warriors__quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--type-small);
  font-weight: 700;
  color: var(--wfg-warm-gray);
  margin-top: var(--space-m);
}

/* ---------------------------------------------------------
   7. REVIEWS — subhead + CTA
   --------------------------------------------------------- */
.reviews__head p { color: rgba(255,255,255,0.85); font-size: 18px; }
.reviews__cta { text-align: center; margin-top: var(--space-xl); }
/* Mobile-only line break (shown at <=720px in the responsive block) */
.br-mobile { display: none; }

/* ---------------------------------------------------------
   8. FIGHTING FOR TIMESHARE OWNERS — stats
   --------------------------------------------------------- */
.fto__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--wfg-near-black);
}
.stat__label {
  display: block;
  margin-top: var(--space-s);
  font-size: var(--type-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wfg-text-secondary);
}
.fto__cta { text-align: center; }

/* ---------------------------------------------------------
   9. GET YOUR FREE KIT
   --------------------------------------------------------- */
.freekit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.freekit__headline {
  color: var(--wfg-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: var(--space-l);
}
.freekit__media { text-align: center; }
.freekit__media img {
  max-width: 360px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.site-footer { background: var(--wfg-near-black); color: rgba(255,255,255,0.7); padding-block: var(--space-2xl); }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-l); }
.site-footer__logo { height: 48px; width: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-m) var(--space-l); }
.site-footer__nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: var(--type-small);
}
.site-footer__nav a:hover { color: var(--wfg-white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__social { list-style: none; display: flex; gap: var(--space-l); margin: 0; padding: 0; }
.site-footer__social a { color: rgba(255,255,255,0.7); font-size: 24px; }
.site-footer__social a:hover { color: var(--wfg-white); }
.site-footer__legal, .site-footer__copy { font-size: var(--type-caption); color: rgba(255,255,255,0.5); }

/* =========================================================
   SLIDER COMPONENT — shared (integrated from WFG slider templates)
   Scoped under .wfg-testimonials. Lora swapped for Plantin (brand).
   ========================================================= */
.wfg-testimonials {
  --wfg-text-muted: #3F3F3F;
  --wfg-nav-color: #0C3145;           /* dark nav for light parent (video) */
  --wfg-name-color: var(--wfg-navy);
  font-family: var(--font-body);
  box-sizing: border-box;
}
.wfg-testimonials *, .wfg-testimonials *::before, .wfg-testimonials *::after { box-sizing: border-box; }
.wfg-testimonials--mix   { color: var(--wfg-white); }
.wfg-testimonials--video { color: var(--wfg-near-black); }

.wfg-testimonials__container { max-width: 1200px; margin: 0 auto; padding-inline: var(--section-x); }
.wfg-testimonials__swiper { overflow: hidden; padding: 16px 0 32px; margin: 0 0 8px; width: 100%; }
.wfg-testimonials__swiper .swiper-wrapper { align-items: stretch; }

/* Controls (shared) */
.wfg-testimonials__controls {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-l); flex-wrap: nowrap; margin-bottom: var(--space-l);
}

/* ---- MIX (testimonials) ---- */
.wfg-testimonials--mix .wfg-testimonials__slide {
  display: flex !important; width: 320px !important; height: 302px !important;
  flex-shrink: 0 !important; box-sizing: border-box !important;
}
.wfg-testimonials--mix .wfg-testimonials__slide--video { width: 192px !important; }
.wfg-testimonials .wfg-card {
  background-color: var(--wfg-white);
  color: var(--wfg-near-black) !important;
  border-radius: 12px;
  padding: 24px 22px !important;
  display: flex !important; flex-direction: column !important;
  width: 100% !important; height: 100% !important;
  box-shadow: 0 8px 24px rgba(26,32,52,0.15);
  overflow: hidden !important;
}
.wfg-testimonials .wfg-card__quote-mark { width: 56px !important; height: 40px !important; margin-bottom: 16px !important; flex-shrink: 0 !important; }
.wfg-testimonials .wfg-card__text {
  font-family: var(--font-body) !important;
  font-size: 16px !important; line-height: 1.55 !important; font-weight: 400 !important;
  color: var(--wfg-near-black) !important; margin: 0 0 24px !important; flex-grow: 1 !important;
}
.wfg-testimonials .wfg-card__footer {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 16px !important; border-top: 1px solid var(--wfg-light-ice) !important; padding-top: 16px !important;
}
.wfg-testimonials .wfg-card__attribution { display: flex !important; flex-direction: column !important; }
.wfg-testimonials .wfg-card__name { font-family: var(--font-body) !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important; color: var(--wfg-navy) !important; }
.wfg-testimonials .wfg-card__date { font-family: var(--font-body) !important; font-size: 13px !important; line-height: 1.2 !important; color: #666 !important; margin-top: 2px !important; }
.wfg-card__stars { display: flex; gap: 2px; }
.wfg-card__stars svg { width: 16px; height: 16px; fill: var(--wfg-gold); }

.wfg-video-card {
  background-color: var(--wfg-near-black); border-radius: 12px; overflow: hidden;
  width: 100%; height: 100%; box-shadow: 0 8px 24px rgba(26,32,52,0.25); position: relative;
}
.wfg-video-card .wistia_embed,
.wfg-video-card .wistia_responsive_padding,
.wfg-video-card .wistia_responsive_wrapper { width: 100% !important; height: 100% !important; }

.wfg-testimonials--mix .wfg-testimonials__nav {
  width: 48px; height: 48px; border-radius: 8px;
  border: 1.5px solid var(--wfg-white); background: transparent; color: var(--wfg-white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; padding: 0;
}
.wfg-testimonials--mix .wfg-testimonials__nav:hover { background-color: var(--wfg-white); color: var(--wfg-navy); }
.wfg-testimonials--mix .wfg-testimonials__nav:disabled { opacity: 0.4; cursor: not-allowed; }
.wfg-testimonials--mix .wfg-testimonials__nav svg { width: 18px; height: 18px; fill: currentColor; }
.wfg-testimonials--mix .wfg-testimonials__nav--next svg { transform: rotate(180deg); }

.wfg-testimonials__disclaimer {
  text-align: center; font-size: 12px; line-height: 1.4; opacity: 0.7; margin: 16px auto 0;
  max-width: 720px; color: rgba(255,255,255,0.85);
}

/* ---- VIDEO (team) ---- */
/* Constrain the video track to the page content width so it doesn't bleed to
   the viewport edges — gives left/right gutters that line up with the nav row. */
.wfg-testimonials--video .wfg-testimonials__swiper {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--section-x);
}
.wfg-testimonials--video .wfg-testimonials__slide {
  display: flex !important; flex-direction: column !important;
  width: 250px !important; height: auto !important; flex-shrink: 0 !important;
}
.wfg-testimonials--video .wfg-video-slide { display: flex !important; flex-direction: column !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.wfg-testimonials--video .wfg-video-slide__media {
  width: 100% !important; height: 360px !important; border-radius: 8px !important;
  overflow: hidden !important; background-color: var(--wfg-near-black) !important;
  margin-bottom: 24px !important; box-shadow: 0 4px 16px rgba(26,32,52,0.12) !important;
  display: block !important; cursor: pointer !important;
}
.wfg-testimonials--video .wfg-video-slide__name { font-family: var(--font-body) !important; font-size: 18px !important; font-weight: 800 !important; line-height: 1.3 !important; color: var(--wfg-name-color) !important; margin: 0 0 4px !important; padding: 0 4px !important; }
.wfg-testimonials--video .wfg-video-slide__role { font-family: var(--font-body) !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.4 !important; color: var(--wfg-text-muted) !important; margin: 0 !important; padding: 0 4px !important; }
.wfg-testimonials--video .wfg-testimonials__nav {
  width: 48px !important; height: 48px !important; border-radius: 8px !important;
  border: 1.5px solid var(--wfg-nav-color) !important; background: transparent !important;
  color: var(--wfg-nav-color) !important; display: flex !important; align-items: center !important;
  justify-content: center !important; cursor: pointer !important;
  transition: background-color 0.3s ease, color 0.3s ease !important; padding: 0 !important; box-shadow: none !important;
}
.wfg-testimonials--video .wfg-testimonials__nav:hover { background-color: var(--wfg-nav-color) !important; color: var(--wfg-white) !important; }
.wfg-testimonials--video .wfg-testimonials__nav:disabled { opacity: 0.4 !important; cursor: not-allowed !important; }
.wfg-testimonials--video .wfg-testimonials__nav svg { width: 18px !important; height: 18px !important; fill: currentColor !important; }
.wfg-testimonials--video .wfg-testimonials__nav--next svg { transform: rotate(180deg) !important; }

/* Slider breakpoints (mix slides scale up) */
@media (min-width: 640px) {
  .wfg-testimonials--mix .wfg-testimonials__slide { width: 360px !important; height: 340px !important; }
  .wfg-testimonials--mix .wfg-testimonials__slide--video { width: 216px !important; }
  .wfg-testimonials .wfg-card { padding: 28px 26px !important; }
}
@media (min-width: 1024px) {
  .wfg-testimonials--mix .wfg-testimonials__slide { width: 400px !important; height: 378px !important; }
  .wfg-testimonials--mix .wfg-testimonials__slide--video { width: 240px !important; }
  .wfg-testimonials .wfg-card { padding: 32px 28px !important; }
  .wfg-testimonials .wfg-card__text { font-size: 17px !important; }
}

/* =========================================================
   RESPONSIVE — page layout
   ========================================================= */
@media (max-width: 980px) {
  /* Hero stacks to one column; flatten the two columns with display:contents so
     the form sits between the video and the press bar:
     title, subtext, video, form, seen-on. */
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__left, .hero__right { display: contents; }
  .hero__title     { order: 1; }
  .hero__subtitle  { order: 2; }
  .hero__video     { order: 3; }
  .hero .lead-card { order: 4; margin-bottom: var(--space-xl); }
  .press           { order: 5; }
  .wkt__grid { grid-template-columns: 1fr; }
  .freekit__grid { grid-template-columns: 1fr; }
  .freekit__media { order: -1; }
  .questions__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .twf__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  /* Center the "Fighting For You" items and their accent line */
  .twf__item { text-align: center; }
  .twf__item::before { margin-left: auto; margin-right: auto; }
  .fto__stats { grid-template-columns: 1fr; gap: var(--space-l); }
  .questions__grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 1fr; gap: 0; }
  .process-step__media { order: -1; }
  .process-step__media img { max-height: 220px; }
  /* Sit the number circle on the image's bottom-left corner and pull the text up close */
  .process-step__num {
    display: flex;            /* block-level: drops the inline line-box leading above it */
    position: relative; z-index: 1;
    margin-top: -52px; margin-left: 16px; margin-bottom: var(--space-l);
    box-shadow: 0 2px 8px rgba(26,32,52,0.25);
  }
  /* Show the line break between the two review-intro sentences */
  .br-mobile { display: inline; }
  /* Center the free-kit headline (overrides its desktop left alignment) */
  .freekit__headline { text-align: center; }
  .site-header__logo img { height: 36px; }
  .site-header__phone { padding: 9px 14px; font-size: 13px; }
}
