/* ============================================
   SECTIONS (mobile-first; desktop overrides in responsive.css)
   ============================================ */

/* ---- HERO ---- */
.hero {
  min-height: 100dvh;
  background: var(--blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--space-9) + 40px);
  padding-bottom: var(--space-9);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-content { display: flex; flex-direction: column; gap: var(--space-5); }

.hero-headline {
  font-size: var(--fs-h1);
  color: var(--cream);
  max-width: 17ch;
}

.hero-person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body-lg);
}
.hero-dot { opacity: 0.55; display: none; }

.hero-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero-cta { align-self: flex-start; margin-top: var(--space-2); }

.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1000px; }

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-photo-backdrop {
  position: absolute;
  inset: var(--space-5) -18px -18px var(--space-5);
  background: var(--pink-soft);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: var(--radius-xl);
}

.hero-squiggle {
  position: absolute;
  top: -16px;
  right: -8px;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(21,23,31,0.15));
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: var(--space-5);
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-body-sm);
  font-weight: 600;
}
.scroll-hint-line {
  width: 1px;
  height: 28px;
  background: currentColor;
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- SERVICES ---- */
.services { background: var(--color-surface); padding-block: var(--section-padding-y); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.service-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon .icon-slot { width: 28px; height: 28px; }

.service-card h3 { font-size: var(--fs-h4); }
.service-card p { color: var(--color-text-muted); font-size: var(--fs-body-sm); }

/* ---- RESULTS ---- */
.results { background: var(--ink); padding-block: var(--section-padding-y); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stat-card {
  background: var(--ink);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: flex-start;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-stat);
  color: var(--cream);
  line-height: 1;
}
.stat-value .stat-suffix { color: var(--yellow); }

.stat-range {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1;
}
.stat-range .from { color: rgba(255,255,255,0.5); text-decoration: line-through; text-decoration-thickness: 2px; }
.stat-range .arrow { color: var(--yellow); font-size: 0.75em; }
.stat-range .to { color: var(--cream); }

.stat-label { color: rgba(255,255,255,0.72); font-size: var(--fs-body-sm); }

/* ---- CLIENTS ---- */
.clients { background: var(--color-surface-alt); padding-block: var(--section-padding-y); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.client-logo {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out);
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }

/* ---- MARKETS ---- */
.markets { background: var(--cream); padding-block: var(--section-padding-y); position: relative; overflow: hidden; }

.markets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.markets-intro .eyebrow { color: var(--pink-deep); }
.markets-intro h2 { max-width: 14ch; }

.markets-counter {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.markets-count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 3rem + 4vw, 6rem);
  color: var(--blue);
  line-height: 1;
}
.markets-count-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h4);
}
.markets-sub { margin-top: var(--space-3); color: var(--color-text-muted); font-weight: 600; }

.markets-chips-wrap {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.markets-globe-decor {
  position: absolute;
  width: min(420px, 92%);
  height: auto;
  color: rgba(35,73,255,0.16);
  z-index: 0;
}
.markets-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  max-width: 34rem;
}
.market-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-body-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}
.market-chip .icon-slot { width: 16px; height: 16px; color: var(--pink-deep); }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--white); padding-block: var(--section-padding-y); }

.testimonials-marquee { position: relative; }

/* The mask-fade and overflow clip belong to the inner viewport only —
   keeping the nav arrows as siblings (not descendants) means the fade
   never dims them out. */
.testimonials-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.testimonials-track {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--color-border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pop);
  transition: background-color var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out);
}
.testimonial-nav:hover:not(:disabled) { background: var(--cream); }
.testimonial-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.testimonial-nav .icon-slot { width: 18px; height: 18px; }
.testimonial-nav--prev { left: var(--space-2); }
.testimonial-nav--next { right: var(--space-2); }

.testimonial-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  flex: 0 0 min(82vw, 400px);
}
.testimonial-card--pink { background: var(--pink-soft); }
.testimonial-card--blue { background: var(--blue); color: var(--white); }
.testimonial-card--yellow { background: var(--yellow); }

.testimonial-quote-icon { width: 34px; height: 26px; color: rgba(21,23,31,0.16); }
.testimonial-card--blue .testimonial-quote-icon { color: rgba(255,255,255,0.28); }

.testimonial-text { font-size: var(--fs-body); font-weight: 500; line-height: var(--lh-body); }

.testimonial-author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.testimonial-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-body-sm); display: block; }
.testimonial-role { font-size: 0.8125rem; opacity: 0.72; display: block; }

/* ---- ABOUT ---- */
.about { background: var(--pink-soft); padding-block: var(--section-padding-y); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.about-video { position: relative; width: 100%; max-width: 360px; margin-inline: auto; }
.about-video-backdrop {
  position: absolute;
  inset: var(--space-4) -14px -14px var(--space-4);
  background: var(--blue);
  border-radius: var(--radius-xl);
  z-index: 0;
}
.about-video-el {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-xl);
  background: var(--ink);
}

.about-content .eyebrow { color: var(--pink-deep); }
.about-content h2 { font-size: var(--fs-h2); margin-bottom: var(--space-5); max-width: 16ch; }
.about-content p { font-size: var(--fs-body); color: var(--color-text); margin-bottom: var(--space-4); max-width: 52ch; }
.about-video-cta { font-weight: 700; font-family: var(--font-display); color: var(--ink); }

/* ---- QUIZ SECTION WRAPPER ---- */
.quiz-section {
  background: var(--color-surface-alt);
  padding-block: var(--section-padding-y);
  position: relative;
  overflow: hidden;
}
.quiz-section .section-head { max-width: 42rem; margin-inline: auto; }
.quiz-section .section-head h2 { font-size: var(--fs-h3); }

/* ---- FOOTER ---- */
.site-footer { background: var(--ink); color: var(--white); padding-block: var(--space-9); }

.footer-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.footer-title { font-size: var(--fs-h2); max-width: 18ch; color: var(--white); }

/* Single-line bar: logo left, LinkedIn + email right, everything on one
   shared vertical center line regardless of each element's own font size. */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.14);
}

.footer-logo { display: flex; align-items: center; }
.footer-logo-img {
  display: block;
  height: 34px;
  width: auto;
  border-radius: 6px;
}

.footer-bottom-links { display: flex; align-items: center; gap: var(--space-3); }

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: var(--white);
  transition: background-color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}
.footer-icon-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.footer-icon-link .icon-slot { width: 18px; height: 18px; flex-shrink: 0; }

.footer-fine {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-5);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}
.footer-fine a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; }
.footer-fine a:hover { color: var(--white); }
