/* =========================================================
   PAGE: Chiquita Canyon Survey / Results
   File: chiquita-canyon-survey.css
   ========================================================= */


/* =========================================================
   UTILITIES
   ========================================================= */
.marginTop {
  margin-top: 15px;
}

.adjust-alignment {
  margin-bottom: 0;
  padding-bottom: 0;
}

.map-title {
  font-size: clamp(1.4rem, 1.28rem + 0.48vw, 1.65rem);
}

.center {
  margin: 50px auto 0;
  text-align: center;
}

.center-items {
  margin: 0 auto;
  text-align: center;
}

.center-graph {
  margin: 0 auto;
}

.graph-width {
  max-width: 1003px;
  margin: 0 auto;
}

.dark-yellow {
  color: #d09c00;
}

.mobile-view {
  display: none;
}

@media (max-width: 767px) {
  .mobile-view {
    display: block;
  }
}


/* =========================================================
   TEXT / TYPOGRAPHY
   ========================================================= */
.cptn-text {
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: justify;
}

.notice-label {
  margin-right: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 15px;
  padding-bottom: 6px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid #2c6faa;
}


/* =========================================================
   DIVIDERS
   ========================================================= */
hr.rounded {
  width: 100%;
  max-width: 600px;
  border-top: 4px solid #3a475b;
  border-radius: 5px;
}


/* =========================================================
   BUTTONS
   ========================================================= */
.button-85 {
  position: relative;
  z-index: 0;
  padding: 0.6em 2em;
  color: #fff;
  background: #333f50;
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.button-85::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background-size: 400%;
  border-radius: 10px;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
}

.button-85::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: #3a475b;
  border-radius: 10px;
}

.button-85:hover {
  transform: translateY(-2px);
}

.button-85:active {
  transform: translateY(0);
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}


/* =========================================================
   PDF / EMBED
   ========================================================= */
.pdf {
  width: 100%;
  aspect-ratio: 4 / 3;
}


/* =========================================================
   SECTION PANELS / CONTENT BLOCKS
   ========================================================= */
.youthh3 {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  background-color: #495260;
  border-radius: 5px;
}

.allh3 {
  width: 100%;
  max-width: 486px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  background-color: #3a475b;
  border-radius: 5px;
}

.allages {
  width: 100%;
  max-width: 486px;
  margin: 0 auto;
  padding: 8px;
  background-color: rgb(58 71 91 / 50%);
  border-radius: 4px;
}

.youth {
  width: 100%;
  max-width: 486px;
  margin: 0 auto;
  padding: 8px;
  background-color: rgb(192 148 17 / 30%);
  border-radius: 4px;
}


/* =========================================================
   DATA DISPLAY / STATS
   ========================================================= */
.valueDisplay {
  font-size: 60px;
  font-weight: 800;
}

.textDesc {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 700;
}

.textDesc2 {
  font-size: 18px;
  line-height: 1.2em;
}

@media (max-width: 669px) {
  .valueDisplay {
    font-size: 60px;
  }

  .textDesc {
    font-size: 18px;
  }

  .textDesc2 {
    font-size: 14px;
  }
}

@media (max-width: 564px) {
  .valueDisplay {
    font-size: 50px;
  }

  .textDesc {
    font-size: 14px;
  }

  .textDesc2 {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .valueDisplay {
    font-size: 35px;
  }

  .textDesc {
    font-size: 14px;
  }

  .textDesc2 {
    font-size: 12px;
  }
}

@media (max-width: 332px) {
  .valueDisplay {
    font-size: 24px;
  }

  .textDesc {
    font-size: 14px;
    font-weight: 650;
  }

  .textDesc2 {
    font-size: 12px;
  }
}


/* =========================================================
   MODAL IMAGE
   ========================================================= */
#myImg,
#myImg2 {
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
}

#myImg:hover,
#myImg2:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding-top: 60px;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  width: 80%;
  max-width: 550px;
  margin: auto;
}

#caption {
  display: block;
  width: 80%;
  max-width: 700px;
  height: 150px;
  margin: auto;
  padding: 15px 0;
  color: #ccc;
  text-align: justify;
}

.modal-content,
#caption {
  animation: zoom 0.6s;
  -webkit-animation: zoom 0.6s;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }

  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}


/* =========================================================
   SURVEY NOTICE
   ========================================================= */
.survey-notice {
  margin-bottom: 20px;
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  background-color: #fff8e1;
  border-left: 6px solid #d09c00;
  border-right: 6px solid #d09c00;
  border-radius: 8px;
}

.notice-label {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 800;
  color: #8a6a00;
}

.notice-link {
  display: inline-block;
  margin-left: 1px;
  padding: 3px 10px;
  font-weight: 700;
  color: #5b4200;
  background: rgb(192 148 17 / 20%);
  border: 1px solid #c09411;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.notice-link:hover {
  color: #ffffff;
  background: #c09411;
  border-color: #c09411;
}


/* =========================================================
   SURVEY HIGHLIGHTS
   ========================================================= */
.highlights-section {
  margin: 1rem 0 1.5rem 0;
}

.survey-highlights {
  padding: 2rem;
  background: linear-gradient(180deg, #f8fbfe 0%, #eef4f8 100%);
  border: 1px solid #d7e3ec;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(25, 55, 79, 0.08);
}

.survey-highlights__header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.survey-highlights__heading {
  margin: 0 0 0.75rem;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: #17324d;
}

.survey-highlights__heading--sm {
  font-size: clamp(26px, 1.6vw, 30px);
}

.survey-highlights__intro {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: #4a6175;
}

.survey-highlights__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.survey-highlight-card__substat.js-count-up {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.survey-highlight-card__substat.js-count-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   HIGHLIGHT CARD
   ========================= */
.survey-highlight-card {
  position: relative;
  height: 100%;
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #d9e6ef;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(23, 50, 77, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/*.survey-highlight-card:hover {
  transform: translateY(-4px);
  border-color: #b8d2e3;
  box-shadow: 0 16px 32px rgba(23, 50, 77, 0.14);
}*/

.survey-highlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #2c6faa 0%, #5b93c4 100%);
  border-radius: 18px 18px 0 0;
}

.survey-highlight-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.survey-highlight-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.survey-highlight-card__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid #cfe0ec;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.survey-highlight-card__icon i {
  font-size: clamp(1.125rem, 1.1rem + 0.25vw, 1.25rem);
  line-height: 1;
  color: #17324d;
}

.survey-highlight-card:nth-child(1) .survey-highlight-card__icon {
  background: #e8f2fb;
  border-color: #9fc2df;
}

.survey-highlight-card:nth-child(2) .survey-highlight-card__icon {
  background: #fdeeee;
  border-color: #dca8a8;
}

.survey-highlight-card:nth-child(3) .survey-highlight-card__icon {
  background: #eef5fb;
  border-color: #a9c8df;
}

.survey-highlight-card:nth-child(4) .survey-highlight-card__icon {
  background: #f5f1fb;
  border-color: #c2b0df;
}

.survey-highlight-card:nth-child(5) .survey-highlight-card__icon {
  background: #eef7f2;
  border-color: #a9c9b4;
}

.survey-highlight-card__title {
  margin: 0;
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  color: #17324d;
}

.survey-highlight-card__text,
.survey-highlight-card__subtext {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #445c6e;
}

.survey-highlight-card__subtext {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.survey-highlight-card__substat {
  display: inline-block;
  margin-right: 0.1rem;
  padding: 0.28rem 0.62rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #0f4f7f;
  background: linear-gradient(180deg, #edf6fd 0%, #dfeef9 100%);
  border: 1px solid #c8dceb;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(23, 50, 77, 0.08);
  white-space: nowrap;
}

.survey-highlight-card .js-count-up {
  min-width: 4.2rem;
  text-align: center;
}

.survey-highlight-card__body p:not(:last-child) {
  position: relative;
  padding-bottom: 0.6rem;
}

.survey-highlight-card__body p:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      #d9e6ef 15%,
      #d9e6ef 85%,
      transparent);
}

@media (max-width: 991px) {
  .survey-highlights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .survey-highlights {
    padding: 1.25rem;
  }

  .survey-highlights__header {
    margin-bottom: 1.5rem;
  }

  .survey-highlights__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .survey-highlight-card {
    padding: 1.25rem;
  }

  .survey-highlight-card__icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .survey-highlight-card__icon i {
    font-size: 1.05rem;
  }
}

/* cards start hidden */
.survey-highlight-card {
  position: relative;
  height: 100%;
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #d9e6ef;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(23, 50, 77, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  opacity: 0;
  transform: translateY(30px);
}

.survey-highlight-card.is-visible {
  animation: cardReveal 0.7s ease forwards;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop: keep everything on one line */
.phone-number {
  white-space: nowrap;
}

/* Mobile: allow wrapping */
@media (max-width: 480px) {
  .phone-number {
    white-space: normal;
  }
}

/* =========================================================
   SURVEY SUMMARY INTRO
   ========================================================= */
.survey-summary {
  margin: 2rem 0 2rem 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid #d9e6ef;
  border-left: 6px solid #2c6faa;
  border-right: 6px solid #2c6faa;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(25, 55, 79, 0.08);
}

.survey-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.survey-summary__title-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.survey-summary__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: #e8f1f8;
  border-radius: 8px;
  color: #2c6faa;
}

.survey-summary__icon i {
  font-size: 1rem;
}

.survey-summary__title {
  margin: 0;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  color: #17324d;
}

/* =========================
   SURVEY SUMMARY STAT BADGE
   ========================= */
.survey-summary__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
  background: linear-gradient(180deg, #edf6fd 0%, #e2effa 100%);
  border: 1px solid #cfe0ec;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(23, 50, 77, 0.08);
}

.survey-summary__stat-number {
  font-size: clamp(1.6rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  color: #0f4f7f;
}

.survey-summary__stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3c5567;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.survey-summary__stat i {
  font-size: 0.9rem;
  color: #2c6faa;
}

/* =========================
   SURVEY SUMMARY TEXT
   ========================= */
.survey-summary__text {
  margin: 0;
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.7;
  color: #445c6e;
}

.survey-summary__text strong {
  font-weight: 700;
  color: #0f4f7f;
}

@media (max-width: 640px) {
  .survey-summary__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .survey-summary {
    padding: 1.25rem;
  }

  .survey-summary__stat {
    white-space: normal;
  }
}

/* =========================================================
   SURVEY ACCORDION
   ========================================================= */
.survey-accordion {
  margin: 2rem 0;
}

.survey-accordion__item {
  margin-bottom: 1rem;
  background: #ffffff;
  border: 1px solid #d9e6ef;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(23, 50, 77, 0.05);
  overflow: hidden;
}

.survey-accordion__item[open] {
  border-color: #b78103;
  box-shadow: 0 6px 18px rgba(183, 129, 3, 0.18);
}

.survey-accordion__title {
  position: relative;
  padding: 1rem 3.5rem 1rem 1.25rem;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: #17324d;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, #f8fbfe 0%, #eef4f8 100%);
}

.survey-accordion__title::-webkit-details-marker {
  display: none;
}

.survey-accordion__title::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #2c6faa;
  transition: transform 0.35s ease, color 0.35s ease;
}

.survey-accordion__item[open]>.survey-accordion__title {
  color: #6b4e00;
  background: rgb(192 148 17 / 30%);
}

.survey-accordion__item[open]>.survey-accordion__title::after {
  color: #6b4e00;
  transform: translateY(-50%) rotate(180deg);
}

.survey-accordion__content {
  height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  color: #445c6e;
  border-top: 0 solid transparent;
  transition: height 0.35s ease, padding 0.35s ease, border-top-color 0.35s ease;
}

.survey-accordion__item[open]>.survey-accordion__content {
  padding: 1.25rem;
  border-top: 1px solid #b78103;
}

.survey-accordion__content p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.survey-accordion__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .survey-accordion__title {
    padding: 0.95rem 3rem 0.95rem 1rem;
  }

  .survey-accordion__content {
    padding: 0 1rem;
  }

  .survey-accordion__item[open]>.survey-accordion__content {
    padding: 1rem;
  }
}

/* =========================================================
   ACCORDION HIGHLIGHT LIST
   ========================================================= */
.survey-accordion__list {
  margin: 0.5rem 0;
  padding: 1rem 1.2rem;
  list-style: none;
  background: #f5f9fc;
  border: 1px solid #d9e6ef;
  border-radius: 10px;
}

.survey-accordion__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #445c6e;
}

.survey-accordion__list li:last-child {
  margin-bottom: 0;
}

.survey-accordion__list i {
  margin-top: 2px;
  font-size: 0.9rem;
  color: #2c6faa;
  min-width: 16px;
}

/* =========================================================
   COMPLAINT REPORTING CALLOUT
   ========================================================= */
.survey-complaints {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: #fff8e6;
  border: 1px solid #f0d48a;
  border-left: 6px solid #b78103;
  border-radius: 10px;
}

.survey-complaints__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem 0;
  font-size: clamp(1.3rem, 1.2vw, 1.6rem);
  font-weight: 700;
  color: #5b4200;
}

.survey-complaints__title i {
  color: #b78103;
  font-size: clamp(1rem, 0.9vw, 1.2rem);
}

.survey-complaints p {
  margin: 0 0 0.7rem 0;
  line-height: 1.65;
  color: #4a4a4a;
}

.survey-complaints p:last-child {
  text-align: center;
  margin-top: 3rem !important;
  margin-bottom: 0;
}

.survey-complaints__note {
  font-weight: 600;
  color: #5b4200;
}

.survey-complaints a[href^="mailto"] {
  white-space: nowrap;
}

.survey-complaints a {
  color: #1f5e91;
  font-weight: 600;
  text-decoration: none;
}

.survey-complaints a:hover {
  color: #12466e;
  text-decoration: underline;
}

.survey-complaints a[href^="tel"] {
  color: #2c6faa;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease;
}

.survey-complaints a[href^="tel"]:hover {
  color: #0f4f7f;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .survey-complaints a[href^="mailto"] {
    white-space: normal;
    word-break: break-word;
  }
}

.js-stat-animate {
  opacity: 0;
  transform: translateY(20px) scale(.95);
  transition: opacity .7s ease, transform .7s ease;
}

.js-stat-animate.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}