/* ─────────────────────────────────────────
   Nordveo — style.css
   ───────────────────────────────────────── */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--text); font-family: 'Manrope', sans-serif; font-weight: 400; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; }
button { font-family: 'Manrope', sans-serif; font-weight: 400; cursor: pointer; border: none; background: none; }

/* Preserve visual styles when using semantic heading tags */
.hero-eyebrow,
.hero-headline,
.section-label,
.work-title,
.work-name,
.expertise-heading h2,
.expertise-name,
.testimonial-label,
.cta-headline {
  margin: 0;
}

/* Anchor tags styled as buttons share the same base */
a.btn-outline-white,
a.btn-yellow,
a.btn-outline-hero,
a.btn-dark { display: inline-flex; }

/* ── Tokens ── */
:root {
  /* Nordveo brand */
  --navy:         #061A4A;  /* dominant brand color */
  --blue:         #0A5CFF;  /* accent — CTAs, links, active states only */
  --text:         #0B1220;  /* main text */
  --muted:        #667085;  /* secondary text */
  --bg-light:     #F7F9FC;  /* light section background */
  --white:        #FFFFFF;
  --border:       #E5EAF2;

  /* Legacy aliases remapped to the brand palette */
  --dark:         #061A4A;  /* dark surfaces + headings → navy */
  --yellow:       #0A5CFF;  /* accent → electric blue */
  --mid-gray:     #667085;
  --light-gray:   #E5EAF2;
  --border-light: #E5EAF2;
  --border-dark:  #E5EAF2;

  --px:           clamp(20px, 8.85vw, 115px);
  --content-max:  1073px;
  --radius:       10px;     /* restrained, non-pill */
  --ease:         cubic-bezier(.22, 1, .36, 1);
  --nav-h:        88px;
  --nav-h-scrolled: 64px;
}

html { scroll-padding-top: 88px; }

/* ═══════════════════════════════════════
   SCROLL REVEAL — base state
   Elements start invisible + shifted down;
   JS adds .is-visible to trigger the transition.
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══════════════════════════════════════
   CUSTOM DOT CURSOR
   White dot + mix-blend difference so it
   stays visible on dark and light sections.
   Only active on fine pointers (see main.js).
═══════════════════════════════════════ */
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor label,
.has-custom-cursor input,
.has-custom-cursor textarea,
.has-custom-cursor select,
.has-custom-cursor .work-item,
.has-custom-cursor [role="button"] {
  cursor: none;
}
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 2147483647;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}
.cursor-dot.is-visible { opacity: 1; }
.cursor-dot.is-hover {
  width: 38px;
  height: 38px;
}
@media (pointer: coarse) {
  .cursor-dot { display: none; }
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside a reveal-group */
.reveal-group .reveal { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   PAGE-LOAD HERO ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-load {
  animation: fadeSlideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-load-1 { animation-delay: 0.05s; }
.hero-load-2 { animation-delay: 0.15s; }
.hero-load-3 { animation-delay: 0.25s; }
.hero-load-4 { animation-delay: 0.4s; }
.hero-load-5 { animation-delay: 0.55s; }

/* ═══════════════════════════════════════
   NAV / HERO
═══════════════════════════════════════ */
.hero-section {
  background: var(--dark);
  padding: clamp(32px, 4.6vw, 60px) var(--px) clamp(72px, 11vw, 144px);
  display: flex;
  flex-direction: column;
  gap: clamp(94px, 13.8vw, 180px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo-img {
  display: block;
  width: 156px;
  height: 33px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Text wordmark (replaces the logo image) */
.logo-word {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
.footer-logo-word {
  color: var(--dark);
  font-size: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 32px);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 400;
  color: var(--light-gray);
  flex: 1;
  min-width: 0;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

/* ── Buttons ── */
.btn-outline-white {
  border: 1px solid #fff;
  background: var(--dark);
  border-radius: 24px;
  padding: 14px 24px;
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-white:hover { background: #fff; color: var(--dark); }

.btn-yellow {
  background: var(--yellow);
  border: none;
  border-radius: 24px;
  padding: 14px 24px;
  color: var(--dark);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}
.btn-yellow:hover { opacity: 0.88; }

.btn-outline-hero {
  background: var(--dark);
  border: 1px solid #fff;
  border-radius: 24px;
  padding: 14px 24px;
  color: #fff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-hero:hover { background: #fff; color: var(--dark); }

.btn-dark {
  background: var(--dark);
  border: none;
  border-radius: 33px;
  padding: 11px 33px;
  color: #fff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.2s;
}
.btn-dark:hover { opacity: 0.85; }

.btn-arrow {
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}
.btn-arrow svg { display: block; }

/* Hero text */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 4.9vw, 64px);
}
.hero-text-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-eyebrow {
  font-size: clamp(20px, 1.85vw, 24px);
  font-weight: 300;
  color: var(--light-gray);
}
.hero-headline {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(55px, 10.75vw, 140px);
  line-height: clamp(56px, 11.8vw, 154px);
  color: #fff;
  letter-spacing: clamp(-1.1px, -0.21vw, -2.8px);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 1.85vw, 24px);
}

/* ═══════════════════════════════════════
   AGENCY SECTION
═══════════════════════════════════════ */
.agency-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(72px, 11vw, 144px) var(--px);
}
.agency-text {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 29px;
  min-width: 0;
}
.section-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.45vw, 32px);
  letter-spacing: -0.96px;
  color: var(--dark);
}
.agency-headline {
  font-size: clamp(31px, 4.6vw, 60px);
  font-weight: 400;
  line-height: clamp(39px, 5.2vw, 68px);
  letter-spacing: clamp(-1.24px, -0.18vw, -2.4px);
  color: var(--dark);
}
.agency-headline span { color: var(--mid-gray); }

.agency-images {
  position: relative;
  flex: 0 1 546px;
  width: min(546px, 42vw);
  aspect-ratio: 546 / 422;
  height: auto;
  min-width: 260px;
}
.agency-img-back {
  position: absolute;
  left: 4.2%;
  top: 4.7%;
  width: 89.4%;
  height: 77%;
  transform: rotate(-2.29deg);
  overflow: hidden;
  border-radius: 2px;
}
.agency-img-front {
  position: absolute;
  left: 0;
  top: 0;
  width: 89.4%;
  height: 77%;
  transform: rotate(12.32deg);
  overflow: hidden;
  border-radius: 2px;
}
.agency-img-back img,
.agency-img-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════
   OUR WORK SECTION
═══════════════════════════════════════ */
.work-section {
  padding: 0 var(--px) clamp(52px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.work-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  padding-bottom: clamp(44px, 4.3vw, 56px);
  width: min(510px, 100%);
  text-align: center;
}
.work-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.45vw, 32px);
  letter-spacing: -0.96px;
}
.work-subtitle {
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: clamp(41px, 3.9vw, 51px);
  letter-spacing: clamp(-1.36px, -0.135vw, -1.76px);
  color: var(--mid-gray);
}
.work-subtitle b { color: var(--dark); font-weight: 400; }

.work-item {
  border-top: 0.5px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: clamp(32px, 5.4vw, 70px);
  padding: clamp(44px, 7vw, 92px) 0;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}
.work-item.fenchurch {
  justify-content: space-between;
}

/* Portfolio image with zoom-on-hover */
.work-img {
  flex: 0 1 57.1%;
  width: auto;
  max-width: 613px;
  min-width: 0;
  aspect-ratio: 613 / 460;
  height: auto;
  overflow: hidden;
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.work-img:hover img {
  transform: scale(1.06);
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.7vw, 48px);
  flex: 1 1 36.4%;
  width: auto;
  min-width: 0;
  max-width: 555px;
}
.work-number {
  font-size: 16px;
  font-weight: 400;
  color: var(--mid-gray);
  line-height: 1;
  letter-spacing: -0.64px;
}
.work-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.work-name {
  font-size: clamp(40px, 3.8vw, 50px);
  font-weight: 500;
  line-height: clamp(51px, 3.9vw, 51px);
  letter-spacing: clamp(-1.6px, -0.15vw, -2px);
  color: var(--text);
}
.work-tags {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.96px;
  color: var(--mid-gray);
}
.work-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: -0.2px;
  color: var(--text);
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.16px;
  transition: opacity 0.2s;
}
.work-link:hover { opacity: 0.55; }

/* ═══════════════════════════════════════
   EXPERTISE SECTION
═══════════════════════════════════════ */
.expertise-section {
  background: var(--dark);
  padding: clamp(72px, 8.8vw, 115px) var(--px) clamp(100px, 12.1vw, 158px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 6.3vw, 82px);
}
.expertise-heading {
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: clamp(36px, 5.2vw, 68px);
}
.expertise-eyebrow {
  display: inline-block;
  font-size: clamp(12px, 1vw, 14px); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: clamp(16px, 2vw, 26px);
}
.expertise-heading h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 10.75vw, 140px);
  line-height: clamp(62px, 10.2vw, 133px);
  color: #fff;
  letter-spacing: clamp(-1.12px, -0.21vw, -2.8px);
}
.expertise-list { display: flex; flex-direction: column; }
.expertise-item {
  border-bottom: 0.5px solid var(--border-dark);
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3.8vw, 50px);
  padding: clamp(30px, 3.8vw, 50px) 0;
}
.expertise-name {
  /* full-sentence titles: bounded column so rows align and text wraps cleanly */
  flex: 0 0 clamp(240px, 33vw, 440px);
  font-size: clamp(24px, 2.9vw, 38px);
  font-weight: 400;
  line-height: 1.14;
  color: #f2f2f2;
  letter-spacing: clamp(-0.5px, -0.09vw, -1px);
  white-space: normal;
  transition: color 0.25s;
}
.expertise-item:hover .expertise-name { color: #fff; }
.expertise-divider {
  width: clamp(40px, 4.9vw, 64px);
  border: none;
  border-top: 1px solid var(--border-dark);
  transform: rotate(110.56deg);
  flex-shrink: 0;
  margin-top: clamp(14px, 1.4vw, 20px);
}
.expertise-desc {
  font-size: clamp(18px, 1.54vw, 20px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.2px;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  max-width: 532px;
}

/* ═══════════════════════════════════════
   TESTIMONIAL
═══════════════════════════════════════ */
.testimonial-section {
  padding: clamp(72px, 11vw, 144px) var(--px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 3vw, 40px);
}
.testimonial-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.45vw, 32px);
  letter-spacing: -0.96px;
}
.testimonial-quote {
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 400;
  line-height: clamp(41px, 4.76vw, 62px);
  letter-spacing: clamp(-1.36px, -0.135vw, -1.76px);
  color: var(--dark);
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: clamp(72px, 6.75vw, 88px);
  height: clamp(72px, 6.75vw, 88px);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-name-block {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1.1vw, 14px);
}
.testimonial-name {
  font-size: clamp(20px, 1.85vw, 24px);
  font-weight: 500;
  letter-spacing: clamp(-0.8px, -0.074vw, -0.96px);
  line-height: 1.2;
  color: var(--text);
}
.testimonial-role {
  font-size: clamp(20px, 1.85vw, 24px);
  font-weight: 300;
  letter-spacing: clamp(-0.8px, -0.074vw, -0.96px);
  line-height: 1.2;
  color: var(--mid-gray);
}

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-section {
  background: var(--yellow);
  padding: clamp(72px, 7vw, 91px) clamp(20px, 10.2vw, 133px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 4.3vw, 56px);
}
.cta-headline {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 10.75vw, 140px);
  line-height: clamp(53px, 10.2vw, 133px);
  color: var(--dark);
  letter-spacing: clamp(-1.12px, -0.21vw, -2.8px);
  text-align: center;
  max-width: 1246px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: clamp(72px, 6.4vw, 84px) clamp(20px, 10.2vw, 133px);
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 10.3vw, 134px);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 29px;
}
.footer-mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 20px;
  letter-spacing: -0.2px;
}
.footer-tagline {
  color: #fff;
  font-weight: 400;
  line-height: 33px;
  max-width: min(391px, 100%);
  flex: 1;
  min-width: 0;
}
.footer-contact-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  text-align: right;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-label { color: #c2c2c2; line-height: 33px; }
.footer-contact-val   { color: #fff; line-height: 33px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.16px;
  white-space: nowrap;
}
.footer-links { display: flex; gap: 40px; }
.lang-switch--footer { display: none; }          /* shown on phones only (see ≤768 block) */
.footer-links a { transition: opacity 0.2s; }
.footer-links a:hover { opacity: 0.7; }

.footer-copyright-break { display: none; }

/* ═══════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px var(--px);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.15px;
  color: var(--light-gray);
  max-width: 520px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.cookie-banner__btn--decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cookie-banner__btn--decline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-banner__btn--accept {
  background: var(--yellow);
  border: 1px solid var(--yellow);
  color: var(--dark);
}

.cookie-banner__btn--accept:hover {
  opacity: 0.88;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px var(--px) 20px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-banner__text {
    font-size: 14px;
    max-width: none;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}

/* ═══════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════ */
.legal-header {
  background: var(--dark);
  padding: clamp(32px, 4.6vw, 60px) var(--px);
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.legal-logo-link {
  display: block;
  flex-shrink: 0;
}

.legal-back-link {
  font-size: 16px;
  color: var(--light-gray);
  transition: color 0.2s;
  white-space: nowrap;
}

.legal-back-link:hover {
  color: #fff;
}

.legal-page {
  padding: clamp(72px, 11vw, 120px) var(--px);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 72px);
  line-height: 1.1;
  letter-spacing: -1.44px;
  color: var(--dark);
  margin: 0 0 16px;
}

.legal-effective {
  font-size: 16px;
  color: var(--mid-gray);
  margin: 0 0 56px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.72px;
  color: var(--dark);
  margin: 0 0 20px;
}

.legal-subheading {
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin: 28px 0 12px;
}

.legal-content p {
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: -0.18px;
  color: var(--dark);
  margin: 0 0 16px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0 0 16px;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: -0.18px;
  color: var(--dark);
}

.legal-list li {
  margin-bottom: 8px;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.legal-content a:hover {
  opacity: 0.6;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 8px 0 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 0.5px solid var(--border-light);
}

.legal-table th {
  font-weight: 500;
  color: var(--dark);
  background: var(--bg-light);
}

.legal-table td {
  color: var(--dark);
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

/* ═══════════════════════════════════════
   TABLET — hide nav links when space is tight
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-bar .btn-outline-white {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 20px;
  }

  .logo-img {
    width: clamp(144px, 12vw, 156px);
    height: auto;
  }

  .expertise-name {
    white-space: normal;
  }
}

/* ═══════════════════════════════════════
   MOBILE — Figma Home Page - Mobile (32:7)
═══════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --px: 20px;
  }

  /* ── Hero / Nav ── */
  .hero-section {
    padding: 32px var(--px) 72px;
    gap: 94px;
  }

  .nav-bar {
    gap: 0;
  }

  .logo-img {
    width: 144px;
  }

  /* nav-links already hidden at 1024px */

  .hero-content {
    gap: 48px;
  }

  .hero-text-group {
    gap: 1px;
  }

  .hero-eyebrow {
    font-size: 20px;
  }

  .hero-headline {
    font-size: 55px;
    line-height: 56px;
    letter-spacing: -1.1px;
  }

  .hero-ctas .btn-outline-hero {
    display: none;
  }

  /* ── Agency ── */
  .agency-section {
    flex-direction: column;
    gap: 60px;
    padding: 72px var(--px) 36px;
  }

  .agency-headline {
    font-size: 31px;
    line-height: 39px;
    letter-spacing: -1.24px;
  }

  .agency-images {
    flex: none;
    width: 100%;
    min-width: 0;
    aspect-ratio: auto;
    height: 277px;
  }

  .agency-img-back {
    left: 15px;
    top: 13px;
    width: 89%;
    max-width: 321px;
    height: 214px;
  }

  .agency-img-front {
    width: 89%;
    max-width: 321px;
    height: 214px;
  }

  /* ── Our Work ── */
  .work-section {
    padding: 36px var(--px) 72px;
  }

  .work-header {
    width: 100%;
    padding-bottom: 44px;
  }

  /* work-subtitle sizes set above */

  .work-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 44px 0;
    max-width: none;
  }

  .work-item.fenchurch {
    justify-content: flex-start;
  }

  .work-info {
    order: 1;
    width: 100%;
    gap: 28px;
  }

  .work-img {
    order: 2;
    flex: none;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .work-name {
    font-size: 40px;
    line-height: 51px;
    letter-spacing: -1.6px;
  }

  .work-subtitle {
    font-size: 34px;
    line-height: 41px;
    letter-spacing: -1.36px;
  }

  /* ── Expertise ── */
  .expertise-section {
    padding: 72px var(--px);
    gap: 20px;
  }

  .expertise-heading {
    padding-bottom: 36px;
  }

  .expertise-heading h2 {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -1.12px;
  }

  .expertise-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 0;
  }

  .expertise-divider {
    display: none;
  }

  .expertise-name {
    flex: none;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.4px;
    white-space: normal;
  }

  .expertise-desc {
    font-size: 18px;
    max-width: none;
  }

  /* ── Testimonial ── */
  .testimonial-section {
    padding: 72px var(--px);
    gap: 40px;
  }

  .testimonial-quote {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -1.36px;
  }

  .testimonial-avatar {
    width: 72px;
    height: 72px;
  }

  .testimonial-name-block {
    gap: 12px;
  }

  .testimonial-name,
  .testimonial-role {
    font-size: 20px;
    letter-spacing: -0.8px;
    line-height: 1.2;
  }

  /* ── CTA ── */
  .cta-section {
    padding: 72px var(--px);
    gap: 36px;
  }

  .cta-headline {
    font-size: 56px;
    line-height: 0.95;
    letter-spacing: -1.12px;
    max-width: none;
  }

  .btn-dark {
    font-size: 16px;
    padding: 11px 33px;
    border-radius: 33px;
    gap: 10px;
  }

  .btn-dark .btn-arrow svg {
    width: 12px;
    height: 12px;
  }

  /* ── Footer ── */
  .footer {
    padding: 72px var(--px);
    gap: 56px;
  }

  .footer-mid {
    flex-direction: column;
    gap: 56px;
    align-items: flex-start;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    white-space: normal;
  }

  .footer-bottom .footer-links {
    order: 1;
  }

  .footer-bottom > p {
    order: 2;
  }

  .footer-copyright-break {
    display: inline;
  }
}

/* ═══════════════════════════════════════
   NORDVEO BRAND OVERRIDES
   Navy dominant, electric blue as sparing accent.
   Manrope typography, restrained radii.
═══════════════════════════════════════ */

/* ── Logo ── */
.brand-logo {
  width: auto;
  height: 42px;
  object-fit: contain;
  /* full-colour logo is navy+blue; surfaces here are navy, so render white */
  filter: brightness(0) invert(1);
}
.footer-brand-logo { height: 52px; }

/* ── Typography weights (Manrope) ── */
.hero-headline,
.agency-headline,
.work-title,
.work-name,
.expertise-heading h2,
.testimonial-quote,
.cta-headline { font-weight: 700; letter-spacing: -0.03em; }

.section-label,
.hero-eyebrow,
.work-tags,
.expertise-name,
.testimonial-label,
.footer-contact-label,
.nav-links a,
.btn-outline-white,
.btn-outline-hero,
.btn-yellow,
.btn-dark,
.work-link,
.legal-back-link { font-weight: 600; letter-spacing: -0.01em; }

.work-desc,
.expertise-desc,
.footer-tagline,
.testimonial-role { font-weight: 400; }

/* Eyebrow becomes a small blue accent label on the navy hero */
.hero-eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
}

/* ── Buttons: restrained radius, blue primary / navy secondary ── */
.btn-outline-white,
.btn-yellow,
.btn-outline-hero,
.btn-dark { border-radius: var(--radius); }

/* Primary CTA = electric blue */
.btn-yellow {
  background: var(--blue);
  color: var(--white);
}
.btn-yellow:hover { opacity: 1; background: #0847cc; }
.btn-yellow .btn-arrow svg path { fill: var(--white); }

/* Secondary CTA on light bg = navy */
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { opacity: 1; background: #0a2464; }

/* Outline buttons sit on the navy hero */
.btn-outline-white,
.btn-outline-hero { background: transparent; }
.btn-outline-white:hover,
.btn-outline-hero:hover { background: var(--white); color: var(--navy); }

/* ── Links / accents ── */
.nav-links a { color: rgba(255,255,255,0.72); }
.nav-links a:hover { color: var(--white); }

.work-link { color: var(--text); }
.work-link:hover { color: var(--blue); }
.work-link:hover .btn-arrow svg path { fill: var(--blue); }

.work-number { color: var(--blue); }

/* Blue accent on the emphasised words in the work subtitle */
.work-subtitle b { color: var(--blue); font-weight: 700; }

/* ── Surfaces ── */
.expertise-divider,
.footer-top,
.footer-bottom { border-color: var(--border); }

/* CTA banner: navy (not a full-bleed bright-blue wall), blue only on the button */
.cta-section { background: var(--navy); }
.cta-headline { color: var(--white); }
.cta-section .btn-dark { background: var(--blue); }
.cta-section .btn-dark:hover { background: #0847cc; }

/* Footer sits below the CTA — deeper navy so the two dark blocks read as separate */
.footer { background: #04122F; }

/* Testimonial name back to brand text colour */
.testimonial-name { color: var(--text); }

/* ═══════════════════════════════════════
   NORDVEO — RO HOMEPAGE SECTIONS
═══════════════════════════════════════ */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Nav right (lang switch + button) */
.nav-right { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.lang-switch .lang-active { color: #fff; }
.lang-switch a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.lang-switch a:hover { color: #fff; }

/* Hero subline */
.hero-sub {
  margin-top: clamp(20px, 2vw, 28px);
  max-width: 620px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
}
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════
   CUM LUCRĂM (#ce-facem) — editorial promise + 3-step process.
   Two horizontal layers: intro (eyebrow + headline|lead) and,
   below a hairline divider, three equal process columns.
═══════════════════════════════════════ */
.how-section { padding: clamp(72px, 11vw, 144px) var(--px); }

/* Top layer — the promise */
.how-eyebrow {
  display: inline-block;
  font-size: clamp(12px, 1vw, 14px); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.how-promise {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: end;
}
.how-headline {
  font-size: clamp(30px, 3.9vw, 50px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.03em; color: var(--text);
  max-width: 16ch;
}
.how-lead {
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6;
  color: var(--muted); max-width: 46ch; padding-bottom: 4px;
}

/* Divider — transition from promise into process */
.how-divider {
  border: 0; height: 1px; background: var(--border);
  margin: clamp(44px, 5.5vw, 80px) 0 clamp(40px, 5vw, 64px);
}

/* Bottom layer — three steps, one process (no cards) */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 72px);
}
.how-step { min-width: 0; }
/* restrained vertical separators between columns */
.how-step + .how-step { border-left: 1px solid var(--border); padding-left: clamp(28px, 4vw, 72px); }
.how-step-num {
  display: block;
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--blue); margin-bottom: 18px;
}
.how-step-title { font-size: clamp(19px, 1.5vw, 23px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); margin-bottom: 12px; max-width: 15ch; }
.how-step-desc { font-size: clamp(15px, 1.1vw, 16px); line-height: 1.55; color: var(--muted); max-width: 34ch; }

/* Serviciu complet lead */
.expertise-lead {
  margin-top: 18px;
  max-width: 560px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}

/* Case study placeholder */
.case-placeholder {
  margin-top: clamp(32px, 4vw, 56px);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 48px);
  text-align: center;
}
.case-placeholder-label { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.case-placeholder-text { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }

/* Cum lucram */
.process-section {
  background: var(--bg-light);
  padding: clamp(72px, 9vw, 130px) var(--px);
}
.process-heading h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.process-lead { margin-top: 16px; max-width: 560px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--muted); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
  margin-top: clamp(48px, 5vw, 72px);
}
.process-step { border-top: 2px solid var(--navy); padding-top: 20px; }
.process-num { display: block; font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.process-step-title { font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 8px; }
.process-step-desc { font-size: clamp(15px, 1.1vw, 16px); line-height: 1.5; color: var(--muted); }

/* Modelul de abonament */
.model-section {
  background: #04143B;   /* a touch deeper than the hero navy, to separate the two dark blocks */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(72px, 10vw, 140px) var(--px);
}
.model-inner { max-width: 820px; }
.model-title { font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.model-text { margin-top: 24px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: rgba(255,255,255,0.75); }
.model-points { list-style: none; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; }
.model-points li { position: relative; padding-left: 28px; font-size: clamp(15px, 1.2vw, 17px); font-weight: 500; color: #fff; }
.model-points li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue);
}

/* Pachete */
.plans-section { padding: clamp(72px, 9vw, 130px) var(--px); }
.plans-heading h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.plans-lead { margin-top: 16px; max-width: 560px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--muted); }
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
  margin-top: clamp(48px, 5vw, 72px);
}
.plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(28px, 2.6vw, 40px);
  display: flex; flex-direction: column;
}
.plan-card-featured { background: var(--navy); border-color: var(--navy); }
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  padding: 5px 12px; border-radius: 999px;
}
.plan-name { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.plan-card-featured .plan-name { color: #fff; }
.plan-desc { margin-top: 8px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; color: var(--muted); }
.plan-card-featured .plan-desc { color: rgba(255,255,255,0.72); }
.plan-price { margin-top: 24px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.plan-card-featured .plan-price { color: #fff; }
.plan-price em { font-size: 16px; font-weight: 500; font-style: normal; color: var(--muted); }
.plan-card-featured .plan-price em { color: rgba(255,255,255,0.6); }
.plan-price-tbd { color: var(--muted); }
.plan-points { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.plan-points li { position: relative; padding-left: 26px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.45; color: var(--text); }
.plan-card-featured .plan-points li { color: rgba(255,255,255,0.85); }
.plan-points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--blue);
}
.plan-cta {
  margin-top: auto; text-align: center;
  padding: 13px 20px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--navy); color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.plan-cta:hover { background: var(--navy); color: #fff; }
.plan-cta-primary, .plan-card-featured .plan-cta {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.plan-cta-primary:hover, .plan-card-featured .plan-cta:hover { background: #0847cc; color: #fff; }
.plans-custom {
  margin-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--border);
  padding-top: clamp(28px, 3vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.plans-custom p { font-size: clamp(16px, 1.3vw, 19px); color: var(--text); }
.plans-custom-link { font-size: clamp(15px, 1.2vw, 17px); font-weight: 600; color: var(--blue); white-space: nowrap; }
.plans-custom-link:hover { text-decoration: underline; }

/* Recomanda */
.referral-section { padding: clamp(56px, 7vw, 100px) var(--px); }
.referral-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  padding: clamp(36px, 4.5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
}
.referral-title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); max-width: 520px; }
.referral-desc { margin-top: 12px; font-size: clamp(16px, 1.25vw, 18px); color: var(--muted); }
.referral-form { display: flex; gap: 12px; flex: 1; min-width: 280px; max-width: 440px; }
.referral-input {
  flex: 1; min-width: 0;
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: #fff;
  font-family: 'Manrope', sans-serif; font-size: 16px; color: var(--text);
}
.referral-input:focus { outline: none; border-color: var(--blue); }
.referral-btn {
  padding: 14px 24px; border-radius: var(--radius);
  background: var(--navy); color: #fff;
  font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 600;
  white-space: nowrap; transition: background 0.2s;
}
.referral-btn:hover { background: var(--blue); }

/* CTA sub */
.cta-sub { margin-top: -8px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,0.7); text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .referral-form { max-width: none; }

  /* Cum lucrăm: promise stacks; steps stay in 3 columns while there's width */
  .how-promise { grid-template-columns: 1fr; gap: clamp(14px, 3vw, 20px); align-items: start; }
  .how-lead { padding-bottom: 0; }

  /* Pachete → swipe carousel */
  .plans-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    /* bleed to screen edges so cards can scroll full-width with a peek */
    margin-inline: calc(var(--px) * -1);
    padding: 4px var(--px) 12px;
    scrollbar-width: none;
  }
  .plans-grid::-webkit-scrollbar { display: none; }
  .plans-grid .plan-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
}
@media (max-width: 768px) {
  /* Cum lucrăm: stack steps, swap vertical separators for horizontal dividers */
  .how-steps { grid-template-columns: 1fr; gap: 0; }
  .how-step + .how-step {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--border);
    margin-top: clamp(24px, 6vw, 34px); padding-top: clamp(24px, 6vw, 34px);
  }
  .how-step-title, .how-step-desc, .how-headline { max-width: none; }
}
@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr; }
  .referral-form { flex-direction: column; }
}

/* ═══════════════════════════════════════
   MOBILE UX REFINEMENT (phone-first fixes)
   Scoped to ≤768 — desktop untouched.
═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* — Navbar: compact + stable. Constant bar + logo height so nothing
       resizes or jumps between the top and scrolled states.
       (bar height vars set in the ≤768 block further below) — */
  .nav-bar { gap: 12px; }
  /* two classes = higher specificity than the desktop `.is-scrolled .brand-logo` rule,
     so the logo stays one size on mobile in both states */
  .logo-img.brand-logo,
  .site-nav.is-scrolled .logo-img.brand-logo { width: auto; height: 24px; }
  .nav-right { gap: 10px; }
  /* logo + one CTA only — the language switch moves to the footer, where it
     has room to breathe instead of crowding a 390px-wide bar */
  .site-nav .lang-switch { display: none; }
  .lang-switch--footer { display: flex; }
  .btn-outline-white { padding: 8px 15px; font-size: 13.5px; border-radius: 20px; line-height: 1; }
  /* scrolled state: keep it a clean navy, not a washed-out translucent blue */
  .site-nav.is-scrolled { background: rgba(6, 26, 74, 0.94); }

  /* — Hero: full-width CTA (never overflows), microcopy hugs the button — */
  .hero-ctas { gap: 16px; }
  .hero-ctas .btn-yellow { width: 100%; justify-content: center; }
  .hero-note { margin-top: -32px; color: rgba(255, 255, 255, 0.62); }

  /* — Packages: stack full-width cards (no clipped-carousel look) — */
  .plans-grid {
    display: flex; flex-direction: column;
    grid-template-columns: none;
    overflow: visible;
    gap: 16px;
    margin-inline: 0;
    padding: 0;
    margin-top: clamp(40px, 8vw, 56px);
    scroll-snap-type: none;
  }
  .plans-grid .plan-card { flex: none; width: 100%; scroll-snap-align: none; }

  /* — No horizontal scroll at 320px: the referral form's 280px floor and the
       footer's 40px link gaps both outgrew the smallest phones — */
  .referral-form { min-width: 0; width: 100%; }
  .referral-input { min-width: 0; }
  .footer-links { gap: 18px; flex-wrap: wrap; }
}

/* ═══════════════════════════════════════
   STICKY NAV (ported from Origin&Works build)
   Fixed, transparent over hero; on scroll gets
   a translucent navy blur, border, and shrinks.
═══════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--px);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background .3s var(--ease),
              backdrop-filter .3s var(--ease), border-color .3s var(--ease);
}
.site-nav__inner { width: 100%; }
.site-nav.is-scrolled {
  height: var(--nav-h-scrolled);
  background: rgba(6, 26, 74, 0.82);            /* navy, translucent */
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.site-nav .brand-logo { transition: height .3s var(--ease); }
.site-nav.is-scrolled .brand-logo { height: 34px; }

/* underline-on-hover for nav links */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 0; background: var(--blue);
  transition: width .28s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

/* hero content clears the fixed nav */
.hero-section { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 96px)); }

@media (max-width: 768px) {
  /* Constant bar height on mobile — no shrink-on-scroll (avoids the height/logo jump) */
  :root { --nav-h: 60px; --nav-h-scrolled: 60px; }
  html { scroll-padding-top: 60px; }
}

/* ═══════════════════════════════════════
   JOURNEY — "Cum te găsesc clienții"
   3 stages: Te caută → Te descoperă → Acționează.
   Sticky browser mockup whose content transforms
   between stages (desktop); reflows to a vertical
   sequence of framed cards (mobile).
═══════════════════════════════════════ */
.journey {
  background: var(--white);
  padding: clamp(64px, 8vw, 110px) var(--px) clamp(64px, 8vw, 110px);
}

/* — Intro (tightened) — */
.journey__intro { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.journey__eyebrow {
  display: inline-block;
  font-size: clamp(12px, 1vw, 14px); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 16px;
}
.journey__title {
  font-size: clamp(30px, 4.4vw, 56px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; color: var(--text); max-width: 18ch;
}
.journey__lead {
  margin-top: 20px; font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6; color: var(--muted); max-width: 60ch;
}

/* — Stage: sticky viz + scrolling steps — */
.journey__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.journey__viz { position: sticky; top: calc(var(--nav-h-scrolled) + 24px); }

/* — Browser frame — */
.browser {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(6, 26, 74, 0.28); overflow: hidden;
}
.browser__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-light);
}
.browser__dots { display: inline-flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #d7deea; }
.browser__url {
  display: flex; align-items: center; gap: 8px; flex: 1;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 12px; color: var(--muted); font-size: 13px;
}
.browser__lock { color: #9aa6bd; flex-shrink: 0; }
.browser__url-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.browser__screens { position: relative; aspect-ratio: 4 / 3.55; background: var(--white); }

/* — Screens: cross-fade layers — */
.screen {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none; padding: clamp(14px, 2.2vw, 24px); overflow: hidden;
}
.screen.is-active { opacity: 1; transform: none; }

/* — Demo cursor: moves + "clicks" during the animated steps — */
.demo-cursor {
  position: absolute; top: 0; left: 0; width: 22px; height: 22px;
  margin: -2px 0 0 -2px; pointer-events: none; z-index: 20; opacity: 0;
  transform: translate(24px, 24px);
  transition: transform .55s cubic-bezier(.5, .15, .2, 1), opacity .3s var(--ease);
  will-change: transform;
}
.demo-cursor.is-on { opacity: 1; }
.demo-cursor svg { display: block; transition: transform .12s var(--ease); filter: drop-shadow(0 2px 4px rgba(6,26,74,.35)); }
.demo-cursor.press svg { transform: scale(.8); }
.demo-cursor.click::after {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue);
  transform: translate(-50%, -50%) scale(.4); opacity: .9;
  animation: demoClick .5s var(--ease) forwards;
}
@keyframes demoClick { to { transform: translate(-50%, -50%) scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .demo-cursor { display: none; } }

/* ---------- 01 · Search ---------- */
.srch { height: 100%; display: flex; flex-direction: column; gap: 16px; }
.srch__field {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px;
  box-shadow: 0 6px 18px -12px rgba(6,26,74,0.25);
}
.srch__icon { color: var(--muted); flex-shrink: 0; }
.srch__text { font-size: 16px; color: var(--text); font-weight: 500; }
.srch__caret { width: 2px; height: 20px; background: var(--blue); animation: jCaret 1s steps(1) infinite; }
@keyframes jCaret { 50% { opacity: 0; } }
.screen--search:not(.is-active) .srch__caret { animation: none; opacity: 0; }

/* Phase A: only the search bar shows (centered); map + results appear after the query settles */
.screen--search:not(.show-results) .srch__body,
.screen--search:not(.show-results) .srch__organic { display: none; }
.srch--anim .srch__field { transition: transform .6s var(--ease); }
.srch__field { will-change: transform; }
/* cursor "hovers" a result while browsing */
.result.is-hover { background: var(--bg-light); border-color: #cdd8ea; }

.srch__body { display: grid; grid-template-columns: 0.72fr 1.6fr; gap: 12px; flex: 1; min-height: 0; }
.srch__map {
  position: relative; border-radius: 10px; border: 1px solid var(--border);
  background:
    linear-gradient(0deg, rgba(10,92,255,0.04), rgba(10,92,255,0.04)),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(6,26,74,0.05) 26px 27px),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(6,26,74,0.05) 26px 27px),
    var(--bg-light);
}
.map__pin { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #b9c4d8; box-shadow: 0 4px 8px -3px rgba(6,26,74,.4); }
.map__pin::after { content:""; position:absolute; inset: 5px; border-radius:50%; background: var(--white); }
.map__pin--1 { top: 30%; left: 24%; }
.map__pin--2 { top: 52%; left: 56%; }
.map__pin--3 { top: 68%; left: 32%; }
.map__pin.is-selected { background: var(--blue); width: 20px; height: 20px; z-index: 2; }

.srch__results { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.result {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; background: var(--white);
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  transition-delay: calc(var(--i) * .12s + .2s);
}
.screen--search.show-results .result { opacity: 1; transform: none; }
.result.is-selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 12px 24px -16px rgba(10,92,255,.5); }
.result__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.result__name { font-size: 14.5px; font-weight: 600; color: var(--text); }
.result__meta { font-size: 12px; color: var(--text); }
.result__muted { color: var(--muted); font-weight: 400; }
.result__actions { display: flex; gap: 6px; flex-shrink: 0; }
.chip { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.chip--primary { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* organic web result — appears briefly as another discovery path */
.srch__organic { flex-shrink: 0; }
.organic {
  border-top: 1px solid var(--border); padding-top: 11px;
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.screen--search.show-organic .organic { opacity: 1; transform: none; }
.organic__url { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.organic__fav { width: 14px; height: 14px; border-radius: 3px; background: var(--navy); position: relative; flex-shrink: 0; }
.organic__fav::after { content: ""; position: absolute; inset: 3px 3px auto 3px; height: 2px; border-radius: 1px; background: var(--blue); }
.organic__title { font-size: 15px; font-weight: 600; color: var(--blue); line-height: 1.25; }
.organic__snippet { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ---------- 02 · Aurora website (polished) ---------- */
.asite { height: 100%; display: flex; flex-direction: column; gap: clamp(9px, 1.1vw, 13px); }
.asite__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.asite__brand { display: flex; align-items: center; gap: 7px; font-weight: 800; color: var(--navy); font-size: 15px; letter-spacing: -.01em; }
.asite__logo { width: 18px; height: 18px; border-radius: 5px; background: var(--navy); position: relative; }
.asite__logo::after { content:""; position:absolute; inset: 4px 4px auto 4px; height: 3px; border-radius: 2px; background: var(--blue); }
.asite__menu { display: flex; gap: 13px; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.asite__navcta { background: var(--blue); color: #fff; font-weight: 600; font-size: 11.5px; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }

.asite__hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.asite__heroText { display: flex; flex-direction: column; gap: 7px; }
.asite__eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.asite__title { font-size: clamp(17px, 1.9vw, 23px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.asite__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text); }
.asite__stars { color: #f5b301; letter-spacing: 1px; font-size: 12px; }
.asite__rating b { font-weight: 800; }
.asite__muted { color: var(--muted); }
.asite__cta { align-self: flex-start; margin-top: 2px; background: var(--blue); color: #fff; font-weight: 700; font-size: 12.5px; padding: 9px 15px; border-radius: 9px; }
.asite__review { background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.asite__quote { font-size: 11.5px; color: var(--text); line-height: 1.4; font-style: italic; }
.asite__reviewer { font-size: 10.5px; color: var(--muted); font-weight: 600; }

.asite__services { display: flex; flex-direction: column; gap: 8px; }
.asite__svcHead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.asite__svcTitle { font-size: 11px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .05em; }
.asite__searched { font-size: 11px; color: var(--muted); }
.asite__searched b { color: var(--blue); }
.asite__svcGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.asvc { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--border); border-radius: 9px; padding: 8px 11px; }
.asvc__name { font-size: 12px; font-weight: 600; color: var(--text); }
.asvc__price { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.asvc--searched { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: rgba(10,92,255,.04); }
.asvc--extra { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * .14s + .35s); }
.screen--site.is-active .asvc--extra { opacity: 1; transform: none; }

.asite__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 10px; flex-wrap: wrap; }
.asite__team { display: flex; align-items: center; gap: 9px; }
.asite__avatars { display: flex; }
.asite__avatars i { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-left: -7px; border: 2px solid #fff; }
.asite__avatars i:first-child { margin-left: 0; }
.asite__avatars i::before { content: attr(data-a); }
.asite__footMeta { font-size: 10.5px; color: var(--muted); }
.asite__trust { display: flex; flex-wrap: wrap; gap: 5px; }
.tchk { font-size: 10px; font-weight: 700; color: var(--blue); background: rgba(10,92,255,.08); border-radius: 999px; padding: 4px 8px; opacity: 0; transform: translateY(5px); transition: opacity .35s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i) * .08s + .55s); }
.screen--site.is-active .tchk { opacity: 1; transform: none; }

/* ---------- 03 · Booking + owner notification ---------- */
.book2 { height: 100%; position: relative; }
.book2__flow { height: 100%; display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 16px); justify-content: center; transition: opacity .4s var(--ease); }
.bk-group { display: flex; flex-direction: column; gap: 7px; }
.bk-label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.bk-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-opt { border: 1px solid var(--border); border-radius: 8px; padding: 8px 13px; font-size: 12.5px; font-weight: 600; color: var(--text); transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.bk-days { display: flex; gap: 7px; }
.bk-day { display: flex; flex-direction: column; align-items: center; gap: 1px; border: 1px solid var(--border); border-radius: 9px; padding: 7px 0; flex: 1; transition: border-color .3s var(--ease), background .3s var(--ease); }
.bk-day i { font-size: 10px; color: var(--muted); font-style: normal; text-transform: uppercase; }
.bk-day b { font-size: 15px; color: var(--text); font-weight: 700; }
.bk-times { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-time { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; color: var(--text); transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.bk-opt.is-picked, .bk-time.is-picked { border-color: var(--blue); background: var(--blue); color: #fff; }
.bk-day.is-picked { border-color: var(--blue); background: var(--blue); }
.bk-day.is-picked i { color: rgba(255,255,255,.85); }
.bk-day.is-picked b { color: #fff; }
.bk-confirm { align-self: flex-start; margin-top: 2px; background: var(--blue); color: #fff; font-weight: 700; font-size: 13px; padding: 11px 18px; border-radius: 9px; opacity: .45; transition: opacity .3s var(--ease), transform .15s var(--ease); }
.bk-confirm.is-ready { opacity: 1; }
.bk-confirm.is-press { transform: scale(.96); }

.book2__confirm {
  position: absolute; inset: 0; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; text-align: center;
  opacity: 0; transform: scale(.98); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.book2.is-confirmed .book2__flow { opacity: 0; }
.book2.is-confirmed .book2__confirm { opacity: 1; transform: none; }
.book__check { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.book__done { font-size: 19px; font-weight: 800; color: var(--text); }
.book__detail { font-size: 13px; color: var(--muted); }

.owner__notif {
  margin-top: 10px; width: min(100%, 320px);
  display: flex; align-items: center; gap: 11px;
  background: var(--white); border: 1px solid var(--border); border-radius: 13px;
  padding: 11px 13px; box-shadow: 0 18px 36px -22px rgba(6,26,74,.35);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.book2.is-confirmed .owner__notif { opacity: 1; transform: none; transition-delay: .45s; }
.owner__badge { width: 36px; height: 36px; border-radius: 10px; background: rgba(10,92,255,.10); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.owner__body { display: flex; flex-direction: column; gap: 1px; text-align: left; margin-right: auto; }
.owner__title { font-size: 13.5px; font-weight: 700; color: var(--text); }
.owner__meta { font-size: 12px; color: var(--muted); }
.owner__time { font-size: 11px; color: var(--muted); align-self: flex-start; }
.book2__line { font-size: 12px; color: var(--muted); max-width: 34ch; margin-top: 4px; }

/* — Steps (scrolly captions) — */
.journey__steps { display: flex; flex-direction: column; }
.step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .45s var(--ease); }
.step:first-child { min-height: 92vh; }
.step:last-child { min-height: 88vh; }
.step.is-active { opacity: 1; }
.step__num { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.step__title { margin-top: 10px; font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.step__text { margin-top: 14px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); max-width: 44ch; }

/* ═══════════════════════════════════════
   REFERRAL PAGE (recomanda.html)
   Reuses brand tokens + the .reveal system.
   Navy hero so the fixed white nav stays legible
   at the top, exactly like the homepage hero.
═══════════════════════════════════════ */

/* Homepage referral panel — two columns (pitch + stat card), inset on white. */
.referral-card {
  position: relative; overflow: hidden;
  max-width: 1120px; margin: 0 auto;
  background: var(--navy); border-radius: 28px;
  padding: clamp(32px, 4.5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.referral-watermark {
  position: absolute; top: 50%; left: 3%; transform: translateY(-50%);
  width: clamp(320px, 42vw, 560px); height: auto;
  filter: brightness(0) invert(1); opacity: 0.10;
  pointer-events: none; z-index: 0;
}
.referral-left { position: relative; z-index: 1; }
.referral-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7ea6ff; }
.referral-heading { margin-top: 16px; font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.referral-copy { margin-top: 18px; max-width: 42ch; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.referral-copy strong { color: #fff; font-weight: 700; }
.referral-card-btn { margin-top: 28px; text-decoration: none; }

.referral-stat { position: relative; z-index: 1; background: #fff; border-radius: 20px; padding: clamp(26px, 3vw, 40px); }
.referral-stat__amount { display: block; color: var(--blue); font-size: clamp(34px, 4vw, 54px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.referral-stat__label { margin-top: 12px; color: var(--text); font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; line-height: 1.35; }
.referral-stat__divider { height: 1px; border: none; background: var(--border); margin: clamp(20px, 3vw, 28px) 0; }

.referral-flow { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0; }
.referral-flow__step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.referral-flow__step:not(:first-child)::before { content: ""; position: absolute; top: 18px; left: -50%; width: 100%; height: 2px; background: rgba(10, 92, 255, 0.22); z-index: 0; }
.referral-flow__dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.referral-flow__label { font-size: 12.5px; font-weight: 600; color: var(--text); max-width: 12ch; line-height: 1.3; }

@media (max-width: 820px) {
  .referral-card { grid-template-columns: 1fr; }
  .referral-watermark { display: none; }
}

/* — Intro / hero — */
.rfp-hero { background: var(--navy); padding: clamp(124px, 16vh, 196px) var(--px) clamp(48px, 7vw, 84px); }
.rfp-hero__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.rfp-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7ea6ff; }
.rfp-title { margin-top: 18px; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; color: #fff; }
.rfp-lead { margin: 20px auto 0; max-width: 620px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.rfp-lead strong { color: #fff; font-weight: 700; }
.rfp-hero__cta { margin-top: 30px; }
.rfp-note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

/* — Section headings shared on the page — */
.rfp-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.rfp-h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }

/* — How it works — */
.rfp-steps-section { padding: clamp(56px, 7vw, 96px) var(--px); }
.rfp-steps-head { max-width: var(--content-max); margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.rfp-steps { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.rfp-step { border-top: 2px solid var(--navy); padding-top: 20px; }
.rfp-step__num { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; }
.rfp-step__title { margin-top: 12px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.rfp-step__text { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* — Reward band — */
.rfp-reward { padding: clamp(56px, 7vw, 96px) var(--px); background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rfp-reward__inner { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.rfp-reward__lead { margin-top: 12px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--muted); max-width: 42ch; }
.rfp-tiers { display: flex; flex-direction: column; gap: 12px; }
.rfp-tier { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.rfp-tier--mid { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.rfp-tier__name { font-size: 16px; font-weight: 600; color: var(--text); }
.rfp-tier__amount { font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--navy); }
.rfp-tier__amount em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 4px; }

/* — Signup form — */
.rfp-form-section { padding: clamp(56px, 7vw, 96px) var(--px); }
.rfp-form-card { max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(6, 26, 74, 0.35); }
.rfp-form-sub { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.rfp-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.rfp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rfp-field { display: flex; flex-direction: column; gap: 7px; }
.rfp-label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.rfp-input { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); font-family: 'Manrope', sans-serif; font-size: 16px; color: var(--text); }
.rfp-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 92, 255, 0.12); }
.rfp-input.is-invalid { border-color: #c02626; }
.rfp-input.is-invalid:focus { border-color: #c02626; box-shadow: 0 0 0 3px rgba(192, 38, 38, 0.14); }
.rfp-field-error { margin-top: 6px; font-size: 13px; color: #c02626; }
.rfp-radios { display: flex; gap: 10px; flex-wrap: wrap; }
.rfp-radio { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; color: var(--text); transition: border-color 0.2s, background 0.2s; }
.rfp-radio input { accent-color: var(--blue); margin: 0; }
.rfp-radio:has(input:checked) { border-color: var(--blue); background: rgba(10, 92, 255, 0.05); }
.rfp-submit { margin-top: 6px; padding: 15px 24px; border: none; border-radius: var(--radius); background: var(--navy); color: #fff; font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; transition: background 0.2s; }
.rfp-submit:hover { background: var(--blue); }
.rfp-error { margin-top: 4px; font-size: 14px; color: #c02626; }
.rfp-warning { margin-top: 2px; padding: 12px 14px; background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; line-height: 1.5; color: var(--muted); }
.rfp-warning a { color: var(--blue); font-weight: 600; }

/* — Success state (hidden until JS reveals it; [hidden] must beat display:flex) — */
.rfp-result[hidden] { display: none; }
.rfp-result { margin-top: 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rfp-result__check { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.rfp-result__title { font-size: 20px; font-weight: 800; color: var(--text); }
.rfp-result__sub { font-size: 14px; color: var(--muted); max-width: 42ch; }
.rfp-linkrow { display: flex; gap: 8px; width: 100%; margin-top: 6px; }
.rfp-link { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-light); font-family: 'Manrope', sans-serif; font-size: 14px; color: var(--text); }
.rfp-copy { padding: 12px 18px; border: none; border-radius: var(--radius); background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background 0.2s; }
.rfp-copy:hover { background: var(--blue); }
.rfp-copy.is-copied { background: #0a8f4f; }
.rfp-whatsapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 15px; transition: border-color 0.2s, color 0.2s; }
.rfp-whatsapp:hover { border-color: #25d366; color: #128c40; }
.rfp-whatsapp svg { color: #25d366; }
.rfp-terms { margin-top: 20px; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* — Responsive — */
@media (max-width: 860px) {
  .rfp-steps { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 28px); }
  .rfp-reward__inner { grid-template-columns: 1fr; }
}

/* — Summary — */
.journey__summary { margin-top: clamp(56px, 7vw, 96px); }
.jsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.jsum__item { padding-top: 22px; border-top: 2px solid var(--border); }
.jsum__accent { display: block; width: 40px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 18px; margin-top: -23px; }
.jsum__title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.jsum__text { margin-top: 10px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; color: var(--muted); }
.journey__closing { margin-top: clamp(44px, 5.5vw, 76px); font-size: clamp(24px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.14; color: var(--text); max-width: 22ch; }

/* ═══ TABLET / SMALL LAPTOP (769–1280): frame pinned above the captions ═══
   (no room for two columns, so the browser frame stacks on top and stays
   sticky while the step captions scroll under it) */
@media (min-width: 769px) and (max-width: 1280px) {
  .journey__stage {
    display: block;
    --jframe: 54vh;                        /* total height of the browser frame */
    --jtop: calc(var(--nav-h-scrolled) + 8px);
  }

  .journey__viz {
    position: sticky; top: var(--jtop); z-index: 3;
    background: var(--white); padding-bottom: 14px;
  }
  .browser__screens { aspect-ratio: auto; height: calc(var(--jframe) - 50px); }

  /* caption pins in the band under the frame for as long as its step lasts */
  .step { min-height: 52vh; display: block; opacity: 1; }
  .step:first-child { min-height: 44vh; }
  .step:last-child { min-height: 60vh; }
  .step__inner {
    position: sticky; top: calc(var(--jtop) + var(--jframe) + 34px);
    opacity: .55; transition: opacity .45s var(--ease);
  }
  .step.is-active .step__inner { opacity: 1; }

  .jsum { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══ PHONE (≤768): segmented sticky, fullsize ═══
   ONE pinned composition fills the viewport (100svh − nav): caption
   (number/title/desc) on top, the browser frame fills the rest, a subtle
   01·02·03 progress underneath. The three .step blocks become invisible
   scroll-segments; JS (journey--msticky + syncFromScroll) maps scroll
   progress across the pinned range to the active stage. Native scroll —
   the story advances as you scroll, and releases into the summary. */
@media (max-width: 768px) {
  .journey { padding-inline: 16px; }
  .journey__intro { margin-bottom: 18px; }
  .journey__lead { margin-top: 14px; font-size: 16px; }

  /* ── Segmented sticky: ONE pinned composition, 3 scroll-segments.
        Caption (number/title/desc) on top, browser in the middle, the
        01·02·03 timeline underneath. The composition is content-sized —
        it deliberately does not fill the viewport, so the page around it
        still breathes and the release into the summary reads naturally.
        The .step blocks are invisible scroll-segments that drive setActive(). ── */
  .journey--msticky .journey__stage { display: block; position: relative; }
  .journey--msticky .journey__viz {
    position: sticky; top: calc(var(--nav-h) + 8px); z-index: 2;
    display: flex; flex-direction: column; justify-content: center; gap: 13px;
    /* content-sized, but centred in whatever is left of the viewport so the
       pinned stage never leaves a dead band under the timeline */
    min-height: calc(100vh - var(--nav-h) - 20px);
    min-height: calc(100svh - var(--nav-h) - 20px);
    background: var(--white); padding: 2px 0 10px;
  }

  /* — "01 —— DE LA CĂUTARE LA ALEGERE" — */
  .jm-eyebrow { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
  .jm-eyebrow__num { font-size: 15px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
  .jm-eyebrow i { width: 26px; height: 2px; border-radius: 1px; background: var(--blue); opacity: .55; }
  .jm-eyebrow__label {
    font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--muted);   /* 5.3:1 on white */
  }
  .jm-cap .step__num { display: none; }         /* the number lives in the eyebrow now */
  .jm-cap .step__title { text-wrap: balance; }  /* no one-word last line */
  .jm-cap .step__text { line-height: 1.55; text-wrap: pretty; }
  /* copy settles a beat after the headline — same fade, just offset */
  .jm-cap .step__inner.is-active .step__text { transition-delay: .06s; }

  /* Caption on top, crossfaded per stage. The three captions stack in one
     grid cell, so the band is always exactly as tall as the longest of them —
     no reserved magic height, and no copy spilling onto the frame. */
  .jm-cap { display: grid; flex: 0 0 auto; }
  .jm-cap .step__inner {
    grid-area: 1 / 1; align-self: start;
    opacity: 0; transform: translateY(10px);
    transition: opacity .38s var(--ease), transform .38s var(--ease);
    pointer-events: none;
  }
  .jm-cap .step__inner.is-active { opacity: 1; transform: none; }
  .jm-cap .step__num { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
  .jm-cap .step__title { margin-top: 7px; font-size: clamp(21px, 5.8vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.16; color: var(--text); }
  .jm-cap .step__text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 40ch; }

  /* Browser: a tinted card holding a white "page", so the demo reads as a
     contained device shot rather than a second website taking over. */
  .journey--msticky .journey__viz .browser {
    flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column;
    border-radius: 18px; border-color: transparent; box-shadow: none;
    background: var(--bg-light); padding: 10px;
    max-height: 440px;                             /* keeps the demo from dominating */
  }
  .journey--msticky .browser__bar {
    flex: 0 0 auto; padding: 2px 4px 10px; gap: 8px;
    border-bottom: 0; background: none;
  }
  .journey--msticky .browser__dots { display: none; }
  .journey--msticky .browser__url {
    padding: 0; font-size: 12.5px; border: 0; background: none; color: var(--text);
  }
  /* the kebab a mobile browser puts at the end of its address bar */
  .journey--msticky .browser__bar::after {
    content: ""; flex: 0 0 auto; width: 3px; height: 15px; border-radius: 2px;
    background: radial-gradient(circle, #b9c4d8 1.4px, transparent 1.5px) 0 0 / 3px 5px repeat-y;
  }
  .journey--msticky .browser__screens { border-radius: 12px; background: var(--white); }
  /* The frame takes whatever height the caption, timeline and note leave over,
     so the composition always fills the pinned viewport exactly — no clamped
     guess per screen size, no dead band, no clipped mockup. */
  .journey--msticky .browser__screens {
    flex: 1 1 auto; aspect-ratio: auto; height: auto; min-height: 236px;
  }
  .journey--msticky .screen {
    padding: 13px;
    transform: translateY(10px);
    transition: opacity .38s var(--ease), transform .38s var(--ease);
  }
  .journey--msticky .screen.is-active { transform: none; }

  /* — 01 · 02 · 03 timeline: numbers over a hairline track with a stage dot at
       each third and a knob riding the exact scroll position. Both the fill and
       the knob read --jp (0 → 1), which main.js sets straight from scroll, so
       nothing here is animated on a timer. — */
  .jm-prog { flex: 0 0 auto; display: flex; flex-direction: column; gap: 11px; --jp: 0; }
  .jm-prog__nums { display: flex; justify-content: space-between; }
  /* inactive numbers stay legible (muted = 5.3:1); the active one changes
     weight as well as colour, so it never relies on hue alone */
  .jm-prog__nums span {
    font-size: 13px; font-weight: 600; color: var(--muted);
    font-variant-numeric: tabular-nums;
    transition: color .3s var(--ease);
  }
  .jm-prog__nums span.is-on { color: var(--blue); font-weight: 800; }
  .jm-prog__track {
    position: relative; height: 3px; border-radius: 999px;
    background: #e3e9f2; margin: 5px 5px 0;
  }
  .jm-prog__fill {
    display: block; height: 100%; border-radius: inherit;
    background: var(--blue);
    transform: scaleX(var(--jp)); transform-origin: left center;
    will-change: transform;
  }
  /* single midpoint marker: the halfway tick of the story */
  .jm-prog__dot {
    position: absolute; top: 50%; left: 50%;
    width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
    border-radius: 50%; background: #d5dde9;
    transition: background-color .3s var(--ease);
  }
  .jm-prog__dot.is-on { background: var(--blue); }
  /* knob rides on a transform (composited) rather than `left`, so dragging the
     page doesn't relayout the track on every frame */
  .jm-prog__knob {
    position: absolute; top: 50%; left: 0;
    width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px;
    border-radius: 50%; background: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 92, 255, .12);
    transform: translateX(calc(var(--jp) * var(--jtrackw, 0px)));
    will-change: transform;
  }

  /* the three steps: invisible scroll-segments (drive the pinned composition).
     ~half a viewport each = one deliberate swipe per stage, and the pinned
     stretch ends as soon as stage 03 has been read. */
  .journey--msticky .journey__steps { position: relative; z-index: 1; }
  .journey--msticky .step {
    display: block; opacity: 0; pointer-events: none; margin: 0;
    min-height: 50vh; min-height: 50svh;
  }
  .journey--msticky .step:last-child { min-height: 56vh; min-height: 56svh; }

  /* touch: never show the desktop demo cursor on a phone */
  .journey--msticky .demo-cursor { display: none !important; }

  /* ---------- 01 · Search: the result list is the whole story ---------- */
  .srch { gap: 12px; justify-content: center; }   /* centred: no dead band under the list */
  .srch__field { padding: 10px 13px; }
  .srch__text { font-size: 15px; }
  /* don't let the list stretch to fill the frame — centring it reads better
     than a top-aligned list with a void under it */
  .srch__body { grid-template-columns: 1fr; flex: 0 0 auto; }
  .srch__map { display: none; }                    /* decorative on a phone */
  .srch__organic { display: none; }                /* one discovery path is enough */
  .srch__results { overflow: hidden; gap: 8px; }
  /* result rows read like a mobile search list: name, rating, chevron —
     and only the one that matters keeps its "Site" pill */
  .result { position: relative; padding: 10px 30px 10px 12px; }
  .result__name { font-size: 13.5px; }
  .result__main { gap: 2px; }
  .result__main .result__meta:last-child { display: none; }   /* drop opening hours */
  .result .chip:not(.chip--primary) { display: none; }        /* drop "Sună" */
  .result.is-selected { background: rgba(10, 92, 255, .05); }
  .result::after {
    content: ""; position: absolute; right: 13px; top: 50%;
    width: 7px; height: 7px; margin-top: -4px;
    border-right: 2px solid #c2ccdb; border-top: 2px solid #c2ccdb;
    transform: rotate(45deg);
  }
  .srch__field::after {
    content: "✕"; margin-left: auto; font-size: 12px; color: #9aa6bd; line-height: 1;
  }

  /* — closing note under the timeline — */
  .jm-tip {
    flex: 0 0 auto; display: flex; align-items: center; gap: 12px;
    font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0;
    text-wrap: pretty;
  }
  .jm-tip__icon {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 92, 255, .08); color: var(--blue);
  }
  .jm-tip > span:last-child { border-left: 1px solid var(--border); padding-left: 12px; }

  /* ---------- 02 · Aurora site: brand, promise, proof, one action ---------- */
  .asite { gap: 11px; }
  .asite__nav { padding-bottom: 9px; }
  .asite__menu, .asite__navcta { display: none; }  /* no second CTA, no fake menu */
  .asite__hero { grid-template-columns: 1fr; gap: 11px; }
  .asite__title { font-size: 18px; }
  .asite__review { padding: 10px 11px; }
  .asite__quote { font-size: 12px; }
  .asite__svcHead { display: none; }
  .asite__svcGrid { grid-template-columns: 1fr; }
  .asvc--extra { display: none; }                  /* one service reads as "services" */
  .asite__foot { display: none; }

  /* ---------- 03 · Booking: date, time, confirm ---------- */
  .book2__flow { gap: 13px; }
  .bk-group[data-bk="service"] { display: none; }  /* the service came from step 02 */
  .bk-opts, .bk-times { gap: 7px; }
  .bk-confirm { align-self: stretch; text-align: center; padding: 11px 16px; }
  .book__check { width: 44px; height: 44px; }
  .book__done { font-size: 17px; }
  .book__detail { font-size: 12px; }
  .owner__notif { margin-top: 8px; padding: 10px 11px; }
  .book2__line { font-size: 11.5px; }

  .journey__summary { margin-top: 48px; }
  .jsum { grid-template-columns: 1fr; gap: 28px; }
  .journey__closing { margin-top: 40px; font-size: 26px; max-width: 100%; }
}

/* Smallest phones (iPhone SE and friends): the headline wraps to two lines,
   so buy the height back inside the mockup rather than clipping it. */
@media (max-width: 374px) {
  .asite { gap: 9px; }
  /* the URL bar already reads aurora-recuperare.ro — the brand row is the
     first thing that can go when every pixel counts */
  .asite__nav { display: none; }
  .asite__title { font-size: 16.5px; }
  .asite__review { padding: 9px 10px; }
  .asite__quote { font-size: 11.5px; }
  .asite__cta { padding: 8px 13px; font-size: 12px; }
  .jm-cap .step__title { font-size: 22px; }
  .jm-cap .step__text { font-size: 14.5px; }
}

/* Short phones (landscape-ish heights, older 4.7" screens): same trim, driven
   by height instead of width, so the caption always stays above the fold. */
@media (max-width: 768px) and (max-height: 700px) {
  .asite__nav { display: none; }
  /* short screens: the supporting note is the first thing to go, so caption,
     frame and timeline all stay above the fold */
  .jm-tip { display: none; }
}
@media (max-width: 768px) and (max-height: 600px) {
  /* Short viewports (4"–4.7" phones): trim everything a little so caption,
     frame and timeline all still fit above the fold while pinned. */
  .journey--msticky .journey__viz { gap: 10px; }
  .jm-cap .step__title { font-size: 19px; margin-top: 4px; }
  .jm-cap .step__text { font-size: 13.5px; margin-top: 6px; }
  .jm-prog { gap: 7px; }
  .journey--msticky .browser__screens { min-height: 220px; }
  .journey--msticky .screen { padding: 10px; }
  .srch { gap: 9px; }
  .srch__results { gap: 6px; }
  .srch__results .result:last-child { display: none; }   /* two hits still make the point */
  .result { padding: 8px 28px 8px 10px; }
  .asite { gap: 7px; }
  .asite__review { display: none; }              /* rating + service row carry the proof */
  /* booking stage: the tallest of the three */
  .book2__flow { gap: 10px; }
  .bk-day { padding: 6px 0; }
  .bk-confirm { padding: 9px 14px; }
  .book2__line { display: none; }
  .owner__notif { margin-top: 6px; }
}

/* A trailing mouse pointer is meaningless on touch — the stages still play */
@media (pointer: coarse) { .demo-cursor { display: none; } }

/* — Reduced motion — */
@media (prefers-reduced-motion: reduce) {
  .screen, .result, .asvc--extra, .tchk, .owner__notif, .book2__confirm, .book2__flow,
  .bk-opt, .bk-time, .bk-day, .step, .step__inner,
  .jm-prog__dot, .jm-prog__nums span { transition: none !important; }
  .screen { transform: none !important; }
  .journey--msticky .step__inner { transform: none !important; }
  .srch__caret { animation: none; opacity: 0; }
}
