:root {
  --bg: #0b1018;
  --bg-soft: #141d2b;
  --panel: #172133;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7ff;
  --muted: #b2bdd0;
  --accent: #ff6f18;
  --accent-2: #ffac2f;
  --ok: #4ecb8a;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b1018, #111928 42%, #0b1018);
  line-height: 1.45;
  overflow-x: hidden;
}

/* Bulgarian typography + header layout tuning (Cyrillic-friendly fonts and nicer wrapping). */
html[lang^="bg"] body {
  font-family: "Montserrat", "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[lang^="bg"] h1,
html[lang^="bg"] h2,
html[lang^="bg"] h3 {
  font-family: "Exo 2", "Rajdhani", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: none;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

html[lang^="bg"] h1 {
  max-width: 18ch;
}

html[lang^="bg"] h2 {
  max-width: 22ch;
}

html[lang^="bg"] .eyebrow {
  text-transform: none;
  letter-spacing: 0.08em;
}

html[lang^="bg"] .nav-row {
  justify-content: flex-start;
  gap: 0.85rem;
}

html[lang^="bg"] .brand img {
  width: clamp(210px, 28vw, 340px);
  max-height: 104px;
}

html[lang^="bg"] .site-nav {
  margin-left: auto;
  flex-wrap: wrap;
  gap: 0.95rem;
}

html[lang^="bg"] .lang-switch {
  margin-left: 0.2rem;
}

html[lang^="bg"] .site-nav a {
  letter-spacing: 0;
  white-space: nowrap;
  font-size: 0.96rem;
}

html[lang^="bg"] .site-nav a.btn-quote {
  padding: 0.66rem 1.05rem;
}

main a:not(.btn):not(.text-link) {
  color: #ffe2b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main a:not(.btn):not(.text-link):hover {
  color: var(--accent-2);
}

/* Card/tile links should not inherit the global underline styling. */
main a.card-link:not(.btn):not(.text-link),
main a.card-link:not(.btn):not(.text-link):visited,
main a.card-link:not(.btn):not(.text-link):hover,
main a.card-link:not(.btn):not(.text-link):active {
  text-decoration: none;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 18% 0%, rgba(255, 111, 24, 0.23), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(58, 99, 187, 0.3), transparent 35%);
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5.2rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 20, 0.9);
  backdrop-filter: blur(12px);
}

.nav-row {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: clamp(230px, 32vw, 390px);
  max-height: 118px;
  height: auto;
  aspect-ratio: 600 / 218;
  object-fit: contain;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.4rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.lang-link {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 186, 112, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 173, 92, 0.14), rgba(55, 93, 174, 0.08)),
    rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd7aa;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 223, 179, 0.16), 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.lang-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 192, 122, 0.58);
}

.lang-link:focus-visible {
  outline: 2px solid rgba(255, 187, 120, 0.7);
  outline-offset: 4px;
}

.lang-link img {
  width: 22px;
  height: 16px;
  border-radius: 4px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 186, 112, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 173, 92, 0.14), rgba(55, 93, 174, 0.08)),
    rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd7aa;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 223, 179, 0.16), 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 192, 122, 0.58);
  color: #ffead0;
}

.social-icon {
  width: 18px;
  height: 18px;
}

.social-icon rect,
.social-icon circle,
.social-icon line,
.social-icon polyline,
.social-icon path {
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

a[aria-label="Facebook"] .social-icon path {
  stroke: none;
  fill: currentColor;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav a:not(.btn):hover {
  color: var(--accent-2);
}

.site-nav a.active:not(.btn) {
  color: var(--accent-2);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 700;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  display: inline-block;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 24px rgba(255, 111, 24, 0.3);
}

.btn-quote {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 166, 78, 0.48);
  padding: 0.72rem 1.18rem;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #3f2a1e 0%, #2f1f16 52%, #251911 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 214, 161, 0.2);
  color: #ffd8a8;
  text-shadow: none;
}

.btn-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 183, 111, 0.16), transparent 50%);
  pointer-events: none;
}

.btn-quote:hover {
  border-color: rgba(255, 176, 94, 0.7);
  color: #ffe8c8;
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 225, 180, 0.28);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 0.85rem 1.2rem;
}

.hero {
  padding: 3rem 0 4rem;
}

.hero-banner {
  padding-top: 1.2rem;
}

.hero-banner-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: clamp(480px, 70vh, 720px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.45);
  background:
    linear-gradient(100deg, rgba(5, 9, 16, 0.86) 5%, rgba(8, 13, 23, 0.55) 44%, rgba(12, 18, 28, 0.2) 70%),
    linear-gradient(0deg, rgba(6, 10, 17, 0.36), rgba(6, 10, 17, 0.36)),
    url("assets/roadsist-home-banner.jpeg") center center / cover no-repeat;
}

.hero-banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 151, 57, 0.24), transparent 36%),
    radial-gradient(circle at 88% 88%, rgba(71, 110, 198, 0.2), transparent 32%);
  pointer-events: none;
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  width: min(760px, 92%);
  padding: clamp(1.1rem, 4vw, 2.2rem);
}

.hero-banner-content p {
  color: #ecf2ff;
}

.hero-banner .hero-actions {
  margin-top: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.hero-copy,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 145, 46, 0.45), transparent 65%);
}

.eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.77rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 18ch;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.hero-copy p {
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero-stats {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem;
  background: rgba(10, 14, 21, 0.6);
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
  color: #fff;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-panel h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.hero-panel p {
  color: var(--muted);
}

.panel-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.panel-badges span {
  border: 1px solid rgba(78, 203, 138, 0.5);
  color: #c4f3dd;
  background: rgba(78, 203, 138, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
  font-size: 0.82rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e9f1ff;
  font-size: 0.88rem;
  user-select: none;
}

.trust-badge-text {
  min-width: 0;
  flex: 1 1 auto;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.trust-badge--trustpilot {
  border-color: rgba(78, 203, 138, 0.28);
  background:
    linear-gradient(145deg, rgba(78, 203, 138, 0.14), rgba(78, 203, 138, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.trust-badge--trustpilot svg path {
  fill: rgba(78, 203, 138, 0.98);
  filter: drop-shadow(0 8px 14px rgba(78, 203, 138, 0.22));
}

.trust-badge--google {
  border-color: rgba(255, 184, 76, 0.3);
  background:
    linear-gradient(145deg, rgba(255, 184, 76, 0.14), rgba(255, 184, 76, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.trust-badge--google svg path {
  fill: rgba(255, 200, 80, 0.98);
  filter: drop-shadow(0 8px 14px rgba(255, 184, 76, 0.18));
}

.trust-badges-footer {
  margin-top: 0.65rem;
}

.trust-badges-hero {
  margin-top: 0.85rem;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1.1rem 0;
}

.trust-grid p {
  margin: 0;
  color: #dbe3f5;
  font-weight: 500;
}

.services h2,
.process h2,
.coverage h2,
.testimonials h2,
.quote h2 {
  margin-bottom: 1rem;
}

.service-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.step,
.coverage-card,
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 43, 66, 0.6), rgba(16, 24, 39, 0.75));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.service-card {
  padding: 1rem;
}

.service-card p {
  color: var(--muted);
  margin: 0.55rem 0 0.9rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 182, 105, 0.42);
  background:
    linear-gradient(160deg, rgba(255, 173, 92, 0.22), rgba(255, 111, 24, 0.08)),
    rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.62rem;
  box-shadow: inset 0 1px 0 rgba(255, 232, 193, 0.2);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffd39e;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.card-link:hover {
  color: inherit;
  transform: translateY(-1px);
}

.card-link:focus-visible {
  outline: 2px solid rgba(255, 187, 120, 0.7);
  outline-offset: 4px;
}

.service-card.card-link,
.info-card.card-link {
  border-color: rgba(255, 255, 255, 0.14);
}

.service-card.card-link:hover,
.info-card.card-link:hover {
  border-color: rgba(255, 192, 122, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-cta::after {
  content: "→";
  transform: translateY(-0.5px);
  opacity: 0.95;
}

.process-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  padding: 0.95rem;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 800;
  color: #111;
  background: linear-gradient(180deg, #ffd69a, #ff9f29);
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.coverage-copy p {
  color: var(--muted);
}

.coverage-copy a {
  color: #ffe2b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.coverage-copy a:hover {
  color: var(--accent-2);
}

.coverage-copy ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: #dce5f9;
}

.coverage-copy li {
  margin: 0.45rem 0;
}

.coverage-card {
  padding: 1rem;
}

.coverage-card p {
  color: var(--muted);
  margin: 0.55rem 0 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.quote-card {
  margin: 0;
  padding: 1rem;
  color: #dce5f9;
  font-size: 1.02rem;
}

.quote-wrap {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.bnpl-banner {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 111, 24, 0.22), rgba(116, 79, 255, 0.22)),
    linear-gradient(180deg, rgba(22, 33, 54, 0.88), rgba(10, 15, 26, 0.9));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.bnpl-copy p {
  color: #d9e5ff;
  margin-top: 0.5rem;
}

.bnpl-actions {
  display: grid;
  gap: 0.65rem;
}

.bnpl-btn {
  width: 100%;
  text-align: center;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.bnpl-btn.klarna {
  background: linear-gradient(180deg, #ffb3d2, #ff6fa7);
  color: #2a1020;
  box-shadow: 0 12px 24px rgba(255, 111, 167, 0.35);
}

.bnpl-btn.clearpay {
  background: linear-gradient(180deg, #9ef6ef, #5ddfd2);
  color: #0d2526;
  box-shadow: 0 12px 24px rgba(93, 223, 210, 0.35);
}

.quote-copy p {
  color: var(--muted);
}

.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(180deg, rgba(24, 35, 54, 0.75), rgba(11, 17, 28, 0.86));
  display: grid;
  gap: 0.6rem;
}

.quote-pricing-card {
  margin-top: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 0.9rem;
}

.quote-pricing-card h3 {
  margin: 0;
}

.quote-pricing-card ul {
  margin: 0.65rem 0;
  padding-left: 1rem;
}

.quote-pricing-card li {
  margin: 0.35rem 0;
  color: #dce7fb;
}

.quote-pricing-card p {
  margin: 0;
  color: #b9c8e0;
  font-size: 0.95rem;
}

.quote-form-premium {
  gap: 0.9rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 172, 47, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 132, 46, 0.2), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(57, 102, 198, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(24, 35, 54, 0.84), rgba(11, 17, 28, 0.92));
  padding: 1.15rem;
}

.quote-form-premium .form-grid {
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-form-premium label {
  display: grid;
  gap: 0.36rem;
  font-weight: 600;
  color: #e4edff;
}

.addon-group {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.75rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
}

.addon-group legend {
  padding: 0 0.35rem;
  color: #e8f1ff;
  font-weight: 700;
}

.addon-options {
  display: grid;
  gap: 0.45rem;
}

.addon-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.addon-option input[type="checkbox"] {
  accent-color: #ff9b33;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.addon-option strong {
  color: #ffd4a0;
}

.addon-option span {
  line-height: 1.35;
}

.label-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.14rem 0.48rem;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2f1808;
  background: linear-gradient(180deg, #ffd08e, #ffab43);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0.8rem;
  color: #fff;
  font: inherit;
  width: 100%;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(255, 172, 47, 0.42);
  outline-offset: 1px;
  border-color: rgba(255, 179, 88, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.quote-form select option {
  color: #111;
}

.quote-estimate {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(255, 190, 121, 0.13), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  padding: 0.9rem;
}

.quote-estimate h3 {
  margin: 0 0 0.45rem;
}

#quote-estimate-price {
  margin: 0;
  color: #ffdcb1;
  font-weight: 700;
  font-size: 1.07rem;
}

#quote-estimate-breakdown {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
  color: #cad7ed;
}

#quote-estimate-breakdown li {
  margin: 0.3rem 0;
}

.quote-payment {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(26, 39, 61, 0.7), rgba(13, 19, 30, 0.8));
  padding: 0.9rem;
}

.quote-payment h3 {
  margin: 0 0 0.55rem;
}

.payment-flow-note {
  margin: 0 0 0.5rem;
  color: #e3ecff;
}

.payment-flow-steps {
  margin: 0 0 0.7rem;
  padding-left: 1.1rem;
  color: #c5d4ee;
}

.payment-flow-steps li {
  margin: 0.25rem 0;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.payment-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.payment-card input[type="radio"] {
  accent-color: #ff9b33;
}

.payment-card:has(input:checked) {
  border-color: rgba(255, 170, 69, 0.75);
  background: rgba(255, 162, 58, 0.12);
}

.payment-actions {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.payment-actions .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.deposit-policy-section {
  padding-top: 0;
}

.deposit-policy-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 1rem;
}

.deposit-policy-card h2 {
  margin-top: 0;
}

.deposit-policy-card p {
  color: #d4e0f5;
}

#form-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: #ffdaaa;
}

#transport-form-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: #ffdaaa;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.4rem;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.5), rgba(9, 13, 20, 0.85));
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
}

.footer-brand img {
  width: clamp(200px, 26vw, 320px);
  max-height: 96px;
  display: block;
  height: auto;
  aspect-ratio: 600 / 218;
  object-fit: contain;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  color: #afbdd5;
}

.footer-contact h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.footer-contact p {
  margin: 0.35rem 0;
  color: #c5d2ea;
}

.footer-contact a,
.footer-links a {
  color: #dce8ff;
  text-decoration: none;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-services {
  display: grid;
  gap: 0.4rem;
}

.footer-services a {
  color: #b7c8e6;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-services a:hover {
  color: var(--accent-2);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  padding: 3.2rem 0 2.2rem;
}

.page-hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.page-hero-card p {
  color: var(--muted);
  max-width: 60ch;
}

.page-hero-banner {
  padding-top: 1.2rem;
  padding-bottom: 1.4rem;
}

.page-hero-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: clamp(440px, 62vh, 620px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
  background:
    linear-gradient(100deg, rgba(6, 10, 16, 0.85) 4%, rgba(8, 13, 22, 0.58) 42%, rgba(8, 13, 22, 0.22) 74%),
    linear-gradient(0deg, rgba(7, 12, 20, 0.28), rgba(7, 12, 20, 0.28)),
    url("assets/roadsist-about-banner.jpeg") center center / cover no-repeat;
}

.page-hero-banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 147, 58, 0.2), transparent 34%),
    radial-gradient(circle at 82% 86%, rgba(67, 107, 196, 0.18), transparent 30%);
}

.page-hero-banner-card p,
.page-hero-banner-card h1,
.page-hero-banner-card .eyebrow {
  position: relative;
  z-index: 1;
}

.page-hero-banner-card p {
  color: #e8efff;
}

.page-hero-banner-card-export {
  background:
    linear-gradient(102deg, rgba(6, 10, 16, 0.86) 5%, rgba(8, 13, 22, 0.56) 44%, rgba(8, 13, 22, 0.24) 74%),
    linear-gradient(0deg, rgba(7, 12, 20, 0.3), rgba(7, 12, 20, 0.3)),
    url("assets/roadsist-export-banner.jpeg") center center / cover no-repeat;
}

.page-hero-banner-card-services {
  background:
    linear-gradient(102deg, rgba(6, 10, 16, 0.86) 5%, rgba(8, 13, 22, 0.56) 44%, rgba(8, 13, 22, 0.24) 74%),
    linear-gradient(0deg, rgba(7, 12, 20, 0.3), rgba(7, 12, 20, 0.3)),
    url("assets/roadsist-services-banner.jpeg") center center / cover no-repeat;
}

.page-hero-banner-card-contact {
  background:
    linear-gradient(102deg, rgba(6, 10, 16, 0.86) 5%, rgba(8, 13, 22, 0.56) 44%, rgba(8, 13, 22, 0.24) 74%),
    linear-gradient(0deg, rgba(7, 12, 20, 0.3), rgba(7, 12, 20, 0.3)),
    url("assets/roadsist-contact-banner.jpeg") center center / cover no-repeat;
}

.content-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 43, 66, 0.6), rgba(16, 24, 39, 0.75));
  padding: 1rem;
}

.info-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.info-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: #dce5f9;
}

.info-card li {
  margin: 0.35rem 0;
}

.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.export-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1rem;
  align-items: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1rem;
  align-items: start;
}

.map-card iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 10px;
  margin-top: 0.6rem;
}

.map-card a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
}

.contact-form-section {
  padding-top: 0;
}

.export-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(180deg, rgba(24, 35, 54, 0.82), rgba(11, 17, 28, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.72rem 0.8rem;
  color: #fff;
  font: inherit;
  width: 100%;
}

.form-grid select option {
  color: #111;
}

.form-grid input:disabled,
.form-grid select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.captcha-wrap label {
  font-weight: 600;
}

.captcha-slot {
  min-height: 78px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.field-hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  font-size: 1.08rem;
  padding: 0.95rem 1.2rem;
  margin-top: 0.1rem;
}

#export-form-feedback {
  margin: 0;
  min-height: 1.2rem;
  color: #ffd9a8;
}

.legal-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 33, 52, 0.7), rgba(12, 18, 30, 0.8));
  padding: 1.1rem;
}

.legal-copy h3 {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.legal-copy ul {
  padding-left: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 160ms ease, background 160ms ease;
}

.faq-item h3 {
  margin: 0;
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
}

.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-2);
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.faq-item:not(.is-open) p {
  display: none;
}

.faq-item.is-open {
  border-color: rgba(255, 172, 47, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.faq-item.is-open h3::after {
  content: "−";
}

@media (max-width: 1080px) {
  .nav-row {
    min-height: 124px;
  }

  .brand img {
    width: clamp(210px, 31vw, 340px);
    max-height: 102px;
  }

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

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

  .hero-grid,
  .coverage-grid,
  .quote-wrap,
  .split,
  .export-layout,
  .contact-layout,
  .bnpl-banner {
    grid-template-columns: 1fr;
  }

  .hero-banner-card {
    min-height: clamp(460px, 58vh, 640px);
    background-position: 58% center;
  }

  .hero-banner-content {
    width: min(760px, 96%);
  }

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

  .page-hero-banner-card {
    min-height: clamp(420px, 54vh, 560px);
    background-position: 58% center;
  }

  .page-hero-banner-card-export {
    background-position: 56% center;
  }

  .page-hero-banner-card-services {
    background-position: 57% center;
  }
}

@media (max-width: 880px) {
  /* English mobile header: keep the flag + social visible by placing them between logo and Menu. */
  html[lang="en"] .nav-row {
    justify-content: space-between;
    gap: 0.7rem;
  }

  html[lang="en"] .brand {
    order: 1;
  }

  html[lang="en"] .lang-switch {
    order: 2;
    margin-left: 0;
    flex-shrink: 0;
  }

  html[lang="en"] .header-social {
    order: 3;
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
  }

  html[lang="en"] .menu-toggle {
    order: 4;
    margin-left: auto;
    flex-shrink: 0;
  }

  html[lang="en"] .site-nav {
    order: 5;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 64px;
    border-radius: 999px;
    border: 1px solid rgba(255, 186, 112, 0.45);
    background: linear-gradient(180deg, rgba(63, 43, 25, 0.96), rgba(35, 23, 15, 0.96));
    color: #ffe0b7;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 214, 167, 0.2);
  }

  .site-nav {
    position: fixed;
    top: 92px;
    left: 4vw;
    right: 4vw;
    min-width: 0;
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(145deg, rgba(255, 130, 40, 0.12), transparent 42%),
      linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(8, 13, 22, 0.98));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-width: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: opacity 170ms ease, transform 170ms ease;
    z-index: 70;
  }

  html[lang^="bg"] .nav-row {
    justify-content: space-between;
    gap: 0.7rem;
  }

  /* Bulgarian mobile header: align like EN (logo, then flag+social, Menu pinned right). */
  html[lang^="bg"] .brand {
    order: 1;
  }

  html[lang^="bg"] .lang-switch {
    order: 2;
    margin-left: 0;
    flex-shrink: 0;
  }

  html[lang^="bg"] .header-social {
    order: 3;
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
  }

  html[lang^="bg"] .menu-toggle {
    order: 4;
    margin-left: auto;
    flex-shrink: 0;
  }

  html[lang^="bg"] .site-nav {
    order: 5;
  }

  /* Slightly tighter controls on mobile so logo + flag + social + Menu never clip. */
  .lang-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .header-social {
    margin-left: auto;
    margin-right: 0.45rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a.btn-quote {
    margin-top: 0.2rem;
    text-align: center;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 14, 0.56);
    backdrop-filter: blur(2px);
    z-index: 45;
  }

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

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

  .footer-main {
    flex-direction: column;
  }

  .footer-brand img {
    width: clamp(190px, 58vw, 300px);
  }

  .footer-social {
    margin-top: 0.2rem;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 3rem 0;
  }

  .nav-row {
    min-height: 92px;
  }

  .brand img {
    width: clamp(150px, 52vw, 220px);
    max-height: 64px;
  }

  /* Match BG header logo sizing on phones. */
  html[lang="en"] .brand img {
    width: clamp(210px, 28vw, 340px);
    max-height: 104px;
  }

  .hero {
    padding-top: 1.15rem;
  }

  .hero-banner {
    padding-top: 0.7rem;
  }

  .hero-banner-card {
    min-height: clamp(500px, 70vh, 620px);
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.82) 4%, rgba(7, 12, 21, 0.58) 48%, rgba(5, 9, 16, 0.76) 100%),
      url("assets/optimized/roadsist-home-banner-mobile.jpeg") 62% center / cover no-repeat;
  }

  .hero-banner-content {
    width: 100%;
    padding: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .bnpl-btn {
    font-size: 16px;
  }

  .payment-card,
  .addon-option {
    padding: 0.65rem;
  }

  .btn,
  .menu-toggle,
  .site-nav a,
  .quote-form input,
  .quote-form select,
  .quote-form textarea,
  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 16px;
  }

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

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

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

  .quote-form-premium .form-grid {
    grid-template-columns: 1fr;
  }

  .payment-options,
  .payment-actions {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0.6rem 1rem;
  }

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

  .map-card iframe {
    min-height: 260px;
  }

  .page-hero-banner {
    padding-top: 0.7rem;
  }

  .page-hero-banner-card {
    min-height: clamp(460px, 68vh, 560px);
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.82) 4%, rgba(7, 12, 20, 0.54) 48%, rgba(5, 9, 16, 0.74) 100%),
      url("assets/optimized/roadsist-about-banner-mobile.jpeg") 60% center / cover no-repeat;
  }

  .page-hero-banner-card-export {
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.84) 4%, rgba(7, 12, 20, 0.56) 48%, rgba(5, 9, 16, 0.78) 100%),
      url("assets/optimized/roadsist-export-banner-mobile.jpeg") 62% center / cover no-repeat;
  }

  .page-hero-banner-card-services {
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.84) 4%, rgba(7, 12, 20, 0.56) 48%, rgba(5, 9, 16, 0.78) 100%),
      url("assets/optimized/roadsist-services-banner-mobile.jpeg") 61% center / cover no-repeat;
  }

  .page-hero-banner-card-contact {
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.84) 4%, rgba(7, 12, 20, 0.56) 48%, rgba(5, 9, 16, 0.78) 100%),
      url("assets/optimized/roadsist-contact-banner-mobile.jpeg") 61% center / cover no-repeat;
  }
}

@media (max-width: 420px) {
  html[lang="en"] .nav-row {
    gap: 0.55rem;
  }

  html[lang="en"] .lang-link,
  html[lang="en"] .social-link {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }

  html[lang="en"] .lang-link img {
    width: 20px;
    height: 14px;
  }

  .menu-toggle {
    min-width: 58px;
    padding: 0.42rem 0.6rem;
  }

  .container {
    width: min(1160px, 94vw);
  }

  .hero-copy,
  .hero-panel,
  .service-card,
  .step,
  .coverage-card,
  .quote-card,
  .info-card,
  .export-form,
  .quote-form {
    padding: 0.85rem;
  }

  h2 {
    font-size: clamp(1.6rem, 9vw, 2.1rem);
  }

  .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.55rem;
  }

  .card-icon svg {
    width: 20px;
    height: 20px;
  }
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  margin: 0 auto;
  max-width: 940px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 122, 35, 0.15), rgba(66, 103, 194, 0.16)),
    rgba(10, 16, 28, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  padding: 0.95rem;
}

.cookie-consent h3 {
  margin: 0 0 0.4rem;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
}

.cookie-consent p {
  margin: 0;
  color: #d3deef;
}

.cookie-consent .cookie-link {
  color: #ffe2b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.66rem 0.88rem;
  cursor: pointer;
}

.cookie-btn.primary {
  border-color: transparent;
  background: linear-gradient(180deg, #ffb53d, #ff6f18);
  color: #1d1308;
}

.cookie-preferences {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 0.48rem;
}

.cookie-preferences[hidden] {
  display: none;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.95rem;
}

.cookie-consent input[type="checkbox"] {
  width: 44px;
  height: 24px;
  appearance: none;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  outline: none;
}

.cookie-consent input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 150ms ease;
}

.cookie-consent input[type="checkbox"]:checked {
  background: linear-gradient(180deg, #7bf0e5, #2fc8b8);
}

.cookie-consent input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}

.cookie-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 115;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.9);
  color: #fff;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.not-found-section {
  min-height: calc(100vh - 320px);
  display: grid;
  align-items: center;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.not-found-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 129, 44, 0.2), transparent 35%),
    radial-gradient(circle at 88% 100%, rgba(63, 106, 203, 0.22), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  padding: 2rem;
  overflow: hidden;
}

.nf-code {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(4rem, 11vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: #ffb057;
  text-shadow: 0 14px 40px rgba(255, 113, 24, 0.35);
}

.not-found-card h1 {
  margin-top: 0.8rem;
  margin-bottom: 0.65rem;
}

.not-found-card > p {
  max-width: 62ch;
  color: #d4dfef;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.not-found-support {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 1rem;
}

.not-found-support h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
}

.not-found-support p {
  margin: 0.45rem 0 0.8rem;
  color: #c4d1e6;
}

@media (max-width: 720px) {
  .not-found-section {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2.4rem;
  }

  .not-found-card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .not-found-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .not-found-actions .btn,
  .not-found-support .btn {
    width: 100%;
    text-align: center;
  }
}

.mobile-sticky-cta {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 136, 48, 0.14), transparent 55%),
    rgba(10, 16, 28, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  transform: translateY(0);
  opacity: 1;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-sticky-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
}

.mobile-cta-btn {
  text-align: center;
  border-radius: 11px;
  padding: 0.76rem 0.5rem;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.mobile-cta-call {
  background: linear-gradient(180deg, #ffb644, #ff791f);
  color: #201207;
  box-shadow: 0 8px 20px rgba(255, 121, 31, 0.35);
}

.mobile-cta-quote {
  border: 1px solid rgba(255, 188, 124, 0.55);
  background: linear-gradient(180deg, rgba(64, 42, 23, 0.98), rgba(34, 22, 14, 0.98));
  color: #ffdcb0;
}

@media (max-width: 880px) {
  .mobile-sticky-cta {
    display: grid;
  }

  body.has-mobile-sticky-cta .cookie-fab {
    bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-sticky-cta .cookie-consent {
    bottom: calc(6.8rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .hero-banner-card {
    min-height: clamp(520px, 76vh, 660px);
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.86) 3%, rgba(7, 12, 21, 0.6) 48%, rgba(5, 9, 16, 0.8) 100%),
      url("assets/optimized/roadsist-home-banner-mobile.jpeg") 64% center / cover no-repeat;
  }

  .page-hero-banner-card {
    min-height: clamp(490px, 72vh, 620px);
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.86) 4%, rgba(7, 12, 20, 0.58) 48%, rgba(5, 9, 16, 0.8) 100%),
      url("assets/optimized/roadsist-about-banner-mobile.jpeg") 63% center / cover no-repeat;
  }

  .page-hero-banner-card-export {
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.86) 4%, rgba(7, 12, 20, 0.58) 48%, rgba(5, 9, 16, 0.8) 100%),
      url("assets/optimized/roadsist-export-banner-mobile.jpeg") 64% center / cover no-repeat;
  }

  .page-hero-banner-card-services {
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.86) 4%, rgba(7, 12, 20, 0.58) 48%, rgba(5, 9, 16, 0.8) 100%),
      url("assets/optimized/roadsist-services-banner-mobile.jpeg") 64% center / cover no-repeat;
  }

  .page-hero-banner-card-contact {
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.86) 4%, rgba(7, 12, 20, 0.58) 48%, rgba(5, 9, 16, 0.8) 100%),
      url("assets/optimized/roadsist-contact-banner-mobile.jpeg") 64% center / cover no-repeat;
  }
}
