/* ==========================================================================
   FÖLDESI ZSOLT — style.css
   Betűtípus: Bai Jamjuree. Színek: fekete-fehér + piros #e8331c kiemelés.
   Tartalom: változók › alap › elemek › navbar › szekciók › blog › reszponzív
   ========================================================================== */

/* --- Betűtípus (helyben tárolva, nem külső CDN) -------------------------- */
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../assets/fonts/bai-jamjuree-latin-200-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/bai-jamjuree-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bai-jamjuree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/bai-jamjuree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/bai-jamjuree-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/bai-jamjuree-latin-700-normal.woff2") format("woff2");
}

/* --- Változók ------------------------------------------------------------- */
:root {
  /* Fekete-fehér paletta + piros kiemelés (Figma 13:3) */
  --ink:         #1a1a1a;
  --black:       #232323;
  --charcoal:    #323232;
  --graphite:    #464646;
  --coral:       var(--accent);
  --coral-deep:  var(--accent-deep);
  --accent:      #e11025;
  --accent-deep: #b00f24;
  --accent-on-dark: #d10139;
  --white:       #ffffff;
  --paper:       #fbfbfd;
  --mist:        #f1f1f3;
  --mist-deep:   #e7e7ea;
  --gold:        #f5b301;
  --muted:       #6b6b6f;
  --muted-light: #9a9a9f;
  --line:        rgba(26, 26, 26, 0.12);
  --line-dark:   rgba(255, 255, 255, 0.16);

  /* Visszafelé kompatibilis aliasok — most pirosra mutatnak */
  --navy:        #232323;
  --navy-deep:   #1a1a1a;
  --navy-soft:   #464646;
  --cyan:        var(--accent);

  --font: "Bai Jamjuree", "Segoe UI", Tahoma, sans-serif;

  --container: 1600px;
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 112px;
}

/* --- Alap ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea { font: inherit; color: inherit; }

::selection { background: var(--navy); color: var(--white); }

/* --- Segédosztályok ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.section--dark { background: var(--navy); color: var(--white); }

/* Sötét felületeken mélyebb piros (#d10139); világos és szekció-háttéren #e11025 */
.section--dark,
.hero,
.quote,
.contact__grid,
.cta-band,
.footer { --accent: var(--accent-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--cyan); }
.section--dark .eyebrow { color: var(--cyan); }
.brands .eyebrow::before,
.about .eyebrow::before,
.services .eyebrow::before { background: var(--accent); }

/* --- Tipográfia ----------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }

.h-display {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.1;
}
.h-section {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.h-section .accent { color: var(--cyan); }

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
}
.section--dark .lead { color: rgba(255, 255, 255, 0.66); }
.text-navy { color: var(--navy); }

/* --- Gombok --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn:hover { background: var(--ink); transform: translateY(-3px); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(45deg); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.navbar.is-scrolled .btn--outline,
.navbar.is-menu-open .btn--outline { color: var(--ink); }
.navbar.is-scrolled .btn--outline:hover,
.navbar.is-menu-open .btn--outline:hover { color: var(--white); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--white); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), height 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.navbar.is-scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
/* Solid background so the logo and close icon stay visible while the menu is open */
.navbar.is-menu-open {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
  max-width: none;
}

.logo {
  display: flex;
  align-items: center;
}
.logo__img { height: 95px; width: auto; display: block; }
/* the white mark has less built-in padding than the dark square logo,
   so trim its height to match the dark one optically */
.logo__img--light { height: 76px; }
.logo__img--dark { display: none; }
.navbar.is-scrolled .logo__img--light,
.navbar.is-menu-open .logo__img--light { display: none; }
.navbar.is-scrolled .logo__img--dark,
.navbar.is-menu-open .logo__img--dark { display: block; }
.navbar.is-scrolled .logo__img--dark { height: 64px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2.4rem);
}
.nav-links a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--white);
  padding-block: 0.4rem;
  transition: color 0.3s ease;
}
.navbar.is-scrolled .nav-links a,
.navbar.is-menu-open .nav-links a { color: var(--ink); }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.is-current::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1.3rem; margin-left: auto; }

/* Language dropdown */
.lang-select { position: relative; }
.lang-select__trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.3s ease;
}
.navbar.is-scrolled .lang-select__trigger,
.navbar.is-menu-open .lang-select__trigger { color: var(--ink); border-color: var(--line); }
.lang-select__trigger:hover { border-color: var(--white); }
.navbar.is-scrolled .lang-select__trigger:hover { border-color: var(--navy); }
.lang-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.lang-caret { transition: transform 0.25s ease; }
.lang-select.is-open .lang-caret { transform: rotate(180deg); }
.lang-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  list-style: none;
  padding: 0.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 40px -16px rgba(16, 24, 40, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}
.lang-select.is-open .lang-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-select__menu button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease;
}
.lang-select__menu button:hover { background: var(--mist); }
.lang-select__menu button.is-active { background: var(--navy); color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, background 0.3s ease;
}
.navbar.is-scrolled .nav-toggle span,
.navbar.is-menu-open .nav-toggle span { background: var(--navy); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu backdrop — created by main.js, dims the page behind the panel */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 38, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  z-index: 94;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
@media (min-width: 881px) { .nav-backdrop { display: none; } }

/* ==========================================================================
   HERO — fekete-fehér, teljes szélességű fotó (Figma 13:3)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: #e11025;
  color: var(--white);
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
  filter: none;
  opacity: 1;
}
/* charcoal wash so the white headline always reads over the photo */
.hero::after { display: none; }
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.hero__eyebrow {
  display: inline-block;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}
.hero__headline {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__line { display: block; }
.hero__rotator {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
}
.hero__word {
  display: inline-block;
  color: #111111;
  white-space: nowrap;
}
.hero__word:not(.is-active) {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  transform: translateY(0.35em);
  pointer-events: none;
}
.hero__word.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}
.hero__name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
}
.hero__stats {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero__stats > span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.hero__stats strong {
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero__stats > span > span {
  margin-top: 0.5rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #111111;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* Görgetés-jelző */
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111111;
  z-index: 3;
}
.scroll-cue__chevrons { display: flex; flex-direction: column; gap: 2px; }
.scroll-cue__chevrons span {
  width: 11px; height: 11px;
  border-right: 2px solid #111111;
  border-bottom: 2px solid #111111;
  transform: rotate(45deg);
  animation: chevron 1.6s var(--ease) infinite;
}
.scroll-cue__chevrons span:nth-child(2) { animation-delay: 0.18s; }
.scroll-cue__chevrons span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chevron {
  0%, 100% { opacity: 0.2; transform: rotate(45deg) translate(-2px, -2px); }
  50%      { opacity: 1;   transform: rotate(45deg) translate(2px, 2px); }
}

/* ==========================================================================
   MOTTO — jobbra zárt, a hero alatt
   ========================================================================== */
.motto {
  background: var(--paper);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.motto__text {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 24ch;
  margin-left: auto;
  text-align: right;
}
.motto__text b { font-weight: 700; color: var(--accent); }

/* ==========================================================================
   COUNTERS — sötét, hullámmintával
   ========================================================================== */
.counters {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.counters__lines { display: none; }
.counters__head {
  text-align: left;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.counters__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.counter-card {
  padding: 0 clamp(1.2rem, 3vw, 2.8rem);
  text-align: left;
}
.counter-card:first-child { padding-left: 0; }
.counter-card:not(:first-child) { border-left: 1px solid var(--line); }
.counter-card .num {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.counter-card .num .suffix { color: inherit; }
.counter-card .label {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.counter-card .label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   BRANDS — két ellentétes irányba mozgó sor
   ========================================================================== */
.brands { background: var(--white); }
.brands__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.brands__head .h-section { color: var(--ink); margin-block: 0.8rem 0; }

.brand-index {
  list-style: none;
}
.brand-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num name"
    "num role";
  column-gap: clamp(1.4rem, 2.5vw, 2.4rem);
  align-items: baseline;
  padding: clamp(1.6rem, 2.8vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.brand-index > .brand-row:last-child { border-bottom: 1px solid var(--line); }

.brand-row__num {
  grid-area: num;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  color: var(--muted-light);
  padding-top: 0.5rem;
  transition: color 0.3s ease;
}
.brand-row__name {
  grid-area: name;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s ease;
}
.brand-row__role {
  grid-area: role;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.brand-row__thumb {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.brand-row__thumb img {
  display: block;
  filter: grayscale(1);
}

.brand-row:hover { padding-left: 1.4rem; }
.brand-row:hover .brand-row__num { color: var(--accent); }
.brand-row:hover .brand-row__name { color: var(--accent); }
.brand-row:hover .brand-row__thumb { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ==========================================================================
   ABOUT — csomópont / gondolattérkép elrendezés
   ========================================================================== */
.about {
  background: var(--accent);
  color: var(--white);
}
.about .eyebrow { color: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.about__map {
  position: relative;
  aspect-ratio: 520 / 420;
  width: 100%;
}
.about__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about__lines line { stroke: rgba(255,255,255,0.4); stroke-width: 1; }
.about__photo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--mist);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1); }

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  backdrop-filter: blur(4px);
}
.node--tl { top: 14%; left: 18%; }
.node--tr { top: 14%; left: 82%; }
.node--ml { top: 50%; left: 13%; }
.node--mr { top: 50%; left: 87%; }
.node--bl { top: 86%; left: 23%; }
.node--br { top: 86%; left: 77%; }

.about__heading {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.about__heading em { font-style: normal; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.1em; }
.about__text > p { color: rgba(255,255,255,0.85); margin-bottom: 1.1rem; line-height: 1.65; max-width: 46ch; }
.about__list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.about__list li {
  display: flex;
  gap: 0.9rem;
  color: var(--white);
  line-height: 1.6;
}
.about__list svg { flex: 0 0 22px; margin-top: 3px; color: var(--white); }

/* ==========================================================================
   SERVICES — számozott sorok, leírás a vonal alatt jobbra
   ========================================================================== */
.services { background: var(--white); }
.services__head { max-width: 620px; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.services__head .h-section { color: var(--ink); margin-block: 0.8rem 0; }

.service-list { list-style: none; }
.service-row {
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
}
.service-row__lead {
  display: flex;
  align-items: baseline;
  gap: 1.3rem;
  padding-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
  border-bottom: 1px solid var(--line);
}
.service-row__num {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: var(--accent);
}
.service-row__title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--ink);
}
.service-row__desc {
  margin-top: clamp(0.9rem, 1.6vw, 1.3rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  max-width: 60ch;
}

/* ==========================================================================
   QUOTE — teljes szélességű sötét sáv
   ========================================================================== */
.quote {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.quote__mark {
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  font-weight: 700;
}
.quote__text {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 18ch;
  margin: 1.5rem auto 0;
  letter-spacing: -0.02em;
}
.quote__text b { font-weight: 700; color: var(--white); }
.quote__alt { color: var(--accent); }

/* ==========================================================================
   TESTIMONIALS — kétszínű cím + kártya-szlájder
   ========================================================================== */
.testimonials { background: var(--white); overflow: hidden; }
.testimonials__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.testimonials__head .h-section { color: var(--ink); }
.testimonials__head .lead { margin-top: 0.9rem; }
.slider-nav { display: flex; gap: 0.7rem; }
.slider-nav button {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease,
    border-color 0.3s ease;
}
.slider-nav button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: scale(1.05);
}
.testimonials__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* run the track off the right edge so the last card is partly cut,
     making it visually clear the row can be scrolled */
  margin-right: calc(50% - 50vw);
  padding-right: clamp(3rem, 8vw, 9rem);
}
.testimonials__viewport::-webkit-scrollbar { display: none; }
.testimonials__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  width: max-content;
}
.review-card {
  flex: 0 0 clamp(280px, 32vw, 410px);
  min-height: clamp(480px, 36vw, 560px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: clamp(2.2rem, 3.2vw, 3rem);
  background: var(--mist);
  border-radius: var(--radius);
}
.review-card:nth-child(even) {
  background: var(--accent-on-dark);
  color: var(--white);
}
.review-card:nth-child(even) .review-card__text,
.review-card:nth-child(even) .review-card__name { color: var(--white); }
.review-card:nth-child(even) .review-card__stars { color: var(--white); }
.review-card:nth-child(even) .review-card__role { color: rgba(255, 255, 255, 0.78); }
.review-card__stars { display: flex; gap: 3px; color: var(--gold); }
.review-card__text { color: var(--ink); line-height: 1.62; flex-grow: 1; font-size: 1.05rem; }
.review-card__person { display: flex; align-items: center; gap: 0.8rem; }
.review-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--mist-deep);
  filter: grayscale(1);
}
.review-card__name { font-weight: 600; color: var(--ink); }
.review-card__role { font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   CONTACT — kapcsolati adatok + űrlap
   ========================================================================== */
.contact {
  background: var(--white);
  position: relative;
  padding-bottom: 0;
}
.contact__head { text-align: center; max-width: 620px; margin-inline: auto; }
.contact__head .h-section { color: var(--ink); margin-block: 0.7rem 1rem; }
.contact__head .lead { margin-inline: auto; }

.contact__info {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-block: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.contact__info-item { text-align: center; }
.contact__info-item .k {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.contact__info-item a, .contact__info-item span {
  display: block;
  margin-top: 0.3rem;
  color: var(--graphite);
  font-weight: 500;
}
.contact__info-item a:hover { color: var(--accent); }

/* photo left, dark form right, full-bleed. The photo's right edge is cut on a
   diagonal (clip-path), and the dark backing fills the slant — so the boundary
   is irregular, not a straight vertical line, and the footer below inherits a
   non-rectangular top edge where the photo meets it. */
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  gap: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(560px, 54vw, 760px);
  background: var(--ink);
}
.contact__photo {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}
.contact__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: grayscale(1);
}
/* dark form sits above the dark backing; content centred, readable width */
.contact-form {
  position: relative;
  z-index: 1;
  background: transparent;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1.8rem, 4vw, 3.5rem);
}
.contact-form > * { width: 100%; max-width: 680px; margin-inline: auto; }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.field { position: relative; }
.field__num {
  position: absolute;
  top: 8px; left: 8px;
  width: 30px; height: calc(100% - 16px);
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 1rem 3.2rem;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }

.contact-form__check {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.contact-form__check input {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.contact-form__check a { color: var(--accent); text-decoration: underline; }

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.recaptcha-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.recaptcha-box .box {
  width: 22px; height: 22px;
  border: 2px solid var(--muted-light);
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER — óriás "HÍVJ / ÍRJ" + adatok
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  position: relative;
  overflow: hidden;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.9rem;
}
.footer__headline {
  font-size: clamp(3.4rem, 13vw, 11rem);
  font-weight: 700;
  line-height: 1;
  padding-top: 0.14em;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.footer__type { display: inline-block; cursor: default; }
.footer__type .tw-word { border-bottom: 0.07em solid transparent; transition: color 0.3s ease; }
.footer__type .tw-word.is-underline { border-bottom-color: var(--accent); }
.footer__type .caret {
  display: inline-block;
  width: 0.06em;
  margin-left: 0.04em;
  background: var(--accent);
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
/* hover: the live word picks up the accent colour */
.footer__headline:hover .tw-word.is-underline { color: var(--accent); }

.footer__contact { display: flex; flex-direction: column; gap: 0.9rem; padding-top: 1.4rem; }
.footer__contact a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
}
.footer__contact a:hover { color: var(--accent); }
.footer__contact svg { flex: 0 0 20px; color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: clamp(3rem, 7vw, 6rem);
  flex-wrap: wrap;
}
.footer__name { font-size: clamp(2.1rem, 6.5vw, 4.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; color: var(--white); }
.footer__brand .tags {
  display: flex;
  gap: 1rem;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}
.footer__brand .tags i { width: 1px; background: var(--line-dark); }
.footer__sign { width: clamp(110px, 12vw, 150px); height: auto; opacity: 0.92; }
.footer__copy {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__copy a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__copy a:hover { color: var(--white); border-color: var(--white); }
.footer__copy .sep { margin: 0 0.5rem; opacity: 0.5; }

/* ==========================================================================
   BLOG LISTA
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(0,199,242,0.10), transparent 70%),
    var(--mist);
}
.page-hero .h-display { color: var(--ink); margin-block: 0.8rem 0.8rem; }
.page-hero .lead { max-width: 56ch; }

/* Jogi oldal — adatkezelési tájékoztató */
.legal .article__body { margin-inline: auto; }
.legal .article__body h2 { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.legal__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.blog-tools {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.search-field {
  position: relative;
  flex: 1 1 280px;
}
.search-field svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.search-field input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.search-field input:focus { outline: none; border-color: var(--navy); }
.blog-tools select {
  padding: 0.9rem 2.4rem 0.9rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23323232' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px -28px rgba(0, 62, 131, 0.5);
}
.post-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mist);
}
.post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex-grow: 1; }
.post-card__meta {
  display: flex;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-card__meta .tag { color: var(--navy); font-weight: 600; }
.post-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.post-card__excerpt { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.post-card__more {
  margin-top: auto;
  padding-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.post-card__more svg { transition: transform 0.35s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(5px); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pagination button {
  min-width: 46px; height: 46px;
  padding-inline: 0.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pagination button:hover { border-color: var(--navy); }
.pagination button.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ==========================================================================
   BLOG POST
   ========================================================================== */
.article-back {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.article-back svg { transition: transform 0.3s var(--ease); }
.article-back:hover svg { transform: translateX(-4px); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.article-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-block: 0.6rem 0.9rem;
  max-width: 22ch;
}

.article__cover {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
  background: var(--mist);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 70ch; }
.article__body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  margin-block: 2rem 0.9rem;
}
.article__body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-block: 1.6rem 0.7rem;
}
.article__body p { color: var(--muted); margin-bottom: 1.1rem; line-height: 1.75; }
.article__body blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.6rem;
  border-left: 3px solid var(--cyan);
  background: var(--mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem;
  color: var(--ink);
}
.article__body ul.dotted { margin: 1rem 0 1.5rem 1.1rem; list-style: disc; color: var(--muted); }
.article__body ul.dotted li { margin-bottom: 0.5rem; padding-left: 0.3rem; }

.article__share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.article__share span { font-weight: 600; }
.share-btns { display: flex; gap: 0.6rem; }
.share-btns a,
.share-btns .share-copy {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.share-btns a:hover,
.share-btns .share-copy:hover { background: var(--navy); color: var(--white); }
.share-btns .share-copy.is-copied {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 100px; }
.widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.widget__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.widget--recent a {
  display: flex;
  gap: 0.9rem;
  padding-block: 0.7rem;
}
.widget--recent a + a { border-top: 1px solid var(--line); }
.widget--recent img {
  width: 64px; height: 64px;
  flex: 0 0 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--mist);
}
.widget--recent .r-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.widget--recent .r-date { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; }
.widget--recent a:hover .r-title { color: var(--navy); }

.cat-list li a {
  display: flex;
  justify-content: space-between;
  padding-block: 0.55rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.cat-list li a:hover { color: var(--navy); }
.cat-list li + li { border-top: 1px solid var(--line); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-cloud a {
  padding: 0.4rem 0.85rem;
  background: var(--mist);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}
.tag-cloud a:hover { background: var(--navy); color: var(--white); }

/* CTA blokk */
.cta-band {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  margin-bottom: 0.8rem;
}
.cta-band .phone {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cyan);
  display: block;
  margin-bottom: 1.6rem;
}

/* ==========================================================================
   ANIMÁCIÓ ALAPÁLLAPOTOK (GSAP felülírja)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(36px); }
.reveal-img { clip-path: inset(0 0 100% 0); }
.is-ready .reveal,
.is-ready .reveal-img { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESZPONZÍV
   ========================================================================== */
@media (max-width: 1024px) {
  .brand-index { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar .widget { flex: 1 1 260px; }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 78%;
    max-width: 380px;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.6rem;
    padding: 8rem 2.2rem 2.5rem;
    background: var(--navy);
    box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 95;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; color: var(--white); }
  .nav-links a.btn--outline { color: var(--white); }
  .nav-toggle { display: flex; }
  .scroll-cue { display: none; }
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 100svh;
    padding-top: var(--nav-h);
  }
  .hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
  }
  .hero__photo img {
    object-position: center 16%;
  }
  .hero::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(225,16,37,0) 20%, rgba(225,16,37,0.5) 40%, rgba(225,16,37,0.93) 54%, #e11025 64%);
    pointer-events: none;
  }
  .hero__inner {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(2.2rem, 9vw, 3.4rem);
  }
  .hero__headline { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .about__grid { grid-template-columns: 1fr; }
  .about__map { max-width: 460px; margin-inline: auto; order: 2; }
  .counters__grid { grid-template-columns: 1fr; gap: 0; }
  .counter-card { padding: 0; }
  .counter-card:not(:first-child) { border-left: none; border-top: 1px solid var(--line); margin-top: clamp(1.4rem, 5vw, 2rem); padding-top: clamp(1.4rem, 5vw, 2rem); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__grid::after { display: none; }
  .contact__photo { height: 300px; align-self: stretch; }
  .testimonials__head { align-items: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row__desc { grid-column: 1; margin-top: 0.6rem; }
  .brand-row__thumb { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.6rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 2.2rem; }
  .footer__sign { align-self: flex-start; margin-top: 0.5rem; width: 120px; }
  .blog-tools { flex-direction: column; }
  .blog-tools select { width: 100%; }
  .search-field { flex: none; width: 100%; }

  /* About mind-map -> centered photo + wrapped pills (radial overflows on phones) */
  .about__map { aspect-ratio: auto; text-align: center; }
  .about__lines { display: none; }
  .about__photo {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: min(240px, 64%);
    margin: 0 auto 1.4rem;
  }
  .node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-block;
    margin: 0.3rem;
  }
}
/* ===== DARK PALETTE — sections between hero and About (exploration) ===== */
.motto { background: var(--ink); border-bottom-color: var(--line-dark); }
.motto__text { color: var(--white); }

.counters { background: var(--ink); color: var(--white); }
.counters__head { text-align: right; }
.counter-card { text-align: right; }
.counter-card:not(:first-child) { border-left-color: var(--line-dark); }
.counter-card .label { color: var(--muted-light); justify-content: flex-end; }

.brands { background: var(--ink); }
.brands__head .h-section { color: var(--white); }
.brand-row { border-top-color: var(--line-dark); }
.brand-index > .brand-row:last-child { border-bottom-color: var(--line-dark); }
.brand-row__num { color: var(--muted-light); }
.brand-row__name { color: var(--white); }
.brand-row__role { color: var(--muted-light); }

/* ===== BRANDS — centered floating preview ===== */
.brand-row__thumb { display: none; }
.brand-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: clamp(180px, 24vw, 320px);
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease);
}
.brand-preview.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.brand-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-row.is-active { padding-left: 1.4rem; }
.brand-row.is-active .brand-row__num,
.brand-row.is-active .brand-row__name { color: var(--accent); }
@media (max-width: 768px) {
  .brand-preview { top: 32%; width: clamp(150px, 52vw, 230px); }
}

/* ===== ABOVE-FOLD FIXES — black logo, highlighted contact, no flag ===== */
.logo__img--light { display: none; }
.logo__img--dark { display: block; height: 76px; }

.nav-links .btn--outline {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}
.navbar.is-scrolled .nav-links .btn--outline,
.navbar.is-menu-open .nav-links .btn--outline {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}
.nav-links .btn--outline:hover,
.navbar.is-scrolled .nav-links .btn--outline:hover,
.navbar.is-menu-open .nav-links .btn--outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.lang-flag { display: none; }