/*
 * Norbi fuvarozás – közös stíluslap
 *
 * Felépítés: arculati változók → alapok → komponensek → reszponzív felülírások.
 * Formázás: 2 szóközös behúzás, deklarációnként egy sor, lezáró pontosvessző,
 * külön sorba írt szelektorok és záró kapcsos zárójelek.
 *
 * Az alapstílusokat a 1000 px-es, majd a 760 px-es töréspont módosítja.
 * A szabályok sorrendje számít: a mobilos és akadálymentességi felülírások
 * a fájl végén találhatók. A HTML/JavaScript osztálynevei változatlanok.
 */

/* ==========================================================================
   01. Arculati változók
   ========================================================================== */

:root {
  --blue: #163bba;
  --navy: #142442;
  --yellow: #ffd23f;
  --ink: #17243b;
  --muted: #596579;
  --line: #dce2eb;
  --paper: #f4f6f9;
  --space: clamp(64px, 8vw, 108px);
}

/* ==========================================================================
   02. Alapbeállítások és tipográfia
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: white;
  font-size: 16px;
  line-height: 1.65;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin-bottom: 22px;
}

h3 {
  font-size: 22px;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #bc7500;
  outline-offset: 5px;
}

/* ==========================================================================
   03. Közös elrendezési és szöveges elemek
   ========================================================================== */

.container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-block: var(--space);
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  margin-bottom: 22px;
  color: var(--blue);
}

/* ==========================================================================
   04. Gombok és változataik
   ========================================================================== */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 56px;
  padding: 15px 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 3px;
  line-height: 1.35;
  transition: background 0.15s, transform 0.15s;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 22px;
  line-height: 1;
}

.button-blue {
  background: var(--blue);
  color: white;
}

.button-blue:hover {
  background: #102b8a;
}

.button-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.button-yellow:hover {
  background: #ffe078;
}

.button-small {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 13px;
  gap: 20px;
}

/* ==========================================================================
   05. Billentyűzetes tartalomra ugrás
   ========================================================================== */

.skip-link {
  position: fixed;
  z-index: 20;
  left: 20px;
  top: -100px;
  background: white;
  color: var(--blue);
  padding: 14px;
}

.skip-link:focus {
  top: 10px;
}

/* ==========================================================================
   06. Helyszínsáv, fejléc és navigáció
   ========================================================================== */

.location-bar {
  background: var(--navy);
  color: #dae3f3;
  font-size: 11px;
  padding: 8px 0;
}

.location-bar .container {
  display: flex;
  gap: 14px;
}

.location-bar span:first-child {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  background: var(--blue);
  color: white;
  font-size: 31px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -5px;
  padding-right: 5px;
  line-height: 1;
}

.brand-mark span {
  color: var(--yellow);
}

.brand-name {
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-name > span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.21em;
  margin-top: 6px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.site-header nav > a:not(.button) {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding-block: 12px;
}

.site-header nav > a:not(.button):hover {
  color: var(--blue);
}

/* A menügombot csak mobilon, működő JavaScript mellett mutatjuk. */
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  padding: 10px 12px;
  min-height: 44px;
  font-weight: 700;
}

/* ==========================================================================
   07. Nyitóblokk és furgonillusztráció
   ========================================================================== */

.hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(67, 98, 214, 0.35) 0%, rgba(67, 98, 214, 0) 35%),
    radial-gradient(circle at 80% 20%, rgba(255, 204, 51, 0.08) 0%, rgba(255, 204, 51, 0) 28%),
    linear-gradient(135deg, #1f46c7 0%, #1b3fb5 38%, #17379d 68%, #122b78 100%);
  color: white;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 35px;
  padding-block: 70px 61px;
}

.hero .eyebrow {
  color: #e3eaff;
}

h1 {
  font-size: clamp(42px, 4.3vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  margin-bottom: 25px;
}

h1 > span {
  color: var(--yellow);
}

.hero-description {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.75;
  color: #e3eaff;
  margin-bottom: 29px;
}

.hero-note {
  font-size: 12px;
  color: #d4dfff;
  margin: 15px 0 0;
}

.hero-visual {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: transparent;
  border: 0;
  margin-top: 7px;
  position: relative;
}


/* A feliratok rejtve maradnak; a vezérlő nem foglal külön sort. */
.visual-heading {
  display: contents;
}

.visual-heading > span,
.visual-footer {
  display: none;
}

.hero-truck {
  display: block;
  height: auto;
  flex-shrink: 0;
  width: 112%;
  max-width: 112%;
  margin-left: -6%;
  position: relative;
}

.visual-footer {
  letter-spacing: 0;
  margin-top: 0;
  font-size: 10px;
}

.visual-footer > span:last-child {
  font-size: 8px;
  letter-spacing: 0.08em;
}

/* Három egyenlő szélességű információs elem, egységes ikonmérettel. */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 28px 32px;
}

.hero-facts > div {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-facts > div + div {
  border-left: 1px solid #ffffff26;
}

.hero-facts img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}

.hero-facts span {
  min-width: 0;
  overflow-wrap: break-word;
}

/* A hero SVG külön rétegei: rugózó karosszéria, forgó kerekek és menetszél.
 * Csak transform/opacity animálódik, az elrendezés méretei állandók maradnak. */
.hero-truck .truck-body {
  transform-origin: 407px 330px;
  animation: truck-bounce 0.72s ease-in-out infinite;
}

.hero-truck .truck-wheel {
  transform-origin: 0 0;
  animation: truck-roll 0.9s linear infinite;
}

.hero-truck .truck-wind {
  animation: truck-breeze 1.1s linear infinite;
}

.hero-truck .truck-wind-two {
  animation-delay: -0.4s;
}

.hero-truck .truck-wind-three {
  animation-delay: -0.75s;
}

.hero-truck .truck-road {
  animation: truck-road-pass 0.8s linear infinite;
}

/* A szünetgomb és a képernyőn kívüli állapot ugyanazokat a rétegeket állítja meg. */
.hero-visual.is-paused .truck-motion,
.hero-visual.is-offscreen .truck-motion {
  animation-play-state: paused;
}

/* Csak interakciónál látható, billentyűzettel továbbra is elérhető vezérlő. */
.motion-toggle {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  opacity: 0;
  pointer-events: none;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #ffffff50;
  border-radius: 3px;
  background: transparent;
  color: white;
  font: inherit;
  letter-spacing: 0;
}

.hero-visual:hover .motion-toggle,
.hero-visual:focus-within .motion-toggle {
  opacity: 1;
  pointer-events: auto;
}

.motion-toggle:hover {
  background: #ffffff15;
}

@keyframes truck-roll {
  to {
    transform: rotate(360deg);
  }
}

@keyframes truck-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(-0.15deg);
  }
  25% {
    transform: translateY(-2.5px) rotate(0.15deg);
  }
  50% {
    transform: translateY(0.5px) rotate(-0.1deg);
  }
  75% {
    transform: translateY(-1.5px) rotate(0.1deg);
  }
}

@keyframes truck-breeze {
  0% {
    opacity: 0;
    transform: translateX(12px);
  }
  20%,
  65% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(-30px);
  }
}

@keyframes truck-road-pass {
  to {
    transform: translateX(-160px);
  }
}

/* ==========================================================================
   08. Szekciófejléc és szolgáltatások
   ========================================================================== */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 37px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 5px;
}

/* Világos szekció, önálló fehér kártyák és visszafogott arculati kiemelések. */
.services {
  padding-block: clamp(80px, 8vw, 120px);
  background: #f6f8fc;
}

.services .section-heading {
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 44px;
}

.services .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.services .eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  flex-shrink: 0;
  background: var(--yellow);
}

.services .section-heading h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.12;
  text-wrap: balance;
}

.services .section-heading > p {
  flex: 0 1 335px;
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.service {
  min-width: 0;
  padding: 30px 24px 32px;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  background: white;
  box-shadow: 0 5px 18px #14244204;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Az ikonok saját, egységes világos felületet kapnak. */
.service svg {
  display: block;
  width: 64px;
  height: 64px;
  padding: 10px;
  margin: 0 0 26px;
  border-radius: 10px;
  background: #edf2ff;
  stroke: var(--blue);
  stroke-width: 2.5;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.service h3 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* Nem kattintható kártyák: nincs mutató kurzor vagy túlzó mozgás. */
@media (hover: hover) {
  .service:hover {
    border-color: #bccbf0;
    box-shadow: 0 10px 28px #1424420c;
  }
}

.service-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-note a {
  color: var(--blue);
  font-weight: 600;
}

/* ==========================================================================
   09. Fuvarozási terület
   ========================================================================== */

/* A szolgáltatási terület önálló kiemelést kap, útvonaljelölés nélkül. */
.area-section {
  background: white;
  padding-block: clamp(64px, 7vw, 96px);
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.area-grid > div {
  min-width: 0;
}

.area-grid h2 {
  max-width: 530px;
  margin-bottom: 24px;
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.15;
  text-wrap: balance;
}

.area-description {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.area-card {
  padding: 36px;
  border: 1px solid #dce5f6;
  border-radius: 14px;
  background: #f3f6fd;
  box-shadow: 0 6px 22px #14244205;
}

.area-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  color: var(--blue);
}

.area-card-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.area-card strong {
  display: block;
  color: var(--blue);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* ==========================================================================
   10. Személyes egyeztetés és fuvarillusztrációk
   ========================================================================== */

/* Személyes bemutatkozás és saját, könyvtár nélküli képgaléria. */
.personal-section {
  background: linear-gradient(135deg, #153aa9, #10296e);
  color: white;
  padding-block: clamp(64px, 7vw, 104px);
}

.personal-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.personal-portrait {
  width: 100%;
  max-width: 390px;
  padding: 8px;
  border: 1px solid #ffffff30;
  border-radius: 20px;
  background: #ffffff08;
}

.personal-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 13px;
}

.personal-copy {
  min-width: 0;
}

.personal-section .eyebrow {
  color: var(--yellow);
}

.personal-copy h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.17;
  margin-bottom: 26px;
  text-wrap: balance;
}

.personal-copy > p:not(.eyebrow) {
  max-width: 530px;
  color: #dde7ff;
  font-size: 17px;
  line-height: 1.8;
}

.personal-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.personal-points li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
  font-weight: 600;
}

.personal-points li::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.work-gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 64px 0 26px;
  padding-top: 38px;
  border-top: 1px solid #ffffff25;
}

.work-gallery-heading .eyebrow {
  margin-bottom: 14px;
}

.work-gallery-heading h3 {
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.2;
  margin: 0;
}

.gallery-toggle {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #ffffff45;
  border-radius: 6px;
  background: transparent;
  color: white;
  font-size: 12px;
}

.gallery-toggle:hover {
  background: #ffffff12;
}

/* Natív görgetés: JavaScript nélkül és mozgáscsökkentésnél is használható. */
.work-gallery {
  --gallery-card-width: clamp(260px, 28vw, 350px);
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #a7bcef #ffffff12;
}

.work-gallery:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.gallery-track {
  display: flex;
  width: max-content;
}

.gallery-set {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  margin: 0;
  padding: 0 18px 12px 0;
  list-style: none;
}

.gallery-set li {
  width: var(--gallery-card-width);
  flex: 0 0 var(--gallery-card-width);
}

.gallery-set img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  background: #194bae;
}

.gallery-help {
  margin: 14px 0 0;
  color: #c5d5f8;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .personal-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .personal-portrait {
    max-width: 340px;
    justify-self: center;
  }

  .personal-copy h2 {
    font-size: clamp(28px, 7.4vw, 38px);
  }

  .personal-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .personal-points {
    margin-top: 24px;
  }

  .work-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 42px;
    padding-top: 30px;
  }

  .work-gallery {
    --gallery-card-width: calc((100vw - 40px) * 0.84);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-set[aria-hidden="true"],
  .gallery-toggle {
    display: none;
  }
}

/* ==========================================================================
   11. Személyes bemutatkozás
   ========================================================================== */

.about-section {
  background: var(--navy);
  color: white;
  padding-block: 65px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 74px;
}

.about-section .eyebrow {
  color: var(--yellow);
}

.about-grid h2 {
  font-size: 40px;
}

.about-lead {
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.about-grid p:not(.about-lead):not(.eyebrow) {
  font-size: 14px;
  color: #c9d4e8;
}

.about-signature {
  margin-top: 27px;
  font-size: 30px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.about-signature span {
  display: inline-block;
  margin-left: 20px;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.12em;
  color: #c9d4e8;
  font-weight: 400;
}

/* ==========================================================================
   12. Az ajánlatkérés lépései
   ========================================================================== */

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.steps li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.steps li > span {
  font-size: 32px;
  line-height: 1;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.steps h3 {
  font-size: 18px;
  margin: 18px 0 12px;
}

.steps p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   13. Ajánlatkérő szekció és kapcsolat
   ========================================================================== */

.quote-section {
  background: #edf1f8;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 76px;
  align-items: start;
}

/* A grid elemei keskeny kijelzőn is zsugorodhassanak a mezők tartalma alá. */
.quote-grid > * {
  min-width: 0;
}

.quote-copy {
  position: sticky;
  top: 135px;
}

.quote-copy h2 {
  font-size: clamp(42px, 4.5vw, 57px);
  line-height: 1.06;
}

.quote-copy h2 span {
  color: var(--blue);
}

.quote-copy > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  max-width: 320px;
}

/* A későbbi, azonos erősségű szelektor miatt nincs szükség !important-ra. */
.quote-copy p.quote-summary {
  margin-top: 30px;
  font-size: 12px;
}

.contact-placeholder {
  margin-top: 50px;
  border-top: 1px solid #cdd7e7;
  padding-top: 20px;
  font-size: 13px;
}

.contact-placeholder p {
  color: var(--muted);
  font-size: 12px;
  max-width: 230px;
  margin-top: 8px;
}

/* ==========================================================================
   14. Űrlapmezők és előnézeti figyelmeztetés
   ========================================================================== */

.quote-form-panel {
  background: white;
  padding: 32px;
  border: 1px solid var(--line);
}

.preview-notice {
  font-size: 12px;
  background: #fff8dc;
  border-left: 3px solid #b68700;
  padding: 14px 16px;
  margin-bottom: 28px;
  color: #564519;
}

.preview-notice p {
  margin: 4px 0 0;
}

fieldset {
  border: 0;
  margin: 0 0 25px;
  padding: 0;
  min-width: 0;
}

legend {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 17px;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  letter-spacing: -0.02em;
}

legend > span {
  color: var(--blue);
  font-size: 12px;
  margin-right: 12px;
}

.field-help {
  font-size: 11px;
  color: var(--muted);
  margin: -5px 0 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
  min-width: 0;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input:not([type="file"]),
.field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 1px solid #bcc6d5;
  background: #fff;
  border-radius: 2px;
  padding: 11px 12px;
  font-size: 16px;
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #687487;
  font-size: 12px;
  opacity: 1;
}

.field textarea {
  resize: vertical;
}

.field small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}

/* ==========================================================================
   15. Képfeltöltés és képelőnézetek
   ========================================================================== */

.upload-box {
  border: 1px dashed #a7b7ce;
  background: #f7f9fc;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.upload-box > span {
  font-size: 29px;
  color: var(--blue);
  line-height: 1;
}

.upload-box strong {
  font-size: 13px;
}

.upload-box p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

/* A natív fájlválasztó hosszú neve ne szélesítse ki a mobilos űrlapot. */
.upload-box input {
  width: 100%;
  font-size: 12px;
  max-width: 100%;
  margin-top: 10px;
}

.upload-box input::file-selector-button {
  padding: 10px 12px;
  background: white;
  border: 1px solid #a9b8d1;
  color: var(--blue);
  font-weight: 700;
  margin-right: 8px;
  cursor: pointer;
}

.upload-box small {
  max-width: 330px;
}

.field-error {
  font-size: 12px;
  color: #a01f2c;
  margin: 8px 0 0;
}

.field-error:empty {
  display: none;
}

.photo-preview {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.photo-preview:empty {
  display: none;
}

.photo-preview li {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--paper);
  padding: 7px;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.photo-preview img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  flex-shrink: 0;
}

.photo-preview span {
  flex: 1;
  min-width: 0;
}

.photo-preview button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: white;
  color: #9e2430;
  font-size: 17px;
  flex-shrink: 0;
}

/* ==========================================================================
   16. Adatkezelési megjegyzés és beküldési állapotok
   ========================================================================== */

.privacy-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}

.privacy-note a {
  color: var(--blue);
}

.submit-button {
  width: 100%;
  justify-content: space-between;
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-status {
  font-size: 13px;
  margin: 15px 0 0;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  color: #a01f2c;
}

.form-status[data-state="success"] {
  color: #12613d;
}

/* Spamcsapda: vizuálisan rejtett, a HTML-ben a fókuszsorrendből is kivéve. */
.honey-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   17. Lábléc és mobilos kapcsolati sáv
   ========================================================================== */

.site-footer {
  background: #101d35;
  color: #e6edf8;
  padding: 45px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding-bottom: 32px;
}

.footer-top p {
  font-size: 12px;
  line-height: 1.8;
  color: #c2cee2;
  margin: 0;
}

.footer-top > a:last-child {
  font-size: 11px;
}

.footer-bottom {
  border-top: 1px solid #ffffff25;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #b8c6dd;
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
}

/* Alapállapotban rejtett; a mobilos töréspontnál rögzített kapcsolati sávvá válik. */
.mobile-contact {
  display: none;
}

/* ==========================================================================
   18. Jogi oldalak
   ========================================================================== */

.legal-main {
  max-width: 800px;
  padding-block: 65px 90px;
  min-height: 65vh;
}

.legal-main h1 {
  font-size: 42px;
  margin-top: 25px;
}

.legal-main h2 {
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 14px;
}

.legal-main p,
.legal-main li {
  font-size: 15px;
  color: var(--muted);
}

.legal-main .preview-notice p {
  font-size: 13px;
  color: #564519;
}

.legal-back {
  font-size: 13px;
  color: var(--blue);
}

.legal-main dl > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.legal-main dt {
  font-weight: 700;
}

.legal-main dd {
  margin: 3px 0;
  color: var(--muted);
}

/* ==========================================================================
   19. Táblagép és kisebb asztali kijelzők
   ========================================================================== */

@media (max-width: 1000px) {
  .container {
    width: calc(100% - 48px);
  }

  .hero-grid {
    gap: 20px;
  }

  .visual-heading,
  .visual-footer {
    margin-inline: 15px;
  }

  .visual-footer > span:last-child {
    display: none;
  }

  .hero-facts > div {
    gap: 14px;
    padding-inline: 16px;
    font-size: 15px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-grid,
  .about-grid {
    gap: 40px;
  }

  .quote-grid {
    gap: 35px;
    grid-template-columns: 0.75fr 1.25fr;
  }

  .quote-form-panel {
    padding: 24px;
  }

  .area-grid {
    gap: 45px;
  }

  .site-header nav {
    gap: 22px;
  }

}

/* ==========================================================================
   20. Mobilos elrendezés
   ========================================================================== */

@media (max-width: 760px) {
  /* Mobilos ritmus: rövidebb szakaszok, nagyobb olvasható feliratok. */
  :root {
    --space: 56px;
  }

  html {
    scroll-padding-top: 88px;
  }

  .container {
    width: calc(100% - 40px);
  }

  h2 {
    font-size: clamp(29px, 7.6vw, 38px);
    line-height: 1.12;
    text-wrap: balance;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
  }

  /* Kompakt fejléc és jól elkülönített, lenyíló navigáció. */
  .location-bar {
    padding-block: 7px;
    font-size: 9px;
  }

  .location-bar .container {
    justify-content: space-between;
    gap: 8px;
  }

  .location-bar span:first-child {
    letter-spacing: 0;
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 0;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 28px;
    border-radius: 5px;
  }

  .js .menu-toggle {
    display: block;
    min-width: 88px;
    min-height: 44px;
    border-color: transparent;
    border-radius: 8px;
    background: var(--paper);
    font-size: 13px;
    color: var(--navy);
  }

  .menu-toggle[aria-expanded="true"] {
    background: var(--navy);
    color: white;
  }

  .site-header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* JS nélkül a navigáció továbbra is elérhető marad. */
  .js .site-header nav {
    display: none;
    padding-top: 14px;
  }

  .js .site-header nav.is-open {
    display: flex;
  }

  .site-header nav > a:not(.button),
  .js .site-header nav > a {
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 6px;
    font-size: 15px;
  }

  /* A nyitóblokkban a mondanivaló és a furgon egy képernyőközeli egység. */
  .hero {
    border-radius: 0 0 24px 24px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 34px 16px;
    gap: 22px;
  }

  .hero-copy {
    max-width: 540px;
  }

  .hero .eyebrow {
    color: #e3eaff;
    font-size: 10px;
    margin-bottom: 19px;
  }

  .hero h1 {
    font-size: clamp(33px, 9.7vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.055em;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.7;
    max-width: 470px;
    margin-bottom: 23px;
    color: #e3eaff;
  }

  .hero-copy .button {
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    padding-inline: 19px;
    border-radius: 8px;
    font-size: 14px;
  }

  .hero-note {
    font-size: 11px;
    margin-top: 11px;
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    border-radius: 12px;
    background: transparent;
    overflow: hidden;
  }


  .visual-heading {
    margin: 8px 12px 0;
    min-height: 44px;
    font-size: 9px;
  }

  .visual-heading > span:first-child {
    display: none;
  }

  .motion-toggle {
    min-width: 66px;
    border-color: transparent;
    font-size: 11px;
    padding: 8px;
  }

  .hero-truck {
    width: 100%;
    max-width: 100%;
    margin: -37px 0 -29px;
  }

  .visual-footer {
    margin: 5px 16px 15px;
    font-size: 11px;
  }

  /* Mobilon függőleges lista, vízszintes elválasztókkal. */
  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 12px 24px;
  }

  .hero-facts > div {
    gap: 18px;
    padding: 20px 4px;
    font-size: 16px;
  }

  .hero-facts > div + div {
    border-left: 0;
    border-top: 1px solid #ffffff26;
  }

  /* Mobilos szekcióbevezetők. */
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  .section-heading > p {
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.65;
  }

  .section-heading > p br {
    display: none;
  }

  /* Mobilon ugyanaz a kártyafelépítés, egyetlen tágas oszlopban. */
  .services {
    padding-block: 64px;
  }

  .services .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .services .section-heading h2 {
    font-size: clamp(29px, 7.6vw, 38px);
  }

  .services .section-heading > p {
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 1.7;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .service {
    padding: 26px 24px 28px;
  }

  .service svg {
    margin-bottom: 22px;
  }

  .service-note {
    margin-top: 24px;
    font-size: 13px;
  }

  .area-grid,
  .vehicle-grid,
  .about-grid,
  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .area-section {
    padding-block: 60px;
  }

  .area-grid h2,
  .vehicle-grid h2 {
    font-size: 30px;
  }

  .area-description {
    font-size: 15px;
    line-height: 1.8;
  }

  .area-card {
    padding: 28px 24px;
  }

  .area-card strong {
    font-size: 28px;
  }

.about-section {
    padding-block: 44px;
  }

  .about-grid {
    gap: 5px;
  }

  .about-grid h2 {
    font-size: 35px;
    margin-bottom: 20px;
  }

  .about-lead {
    font-size: 20px;
    line-height: 1.55;
  }

  .about-grid p:not(.about-lead):not(.eyebrow) {
    font-size: 15px;
    line-height: 1.75;
  }

  .about-signature span {
    font-size: 9px;
    margin-left: 12px;
  }

  /* Folyamatlépések egy függőleges, könnyen követhető sorban. */
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 28px;
  }

  .steps li {
    position: relative;
    padding: 22px 0 24px 52px;
  }

  .steps li > span {
    position: absolute;
    left: 0;
    top: 23px;
    font-size: 26px;
  }

  .steps h3 {
    margin: 0 0 10px;
    font-size: 19px;
  }

  .steps p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Egyetlen világos űrlapfelület, ujjbeggyel is kényelmes mezőkkel. */
  .quote-section {
    background: #f1f4fa;
  }

  .quote-copy {
    position: static;
  }

  .quote-copy h2 {
    font-size: 40px;
  }

  .quote-copy > p:not(.eyebrow) {
    max-width: 100%;
    line-height: 1.7;
  }

  .contact-placeholder {
    margin-top: 22px;
    padding-top: 18px;
  }

  .contact-placeholder p {
    max-width: none;
    font-size: 13px;
  }

  .quote-form-panel {
    padding: 24px 18px;
    border: 0;
    border-radius: 12px;
  }

  .preview-notice {
    padding: 14px;
    font-size: 12px;
    line-height: 1.65;
  }

  fieldset {
    margin-bottom: 28px;
  }

  legend {
    font-size: 17px;
    padding-bottom: 14px;
    margin-bottom: 20px;
  }

  legend > span {
    font-size: 13px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .field {
    margin-bottom: 20px;
  }

  .field label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .field input:not([type="file"]),
  .field textarea {
    min-height: 52px;
    padding: 13px 12px;
    border-color: #b9c6d9;
    border-radius: 6px;
    font-size: 16px;
  }

  .field input::placeholder,
  .field textarea::placeholder {
    font-size: 13px;
  }

  .field small,
  .field-help {
    font-size: 12px;
    line-height: 1.6;
  }

  .upload-box {
    padding: 22px 12px;
    border-radius: 8px;
    gap: 9px;
  }

  .upload-box strong {
    font-size: 15px;
  }

  .upload-box p,
  .upload-box input {
    font-size: 12px;
  }

  .upload-box input::file-selector-button {
    min-height: 44px;
    border-radius: 5px;
  }

  .privacy-note,
  .field-error {
    font-size: 12px;
  }

  .submit-button {
    min-height: 56px;
    border-radius: 7px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .form-status {
    font-size: 14px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-top p {
    width: 100%;
    order: 3;
    font-size: 13px;
  }

  .footer-top > a:last-child {
    margin-left: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
  }

  .footer-bottom nav {
    width: 100%;
    gap: 24px;
  }

  .footer-bottom nav a {
    padding-block: 10px;
  }

  .footer-bottom > span:last-child {
    width: 100%;
  }

  .site-footer {
    padding-bottom: calc(115px + env(safe-area-inset-bottom));
  }

  /* Lebegő kapcsolati sáv, az eszköz alsó biztonsági területét figyelembe véve. */
  .mobile-contact {
    display: flex;
    position: fixed;
    z-index: 9;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 8px 8px 8px 16px;
    border: 1px solid #ffffff30;
    border-radius: 14px;
    background: var(--navy);
    color: white;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 24px #14244226;
  }

  .mobile-contact > span {
    font-size: 11px;
    line-height: 1.4;
  }

  .mobile-contact .button {
    min-height: 46px;
    border-radius: 8px;
    font-size: 13px;
    padding-inline: 14px;
    flex-shrink: 0;
  }

  .form-visible .mobile-contact {
    display: none;
  }

  .legal-main {
    padding-top: 36px;
  }

  .legal-main h1 {
    font-size: 33px;
    overflow-wrap: anywhere;
  }

  .legal-main h2 {
    font-size: 23px;
  }
}

/* ==========================================================================
   21. Csökkentett mozgás
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  /* Mozgáscsökkentésnél a furgon statikus, a szükségtelen szünetgomb eltűnik. */
  .hero-truck .truck-motion {
    animation: none;
  }

  .motion-toggle {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .button:hover {
    transform: none;
  }

}
