/* ===================================================
   Mindset Pszichológia – Fő stíluslap
   =================================================== */

/* ---------- Reset & Custom Properties ---------- */
:root {
  --color-bg:         #F5F3FA;
  --color-surface:    #FFFFFF;
  --color-primary:    #4A2D8C;   /* élénk lila – a bannerek domináns színe */
  --color-primary-l:  #5E3FA6;
  --color-primary-xl: #EFEBF7;
  --color-accent:     #2EC4A5;   /* élénk zöld-teal – a banner kiemelő színe */
  --color-accent-l:   #5DD9C4;
  --color-dark:       #1A1040;
  --color-text:       #2A2A2A;
  --color-text-muted: #6B6B6B;
  --color-border:     #DDD8E8;

  --font-heading: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --max-w:    1200px;
  --gutter:   20px;
  --radius:   14px;
  --radius-sm:8px;
  --shadow:   0 2px 16px rgba(0,0,0,.06);
  --shadow-lg:0 8px 32px rgba(0,0,0,.10);
  --transition: .3s ease;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-l); }
ul { list-style: none; }
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2.15rem,5vw,3.5rem); }
h2 { font-size: clamp(1.75rem,3.5vw,2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 2.4rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
  justify-content: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-l);
  box-shadow: 0 6px 20px rgba(46,196,165,.35);
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--color-accent-l);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--color-primary);
}
.btn-white {
  background: #fff;
  color: var(--color-primary);
}
.btn-white:hover {
  background: var(--color-primary-xl);
}

.cta-pair {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.logo-img {
  height: 72px;
  width: auto;
}

.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  padding: .3rem 0;
}
.nav-links a:hover { color: var(--color-primary); }

.nav-cta .btn { font-size: 1.05rem; padding: .7rem 1.7rem; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px; height: 36px;
  position: relative;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  position: absolute;
  left: 6px;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  /* Start below the 90px header and scroll on short screens; the auto margins centre the links when they fit */
  padding: 96px 1rem 1.5rem;
  overflow-y: auto;
}
.mobile-nav > :first-child { margin-top: auto; }
.mobile-nav > :last-child { margin-bottom: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-text);
  padding: .5rem 1rem;
}
.mobile-nav a:hover { color: var(--color-primary); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(160deg,
      #120B2E 0%,
      #2A1757 30%,
      #4A2D8C 60%,
      #6B3FA0 85%,
      #7E4DB3 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(46,196,165,.10) 0%, rgba(74,45,140,.08) 40%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(126,77,179,.15) 0%, transparent 60%);
  border-radius: 50%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5.5vw, 4rem);
  margin-bottom: 1.2rem;
  letter-spacing: .02em;
}
.hero p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,.85);
  font-size: 1.35rem;
  line-height: 1.7;
}
.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 3.5rem;
}
.hero-logos .client-logo {
  height: 46px;
  padding: .4rem .75rem;
}
.hero-logos .client-logo img { max-width: 110px; }
.hero-logos .client-logo--wide img { max-width: 150px; }

/* ---------- Hero Binocular Variant ---------- */
.hero--bino {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 75vh;
  padding: 3rem 0 3rem;
}

.hero--bino h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: var(--color-accent);
}
.hero--bino .hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 1.5rem;
}
.hero--bino .cta-pair {
  margin-top: 0;
}
.hero--bino .cta-pair .btn {
  width: 260px;
  justify-content: center;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2rem 1.5rem;
}
.hero--bino .hero-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hero--bino .hero-logos {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, 92vw);
  z-index: 2;
}

/* Binocular circles */
.bino-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 828px;
  height: 540px;
  pointer-events: none;
}
.bino-circle {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  top: 0;
  box-sizing: border-box;
}
.bino-circle--left {
  left: -18px;
  background: radial-gradient(circle at 60% 50%,
    rgba(46, 196, 165, .12) 0%,
    rgba(46, 196, 165, .06) 40%,
    rgba(74, 45, 140, .08) 70%,
    transparent 100%);
  border: 2.5px solid rgba(46, 196, 165, .22);
  box-shadow: inset 0 0 100px rgba(46, 196, 165, .07);
  clip-path: inset(0 20% 0 0);
}
.bino-circle--right {
  right: -18px;
  background: radial-gradient(circle at 40% 50%,
    rgba(46, 196, 165, .12) 0%,
    rgba(46, 196, 165, .06) 40%,
    rgba(74, 45, 140, .08) 70%,
    transparent 100%);
  border: 2.5px solid rgba(46, 196, 165, .22);
  box-shadow: inset 0 0 100px rgba(46, 196, 165, .07);
  clip-path: inset(0 0 0 20%);
}

.lens-flare {
  position: absolute;
  border-radius: 50%;
  background: rgba(46, 196, 165, .25);
  filter: blur(1px);
  pointer-events: none;
}
.lens-flare--1 { width: 6px; height: 6px; top: 25%; left: 22%; }
.lens-flare--2 { width: 4px; height: 4px; top: 18%; right: 28%; background: rgba(255,255,255,.3); }
.lens-flare--3 { width: 8px; height: 8px; bottom: 30%; left: 30%; background: rgba(46, 196, 165, .15); filter: blur(3px); }

@keyframes bino-breathe {
  0%, 100% { transform: translate(-50%, -55%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -55%) scale(1.02); opacity: .92; }
}
.bino-wrap {
  animation: bino-breathe 8s ease-in-out infinite;
  filter: drop-shadow(0 0 60px rgba(46, 196, 165, .10));
}
@media (prefers-reduced-motion: reduce) {
  .bino-wrap { animation: none; }
}

/* ---------- Section shared ---------- */
.section {
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #120B2E 0%, #2A1757 30%, #4A2D8C 60%, #6B3FA0 85%, #7E4DB3 100%);
  color: #fff;
}
.section > .container {
  width: 100%;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header p {
  color: rgba(255,255,255,.65);
  margin-top: .75rem;
  font-size: 1.12rem;
}
.section-header h2 { margin-bottom: .25rem; color: #fff; }
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ---------- Rólunk (About) ---------- */
#rolunk {
  min-height: auto;
  padding: 4rem 0;
}
.about-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-content p {
  color: rgba(255,255,255,.8);
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

/* ---------- Services ---------- */
.services-section { }

/* Category tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.category-tab {
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  transition: all var(--transition);
}
.category-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.category-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Service category block */
.service-category {
  display: none;
  animation: fadeInUp .4s ease;
}
.service-category.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Accordion */
.service-accordion {
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.95);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.service-accordion:hover { box-shadow: 0 8px 32px rgba(0,0,0,.2); }

.accordion-header { margin: 0; }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.25rem 1.5rem;
  gap: 1rem;
  border: none;
  background: none;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-trigger:hover { background: rgba(46,196,165,.06); }
.accordion-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}
.accordion-trigger:hover .accordion-icon {
  transform: scale(1.1);
  background: rgba(46,196,165,.25);
}
.accordion-trigger:hover .accordion-title { color: var(--color-accent); }
.accordion-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--color-dark);
  flex: 1;
  transition: color var(--transition);
}
.accordion-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(46,196,165,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.accordion-icon svg {
  width: 14px; height: 14px;
  stroke: var(--color-accent);
  transition: transform var(--transition);
}
.service-accordion.open .accordion-icon {
  background: var(--color-accent);
}
.service-accordion.open .accordion-icon svg {
  stroke: #fff;
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.accordion-body-inner {
  padding: 0 1.5rem 1.5rem;
}
.accordion-body-inner h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-primary);
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}
.accordion-body-inner h4:first-child { margin-top: 0; }
.accordion-body-inner p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.accordion-body-inner ul {
  margin: .5rem 0;
}
.accordion-body-inner li {
  padding: .3rem 0 .3rem 1.5rem;
  position: relative;
  color: var(--color-text);
  font-size: 1rem;
}
.accordion-body-inner li::before {
  content: '';
  position: absolute;
  left: 0; top: .75rem;
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}
.keywords {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-primary-xl);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.keywords strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: .25rem;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- References ---------- */
.references-section {
  color: #fff;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}
.why-us-grid--text-only {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.why-us-grid--text-only .why-card {
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem 1.5rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stat-item {
  text-align: center;
  min-width: 160px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
}
.stat-label {
  font-size: .97rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
}

/* Subsection titles (Rólunk mondták, Akik minket választottak) */
.subsection-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 3rem 0 0.5rem;
  letter-spacing: .02em;
}

/* Testimonials – Carousel */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}
.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
  box-sizing: border-box;
}
.testimonial-card .quote {
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.testimonial-card .quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-accent);
  font-style: normal;
  vertical-align: -.2em;
  margin-right: .1rem;
}
.testimonial-card .quote::after {
  content: '\201D';
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-accent);
  font-style: normal;
  margin-left: .1rem;
  vertical-align: -.2em;
}
.testimonial-author {
  font-weight: 600;
  font-size: .97rem;
  color: #fff;
  text-align: center;
}
.testimonial-author span {
  display: block;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  margin-top: .15rem;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  padding: 0;
}
.carousel-dot:hover { background: rgba(255,255,255,.5); }
.carousel-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* ---------- Pricing ---------- */
.pricing-section {
  padding-top: 3rem;
  min-height: auto;
}
.pricing-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.pricing-content p {
  color: rgba(255,255,255,.75);
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ---------- Consultation ---------- */
.consultation-section { }
.consultation-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.consultation-content p {
  color: rgba(255,255,255,.75);
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
/* Scheduler embed (Pipedrive) */
.scheduler-embed {
  margin-top: 2rem;
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.scheduler-embed iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: none;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; color: #fff; }
.contact-info > p {
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
  font-size: 1.12rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.contact-detail .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(46,196,165,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.contact-detail strong { display: block; margin-bottom: .1rem; font-size: 1.02rem; color: #fff; }
.contact-detail span   { color: rgba(255,255,255,.7); font-size: .97rem; }
.contact-detail a      { color: rgba(255,255,255,.7); font-size: .97rem; }
.contact-detail a:hover { color: var(--color-accent); }

.contact-slogan {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--color-accent);
  border-radius: var(--radius);
  text-align: center;
}
.contact-slogan h3 {
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: .04em;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* Pipedrive embed wrapper */
#pipedrive-form-wrapper {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  min-height: 400px;
}
#pipedrive-form-wrapper .pipedriveWebForms {
  width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  height: 56px;
  filter: brightness(0) invert(1);
}
.footer-brand p { margin-top: .75rem; font-size: .95rem; max-width: 280px; line-height: 1.65; }

.footer-col h4 {
  color: #fff;
  font-size: .92rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  padding: .25rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .92rem;
}
.footer-legal a,
.footer-cookie-settings {
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-legal a:hover,
.footer-cookie-settings:hover {
  color: var(--color-accent);
}
.footer-cookie-settings {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* Shown in place of a Pipedrive embed until cookies are accepted */
.embed-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 320px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-text);
}
.embed-consent p { max-width: 460px; margin: 0; line-height: 1.6; color: var(--color-text); }
.embed-consent .embed-consent-alt { font-size: .92rem; color: var(--color-text-muted); }
.embed-consent-alt a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  font-size: .86rem;
  color: rgba(255,255,255,.35);
}

/* ---------- Reveal animation ---------- */
/* Only hide when JS is running (html.js is set in <head>), so content stays visible without it */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #7E4DB3);
  z-index: 200;
  transition: width 50ms linear;
  pointer-events: none;
}

/* ---------- Client Logo Strip ---------- */
.logo-strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 760px;
  margin-inline: auto;
}
/* White tiles keep every brand's own colours readable on the dark sections */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: .7rem 1.1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  opacity: .92;
  transition: opacity .3s ease, transform .3s ease;
}
.client-logo:hover { opacity: 1; transform: translateY(-2px); }
.client-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 150px;
}
/* Very wide wordmarks (6:1) need more width to stay legible */
.client-logo--wide img { max-width: 200px; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: rgba(46,196,165,.25); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  color: #fff;
  list-style: none;
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .25s ease;
}
.faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}
.faq-item summary:hover { background: rgba(46,196,165,.06); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  font-size: 1rem;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(18,11,46,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 100;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
}
.cookie-banner a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.cookie-btn:active { transform: scale(.97); }
.cookie-accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-accept:hover { background: var(--color-accent-l); }
.cookie-decline {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
}
.cookie-decline:hover { background: rgba(255,255,255,.18); }

/* ---------- Active Nav ---------- */
.nav-links a.active {
  color: var(--color-accent);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(26,16,64,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s ease;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.back-to-top svg {
  width: 20px; height: 20px;
}
.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .testimonial-card { padding: 1.5rem; }
}

/* The full nav (logo + 5 links + CTA) only fits from ~1025px */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; min-height: auto; }
  .hero { padding: 4rem 0 3.5rem; min-height: auto; }
  .hero--bino { min-height: 70vh; padding: 3rem 0 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .category-tabs { gap: .5rem; }
  .category-tab { padding: .6rem 1.1rem; font-size: .88rem; }
  .stats-row { gap: 1rem; }
  .stat-item { min-width: 130px; }
  .stat-number { font-size: 1.95rem; }
  .footer-legal { flex-direction: column; align-items: center; gap: .5rem; }
  .back-to-top { width: 42px; height: 42px; bottom: 1.5rem; right: 1rem; }
  .cookie-banner { flex-direction: column; gap: .75rem; text-align: center; padding: 1rem var(--gutter); }
  .cookie-banner p { font-size: .88rem; }
  .logo-strip-row { gap: .75rem; }
  .client-logo { height: 58px; padding: .55rem .9rem; }
  .client-logo img { max-width: 120px; }
  .client-logo--wide img { max-width: 170px; }
  .faq-item summary { font-size: 1rem; padding: 1rem 1.25rem; }
  .bino-wrap { width: 488px; height: 320px; }
  .bino-circle { width: 320px; height: 320px; }
  .bino-circle--left { left: -12px; }
  .bino-circle--right { right: -12px; }
  .hero--bino .hero-logos { bottom: 1.5rem; gap: .6rem; }
  .hero--bino h1 { font-size: 2rem; }
}

/* Where the logo row wraps or the screen is short, keep it in the flow so it can't cover the CTA buttons */
@media (max-width: 968px), (max-height: 800px) {
  .hero--bino .hero-logos {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .bino-wrap { width: 336px; height: 220px; }
  .bino-circle { width: 220px; height: 220px; }
  .bino-circle--left { left: -8px; }
  .bino-circle--right { right: -8px; }
  .hero--bino h1 { font-size: 1.8rem; }
  .hero--bino .hero-subtitle { font-size: .95rem; margin-bottom: 1rem; }
  .hero--bino .cta-pair .btn { width: 100%; max-width: 260px; font-size: .9rem; padding: .75rem 1.5rem; }
  .hero--bino .hero-logos { gap: .5rem; }
  .hero-logos .client-logo { height: 38px; padding: .35rem .6rem; }
  .hero-logos .client-logo img { max-width: 84px; }
  .hero-logos .client-logo--wide img { max-width: 132px; }
}
