/* Audits page. Hero grid comes from pro.css; this file adds the screenshot hero,
   the three review-ready cards, Jen's note, and the webinars callout. */

/* ---------- Hero ---------- */
.audit-hero .pro-intro-grid {
  align-items: center;
}

.audit-types {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.audit-types li {
  padding: .3rem .75rem;
  border: 1px solid #f3b77a;
  border-radius: 999px;
  background: #fff7ef;
  color: var(--la-orange-text);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.audit-hero-shot {
  position: relative;
  padding: 1.5rem 0;
}

.audit-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e3e5e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(31, 60, 63, .35), 0 2px 6px rgba(31, 60, 63, .08);
}

.audit-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .65rem .9rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 60, 63, .14), 0 2px 6px rgba(31, 60, 63, .08);
  color: var(--colours--dark-teal);
  line-height: 1.3;
  animation: audit-chip-float 6s ease-in-out infinite;
}

.audit-chip-label {
  color: var(--colours--main-green);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.audit-chip-title {
  font-size: .9375rem;
  font-weight: 700;
  white-space: nowrap;
}

.audit-chip-modules {
  top: 0;
  left: -1.5rem;
}

.audit-chip-key {
  top: 42%;
  right: -1.75rem;
  animation-delay: -2s;
}

.audit-chip-ars {
  bottom: 0;
  left: 12%;
  animation-delay: -4s;
}

@keyframes audit-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .audit-chip {
    animation: none;
  }
}

@media screen and (max-width: 991px) {
  .audit-hero-shot {
    max-width: 640px;
    margin: 1rem auto 0;
  }
}

@media screen and (max-width: 767px) {
  .audit-br {
    display: none;
  }

  .audit-hero-shot {
    padding: 0;
  }

  /* Phones: the stats sit in a tidy row under the screenshot instead of floating. */
  .audit-hero-shot {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
  }

  .audit-chip {
    position: static;
    flex: 1 1 calc(50% - .5rem);
    animation: none;
  }

  .audit-chip-title {
    font-size: .875rem;
    white-space: normal;
  }
}

/* ---------- Three ways we get you review-ready ---------- */
.audit-ways .centered-content {
  grid-row-gap: 0;
  row-gap: 0;
}

.audit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.audit-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background-color: #f6efe4;
}

.audit-card:nth-child(2) {
  background-color: #e8f0dc;
}

.audit-card:nth-child(3) {
  background-color: #fbe8d6;
}

.audit-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: .25rem;
  border-radius: 50%;
  background-color: #fff;
  color: var(--la-orange-text);
  box-shadow: 0 2px 6px rgba(31, 60, 63, .08);
}

.audit-card:nth-child(2) .audit-card-icon {
  color: var(--colours--main-green);
}

.audit-card h3 {
  margin: 0;
  color: var(--colours--dark-teal);
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.25;
}

.audit-card p {
  flex: 1;
  margin: 0;
  color: #4a4a4a;
  font-size: .9375rem;
  line-height: 1.55;
}

.audit-card .home-card-link,
.audit-jen .home-card-link,
.audit-webinars .home-card-link {
  margin-top: .25rem;
  color: var(--colours--main-green);
  font-weight: 700;
  text-decoration: none;
}

.audit-card .home-card-link:hover,
.audit-jen .home-card-link:hover,
.audit-webinars .home-card-link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .audit-cards {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
}

/* ---------- Jen's note ---------- */
.audit-jen {
  padding-top: 1rem;
}

.audit-jen-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.audit-jen-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
}

.audit-jen-copy p {
  margin: 0 0 .85rem;
  font-size: 1rem;
  line-height: 1.65;
}

.audit-jen-copy .audit-jen-quote {
  margin-bottom: 1rem;
  color: var(--colours--dark-teal);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.audit-jen-copy .audit-jen-hi {
  color: var(--colours--main-green);
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .audit-jen-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---------- Free webinars callout ---------- */
.audit-webinars {
  padding: 0 0 4rem;
}

.audit-webinars-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border: 1px dashed #e5b98a;
  border-radius: 1.25rem;
  background-color: #fff;
}

.audit-webinars-box p {
  margin: 0;
}

.audit-webinars-label {
  color: var(--la-orange-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.audit-webinars-title {
  margin-top: .25rem !important;
  color: var(--colours--dark-teal);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.audit-webinars-links {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

@media screen and (max-width: 767px) {
  .audit-webinars {
    padding-bottom: 3rem;
  }

  .audit-webinars-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.audit-jen-saying {
  color: var(--colours--main-green);
  font-weight: 700;
}

/* Small brand-colored icon on each stat card. */
.audit-chip {
  flex-direction: row;
  align-items: center;
  gap: .65rem;
}

.audit-chip-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.audit-chip-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: #fbe8d6;
  color: var(--la-orange-text);
}

.audit-chip-key .audit-chip-icon {
  background-color: #e8f0dc;
  color: var(--colours--main-green);
}

/* Keep the stat cards still; the bobbing was distracting. */
.audit-chip {
  animation: none;
}

/* Stats as a tidy row of cards under the screenshot (all screen sizes). */
.audit-hero-shot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  padding: 0;
}

.audit-hero-shot img {
  grid-column: 1 / -1;
}

.audit-chip {
  position: static;
  align-items: flex-start;
  padding: .75rem .8rem;
  box-shadow: 0 2px 8px rgba(31, 60, 63, .08);
}

.audit-chip-title {
  font-size: .875rem;
  line-height: 1.3;
  white-space: normal;
}

@media screen and (max-width: 479px) {
  .audit-hero-shot {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .audit-chip {
    align-items: center;
  }
}

/* Stats under the screenshot: big number, short label (like the home page stats). */
.audit-stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .9rem 1rem 1rem;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(31, 60, 63, .08);
}

.audit-stat-number {
  color: var(--la-orange-text);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.audit-stat:nth-child(3) .audit-stat-number {
  color: var(--colours--main-green);
}

.audit-stat-label {
  color: var(--colours--dark-teal);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
}

@media screen and (max-width: 479px) {
  .audit-hero-shot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
  }

  .audit-stat {
    padding: .75rem .65rem .8rem;
  }

  .audit-stat-number {
    font-size: 1.625rem;
  }

  .audit-stat-label {
    font-size: .75rem;
  }
}

/* Cute little icon tucked in the top-right corner of each stat card. */
.audit-stat {
  position: relative;
}

.audit-stat-icon {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background-color: #fbe8d6;
  color: var(--la-orange-text);
}

.audit-stat:nth-child(3) .audit-stat-icon {
  background-color: #e8f0dc;
  color: var(--colours--main-green);
}

@media screen and (max-width: 479px) {
  .audit-stat-icon {
    top: .5rem;
    right: .5rem;
    width: 1.5rem;
    height: 1.5rem;
  }

  .audit-stat-icon svg {
    width: 13px;
    height: 13px;
  }
}

/* Review types as a quiet inline checklist instead of orange pills. */
.audit-types {
  gap: .4rem 1.25rem;
  margin-top: 1.1rem;
}

.audit-types li {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--colours--dark-teal);
  font-size: .9375rem;
  font-weight: 600;
}

.audit-types li::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--colours--main-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Handwritten sign-off with a little heart. */
.audit-jen-copy .audit-jen-sign {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: .25rem 0 1rem;
  color: var(--colours--main-green);
  font-family: "Caveat", "Bradley Hand", cursive;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.audit-jen-heart {
  color: var(--la-orange-text);
  transform: rotate(10deg);
}

/* The quote in handwriting. */
.audit-jen-copy .audit-jen-quote {
  color: var(--colours--main-green);
  font-family: "Caveat", "Bradley Hand", cursive;
  font-size: clamp(2.25rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.05;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.audit-jen-copy .audit-jen-quote {
  color: var(--colours--dark-teal);
}

/* Hand-drawn arrow from the quote up to the LunchAssist PRO card (laptops only). */
.audit-jen-quote-wrap {
  position: relative;
}

.audit-jen-arrow {
  display: none;
}

@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    position: absolute;
    right: 2rem;
    bottom: calc(100% - .5rem);
    display: block;
    color: var(--la-orange-text);
    transform: rotate(8deg);
    pointer-events: none;
  }
}

.audit-jen,
.audit-jen .centered-content {
  position: relative;
  z-index: 1;
  overflow: visible;
}

@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    right: 5.5rem;
    bottom: calc(100% - 1.25rem);
  }
}

@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    right: 4.5rem;
    bottom: calc(100% - 1.5rem);
    transform: none;
  }
}

/* Same "pen" as the handwritten quote: dark teal, simple curve. */
@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    right: 4.75rem;
    bottom: calc(100% - 1.25rem);
    color: var(--colours--dark-teal);
  }
}

@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    right: 7rem;
    bottom: calc(100% - 1.9rem);
  }
}

@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    right: 8rem;
    bottom: calc(100% - 1.6rem);
    transform: rotate(4deg);
  }
}

/* Handwritten note under the 376 card, same pen as Jen's quote but smaller. */
.audit-stat-note {
  display: flex;
  grid-column: 2 / -1;
  align-items: flex-end;
  justify-content: flex-end;
  gap: .2rem;
  margin: -.2rem .4rem 0 0;
  color: var(--colours--dark-teal);
  font-family: "Caveat", "Bradley Hand", cursive;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.05;
  text-align: right;
}

.audit-stat-note span {
  max-width: 17rem;
  transform: rotate(-2deg);
}

.audit-stat-note-arrow {
  flex: none;
  margin-bottom: .45rem;
  transform: rotate(-6deg);
}

@media screen and (max-width: 767px) {
  .audit-stat-note {
    grid-column: 1 / -1;
    font-size: 1.35rem;
  }
}

/* Arrow points up at the 376 number, not the card's right edge. */
.audit-stat-note {
  margin-right: 30%;
}

@media screen and (max-width: 767px) {
  .audit-stat-note {
    margin-right: 20%;
  }
}

/* Three-line note: arrow rides beside the top lines so its tip reaches the card. */
.audit-stat-note {
  align-items: flex-start;
}

.audit-stat-note-arrow {
  margin: -.35rem 0 0;
}

/* Arrow on the left (flipped and tilted, like it was drawn by hand), note to its right. */
.audit-stat-note {
  grid-column: 3;
  justify-content: flex-start;
  margin: -.2rem 0 0 1.4rem;
  text-align: left;
}

.audit-stat-note span {
  transform: rotate(-3deg);
}

.audit-stat-note-arrow {
  margin: -.4rem .15rem 0 0;
  transform: scaleX(-1) rotate(-14deg);
}

@media screen and (max-width: 767px) {
  .audit-stat-note {
    grid-column: 3;
    margin-left: .6rem;
    font-size: 1.15rem;
  }

  .audit-stat-note-arrow {
    width: 30px;
    height: 33px;
  }
}

@media screen and (max-width: 767px) {
  .audit-stat-note {
    margin-left: .2rem;
  }

  .audit-stat-note span {
    white-space: nowrap;
  }

  .audit-stat-note-arrow {
    width: 26px;
    height: 29px;
  }
}

@media screen and (max-width: 767px) {
  .audit-stat-note {
    margin-left: -1.1rem;
  }
}

.audit-stat-note span {
  white-space: nowrap;
}

/* Last line drifts a little left, like it was jotted quickly. */
.audit-stat-note-l3 {
  display: inline-block;
  margin-left: -.55rem;
  font-style: normal;
}

/* Phones and small tablets: the third column is too narrow for the arrow-left
   note, and pulling it left (margin-left: -1.1rem above) left the arrow
   pointing at the gap between the 75+ and 376 cards. Here the note sits left
   of an unflipped arrow whose tip lands on the 376: the right margin is the
   third card's width, (100% - two gaps) / 3, less how far into the card the
   tip should reach. Percent margins resolve against the note's grid area,
   which spans all three columns. */
@media screen and (max-width: 767px) {
  .audit-stat-note {
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin: -.2rem calc((100% - 1.5rem) / 3 - 2.4rem) 0 0;
    text-align: right;
  }

  .audit-stat-note-arrow {
    order: 1;
    margin: -.4rem 0 0 .15rem;
    transform: rotate(-6deg);
  }

  .audit-stat-note-l3 {
    margin-right: .55rem;
    margin-left: 0;
  }
}

@media screen and (max-width: 479px) {
  .audit-stat-note {
    margin-right: calc((100% - 1rem) / 3 - 2.1rem);
  }
}

/* Arrow now starts at the front of the quote and curves up-left to the Consulting card. */
@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    right: auto;
    left: -3.25rem;
    bottom: calc(100% - 1.4rem);
    transform: scaleX(-1) rotate(4deg);
  }
}

@media screen and (min-width: 992px) {
  .audit-jen-arrow {
    left: -3.9rem;
  }
}

/* Free audit prep webinars: the same video cards as Free Resources. */
.audit-webinars.res-library {
  padding-top: 2rem;
}

.audit-videos-more {
  display: table;
  margin: 1.75rem auto 0;
}
