/* =========================================================
   UAB Bonsatrans — Dark Logistics
   ========================================================= */

:root {
  --bg: #050b14;
  --bg-2: #0a1622;
  --surface: #0f1e2e;
  --surface-2: #142a3f;
  --surface-3: #1a3450;

  --text: #eaf2fb;
  --text-2: #c6d6e7;
  --muted: #8aa0b8;

  --brand: #2f8edb;
  --brand-2: #56a7e8;
  --brand-soft: rgba(47, 142, 219, 0.14);

  --line: rgba(168, 190, 210, 0.16);
  --line-2: rgba(168, 190, 210, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.4);

  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(47, 142, 219, 0.18), transparent 60%),
    radial-gradient(700px 500px at 92% 5%, rgba(86, 167, 232, 0.1), transparent 65%),
    radial-gradient(800px 500px at 50% 100%, rgba(47, 142, 219, 0.08), transparent 60%);
}

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

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

p {
  color: var(--text-2);
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.narrow {
  width: min(900px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section h2 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: var(--brand-soft);
  border: 1px solid rgba(86, 167, 232, 0.3);
  border-radius: 999px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 12px rgba(86, 167, 232, 0.7);
  vertical-align: middle;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: #fff;
  background: rgba(86, 167, 232, 0.18);
}

.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.65;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 20;
  min-width: 240px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #0d1e2e;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--text-2);
  border-radius: 9px;
  font-size: 0.93rem;
}

.dropdown-menu a:hover {
  color: #fff;
  background: rgba(86, 167, 232, 0.14);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1.05rem;
  border-radius: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(47, 142, 219, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 142, 219, 0.4);
}

/* =========================================================
   HERO BANNER
   ========================================================= */

.hero {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 78vh, 720px);
  padding: clamp(1.6rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(
      105deg,
      rgba(5, 11, 20, 0.94) 0%,
      rgba(5, 11, 20, 0.55) 45%,
      rgba(5, 11, 20, 0.25) 75%,
      rgba(5, 11, 20, 0.55) 100%
    ),
    url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1900&q=80")
      center/cover no-repeat;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 0% 100%, rgba(47, 142, 219, 0.25), transparent 60%),
    radial-gradient(500px 360px at 100% 0%, rgba(86, 167, 232, 0.18), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h2 {
  margin: 0.7rem 0 1.1rem;
  color: #d7e9fb;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  font-weight: 600;
  background: linear-gradient(90deg, #fff, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin: 0;
  max-width: 540px;
  color: #c6d8eb;
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(47, 142, 219, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(47, 142, 219, 0.46);
}

.button:hover::after {
  transform: translateX(3px);
}

.hero-metrics {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 540px;
}

.hero-metrics div {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(168, 190, 210, 0.25);
  background: rgba(5, 11, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-metrics span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.services-head p {
  max-width: 520px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(86, 167, 232, 0.45), transparent 55%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(86, 167, 232, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.07);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 11, 20, 0.85) 100%);
}

.card h3 {
  margin: 1.1rem 1.2rem 0.5rem;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 0.96rem;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-text {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
}

.about-text p {
  color: var(--text-2);
}

.about-text p + p {
  margin-top: 0.85rem;
}

.about-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  box-shadow: var(--shadow-md);
}

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

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 11, 20, 0.7));
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.why-grid li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  color: var(--text-2);
}

.why-grid li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--brand-2) 0 35%, transparent 40%),
    radial-gradient(circle at center, rgba(86, 167, 232, 0.18) 0 70%, transparent 75%);
}

/* =========================================================
   CONTACTS
   ========================================================= */

.two-cols {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: start;
}

.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
}

.contact-list {
  margin: 1rem 0 0;
}

.contact-list dt {
  margin-top: 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list dd {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: 1.02rem;
}

.contact-list a {
  color: var(--brand-2);
}

.contact-list a:hover {
  color: #fff;
}

/* =========================================================
   FORM
   ========================================================= */

.form {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.form h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.2rem;
}

.form-intro {
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.form label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.78rem 0.85rem;
  font: inherit;
  color: #fff;
  border: 1px solid rgba(168, 190, 210, 0.22);
  border-radius: 10px;
  background: rgba(5, 11, 20, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(168, 190, 210, 0.55);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(86, 167, 232, 0.7);
  background: rgba(5, 11, 20, 0.75);
  box-shadow: 0 0 0 4px rgba(47, 142, 219, 0.18);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--text-2);
  font-size: 0.93rem;
}

.checkbox input {
  width: auto;
  margin-top: 0.3rem;
  accent-color: var(--brand);
}

/* =========================================================
   POLICY
   ========================================================= */

.policy-block {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
}

.policy-block + .policy-block {
  margin-top: 1.1rem;
}

.policy-block h2 {
  margin-bottom: 0.6rem;
}

.policy-block p {
  margin: 0;
  color: var(--text-2);
}

/* =========================================================
   CARD AS LINK
   ========================================================= */

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link h3 {
  transition: color 0.2s ease;
}

.card-link:hover h3 {
  color: var(--brand-2);
}

/* =========================================================
   SERVICE PAGE (Road freight, etc.)
   ========================================================= */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--text-2);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--brand-2);
}

.breadcrumbs .current {
  color: #fff;
}

.service-page {
  padding-top: 0;
}

.service-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.4rem;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 100px;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
}

.side-nav h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-nav ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.side-nav li + li {
  margin-top: 0.15rem;
}

.side-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 0.96rem;
  border-left: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.side-nav a:hover {
  color: #fff;
  background: rgba(86, 167, 232, 0.1);
  border-left-color: var(--brand-2);
}

.side-nav-cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(47, 142, 219, 0.3);
}

.side-nav-cta:hover {
  transform: translateY(-1px);
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  scroll-margin-top: 110px;
}

.feature-row.reverse .feature-text {
  order: 2;
}

.feature-row.reverse .feature-media {
  order: 1;
}

.feature-text .eyebrow {
  margin-bottom: 0.6rem;
}

.feature-text h2 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.feature-text h3 {
  margin: 1.2rem 0 0.4rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-text p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.7;
}

.feature-text strong {
  color: #fff;
}

.feature-text .text-secondary {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

.tag-list {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list li {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(86, 167, 232, 0.3);
  border-radius: 999px;
  background: rgba(47, 142, 219, 0.1);
  color: var(--text-2);
  font-size: 0.9rem;
}

.page-toc {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-toc a {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(15, 30, 46, 0.65);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-toc a:hover {
  color: #fff;
  background: rgba(86, 167, 232, 0.18);
  border-color: rgba(86, 167, 232, 0.45);
}

.check-list {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2.1rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(168, 190, 210, 0.1);
  line-height: 1.55;
}

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

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    linear-gradient(120deg, rgba(47, 142, 219, 0.25), rgba(86, 167, 232, 0.15));
  border: 1px solid rgba(86, 167, 232, 0.45);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1.15rem;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}

.feature-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4 / 3;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 11, 20, 0.45));
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.page-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(47, 142, 219, 0.22), transparent 60%),
    radial-gradient(600px 380px at 90% 30%, rgba(86, 167, 232, 0.12), transparent 65%);
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 880px;
}

.page-hero p {
  margin: 1.1rem 0 0;
  max-width: 720px;
  color: var(--text-2);
  font-size: 1.08rem;
}

.about-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.about-page-text {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
}

.about-page-text p {
  margin: 0;
  color: var(--text-2);
}

.about-page-text p + p {
  margin-top: 1rem;
}

.about-page-text strong {
  color: #fff;
  font-weight: 700;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 1rem;
}

.about-gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery-item.tall {
  grid-row: span 2;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-stats > div {
  padding: 1.4rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-sm);
}

.about-stats strong {
  display: block;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stats span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-md);
}

.project-card-text {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.project-card-text h2 {
  margin: 0 0 0.6rem;
}

.project-card-text p {
  margin: 0 0 0.4rem;
  color: var(--text-2);
}

.project-card-text strong {
  color: #fff;
}

.project-card-media {
  position: relative;
  min-height: 280px;
}

.project-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    transparent 0%,
    rgba(15, 30, 46, 0.4) 60%,
    var(--surface) 100%
  );
}

/* =========================================================
   POLICY PAGE (Privacy / Cookie)
   ========================================================= */

.page-meta {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.4rem;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 100px;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.policy-toc h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.policy-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.policy-toc li {
  counter-increment: toc;
}

.policy-toc li + li {
  margin-top: 0.1rem;
}

.policy-toc a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.policy-toc a::before {
  content: counter(toc, decimal-leading-zero);
  display: inline-block;
  margin-right: 0.55rem;
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.78rem;
}

.policy-toc a:hover {
  color: #fff;
  background: rgba(86, 167, 232, 0.1);
  border-left-color: var(--brand-2);
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  max-width: 780px;
}

.policy-content section {
  scroll-margin-top: 110px;
}

.policy-content h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.policy-content h3 {
  margin: 1.4rem 0 0.45rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.policy-content p {
  margin: 0 0 0.85rem;
  color: var(--text-2);
  line-height: 1.75;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content strong {
  color: #fff;
}

.policy-content em {
  color: var(--brand-2);
  font-style: italic;
}

.policy-content a {
  color: var(--brand-2);
  text-decoration: underline;
  text-decoration-color: rgba(86, 167, 232, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.policy-content a:hover {
  color: #fff;
}

.bullet-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  color: var(--text-2);
  line-height: 1.6;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(86, 167, 232, 0.16);
}

.definitions {
  margin: 1rem 0 1.2rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(15, 30, 46, 0.5);
}

.definitions p {
  margin: 0 0 0.65rem;
  color: var(--text-2);
}

.definitions p:last-child {
  margin-bottom: 0;
}

.contact-block {
  margin: 1rem 0;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.contact-block p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.7;
}

.contact-block p + p {
  margin-top: 0.2rem;
}

.contact-block strong {
  color: #fff;
  font-size: 1.05rem;
}

.table-wrap {
  margin: 1rem 0 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.policy-table thead th {
  padding: 0.95rem 1.1rem;
  text-align: left;
  background: rgba(47, 142, 219, 0.14);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}

.policy-table tbody td {
  padding: 0.95rem 1.1rem;
  color: var(--text-2);
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}

.policy-table tbody tr:last-child td {
  border-bottom: 0;
}

.policy-table tbody tr:nth-child(even) {
  background: rgba(15, 30, 46, 0.45);
}

/* =========================================================
   COOKIE POLICY PAGE
   ========================================================= */

.cookie-intro {
  max-width: none;
}

.cookie-services-head {
  margin-bottom: 1.4rem;
}

.cookie-services-head h2 {
  margin: 0.4rem 0 0.6rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
}

.cookie-services-head p {
  margin: 0;
  color: var(--muted);
}

.cookie-services {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-service {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-service[open] {
  border-color: rgba(86, 167, 232, 0.4);
  box-shadow: var(--shadow-md);
}

.cookie-service summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.cookie-service summary::-webkit-details-marker {
  display: none;
}

.cookie-service summary:hover {
  background: rgba(86, 167, 232, 0.06);
}

.cookie-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  flex: 1;
  min-width: 0;
}

.cookie-summary h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.cookie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cookie-tag {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid;
}

.tag-functional {
  color: #6cd1ff;
  border-color: rgba(108, 209, 255, 0.45);
  background: rgba(108, 209, 255, 0.1);
}

.tag-stats {
  color: #b394ff;
  border-color: rgba(179, 148, 255, 0.45);
  background: rgba(179, 148, 255, 0.1);
}

.tag-marketing {
  color: #ffaa6e;
  border-color: rgba(255, 170, 110, 0.45);
  background: rgba(255, 170, 110, 0.1);
}

.tag-prefs {
  color: #7eecb1;
  border-color: rgba(126, 236, 177, 0.45);
  background: rgba(126, 236, 177, 0.1);
}

.tag-misc {
  color: #ffd56e;
  border-color: rgba(255, 213, 110, 0.45);
  background: rgba(255, 213, 110, 0.1);
}

.chevron {
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: transform 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}

.chevron::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}

.cookie-service[open] .chevron {
  transform: rotate(180deg);
  color: var(--brand-2);
  border-color: rgba(86, 167, 232, 0.5);
}

.cookie-body {
  padding: 0.4rem 1.3rem 1.4rem;
  border-top: 1px solid var(--line);
}

.cookie-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding: 1rem 0 1.1rem;
}

.cookie-meta h4 {
  margin: 0 0 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cookie-meta p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-group + .cookie-group {
  margin-top: 1rem;
}

.cookie-group h5 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.cookie-table {
  font-size: 0.9rem;
}

.cookie-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-table tbody td:first-child {
  color: #fff;
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", "Menlo", monospace;
  font-size: 0.86rem;
  white-space: nowrap;
}

/* =========================================================
   CONTACTS PAGE
   ========================================================= */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(86, 167, 232, 0.4);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(47, 142, 219, 0.18), rgba(86, 167, 232, 0.08));
  border: 1px solid rgba(86, 167, 232, 0.35);
  color: var(--brand-2);
}

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

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.contact-card .contact-value {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-word;
}

.contact-card .contact-value a {
  color: #fff;
  transition: color 0.2s ease;
}

.contact-card .contact-value a:hover {
  color: var(--brand-2);
}

.contact-card .contact-meta {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: stretch;
}

.map-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 480px;
  background: var(--surface);
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(0.95) brightness(0.92);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #08111c 0%, #050b14 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 2.6rem 0;
}

.footer-brand .brand {
  font-size: 1.4rem;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 420px;
}

.footer-links,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links h3,
.footer-contacts h3 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
}

.footer-links a,
.footer-contacts a,
.footer-contacts p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: var(--brand-2);
}

.footer-bottom {
  min-height: 70px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .two-cols,
  .about-page,
  .project-card,
  .service-layout,
  .contacts-grid,
  .policy-layout,
  .cookie-meta {
    grid-template-columns: 1fr;
  }

  .cookie-table tbody td:first-child {
    white-space: normal;
    word-break: break-word;
  }

  .policy-toc {
    position: static;
    max-height: none;
  }

  .policy-content {
    max-width: none;
  }

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

  .map-wrap {
    min-height: 360px;
  }

  .side-nav {
    position: static;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-text {
    order: 0;
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .about-media {
    min-height: 280px;
  }

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

  .project-card-media {
    min-height: 240px;
  }

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

@media (max-width: 760px) {
  .nav-wrap {
    min-height: auto;
    padding: 0.85rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-list {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .nav-cta {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 0.3rem;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .hero-banner {
    min-height: 540px;
    padding: 1.5rem;
  }

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

  .services-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards,
  .why-grid,
  .about-gallery,
  .about-stats,
  .contact-cards,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-auto-rows: 220px;
  }

  .about-gallery-item.tall {
    grid-row: span 1;
  }

  .footer-bottom {
    padding: 0.9rem 0;
  }
}
