/* ============================================
   Cargo2You — statikus honlap
   ============================================ */

:root {
  /* Cargo2You saját arculati színei: menta / grafitszürke.
     A --mint / --mint-deep (és *-rgb páljaik) partneres hero-diánként
     felülírhatók (lásd .partner-cargomarket / .partner-hivjfutart lentebb),
     így a gradiens, a szövegszín és az árnyék is automatikusan követi. */
  --mint: #2ec4b6;
  --mint-rgb: 46, 196, 182;
  --mint-deep: #1c8f86;
  --mint-deep-rgb: 28, 143, 134;
  --gradient: linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%);
  --ink: #1c2024;
  --ink-soft: #4b5568;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-dark: #262b32;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(20, 23, 31, 0.18);
  --max: 1180px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(var(--mint-rgb), 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(var(--mint-rgb), 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.btn-ghost-invert {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost-invert:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  background: #fff;
  color: var(--mint);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-soft);
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
}

.nav-phone svg {
  flex: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(28, 143, 134, 0.35), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(46, 196, 182, 0.35), transparent 60%);
}

/* ---------- Hero carousel ---------- */
.hero-viewport {
  position: relative;
  overflow: hidden;
}

.hero-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 96px 0 90px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  width: 26px;
  background: var(--gradient);
}

/* Partner-diák: a saját menta/grafit márkaszín helyett a partner saját
   színeire állítjuk a --mint / --mint-deep változókat — mivel minden gombot,
   feliratot és árnyékot ezekből építünk fel, ez a két dián automatikusan
   érvényesül, a többi (saját) dián és oldalon változatlanul menta marad. */
.partner-cargomarket {
  --mint: #e6394f;
  --mint-rgb: 230, 57, 79;
  --mint-deep: #f5911e;
  --mint-deep-rgb: 245, 145, 30;
  /* A --gradient-et is újra kell számoltatni ezen az elemen, mert öröklődéskor
     a böngésző a :root-on MÁR feloldott (mentaszínű) sztringet adná tovább —
     ezt a helyi --mint/--mint-deep felülírás önmagában nem írná felül. */
  --gradient: linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%);
}

.partner-hivjfutart {
  --mint: #4e8cff;
  --mint-rgb: 78, 140, 255;
  --mint-deep: #2451a6;
  --mint-deep-rgb: 36, 81, 166;
  --gradient: linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-heading {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.hero-heading .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.5rem;
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-art {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}

.route {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 26px 0;
}

.route .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint-deep);
  flex: none;
}

.route .dot:last-child {
  background: var(--mint);
}

.route .line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.5) 0 6px, transparent 6px 12px);
  position: relative;
}

.route .line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(255,255,255,0.6);
}

.hero-card .modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.hero-card .modes div {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
}

.hero-card .modes svg {
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo .hero-badge {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 24, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 18px;
  backdrop-filter: blur(8px);
}

.hero-photo .hero-badge svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--mint);
}

.hero-photo .hero-badge span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

/* ---------- Sections ---------- */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.bg-soft {
  background: var(--bg-soft);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 96px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card.no-photo {
  padding: 30px 26px;
}

.service-card.no-photo .service-icon {
  position: static;
  box-shadow: none;
  margin-bottom: 20px;
}

.service-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}

.service-body {
  position: relative;
  padding: 34px 26px 26px;
}

.service-icon {
  position: absolute;
  top: -26px;
  left: 26px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.35);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.service-card .link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Process ---------- */
.process {
  background: var(--gradient);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
}

.process .section-head h2,
.process .section-head p {
  color: #fff;
}

.process .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process-steps li {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 26px 20px;
}

.process-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-weight: 800;
  font-size: 0.85rem;
  opacity: 0.7;
  display: block;
  margin-bottom: 10px;
}

.process-steps h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.process-steps p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ---------- Why us / values ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--mint);
  margin-top: 2px;
}

.check-list h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.check-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.stat-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
  margin-top: 34px;
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.about-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gradient);
}

.page-banner {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2.6/1;
  background: var(--gradient);
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-art svg,
.about-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Testimonials / logos strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.strip span strong {
  color: var(--ink);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 90% 0%, rgba(28, 143, 134, 0.35), transparent 60%);
}

.cta-band h2 {
  position: relative;
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 22ch;
  margin: 0;
}

.cta-band .actions {
  position: relative;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-list li:first-child {
  padding-top: 0;
}

.contact-info-list .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-info-list svg {
  width: 20px;
  height: 20px;
  stroke: var(--mint);
}

.contact-info-list h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.contact-info-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 24px;
  aspect-ratio: 16/9;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 34px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 18px 0;
}

.consent input {
  margin-top: 3px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* Vizuálisan rejtett, de képernyőolvasók és keresőmotorok számára
   elérhető szöveg — a dokumentum-hierarchia (pl. hiányzó szekciócím)
   javítására, anélkül hogy a látványt megváltoztatná. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* "Honeypot" spamvédelmi mező — valódi látogatók számára láthatatlan és
   elérhetetlen, csak botok szokták automatikusan kitölteni. */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  left: -9999px;
}

/* ---------- Részletes árajánlatkérő űrlap ---------- */
.quote-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.quote-form-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.quote-form-section:first-child {
  padding-top: 0;
}

.quote-form-section:last-of-type {
  border-bottom: none;
}

.quote-form-section h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.quote-form-section .section-hint {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Chip-alapú, max. N elemre korlátozott többválasztós mező */
.chip-select {
  position: relative;
}

.chip-select-toggle {
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chip-select-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  flex: none;
  margin-left: 10px;
}

.chip-select-toggle:focus {
  outline: none;
  border-color: var(--mint);
}

.chip-select-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.chip-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  cursor: pointer;
}

.chip-option:hover {
  background: var(--bg-soft);
}

.chip-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip-list:empty {
  margin-top: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  font-size: 0.85rem;
  color: var(--ink);
}

.chip button {
  border: none;
  background: rgba(var(--mint-rgb), 0.15);
  color: var(--mint-deep);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

/* Rakomány részletei táblázat */
.cargo-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.cargo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  table-layout: fixed;
}

.cargo-table th {
  text-align: left;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding: 0 8px 10px 0;
  white-space: normal;
  line-height: 1.25;
  vertical-align: bottom;
}

.cargo-table th.cr-col-units { width: 10%; }
.cargo-table th.cr-col-type { width: 26%; }
.cargo-table th.cr-col-weight,
.cargo-table th.cr-col-length,
.cargo-table th.cr-col-width,
.cargo-table th.cr-col-height { width: 12%; }
.cargo-table th.cr-actions-head { width: 16%; }

.cargo-table td {
  padding: 6px 8px 6px 0;
  vertical-align: middle;
}

.cargo-table input,
.cargo-table select {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 8px;
  font: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: var(--ink);
}

.cargo-table input:focus,
.cargo-table select:focus {
  outline: none;
  border-color: var(--mint);
}

.cargo-row.confirmed td:not(.cr-actions) {
  position: relative;
}

.cargo-row.confirmed input,
.cargo-row.confirmed select {
  border-color: rgba(var(--mint-rgb), 0.5);
  background: rgba(var(--mint-rgb), 0.06);
}

.cr-actions,
.cr-actions-head {
  white-space: nowrap;
  position: sticky;
  right: 0;
  background: #fff;
  z-index: 1;
  box-shadow: -8px 0 8px -8px rgba(20, 23, 31, 0.2);
}

.btn-confirm-row,
.btn-delete-row {
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-confirm-row {
  background: rgba(var(--mint-rgb), 0.15);
  color: var(--mint-deep);
  margin-right: 6px;
}

.btn-delete-row {
  background: rgba(230, 57, 79, 0.1);
  color: #c62839;
}

.btn-add-row {
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-add-row:hover {
  border-color: var(--mint);
  color: var(--mint-deep);
}

.cargo-summary {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  text-align: center;
  margin-top: 20px;
}

.cargo-summary strong {
  display: block;
  font-size: 1.25rem;
  color: var(--ink);
}

.cargo-summary span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Fel-/lerakodás helye */
.location-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-col h4 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.swap-btn {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--mint-deep);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-btn:hover {
  border-color: var(--mint);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 70px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 90% 0%, rgba(28, 143, 134, 0.3), transparent 60%);
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Table (comparisons) ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.compare th,
.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.compare th {
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Accordion (FAQ / ASZF) ---------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--mint);
  transition: transform 0.2s ease;
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-item .body {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 2em;
}

.legal p, .legal li {
  color: var(--ink-soft);
}

.legal ul {
  list-style: disc;
  padding-left: 1.3em;
  margin-bottom: 1em;
}

.callout {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 0.92rem;
  color: #9a3412;
  margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-grid h5 {
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.footer-social a:hover {
  background: var(--gradient);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.82rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cargo-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .swap-btn {
    top: auto;
    bottom: -48px;
    left: 50%;
  }

  .quote-form-card {
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
  }

  section {
    padding: 60px 0;
  }

  .hero-slide {
    padding: 60px 0 70px;
  }

  .services-grid,
  .process-steps,
  .stat-card,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 40px 26px;
    flex-direction: column;
    align-items: flex-start;
  }

  .process {
    padding: 40px 24px;
  }

  .cargo-summary {
    grid-template-columns: 1fr 1fr;
  }
}
