@font-face {
  font-family: 'Bellota Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/BellotaText-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Bellota Text';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/BellotaText-BoldItalic.woff2') format('woff2');
}

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

:root {
  --white: #ffffff;
  --dark-purple: #271945;
  --dark-green: #19453b;
  --dark-green-nav: #1c4519;
  --nav-active: #192e45;
  --purple: #6028db;
  --purple-gradient-end: #bea8f0;
  --cta-purple: #9070e0;
  --teal: #00bcb5;
  --teal-dark: #06ad89;
  --green-bright: #28b99a;
  --teal-gradient-start: #cefdf3;
  --teal-gradient-end: #6cf9da;
  --light-green: #9feed9;
  --card-purple-heading: #431a99;
  --card-purple-body: #6025da;
  --card-green-heading: #047b62;
  --card-green-body: #06ad89;
  --card-orange-heading: #994a1a;
  --card-orange-body: #da6a25;
  --card-yellow-heading: #7b7304;
  --card-yellow-body: #ada106;
  --chat-input-bg: #f8f9fa;
  --chat-info-bg: #f3f2f9;
  --chat-send-bg: #00cdc1;
  --chat-placeholder: #9ba2a9;
  --gray-heading: #2f2f2f;
}

html {
  scroll-behavior: auto;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--white);
  color: var(--dark-purple);
  overflow: hidden;
}

/* ── SCROLL CONTAINER ── */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.scroll-container--hidden {
  visibility: hidden;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   DESKTOP NAVIGATION (768px+)
   ═══════════════════════════════════════════ */
.nav--desktop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 50px 50px 0;
  pointer-events: none;
}

.nav__inner {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  pointer-events: all;
  justify-content: space-between;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: rgba(39, 25, 69, 0.5);
  text-decoration: none;
  transition: color 0.3s ease, font-weight 0.3s ease;
  white-space: nowrap;
}

.nav--green .nav__link {
  color: rgba(28, 69, 25, 0.5);
}

.nav__link--active {
  font-weight: 600;
  color: var(--dark-purple);
}

.nav--green .nav__link--active {
  color: var(--dark-green);
  font-weight: 600;
}

.nav__link:hover {
  color: var(--dark-purple);
}

.nav--green .nav__link:hover {
  color: var(--dark-green);
}

.nav__icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.nav__link--active .nav__icon {
  opacity: 1;
}

/* ── MOBILE NAVIGATION (hidden on desktop) ── */
.nav-mobile {
  display: none;
}

/* ── SECTION ── */
.section {
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}

/* ── OVERLAY SECTIONS (get-help, chat, principles) ── */
.section-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #fff;
  overflow-y: auto;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-align: none;
}

.section-overlay--open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1000px;
  width: 100%;
}

.section__content--column {
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.section__left {
  flex: 0 0 auto;
}

.section__right {
  flex-shrink: 0;
}

/* ── BACK LINK (mobile) ── */
.back-link {
  display: none;
}

/* ── SCROLL HINT (mobile) ── */
.scroll-hint {
  display: none;
}

/* ── DECORATIVE ELEMENTS ── */
.deco {
  position: absolute;
  pointer-events: none;
}

.section--home {
  overflow-y: hidden;
}

.deco--purple {
  position: absolute;
  width: 150dvw;
  left: -68dvw;
  top: -31dvh;
  opacity: 0.3;
  z-index: -1;
  height: 160dvh;
}

.deco--green {
  position: absolute;
  width: 120dvw;
  right: -40dvw;
  bottom: -80dvh;
  opacity: 0.3;
  z-index: -1;
  height: 160dvh;
}

.deco--purple--blur {
  filter: blur(50px);
  opacity: 0.4;
}

.deco--green--blur {
  filter: blur(50px);
  opacity: 0.4;
}

.deco--green-ellipse {
  width: 616px;
  height: 616px;
  background: var(--light-green);
  opacity: 0.2;
  border-radius: 50%;
  filter: blur(200px);
}

.deco--green-ellipse-1 {
  top: -200px;
  left: -110px;
}

.deco--green-ellipse-2 {
  top: -150px;
  right: -100px;
}

.deco--green-ellipse-small {
  width: 263px;
  height: 263px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.deco--green-ellipse-small-1 {
  top: 150px;
  left: 30px;
  background: var(--card-purple-body);
}

.deco--green-ellipse-small-2 {
  top: 150px;
  right: 30px;
  background: var(--card-yellow-body);
}

.deco--card-blur {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.deco--card-blur--purple {
  background: var(--card-purple-body);
}

.deco--card-blur--orange {
  background: var(--card-orange-body);
}

.deco--card-blur--teal {
  background: var(--card-teal-body, var(--teal-dark));
}

.deco--card-blur--yellow {
  background: var(--card-yellow-body);
}

/* ── PRINCIPLES DOTS (mobile) ── */
.principles-dots {
  display: none;
}

.principles-carousel-controls {
  display: none;
}

.principles-pause-btn {
  display: none;
}

/* ── TYPOGRAPHY ── */
.heading {
  font-family: 'Bellota Text', cursive;
  font-feature-settings: "salt" 1;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.25;
}

.heading--xl {
  font-size: 60px;
  color: var(--dark-purple);
}

.heading--green {
  color: var(--dark-green);
}

.heading--lg {
  font-size: 55px;
  color: var(--dark-purple);
}

.heading--md {
  font-size: 50px;
  color: var(--gray-heading);
}

.subheading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.21;
  color: var(--dark-purple);
}

.subheading--green {
  color: var(--dark-green);
}

.tagline {
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.tagline span:first-child {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.21;
  color: var(--dark-purple);
}

.emoji {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  line-height: 1.1;
  padding-left: 2px;
}

.br--desktop {
  display: inline;
}

/* ── SECTION LEFT LAYOUTS ── */
#home .section__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 460px;
}

#about .section__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 460px;
}

#get-help .section__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 630px;
}

#chat .section__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  max-width: 480px;
}

.illustration--thankyou-mobile {
  display: none;
}

/* ── SECTION RIGHT (desktop contact illustration) ── */
.section__right--desktop {
  display: block;
}

/* ── SERVICES SECTION ── */
#services .section__content {
  align-items: center;
  gap: 80px;
}

#services .section__left {
  flex: 0 0 325px;
}

.illustration--services {
  width: 325px;
  height: auto;
}

.section__right--services {
  flex: 1;
  max-width: 595px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.subheading--services {
  font-size: 24px;
  color: #192e45;
  max-width: 595px;
}

.services-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.service-card {
  background: var(--white);
  border: 3px solid rgba(61, 61, 61, 0.1);
  border-radius: 30px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-card:active {
  transform: scale(0.98);
}

.service-card__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-card__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.21;
}

.service-card__heading--purple {
  color: var(--card-purple-heading);
}

.service-card__heading--green {
  color: var(--card-green-heading);
}

.service-card__subheading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.21;
}

.service-card__subheading--green {
  color: var(--card-green-body);
}

/* ── MODAL OVERLAY ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay--open {
  display: flex;
  animation: overlayIn 0.3s ease;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 826px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}

.modal-overlay--closing {
  animation: overlayOut 0.3s ease forwards;
}

@keyframes overlayOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.modal-overlay--closing .modal {
  animation: modalOut 0.3s ease-out forwards;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 30px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.modal__header-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.modal__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.21;
  color: #192e45;
}

.modal__date {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #192e45;
  opacity: 0.7;
}

.modal__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 0;
  color: #000;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.modal__body {
  padding: 10px 30px;
  overflow-y: auto;
  flex: 1;
}

.modal__section {
  border-bottom: 1px solid #dcdcdc;
  padding: 20px 0;
}

.modal__section:last-child {
  border-bottom: none;
}

.modal__org-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #192e45;
  margin-bottom: 5px;
}

.modal__org-city {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #192e45;
  opacity: 0.5;
}

.modal__org-name-row {
  display: flex;
  gap: 7px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.modal__org-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: #192e45;
  margin-bottom: 10px;
}

.modal__org-contact {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #192e45;
  margin-bottom: 4px;
}

.modal__org-contact svg {
  flex-shrink: 0;
  color: #192e45;
}

.modal__org-contact a {
  color: #192e45;
  text-decoration: none;
}

.modal__org-contact a:hover {
  text-decoration: underline;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  border: 3px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  padding: 13.5px 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn--cta {
  background: var(--cta-purple);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--white);
  min-width: 247px;
}

.btn--cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.12),
      transparent);
  transform: skewX(-15deg);
  animation: btnShimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.btn.btn--cta:hover {
  background: #7a5cc9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(96, 40, 219, 0.3);
}

@keyframes btnShimmer {
  0% {
    left: -100%;
  }

  60% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.btn--green {
  background: var(--green-bright);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--white);
  min-width: 228px;
}

.btn--green:hover {
  background: #1fa388;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 185, 154, 0.3);
}

.btn--outline-green {
  background: transparent;
  border-color: rgba(40, 185, 154, 0.15);
  color: #197e68;
  min-width: 185px;
}

.btn--outline-green:hover {
  background: rgba(40, 185, 154, 0.1);
  border-color: rgba(40, 185, 154, 0.3);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 15px;
}

/* ── ILLUSTRATIONS ── */
.illustration {
  object-fit: contain;
}

.illustration--hero {
  width: 493px;
  height: auto;
}

.illustration--about {
  width: 333px;
  height: auto;
}

.illustration--contact {
  width: 287px;
  height: auto;
}

.illustration--contacts {
  width: 403px;
  height: auto;
}

/* ── CONTACTS SECTION ── */
#contact .section__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 560px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-links__row {
  display: flex;
  gap: 10px;
}

.btn--social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  border: 3px solid rgba(40, 185, 154, 0.15);
  border-radius: 50px;
  cursor: pointer;
  padding: 13.5px 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: radial-gradient(ellipse at center, rgba(40, 185, 154, 0.2) 0%, rgba(40, 185, 154, 0.1) 100%);
  color: #197e68;
  text-decoration: none;
  width: fit-content;
}

.btn--social:hover {
  background: rgba(40, 185, 154, 0.15);
  border-color: rgba(40, 185, 154, 0.3);
  transform: translateY(-2px);
}

.btn--social:active {
  transform: scale(0.97);
}

/* ── CONTACT CARDS ── */
.contact-cards {
  display: flex;
  gap: 30px;
}

.contact-card {
  width: 299.5px;
  background: var(--white);
  border: 3px solid rgba(61, 61, 61, 0.1);
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-card--active {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(96, 40, 219, 0.3);
}

.contact-card__icon--phone {
  width: 56px;
  height: 58px;
}

.contact-card__icon--chat {
  width: 67px;
  height: 54px;
}

.contact-card__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-card__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.21;
}

.contact-card__heading--purple {
  color: var(--card-purple-heading);
}

.contact-card__heading--green {
  color: var(--card-green-heading);
}

.contact-card__text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.21;
}

.contact-card__text--purple {
  color: var(--card-purple-body);
}

.contact-card__text--green {
  color: var(--card-green-body);
}

/* ── CHAT WIDGET ── */
.chat-widget {
  width: 343px;
  background: var(--teal);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget--hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

.chat-widget__header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 7px 10px;
  color: var(--white);
}

.chat-widget__header span {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  line-height: 1.21;
  flex: 1;
}

.chat-widget__close {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.chat-widget__body {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.chat-message--info {
  background: var(--chat-info-bg);
  border-radius: 12px;
  padding: 10px;
  color: #000;
}

.chat-widget__input-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-widget__input-wrap {
  background: var(--chat-input-bg);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-widget__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #000;
  outline: none;
}

.chat-widget__input::placeholder {
  color: var(--chat-placeholder);
}

.chat-widget__attach {
  flex-shrink: 0;
  color: rgba(155, 162, 169, 0.7);
  cursor: pointer;
  transition: color 0.2s;
}

.chat-widget__attach:hover {
  color: var(--chat-placeholder);
}

.chat-widget__send {
  background: var(--chat-send-bg);
  border: none;
  border-radius: 12px;
  padding: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white);
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.chat-widget__send:hover {
  background: #00b4a9;
}

.chat-widget__send:active {
  transform: scale(0.98);
}

/* ── PRINCIPLES CARDS (desktop) ── */
.principles-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.principle-card {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  text-align: left;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-card__icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.principle-card__icon-wrap--purple {
  background: #cec1e9;
}

.principle-card__icon-wrap--orange {
  background: #f7d8c5;
}

.principle-card__icon-wrap--teal {
  background: #b8edd9;
}

.principle-card__icon-wrap--yellow {
  background: #f3ec9a;
}

.principle-card__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.21;
}

.principle-card__heading--purple {
  color: var(--card-purple-heading);
}

.principle-card__heading--orange {
  color: var(--card-orange-heading);
}

.principle-card__heading--teal {
  color: var(--card-green-heading);
}

.principle-card__heading--yellow {
  color: var(--card-yellow-heading);
}

.principle-card__text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.principle-card__text--purple {
  color: var(--card-purple-body);
}

.principle-card__text--orange {
  color: var(--card-orange-body);
}

.principle-card__text--teal {
  color: var(--card-green-body);
}

.principle-card__text--yellow {
  color: var(--card-yellow-body);
}

/* ── HELP TOPICS CAROUSEL ── */
.help-carousel {
  display: flex;
  gap: 0;
  width: 100%;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.help-carousel::-webkit-scrollbar {
  display: none;
}

.help-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0;
}

.help-slide__image {
  flex: 0 0 325px;
  width: 325px;
  height: 571px;
  border-radius: 0;
  overflow: hidden;
}

.help-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.help-slide__text {
  flex: 1;
  max-width: 477px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
}

.help-slide__title {
  font-family: 'Bellota Text', cursive;
  font-feature-settings: "salt" 1;
  font-weight: 700;
  font-size: 50px;
  letter-spacing: -0.06em;
  line-height: 1.25;
  color: #19453b;
}

.help-slide__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.21;
  color: #192e45;
}

.help-slide__btn {
  flex-shrink: 0;
}

.help-topics-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.help-dots {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
}

.help-dot-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.help-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a1ded1;
  opacity: 0.3;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.help-dot--active {
  width: 15px;
  height: 15px;
  opacity: 1;
}

.help-dot-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.help-dot-ring--active {
  opacity: 1;
}

.help-dot-ring__circle {
  fill: none;
  stroke: #19453b;
  stroke-width: 2.5;
  stroke-dasharray: 69.12;
  stroke-dashoffset: 69.12;
  transition: stroke-dashoffset 15s linear;
}

.help-dot-ring--active .help-dot-ring__circle {
  stroke-dashoffset: 0;
}

.help-pause-btn {
  background: none;
  border: 1.5px solid #19453b;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #19453b;
  margin-left: 15px;
  flex-shrink: 0;
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
  z-index: 2;
}

.help-pause-btn:hover {
  background: rgba(25, 69, 59, 0.08);
  opacity: 0.8;
}

.help-pause-btn--active {
  opacity: 0.8;
}

/* ── SECTION TRANSITIONS (desktop) ── */
.section .section__left>*,
.section .section__right>* {
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section--entering .section__left>* {
  opacity: 0;
  transform: translateX(-40px);
}

.section--entering .section__right>* {
  opacity: 0;
  transform: translateX(40px);
}

.section--entering .section__left>*:nth-child(1) {
  transition-delay: 0.1s;
}

.section--entering .section__left>*:nth-child(2) {
  transition-delay: 0.2s;
}

.section--entering .section__left>*:nth-child(3) {
  transition-delay: 0.3s;
}

.section--entering .section__left>*:nth-child(4) {
  transition-delay: 0.4s;
}

.section--entering .section__left>*:nth-child(5) {
  transition-delay: 0.5s;
}

.section--entering .section__left>*:nth-child(6) {
  transition-delay: 0.6s;
}

.section--visible .section__left>*,
.section--visible .section__right>* {
  opacity: 1;
  transform: translateX(0);
}

.section--visible .btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.principles-cards .principle-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section--entering .principles-cards .principle-card {
  opacity: 0;
  transform: translateY(40px);
}

.section--entering .principles-cards .principle-card:nth-child(1) {
  transition-delay: 0.15s;
}

.section--entering .principles-cards .principle-card:nth-child(2) {
  transition-delay: 0.3s;
}

.section--entering .principles-cards .principle-card:nth-child(3) {
  transition-delay: 0.45s;
}

.section--entering .principles-cards .principle-card:nth-child(4) {
  transition-delay: 0.6s;
}

.section--visible .principles-cards .principle-card {
  opacity: 1;
  transform: translateY(0);
}

/* ── SERVICES CARDS TRANSITIONS ── */
.services-cards .service-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section--entering .services-cards .service-card {
  opacity: 0;
  transform: translateY(30px);
}

.section--entering .services-cards .service-card:nth-child(1) {
  transition-delay: 0.2s;
}

.section--entering .services-cards .service-card:nth-child(2) {
  transition-delay: 0.3s;
}

.section--entering .services-cards .service-card:nth-child(3) {
  transition-delay: 0.4s;
}

.section--entering .services-cards .service-card:nth-child(4) {
  transition-delay: 0.5s;
}

.section--visible .services-cards .service-card {
  opacity: 1;
  transform: translateY(0);
}

/* ── HELP SLIDE TRANSITIONS ── */
.help-slide {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section--entering .help-slide {
  opacity: 0;
  transform: translateY(40px);
}

.section--visible .help-slide {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE: TABLET (768px - 1200px)
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .heading--xl {
    font-size: 48px;
  }

  .heading--lg {
    font-size: 44px;
  }

  .heading--md {
    font-size: 40px;
  }

  .subheading {
    font-size: 20px;
  }

  .illustration--hero {
    width: 380px;
  }

  .illustration--about {
    width: 380px;
  }

  .section__content {
    gap: 30px;
  }

  .principles-cards {
    flex-wrap: wrap;
  }

  .principle-card {
    width: calc(50% - 15px);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE: MOBILE (< 768px)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Hide desktop nav, show mobile nav ── */
  .nav--desktop {
    display: none;
  }

  .nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    gap: 10px;
  }

  .nav-mobile__pill {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 15px 17px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
  }

  .nav-mobile__burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: var(--nav-active);
  }

  .nav-mobile__divider {
    width: 1px;
    height: 18px;
    background: rgba(0, 0, 0, 0.1);
  }

  .nav-mobile__label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--nav-active);
  }

  .nav-mobile__dropdown {
    display: none;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 245px;
  }

  .nav-mobile__dropdown--open {
    display: flex;
  }

  .nav-mobile__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: rgba(25, 46, 69, 0.5);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-mobile__item:first-child {
    padding-top: 20px;
  }

  .nav-mobile__item:last-child {
    border-bottom: none;
    padding-bottom: 20px;
  }

  .nav-mobile__item--active {
    font-weight: 600;
    color: var(--nav-active);
  }

  .nav-mobile__item:active {
    background: rgba(0, 0, 0, 0.03);
  }

  /* ── Section adjustments ── */
  .section {
    padding: 20px;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ── Overlay sections mobile ── */
  .section-overlay {
    display: none;
    padding: 20px;
    justify-content: flex-start;
  }

  .section-overlay--open {
    display: flex;
    padding-top: 80px;
  }

  .section__content {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    align-items: flex-start;
  }

  .section__left {
    max-width: 100% !important;
  }

  /* ── Typography ── */
  .heading--xl {
    font-size: 32px;
  }

  .heading--lg {
    font-size: 32px;
  }

  .heading--md {
    font-size: 32px;
  }

  .subheading {
    font-size: 15px;
  }

  .tagline span:first-child {
    font-size: 15px;
  }

  .emoji {
    font-size: 15px;
  }

  .tagline {
    justify-content: center;
  }

  .br--desktop {
    display: none;
  }

  /* ── Buttons ── */
  .btn {
    font-size: 14px;
    padding: 10px 15px;
    min-width: 0 !important;
  }

  .btn-group {
    gap: 10px;
    align-items: center;
  }

  /* ── Illustrations ── */
  .illustration--hero {
    width: 157px;
    height: auto;
  }

  .illustration--about {
    width: 157px;
    height: auto;
  }

  .illustration--contact {
    width: 155px;
    height: auto;
  }

  .illustration--thankyou-mobile {
    display: block;
    width: 155px;
    height: auto;
    margin-bottom: 10px;
  }

  .section__right--desktop {
    display: none;
  }

  /* ── Hide desktop-only elements in specific sections ── */
  #get-help .section__right,
  #contact .section__right,
  #about .section__right {
    order: -1;
  }

  /* ── Scroll hint ── */
  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: rgba(39, 25, 69, 0.5);
    text-align: center;
    animation: bounceDown 2s ease infinite;
  }

  @keyframes bounceDown {

    0%,
    100% {
      transform: translateX(-50%) translateY(0);
    }

    50% {
      transform: translateX(-50%) translateY(8px);
    }
  }

  /* ── Back link ── */
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    top: 80px;
    left: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: rgba(39, 25, 69, 0.4);
    text-decoration: none;
    z-index: 10;
    transition: color 0.2s;
  }

  .back-link:active {
    color: rgba(39, 25, 69, 0.7);
  }

  /* ── Contact cards ── */
  .contact-cards {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .contact-card {
    width: 280px;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 20px;
    border-radius: 30px;
    border-width: 2px;
    height: auto;
    min-height: 111px;
  }

  .contact-card:hover {
    transform: none;
    box-shadow: none;
  }

  .contact-card--active {
    transform: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(96, 40, 219, 0.3);
  }

  .contact-card__icon--phone {
    width: 40px;
    height: 42px;
    flex-shrink: 0;
  }

  .contact-card__icon--chat {
    width: 52px;
    height: 42px;
    flex-shrink: 0;
  }

  .contact-card__heading {
    font-size: 15px;
  }

  .contact-card__text {
    font-size: 13px;
  }

  /* ── Contacts section mobile ── */
  #contact .section__left {
    align-items: center !important;
    gap: 20px;
  }

  #contact .section__left .subheading br {
    display: none;
  }

  .social-links {
    align-items: center;
  }

  .btn--social {
    font-size: 14px;
    padding: 10px 20px;
    min-width: 0;
  }

  .illustration--contacts {
    width: 200px;
  }

  /* ── Chat widget ── */
  .chat-widget {
    width: 280px;
  }

  /* ── Principles carousel ── */
  #principles.section {
    padding: 20px;
    justify-content: flex-start;
    padding-top: 80px;
    overflow-x: hidden;
  }

  #principles .section__content {
    gap: 20px;
  }

  .principles-cards {
    display: flex;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    scrollbar-width: none;
  }

  .principles-cards::-webkit-scrollbar {
    display: none;
  }

  .principles-cards .principle-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    margin: 0;
    min-height: auto;
  }

  .principle-card:hover {
    transform: none;
    box-shadow: none;
  }

  .principle-card__heading {
    font-size: 24px;
  }

  .principle-card__text {
    font-size: 15px;
  }

  .principle-card__icon-wrap {
    width: 46px;
    height: 46px;
  }

  /* ── Principles carousel controls ── */
  .principles-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .principles-dots {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
  }

  .principles-dot-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }

  .principles-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    opacity: 1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .principles-dot--active {
    width: 15px;
    height: 15px;
    background: rgba(0, 0, 0, 0.3);
  }

  .principles-dot-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .principles-dot-ring--active {
    opacity: 1;
  }

  .principles-dot-ring__circle {
    fill: none;
    stroke: rgba(0, 0, 0, 0.3);
    stroke-width: 2.5;
    stroke-dasharray: 69.12;
    stroke-dashoffset: 69.12;
    transition: stroke-dashoffset 15s linear;
  }

  .principles-dot-ring--active .principles-dot-ring__circle {
    stroke-dashoffset: 0;
  }

  .principles-pause-btn {
    background: none;
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.3);
    margin-left: 10px;
    flex-shrink: 0;
    transition: background 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    z-index: 2;
  }

  .principles-pause-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    opacity: 0.8;
  }

  .principles-pause-btn--active {
    opacity: 0.8;
  }

  .principles-pause-btn svg {
    width: 14px;
    height: 14px;
  }

  /* ── Help topics mobile ── */
  #help-topics.section {
    padding: 20px;
    justify-content: flex-start;
    padding-top: 80px;
  }

  #help-topics .section__content {
    gap: 20px;
  }

  .help-carousel {
    overflow-x: auto;
    gap: 0;
    padding: 10px 0;
  }

  .help-slide {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .help-slide__image {
    flex: none;
    width: 157px;
    height: auto;
    border-radius: 0;
  }

  .help-slide__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .help-slide__text {
    max-width: 100%;
    gap: 15px;
    align-items: center;
    text-align: center;
    padding: 0 10px;
  }

  .help-slide__title {
    font-size: 32px;
  }

  .help-slide__desc {
    font-size: 15px;
  }

  .help-dots {
    margin-top: 0;
  }

  .help-dot {
    width: 10px;
    height: 10px;
    background: #a1ded1;
    opacity: 0.3;
  }

  .help-dot--active {
    width: 15px;
    height: 15px;
    opacity: 1;
  }

  .help-pause-btn {
    width: 28px;
    height: 28px;
    margin-left: 10px;
  }

  .help-pause-btn svg {
    width: 14px;
    height: 14px;
  }

  /* ── Decorative adjustments ── */
  .deco--purple {
    width: 450px;
    height: 299px;
  }

  .deco--green {
    width: 350px;
    height: 367px;
  }

  .deco--green-ellipse {
    width: 300px;
    height: 300px;
  }

  /* ── Home section image order ── */
  #home .section__right {
    order: -1;
  }

  /* ── Services section mobile ── */
  #services.section {
    padding: 20px;
    justify-content: flex-start;
    padding-top: 80px;
  }

  #services .section__content {
    gap: 20px;
  }

  #services .section__left {
    flex: none;
    order: -1;
  }

  .illustration--services {
    width: 157px;
    height: auto;
  }

  .section__right--services {
    max-width: 100%;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .subheading--services {
    font-size: 15px;
    text-align: center;
  }

  .services-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .service-card {
    padding: 14px;
    border-radius: 20px;
    border-width: 2px;
  }

  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card__heading {
    font-size: 15px;
  }

  .service-card__subheading {
    font-size: 13px;
  }

  /* ── Modal mobile ── */
  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
  }

  .modal__header {
    padding: 20px;
    gap: 20px;
  }

  .modal__title {
    font-size: 20px;
  }

  .modal__date {
    font-size: 13px;
  }

  .modal__body {
    padding: 10px 15px 20px;
  }

  .modal__org-name {
    font-size: 18px;
  }

  .modal__org-city {
    font-size: 18px;
  }

  .modal__org-desc {
    font-size: 14px;
  }

  .modal__org-contact {
    font-size: 14px;
  }

  /* ── About illustration order ── */
  #about .section__right {
    order: -1;
  }

  /* ── Chat section layout ── */
  #chat .section__content {
    gap: 15px;
  }

  #chat .section__left {
    text-align: center;
  }
}

/* ── MESSAGE ANIMATION ── */
@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
