/* =========================================================
   resilientwithkanti.com — shared styles
   Brand colours live in :root below. Change them once here.
   Breakpoints: tablet <= 1024px, mobile <= 767px
   ========================================================= */

:root {
  --maroon: #571a31;       /* dark brand colour */
  --pink: #d94162;         /* bright brand colour */
  --wine: #9b2646;         /* pills in "By the end" box */
  --cream: #fff7f3;        /* light card background */
  --gold: #f5c611;         /* small divider line */
  --olive: #6d6d00;        /* small text in hero info cards */
  --page-bg: #f9f9f9;
  --white: #ffffff;

  --font-main: "Montserrat", sans-serif;
  --font-alt: "Roboto", sans-serif;
  --font-button: "Sora", sans-serif;
  --font-serif: "Noto Serif Georgian", sans-serif;
  --font-faq: "Poppins", sans-serif;

  --container: 1140px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page-bg);
  color: #000;
  font-family: var(--font-alt);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- Wavy section edges ---------- */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  direction: ltr;
  pointer-events: none;
}
.wave svg {
  display: block;
  position: relative;
  left: 50%;
  width: calc(100% + 1.3px);
  height: 90px;
  transform: translateX(-50%);
}
.wave svg { fill: var(--white); }
.wave--bottom { bottom: -1px; transform: rotate(180deg); }
.wave--top { top: -1px; }
.wave--flip svg { transform: translateX(-50%) rotateY(180deg); }

/* ---------- Main call-to-action button ---------- */
.cta-wrap { min-height: 64px; text-align: center; }
.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  padding: 0 20px;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(98deg, #4991ef 0%, #5c30f3 100%);
  box-shadow: 0 20px 40px rgba(68, 31, 246, 0.24);
  color: var(--white);
  font-family: var(--font-button);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}
/* moving shine across the button */
.btn::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -75px;
  z-index: -10;
  width: 50px;
  height: 155px;
  background: #fff;
  opacity: 0.2;
  filter: blur(15px);
  transform: rotate(35deg);
  animation: btn-shine 1.5s infinite;
}
@keyframes btn-shine {
  from { left: 120%; }
}

/* ---------- Scroll reveal (used sparingly) ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .btn::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   LANDING PAGE (lp-new)
   ========================================================= */

/* ---------- Top ribbon ---------- */
.ribbon {
  background: var(--maroon);
  padding: 10px;
  text-align: center;
}
.ribbon span {
  display: inline-block;
  margin-top: -10px;
  padding: 13px 33px;
  border-radius: 0 0 15px 15px;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--maroon);
  padding: 0 0 150px;
}
.hero .wave svg { height: 90px; }
.hero__inner { max-width: 1000px; margin: 0 auto; padding-top: 20px; }
.hero__title {
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-top: -15px;
  padding: 10px;
}
.hero__text { padding: 10px; }
.hero__lead {
  margin: 16.8px 0;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 16.8px;
  line-height: 1.55;
}
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 13px;
  padding: 73px 10px 10px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 54px;
  margin-bottom: 35px;
  padding: 3px 0 3px 21px;
  border-radius: 15px;
  background: var(--white);
}
.info-card svg { width: 40px; height: 40px; flex: none; fill: var(--maroon); }
.info-card__title {
  color: var(--maroon);
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.info-card__sub {
  color: var(--olive);
  font-family: var(--font-alt);
  font-size: 17px;
  line-height: 1.55;
}
.hero__photo { padding: 10px; }
.hero__photo a { display: block; cursor: zoom-in; }

/* ---------- Who is this for ---------- */
.who { padding: 10px; }
.section-title {
  color: var(--maroon);
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
}
.who__sub {
  margin-top: 20px;
  color: var(--maroon);
  font-family: var(--font-alt);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.who__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  padding: 10px 10px 20px;
}
.who__item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--maroon);
  font-family: var(--font-alt);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}
.who__item svg { width: 30px; height: 30px; flex: none; fill: var(--pink); }

/* ---------- Checklist ("Then this Masterclass was built for you") ---------- */
.fit {
  position: relative;
  background: var(--white);
  padding: 30px 20px 70px;
}
.fit__deco { position: absolute; opacity: 0.2; z-index: 1; }
.fit__deco--grid { top: -66px; right: 20px; width: 62px; }
.fit__deco--circle { top: -76px; left: 0; width: 46px; }
.fit__title {
  color: var(--maroon);
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.divider {
  width: 65px;
  height: 4px;
  margin: 35px auto 15px;
  background: var(--gold);
}
.fit__hint {
  margin-bottom: 25px;
  color: var(--maroon);
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 20px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.check {
  display: flex;
  align-items: flex-start;
  margin-right: 10px;
  padding: 15px 20px;
  border-bottom: 6px solid var(--maroon);
  border-radius: 10px;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.55;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s, border 0.3s;
}
.check__box {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 3px 15.5px 0 0;
  border: 1px solid #c3cbf2;
  border-radius: 4px;
  background: var(--white);
}
.check__box::after {           /* green tick, shown when ticked */
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #3bb54a;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s;
}
.check.is-checked { background: var(--maroon); border-bottom-color: #401dc3; }
.check.is-checked .check__box::after { opacity: 1; }
.fit .cta-wrap { padding-top: 40px; }

/* ---------- What will you discover ---------- */
.discover {
  position: relative;
  background: var(--pink);
  padding: 80px 0 150px;
}
.discover .container { padding: 10px; }
.discover__title {
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
}
.discover__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 0;
}
.discover-card {
  margin: 0 30px;
  padding: 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.discover-card__icon {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 17px;
  border-radius: 50%;
  background: var(--white);
}
.discover-card__icon svg { width: 37px; height: 37px; fill: var(--pink); }
.discover-card p {
  margin-bottom: 15px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}
.outcomes {
  margin: 47px 0 24px;
  padding: 32px 32px 29px;
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
}
.outcomes h2 {
  display: inline-block;
  color: var(--maroon);
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.outcomes__rows { padding: 30px 10px 10px; }
.outcomes__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px;
}
.outcomes__row--two {
  grid-template-columns: repeat(2, 398px);
  justify-content: center;
  gap: 33px;
  margin-top: 20px;
}
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 73px;
  padding: 25px 10px;
  border-radius: 20px;
  background: var(--wine);
  color: var(--cream);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--maroon);
  padding: 80px 0;
  color: var(--white);
}
.testimonials { text-align: center; }
.testimonials .container { padding: 10px; }
.testimonials h2 { letter-spacing: 1px; margin-bottom: 20px; }
.testimonials__title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.4;
}
.testimonials__sub {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}
.testimonials__intro {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
  padding: 0 20px 10px;
  text-align: left;
}
.quote {
  display: flex;
  flex-direction: column;
  margin: 5px;
  padding: 20px 5px 24px 15px;
  border-radius: 20px;
  background: #fdfdfd;
  color: #000;
  font-family: var(--font-main);
}
.quote p { margin-bottom: 20px; font-size: 18px; line-height: 1.55; }
.quote cite {
  margin-top: auto;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- Meet your coach ---------- */
.coach { padding: 100px 0; }
.coach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.coach__photo { padding: 10px; }
.coach__text { padding: 10px; }
.coach__text h2 {
  margin-bottom: 20px;
  color: var(--maroon);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}
.coach__bio {
  max-width: 520px;
  padding: 3px;
  color: var(--maroon);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 1.8px;
}
.coach__bio sup { font-size: 0.6em; line-height: 0; }
.coach-cta { margin: -60px 0 60px; padding: 10px; }

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  background: var(--pink);
  padding: 140px 10px 100px;
}
.faq .wave svg { height: 100px; }
.faq h2, .faq__list { max-width: 1100px; }
.faq h2 {
  margin-bottom: 30px;
  color: var(--maroon);
  font-family: var(--font-faq);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}
.faq details { margin-bottom: 6px; }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid var(--white);
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 10px; height: 17px; flex: none; margin-left: -5px; fill: var(--white); }
.faq summary .caret-open { display: none; width: 15px; }
.faq details[open] summary .caret-closed { display: none; }
.faq details[open] summary .caret-open { display: block; }
.faq .answer {
  padding: 15px;
  background: var(--white);
  color: var(--maroon);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- Closing call to action + footer ---------- */
.closing {
  background: var(--maroon);
  color: var(--white);
  text-align: center;
}
.closing h2 {
  padding: 10px;
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}
.closing p {
  margin: 36.8px 0;
  font-family: var(--font-main);
  font-size: 16.8px;
  line-height: 1.55;
}
.site-footer {
  background: var(--maroon);
  padding: 79.6px 10px 26px;
  color: var(--white);
  font-family: var(--font-alt);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

/* ---------- Photo lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; }

/* =========================================================
   TABLET  (768px – 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .hero__title { padding: 0 20px; }
  .who__list { grid-template-columns: repeat(2, 1fr); }
  .discover-card { margin: 0 12px; }
  .outcomes__row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   MOBILE  (up to 767px)
   ========================================================= */
@media (max-width: 767px) {

  .hero { padding: 30px 0 75px; }
  .hero .wave svg { height: 50px; }
  .hero__inner { padding-top: 0; }
  .hero__title { padding: 0 10px; font-size: 28px; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__photo { order: -1; padding: 10px; }
  .hero__lead { margin: 16.8px 0; text-align: center; }
  .info-cards { row-gap: 60px; margin-top: -5px; padding: 0; }
  .info-card {
    justify-content: center;
    min-height: 41px;
    margin: 0;
    padding: 0;
  }
  .info-card svg { width: 33px; height: 33px; }
  .info-card__title { font-size: 16px; }
  .info-card__sub { font-size: 14px; }

  .btn { height: 45px; padding: 0 15px; font-size: 15.6px; }
  .cta-wrap { min-height: 52px; }

  .section-title { font-size: 21px; }
  .who__list { grid-template-columns: 1fr; padding: 10px; }
  .who__item { flex-direction: column; text-align: center; }

  .fit__deco--grid { top: -66px; right: 20px; }
  .fit__title { font-size: 27.3px; }
  .fit__hint { font-size: 19.5px; line-height: 1.4; }
  .checklist { grid-template-columns: 1fr; }
  .check { margin: 0; padding: 15px; font-size: 16px; }
  .check:nth-child(2n) { margin-bottom: 20px; }
  .check:last-child { margin-bottom: 0; }

  .discover { padding: 50px 10px 75px; }
  .discover .wave svg { height: 50px; }
  .discover__title { font-family: var(--font-faq); font-size: 21px; text-transform: uppercase; }
  .discover__cards { grid-template-columns: 1fr; gap: 18px; }
  .discover-card { margin: 0 1px; padding: 0 0 20px; }
  .discover-card p { margin-bottom: 0; font-size: 17px; }
  .outcomes { padding: 24px 16px 10px; }
  .outcomes h2 { font-size: 22px; line-height: 1.3; }
  .outcomes__rows { padding: 20px 0 0; }
  .outcomes__row,
  .outcomes__row--two { grid-template-columns: 1fr; gap: 14px; padding: 0 0 14px; margin: 0; }
  .pill { min-height: 0; padding: 16px; }

  .testimonials { padding: 50px 0; }
  .testimonials__title { font-size: 21px; }
  .testimonials__sub { font-size: 21px; }
  .testimonials__intro { font-size: 16px; }
  .testimonials .container { padding: 10px 0; }
  .quotes { grid-template-columns: 1fr; gap: 10px; padding: 0 20px 10px; }

  .coach { padding: 50px 0 30px; }
  .coach__grid { grid-template-columns: 1fr; }
  .coach__text h2 { font-size: 21px; }
  .coach__bio { max-width: 350px; }
  .coach-cta { margin-top: -60px; }

  .faq { padding: 50px 0; }
  .faq .wave svg { height: 50px; }
  .faq h2 { margin-bottom: 20px; font-size: 21px; }
  .faq__list { padding: 0 21px; }
  .faq summary { padding: 12px; }
  .faq .answer { padding: 12px 10px; }

  .closing h2 { font-size: 30.36px; }
  .site-footer { padding: 52px 5px 72px; font-size: 12px; font-weight: 300; }
}

/* =========================================================
   HOME PAGE
   ========================================================= */
@font-face {
  font-family: "Cardo";
  src: url("../fonts/cardo-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
.mentor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}
.mentor__text { padding: 10px; color: #000; font-size: 16.8px; line-height: 1.55; }
.mentor__text h1 {
  margin: 33.2px 0;
  color: #111;
  font-family: "Cardo", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}
.mentor__text p { margin: 16.8px 0; }
.mentor__text p:first-of-type { margin-top: 0; }
.mentor__photo { padding: 10px; }
.home-footer {
  padding: 10px 0 20px;
  color: #000;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
@media (max-width: 767px) {
  .mentor { grid-template-columns: 1fr; }
  .mentor__text h1 { margin: 25.2px 0; font-size: 30.36px; }
  .home-footer { font-size: 30.36px; }
}
