/* =========================================================
   Tri-chi Wellness — Global Stylesheet
   
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* ---- Colors (sampled directly from screenshot pixels) ---- */
  --color-bg: #F7F3EA;          /* page background, sampled (247,243,234) */
  --color-teal-900: #0F4C4A;    /* primary buttons / dark card / nav CTA, sampled (15,76,74) */
  --color-teal-600: #628B8B;    /* badge background / accent, sampled (98,139,136) */
  --color-text-dark: #1F2933;   /* headline / stat numbers, sampled (31,41,51) */
  --color-text-gray: #6B7670;   /* body copy, estimated from anti-aliased sample */
  --color-border: #E4DFD3;      /* hairline dividers, estimated from bg shade */
  --color-white: #FFFFFF;
  --color-fill:  #E4A28E;
  --color-brand: #0C5A55;
  
 

 
   --font-heading: 'Manrope', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --container-width: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  background: var(--color-bg);
  padding: 20px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.nav__logo-icon { width: 26px; height: 26px; flex-shrink: 0; }

.nav__logo-text .brand-dark { color: var(--color-brand); }
.nav__logo-text .brand-accent { color: var(--color-fill); font-weight: 500; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-dark);
  opacity: 0.85;
  transition: opacity .15s ease;
}

.nav__links a.is-active,
.nav__links a:hover { opacity: 1; }

.nav__cta {
  display: none; /* shown at desktop breakpoint */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-teal-900);
  color: var(--color-white);
}
.btn--primary:hover { background: #0c3f3d; }

.btn--outline {
  background: transparent;
  color: var(--color-teal-900);
  border-color: var(--color-teal-900);
}
.btn--outline:hover { background: rgba(15,76,74,0.06); }

.nav__toggle {
  display: flex;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle svg { width: 24px; height: 24px; color: var(--color-text-dark); display: none; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #DDE7E2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.is-open { display: flex; }

.mobile-menu__topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}
.mobile-menu__close {
  background: none;
  border: none;
  padding: 4px;
  color: var(--color-text-dark);
}
.mobile-menu__close svg { width: 24px; height: 24px; }

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-menu__links a {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-gray);
}
.mobile-menu__links a.is-active {
  color: var(--color-text-dark);
  font-weight: 600;
}

.mobile-menu__cta { padding: 13px 28px; }

body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 56px 0 0; }

.hero__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(98, 139, 136, 0.3);  /* #628B8B at 30% opacity */
  
  color: #0F4C4A;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.badge svg { width: 13px; height: 13px; }
.hero-badge{
    background: #EEF5F1 !important;
    border: 0.5px solid rgba(98, 139, 136, 0.12);  /* soft teal tint pill */
}
.hero-service {
    background: #EEF5F1 !important;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.18;
  font-weight: 600; 
  letter-spacing: -0.5px;
  color: var(--color-text-dark);
  margin: 0 0 18px;
  font-weight: 700;
}

.hero p {
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--color-text-gray);
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.btn-service {
    background: #EEF5F1 !important;
}

/* =========================================================
   HERO CARD ROW (trust card / chat mock / photo)
   ========================================================= */
.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 25px;
  align-items: stretch;
  margin-bottom: 48px;
}

.trust-card {
  background: var(--color-teal-900);
  color: var(--color-white);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
}

.trust-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

.trust-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  margin-top: 18px;
  align-self: flex-start;
}
.trust-card__pill svg { width: 14px; height: 14px; }

.chat-mock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(180deg, #EEF5F1 0%, #F7F3EA 100%);
  border-radius: 20px;
  padding: 24px 20px 45px 20px;
  min-height: 260px; /* matches .trust-card so the row stays even */
}

.chat-bubble {
  display: flex;
  align-items: center;
  gap: 4px;                     /* was 8px */
  background: var(--color-white);
  border-radius: 999px;
  padding: 4px 10px 4px 4px;    /* was 6px 10px 6px 4px */
  font-size: 12.5px;
  color: var(--color-text-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  width: fit-content;
}
.chat-bubble--right {
  align-self: flex-end;
  padding: 4px 4px 4px 10px;    /* was 6px 4px 6px 10px */
}
.chat-avatar {
  width: 35px; height: 35px;
  border-radius: 50%;
  background: var(--color-teal-600);
  flex-shrink: 0;
  overflow: hidden;   /* clips the img into a circle */
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-mock__copy { margin-top: 18px; }
.chat-mock__copy h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--color-text-dark);
}
.chat-mock__copy p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--color-text-gray);
  margin: 0;
}

.hero-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
  background: var(--color-teal-600);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.hero-photo__pill {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.hero-photo__pill svg { width: 14px; height: 14px; color: var(--color-teal-900); }

/* =========================================================
   STATS ROW
   ========================================================= */
.stats {
  /*border-top: 1px solid var(--color-border);*/
  padding: 32px 0 56px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 0 24px;
  border-left: 1px solid var(--color-border);
}
.stat:first-child { border-left: none; padding-left: 0; }

.stat__number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.stat__label {
  font-size: 13px;
  color: var(--color-text-gray);
}

/* =========================================================
   OUR APPROACH — image carousel (center emphasis)
   ========================================================= */
.approach {
  padding: 72px 0;
  background: var(--color-white);
  overflow: hidden;
}

.approach__eyebrow {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal-600);
  margin-bottom: 28px;
}

.approach__heading {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 29px;
  line-height: 1.6;
  font-weight: 400;
}
.approach__heading strong {
  color: var(--color-text-dark);
  font-weight: 700;
}
.approach__heading span {
  color: var(--color-text-gray);
  font-weight: 500;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  perspective: 1000px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__slide {
  position: absolute;
  width: 370px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .6s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.carousel__slide img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Position/scale/opacity are assigned via JS through data-pos:
   -2 -1 0 1 2 (0 = center/active) */
.carousel__slide[data-pos="0"] { transform: translateX(0) scale(1); opacity: 1; z-index: 5; }
.carousel__slide[data-pos="-1"] { transform: translateX(-357px) scale(0.82); opacity: 0.45; z-index: 4; }
.carousel__slide[data-pos="1"]  { transform: translateX(357px) scale(0.82); opacity: 0.45; z-index: 4; }
.carousel__slide[data-pos="-2"] { transform: translateX(-650px) scale(0.66); opacity: 0.15; z-index: 3; }
.carousel__slide[data-pos="2"]  { transform: translateX(650px) scale(0.66); opacity: 0.15; z-index: 3; }

/* =========================================================
   SERVICES (Care that helps you feel seen)
   ========================================================= */
.services { padding: 72px 0 72px; background: var(--color-white); }

.services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0.5px solid rgba(98, 139, 136, 0.12);  /* soft teal tint pill */
  color: var(--color-teal-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.services__eyebrow svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.service-card {
  background: var(--color-bg);   /* cream, not #E4DFD3 — matches screenshot better */
  border-radius: 20px;
  padding: 16px;
}

.services__heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-dark);
  max-width: 520px;
  margin: 0 0 36px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card__image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  background: var(--color-teal-600);
}
.service-card__image img { width: 100%; height: 100%; object-fit: cover; }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--color-text-dark);
}
.service-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-gray);
  margin: 0;
}

/* =========================================================
   CTA BAND — "You do not have to know where to start"
   ========================================================= */
.cta-band { padding: 0 0 80px; background: var(--color-bg); }
.contain2 {
    margin-top: 25px !important;
}

.cta-band__panel {
  background: var(--color-teal-900);
  border-radius: 28px;
  padding: 56px 40px 90px;
  text-align: center;
  position: relative;
}

.cta-band__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.cta-band__icon svg { width: 20px; height: 20px; color: var(--color-white); opacity: 1; }

.cta-band__panel h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 10px;
}
.cta-band__panel p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto;
}

.cta-band__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 36px auto 0;
  position: relative;
}

.cta-card {
  background: #F7F3EA;
  border-radius: 16px;
  padding: 24px 22px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(0,0,0,0.16);
}
.cta-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #E1EDEB;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cta-card__icon svg { width: 17px; height: 17px; color: var(--color-teal-900); }

.cta-card h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0 0 6px;
}
.cta-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--color-text-gray);
  margin: 0;
}

/* =========================================================
   TESTIMONIALS — auto-scrolling vertical marquee
   ========================================================= */
.testimonials {
  background: #DDE7E2;
  padding: 72px 0;
  text-align: center;
}
.testimonials__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal-600);
  display: block;
  margin-bottom: 12px;
}
.testimonials__heading {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 0 0 40px;
}

.marquee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  height: 480px;
}

.marquee-col {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

.marquee-col__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: marquee-up 22s linear infinite;
}
.marquee-col--reverse .marquee-col__inner {
  animation-direction: reverse;
}

@keyframes marquee-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.testimonial-card__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-teal-600); /* shows briefly while the image loads */
}
.testimonial-card__name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0;
}
.testimonial-card__role {
  font-size: 11.5px;
  color: var(--color-text-gray);
  margin: 0;
}
.testimonial-card__stars {
  color: #E8A33D;
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.testimonial-card p.quote {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-gray);
  margin: 0;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 72px 0; background: var(--color-bg); }

.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal-600);
  display: block;
  margin-bottom: 12px;
}
.faq__col-left h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 0 0 14px;
}
.faq__col-left p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-gray);
  margin: 0 0 24px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #DDE7E2;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
}
.faq__question svg {
  width: 18px; height: 18px;
  color: var(--color-teal-900);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq__item.is-open .faq__question svg { transform: rotate(180deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  background: #DDE7E2;
  padding-top: 10px;
  transition: max-height .3s ease;
}
.faq__answer p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-gray);
}

/* =========================================================
   FOOTER — newsletter band + footer bar
   ========================================================= */
.site-footer { background: var(--color-bg); padding-top: 56px; }

.newsletter {
  position: relative;
  background: var(--color-teal-900);
  border-radius: 15px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 32px;
  overflow: visible;
}

.newsletter__copy h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 8px;
  line-height: 1.3;
}
.newsletter__copy p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
  max-width: 360px;
}

.newsletter__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.newsletter__row {
  display: flex;
  gap: 10px;
}
.newsletter__row input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  font-size: 13px;
  font-family: var(--font-body);
}
.newsletter__row input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter__row input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-teal-900);
  padding: 11px 20px;
}
.btn--light:hover { background: #EDEAE1; }

.newsletter__seal {
  position: absolute;
  right: 15px;
  bottom: -35px;
}

.brand-dark { color: var(--color-brand); }
.brand-accent { color: var(--color-fill); font-weight: 500;}


.footer-bar {
  margin-top: 52px;
  margin-bottom: 20px;
}

.footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bar__logo {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}
.footer-bar__tagline {
  font-size: 12px;
  color: var(--color-text-gray);
  margin: 4px 0 0;
  padding-bottom: 10px;
}

.footer-bar__links {
  display: flex;
  gap: 24px;
}
.footer-bar__links a {
  font-size: 13.5px;
  color: var(--color-text-dark);
  opacity: 0.8;
}
.footer-bar__links a:hover { opacity: 1; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero { padding: 56px 0 64px; }

.about-hero__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.about-hero__collage {
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
}
.about-hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collage-cell {
  border-radius: 10px;
  background-image: var(--collage-img);
  background-size: 300% 200%; /* 3 columns x 2 rows of the same source image */
  background-position: calc(var(--col) * 50%) calc(var(--row) * 100%);
  background-repeat: no-repeat;
}

.about-hero__center {
  text-align: center;
  padding: 0 24px;
  align-self: flex-start;
  margin-top: -8px;   /* nudge further up/down by adjusting this */
}
.about-hero__center h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-teal-900);
  white-space: nowrap;
}

.about-hero__copy {
  max-width: 780px;
  text-align: center;
}
.about-hero__copy p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 24px;
  color: var(--color-text-gray);
  font-weight: 500;
}
.about-hero__copy strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.about-hero__since {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal-600);
}

/* Over Values */
.values { padding: 72px 0; background: var(--color-white); }
.values h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 0 0 8px;
}
.values__subtext { font-size: 14px; color: var(--color-text-gray); margin: 0 0 36px; }

.values__grid {
  display: flex;
  gap: 24px;
  overflow: hidden;
  padding-bottom: 4px;
}
.values__grid-track {
  display: flex;
  gap: 24px;
  animation: values-scroll 18s linear infinite;
}
.value-card {
  flex: 0 0 380px;   /* fixed card width so cards peek at the edge, like your screenshot */
}

@keyframes values-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/*.value-card {*/
/*  border-radius: 16px;*/
/*  padding: 40px 32px 32px;*/
/*  min-height: 220px;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: flex-end;*/
/*}*/
.value-card--cream { background: var(--color-bg); }
.value-card--sage { background: #E7EFEA; }

.value-card {
  border-radius: 16px;
  padding: 28px 28px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.value-card__icon {
  width: 32px; height: 32px;      /* was 48px — design's icon is small and tight */
  color: var(--color-teal-900);
  margin-bottom: 60px;             /* pushes icon up, creates the big visual gap before h3 */
}
.value-card__icon svg { width: 100%; height: 100%; }

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
  padding-top: 20px;
  margin: 0 0 8px;
}
.value-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-gray);
  margin: 0;
}

/* Extra text used only in the services-preview partial's eyebrow line */
.services__subtext {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-gray);
  max-width: 560px;
  margin: -20px 0 36px;
}

.testimonials__subtext {
  font-size: 14px;
  color: var(--color-text-gray);
  margin: -28px 0 40px;
}

.faq__still {
    padding-top: 11.9em;
}
.faq__still h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0 0 8px;
}
.faq__still p { margin-bottom: 20px; }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.services-hero {
  padding: 56px 0 64px;
  overflow: hidden;   /* safety net: stops marquee content from ever overflowing the page horizontally */
}

.services-hero__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.services-hero__copy h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0 0 18px;
}
.services-hero__copy p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-gray);
  margin: 0 0 24px;
  max-width: 440px;
}

.services-hero__images {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
.services-hero__img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.services-hero__images-right {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
}
.services-hero__images-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.services-hero__marquee {
  background: var(--color-teal-900);
  border-radius: 16px;
  overflow: hidden;
  height: 90px;
  display: flex;
  align-items: center;
}
.services-hero__marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-left 12s linear infinite;
}
.services-hero__marquee-track span {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  padding: 0 20px;
  flex-shrink: 0;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.stats--no-border { border-top: none; padding-top: 0;   }

/* =========================================================
   CONTACT SECTION (shared: Contact page + embedded on Home)
   ========================================================= */
.contact-section { padding: 80px 0; background: var(--color-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}

.contact-info h1,
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 40px;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--color-text-dark);
}
.contact-info__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #F0F0F0;
  color: var(--color-teal-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info__icon svg { width: 18px; height: 18px; }
.contact-info__item a { text-decoration: underline; color: var(--color-text-dark); }

.contact-form-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid #EFEFEF;
  border-radius: 20px;
  padding: 64px 40px 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.contact-form-card__deco {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
}
.contact-form-card__clip {
  position: relative;
  width: auto;
  height: 120px;
  z-index: 2;
  transform: translateY(-58%);
  padding-top: 10px;
}
.contact-form-card__zigzag {
  position: absolute;
  top: 18px; left: 0; right: 0;
  width: 100%;
  height: 20px;
  opacity: 0.5;
}

.contact-form-card h3 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0 28px;
  color: var(--color-text-dark);
}

.contact-form { display: flex; flex-direction: column; }
.contact-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid #DCDCDC;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-text-dark);
  background: var(--color-white);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-teal-900);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #A6A6A6; }

.contact-form__submit {
  align-self: flex-start;
  margin-top: 4px;
}
/* =========================================================
   CONTACT FORM — honeypot + flash messages
   ========================================================= */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-flash {
  position: fixed;
  top: 24px;
  right: 24px;
  max-width: 360px;
  z-index: 200;
  border-radius: 10px;
  padding: 14px 40px 14px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 14px 32px rgba(0,0,0,0.14);
  animation: toast-in 0.35s cubic-bezier(.22,.61,.36,1);
}
.form-flash.is-hiding {
  animation: toast-out 0.3s ease forwards;
}
.form-flash__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.55;
}
.form-flash__close:hover { opacity: 1; }

.form-flash--success {
  background: #E5F3EF;
  color: #0F4C4A;
  border: 1px solid #BFE0D6;
}
.form-flash--error {
  background: #FBEAEA;
  color: #9A3B3B;
  border: 1px solid #F0C6C6;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-14px); }
}

@media (max-width: 860px) {
  .form-flash { left: 16px; right: 16px; top: 16px; max-width: none; }
}

.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 861px) {
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  
  .nav__toggle {
  position: relative;
}
.nav__toggle .icon-burger,
.nav__toggle .icon-close {
  display: block;
}
.nav__toggle .icon-close {
  display: none;
}
.nav__toggle[aria-expanded="true"] .icon-burger {
  display: none;
}
.nav__toggle[aria-expanded="true"] .icon-close {
  display: block;
}
}



@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle {
  position: relative;
}
.nav__cta { display: none; }
.nav__toggle .icon-burger,
.nav__toggle .icon-close {
  display: block;
}
.nav__toggle .icon-close {
  display: none;
}
.nav__toggle[aria-expanded="true"] .icon-burger {
  display: none;
}
.nav__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

  .container { padding: 0 20px; }

  .hero { padding: 32px 0 0; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .hero__actions { gap: 10px; margin-bottom: 32px; }
  .btn { font-size: 13px; padding: 10px 16px; }

  .hero-row {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }
  .trust-card {
    min-height: auto;
    justify-content: flex-start;   /* stop space-between from stretching the gap */
    gap: 24px;                      /* controlled, intentional spacing instead */
    padding: 28px 24px;
  }
  .chat-bubble {
    padding: 8px 12px 8px 6px;
    font-size: 12px;
  }
  .chat-bubble--right {
    padding: 8px 6px 8px 12px;
  }
  .chat-avatar {
    width: 22px;
    height: 22px;
  }
  .hero-photo { min-height: 200px; }

   .stats__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .stat {
    text-align: center;
    border-left: none !important;
    padding-left: 0 !important;
    /*border-top: 1px solid var(--color-border);*/
    padding-top: 20px;
  }
  .stat:first-child {
    border-top: none;
    padding-top: 0;
  }
  /* Approach carousel */
  .approach { padding: 48px 0; }
  .approach__heading { font-size: 19px; margin-bottom: 32px; }
  .carousel { height: 260px; }
  .carousel__slide { width: 160px; height: 220px; }
  .carousel__slide[data-pos="-1"] { transform: translateX(-160px) scale(0.8); opacity: 0.55; }
  .carousel__slide[data-pos="1"]  { transform: translateX(160px) scale(0.8); opacity: 0.55; }
  .carousel__slide[data-pos="-2"],
  .carousel__slide[data-pos="2"]  { opacity: 0; }

  /* Services */
  .services__heading { font-size: 21px; }
  .services__grid { grid-template-columns: 1fr; gap: 28px; }

  /* CTA band */
  .cta-band__panel { padding: 40px 20px 32px; border-radius: 20px; }
  .cta-band__panel h2 { font-size: 20px; }
  .cta-band__cards {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  /* Testimonials */
  .testimonials { padding: 48px 0; }
  .testimonials__heading { font-size: 21px; }
  .marquee-grid { grid-template-columns: 1fr; height: 420px; }
  .marquee-col:nth-child(2),
  .marquee-col:nth-child(3) { display: none; }

  /* FAQ */
  .faq { padding: 48px 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq__col-left h2 { font-size: 21px; }

  /* Footer */
  .site-footer { padding-top: 32px; }
  .newsletter {
    grid-template-columns: 1fr;
    /*padding: 28px 24px 44px;*/
    padding: 48px 48px; 
    border-radius: 20px;
    text-align: left;
    margin-bottom: 32px; 
  }
  .newsletter__seal { right: 15px; bottom: -25px; transform: scale(0.85); }
  .footer-bar__inner { flex-direction: column; align-items: flex-start; }
  .footer-bar__links { flex-wrap: wrap; gap: 16px; }

  /* About page */
  .about-hero { padding: 24px 0 40px; }
  .about-hero__row { grid-template-columns: 1fr; gap: 16px; }
  .about-hero__center { order: -1; padding: 0; }
  .about-hero__center h1 { font-size: 24px; white-space: normal; }
  .about-hero__collage { display: none; }
  .about-hero__copy p { font-size: 17px; font-weight: 700; font-size: bold; }
  .about-hero__since { flex-direction: column; gap: 4px; align-items: center; }
  .for_phone {
      display: none;
  }
  .faq__still {
    padding-top: 1em;
}
  

  .values { padding: 48px 0; }
  .values h2 { font-size: 22px; }
  .values__grid { grid-template-columns: 1fr; }

  /* Services page */
  .services-hero__row { grid-template-columns: 1fr; gap: 24px; }
  .services-hero__copy h1 { font-size: 26px; }
  .services-hero__images { grid-template-columns: 1fr; }
  .services-hero__images img { height: 220px; }

  /* Contact section */
  .contact-section { padding: 40px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info h1, .contact-info h2 { font-size: 24px; margin-bottom: 24px; }
  .contact-form-card { padding: 48px 20px 28px; }
}

/* =========================================================
   SCROLL-REVEAL ANIMATIONS
   Progressive enhancement: elements only start hidden once the
   'js' class is present on <html> (set by an inline script in
   <head>, before anything else runs). If JavaScript fails to load
   or errors out, [data-reveal] elements simply display normally —
   they never get stuck invisible.
   ========================================================= */

[data-reveal] {
  transition: opacity 0.9s cubic-bezier(.22,.61,.36,1), transform 1.2s cubic-bezier(.22,.61,.36,1), filter 1.2s cubic-bezier(.22,.61,.36,1);
}
.js [data-reveal] { opacity: 0; }
.js [data-reveal="up"]    { transform: translateY(28px); }
.js [data-reveal="left"]  { transform: translateX(-44px); }
.js [data-reveal="right"] { transform: translateX(44px); }
.js [data-reveal="fade"]  { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.85); }
.js [data-reveal="blur"]  { transform: none; filter: blur(14px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}