/* ============================================
   ET LOGISTIKA — Main Stylesheet
   Dark "Global Network" Theme
   ============================================ */

/* --- Self-hosted Fonts --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- CSS Custom Properties --- */
/* Dark theme (default) */
:root, [data-theme="dark"] {
  --bg-primary: #0A0E1A;
  --bg-secondary: #111827;
  --bg-card: #1A1F35;
  --bg-glass: rgba(17, 24, 39, 0.8);
  --bg-glass-border: rgba(59, 130, 246, 0.1);

  /* Glow accents */
  --accent-blue: #3B82F6;
  --accent-cyan: #22D3EE;
  --accent-amber: #FBBF24;
  --accent-green: #10B981;

  /* Text */
  --text-primary: #F1F5F9;
  --text-secondary: #A8B8CC;
  --text-accent: #E2E8F0;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A0E1A 0%, #1E293B 50%, #0F172A 100%);
  --gradient-glow: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  --gradient-card: linear-gradient(135deg, rgba(26,31,53,0.9) 0%, rgba(17,24,39,0.9) 100%);

  /* Glows */
  --glow-blue: 0 0 20px rgba(59,130,246,0.3), 0 0 60px rgba(59,130,246,0.1);
  --glow-cyan: 0 0 20px rgba(6,182,212,0.3), 0 0 60px rgba(6,182,212,0.1);
  --glow-amber: 0 0 20px rgba(245,158,11,0.4);

  /* Theme-specific */
  --card-border: rgba(59, 130, 246, 0.08);
  --card-hover-border: rgba(59, 130, 246, 0.15);
  --card-glow-gradient: linear-gradient(135deg, rgba(6,182,212,0.2), transparent, rgba(59,130,246,0.2));
  --dot-grid-color: rgba(59,130,246,0.08);
  --footer-border: rgba(59,130,246,0.08);
  --footer-bottom-border: rgba(59,130,246,0.06);
  --svg-icon-filter: none;
  color-scheme: dark;
}

/* Light theme */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #EFF3F8;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(248, 250, 252, 0.85);
  --bg-glass-border: rgba(59, 130, 246, 0.12);

  --accent-blue: #2563EB;
  --accent-cyan: #0E7490;
  --accent-amber: #B45309;
  --accent-green: #059669;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-accent: #1E293B;

  --gradient-hero: linear-gradient(135deg, #EFF3F8 0%, #DBEAFE 50%, #F0F4FF 100%);
  --gradient-glow: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(241,245,249,0.95) 100%);

  --glow-blue: 0 0 15px rgba(37,99,235,0.15), 0 0 40px rgba(37,99,235,0.05);
  --glow-cyan: 0 0 15px rgba(8,145,178,0.15), 0 0 40px rgba(8,145,178,0.05);
  --glow-amber: 0 0 15px rgba(217,119,6,0.2);

  --card-border: rgba(59, 130, 246, 0.1);
  --card-hover-border: rgba(59, 130, 246, 0.25);
  --card-glow-gradient: linear-gradient(135deg, rgba(8,145,178,0.1), transparent, rgba(37,99,235,0.1));
  --dot-grid-color: rgba(59,130,246,0.06);
  --footer-border: rgba(59, 130, 246, 0.1);
  --footer-bottom-border: rgba(59, 130, 246, 0.08);
  --svg-icon-filter: brightness(0.7);
  color-scheme: light;
}

/* Auto-detect system preference */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-primary: #F8FAFC;
    --bg-secondary: #EFF3F8;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(248, 250, 252, 0.85);
    --bg-glass-border: rgba(59, 130, 246, 0.12);

    --accent-blue: #2563EB;
    --accent-cyan: #0E7490;
    --accent-amber: #B45309;
    --accent-green: #059669;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-accent: #1E293B;

    --gradient-hero: linear-gradient(135deg, #EFF3F8 0%, #DBEAFE 50%, #F0F4FF 100%);
    --gradient-glow: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(241,245,249,0.95) 100%);

    --glow-blue: 0 0 15px rgba(37,99,235,0.15), 0 0 40px rgba(37,99,235,0.05);
    --glow-cyan: 0 0 15px rgba(8,145,178,0.15), 0 0 40px rgba(8,145,178,0.05);
    --glow-amber: 0 0 15px rgba(217,119,6,0.2);

    --card-border: rgba(59, 130, 246, 0.1);
    --card-hover-border: rgba(59, 130, 246, 0.25);
    --card-glow-gradient: linear-gradient(135deg, rgba(8,145,178,0.1), transparent, rgba(37,99,235,0.1));
    --dot-grid-color: rgba(59,130,246,0.06);
    --footer-border: rgba(59, 130, 246, 0.1);
    --footer-bottom-border: rgba(59, 130, 246, 0.08);
    --svg-icon-filter: brightness(0.7);
    color-scheme: light;
  }
}

/* --- Shared non-theme variables (always apply) --- */
:root {
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-blue);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.3em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 0.5em;
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 0.4em;
}

p {
  color: var(--text-secondary);
  max-width: 65ch;
  margin-bottom: 0.75em;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 30px rgba(59,130,246,0.3);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-3xl) 0;
  position: relative;
}

/* --- Dot Grid Background Pattern --- */
.dot-grid {
  background-image: radial-gradient(circle, var(--dot-grid-color) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* --- Navigation (injected by nav.js) --- */
#nav-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition-base);
  animation: navFadeIn 0.3s ease;
}

@keyframes navFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-nav.nav-scrolled {
  background: var(--bg-primary);
  border-bottom-color: var(--card-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  z-index: 1001;
}

.nav-logo svg,
.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* In dark theme, invert the logo for visibility */
[data-theme="dark"] .nav-logo-img,
.nav-logo-img {
  filter: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-logo-img {
    filter: brightness(1.2) contrast(1.1);
  }
}

[data-theme="dark"] .nav-logo-img {
  filter: brightness(1.2) contrast(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-base);
  box-shadow: var(--glow-cyan);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-amber);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--accent-amber);
  background: rgba(245,158,11,0.08);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: var(--space-sm);
}

.lang-switcher a {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.lang-switcher a.active {
  color: var(--accent-cyan);
  background: rgba(6,182,212,0.1);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.btn-primary:hover {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-amber);
  border: 2px solid var(--accent-amber);
}

.btn-secondary:hover {
  background: rgba(245,158,11,0.1);
  color: var(--accent-amber);
  box-shadow: var(--glow-amber);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
  filter: blur(12px);
}

.btn-glow:hover::before {
  opacity: 0.6;
}

/* --- Cards --- */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  background: var(--card-glow-gradient) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

/* Light theme card shadow */
[data-theme="light"] .card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 4px 20px rgba(59,130,246,0.12), 0 8px 30px rgba(0,0,0,0.06);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  }
  :root:not([data-theme="dark"]) .card:hover {
    box-shadow: 0 4px 20px rgba(59,130,246,0.12), 0 8px 30px rgba(0,0,0,0.06);
  }
}

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

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-sm);
  color: var(--accent-cyan);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.5em;
}

.card a {
  margin-top: auto;
}

/* --- Card Sub-elements (rendered by JS) --- */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--card-border);
}

.card-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-amber);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(6,182,212,0.1);
  color: var(--accent-cyan);
  margin-bottom: var(--space-xs);
}

.card-img {
  width: calc(100% + var(--space-lg) * 2);
  margin: calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) var(--space-md);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  object-fit: cover;
  max-height: 220px;
}

.badge-unavailable {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(239,68,68,0.1);
  color: #EF4444;
  margin-top: var(--space-xs);
}

/* --- Spec Grid (fleet & equipment) --- */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: var(--space-sm) 0;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--card-border);
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

.filter-btn.active {
  background: var(--accent-cyan);
  color: #fff;
  border-color: var(--accent-cyan);
}

/* --- Fleet Category (rendered by JS) --- */
.fleet-category {
  margin-bottom: var(--space-xl);
}

.fleet-category h3 {
  margin-bottom: var(--space-xs);
}

.fleet-cat-desc {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* --- Form States --- */
.form-success {
  text-align: center;
  padding: var(--space-xl);
}

.form-success svg {
  margin: 0 auto var(--space-sm);
}

.form-success h3 {
  color: var(--accent-green);
  margin-bottom: var(--space-xs);
}

.form-error {
  color: #EF4444;
  font-size: 0.9rem;
  margin-top: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(239,68,68,0.08);
  border-radius: var(--radius-sm);
}

/* --- Forms (global) --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* --- Consent Checkbox --- */
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: var(--space-xs) 0;
}

.consent-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.consent-checkbox a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.consent-checkbox a:hover {
  color: var(--accent-blue);
}

.consent-sm {
  font-size: 0.75rem;
  margin: 0.25rem 0;
}

.consent-sm input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* --- Inline Inquiry Form (overlays card) --- */
.inquiry-overlay {
  display: none;
  flex-direction: column;
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--bg-card);
  border-radius: inherit;
  padding: var(--space-md);
  animation: fadeIn 0.2s ease;
  overflow-y: auto;
}

.card-form-open {
  overflow: visible;
  min-height: 400px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.inquiry-overlay h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.inquiry-overlay > .card-text {
  font-size: 0.8rem;
  margin-bottom: var(--space-sm);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.inquiry-form .form-group {
  margin-bottom: 0;
  gap: 0.15rem;
}

.inquiry-form label {
  font-size: 0.75rem;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
}

.inquiry-form textarea {
  min-height: 44px;
  resize: none;
}

.inquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.inquiry-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
}

.inquiry-actions .btn {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.85rem;
  justify-content: center;
}

.inquiry-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  gap: 0.5rem;
}

.inquiry-success h4 {
  color: var(--accent-green);
}

.inquiry-success p {
  font-size: 0.85rem;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: var(--space-sm);
}

.section-header p {
  margin: var(--space-sm) auto 0;
  text-align: center;
  max-width: 600px;
}

/* --- Grid Systems --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* --- Footer (injected by nav.js) --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--footer-border);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-sm);
}

[data-theme="dark"] .footer-logo-img {
  filter: brightness(1.2) contrast(1.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer-logo-img {
    filter: brightness(1.2) contrast(1.1);
  }
}

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-accent);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--footer-bottom-border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: var(--text-secondary);
}

.footer-legal-links a:hover {
  color: var(--accent-cyan);
}

.footer-legal-links span {
  color: var(--text-secondary);
  opacity: 0.3;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- Scroll reveal (only when JS enables animations) --- */
.js-animated .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(20px);
}

.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Light theme: gradient text needs darker gradient */
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light theme: nav scroll background */
[data-theme="light"] .site-nav {
  background: rgba(248,250,252,0.85);
}

/* Auto system preference matching */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .site-nav {
    background: rgba(248,250,252,0.85);
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
/* ============================================
   ET LOGISTIKA — Globe & Network Animations
   CSS 3D Rotating Globe (Europe-centered)
   ============================================ */

/* --- Globe Container --- */
.hero-globe-wrapper {
  position: relative;
}

.hero-globe {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  /* Outer glow */
  box-shadow:
    0 0 60px rgba(6,182,212,0.15),
    0 0 120px rgba(59,130,246,0.08),
    inset 0 0 60px rgba(0,0,0,0.5);
}

/* The rotating world map */
.globe-sphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* Equirectangular map SVG — fills sphere, offset to center Europe */
  background: url('/assets/svg/globe-map.svg') 0 center / 800px 100% repeat-x;
  animation: globe-rotate 30s linear infinite;
}

/* Light source highlight — top-left */
.globe-sphere::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(6,182,212,0.12) 0%,
    rgba(59,130,246,0.05) 30%,
    transparent 60%
  );
  z-index: 2;
}

/* 3D depth shadow — right/bottom dark edge */
.globe-sphere::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset -30px -10px 60px rgba(0,0,0,0.7),
    inset 10px 5px 40px rgba(0,0,0,0.3);
  z-index: 3;
}

@keyframes globe-rotate {
  0%   { background-position-x: 0; }
  100% { background-position-x: -800px; }
}

/* --- Globe Rim Glow --- */
.globe-rim {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(6,182,212,0.2);
  box-shadow:
    0 0 15px rgba(6,182,212,0.1),
    inset 0 0 15px rgba(6,182,212,0.05);
  z-index: 4;
  pointer-events: none;
}

/* --- Network Overlay (sits on top of globe) --- */
.globe-network {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

/* --- Network Dots (European cities) --- */
.network-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan), 0 0 16px rgba(6,182,212,0.3);
  animation: dot-pulse 2s ease-in-out infinite;
}

.network-dot--hub {
  width: 10px;
  height: 10px;
  background: var(--accent-amber);
  box-shadow: 0 0 12px var(--accent-amber), 0 0 24px rgba(245,158,11,0.4);
  animation: dot-pulse-hub 1.5s ease-in-out infinite;
}

/* Maribor hub position (approximate on globe) */
.dot-maribor  { top: 38%; left: 53%; }
.dot-vienna   { top: 35%; left: 50%; }
.dot-munich   { top: 37%; left: 45%; }
.dot-zagreb   { top: 43%; left: 54%; }
.dot-milan    { top: 44%; left: 42%; }
.dot-budapest { top: 38%; left: 58%; }
.dot-berlin   { top: 30%; left: 48%; }
.dot-paris    { top: 37%; left: 35%; }

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.5); opacity: 1; }
}

@keyframes dot-pulse-hub {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.8); opacity: 1; }
}

/* --- Network Connection Lines (SVG overlay) --- */
.network-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.network-line {
  stroke: var(--accent-cyan);
  stroke-width: 1;
  fill: none;
  opacity: 0.4;
  stroke-dasharray: 4 4;
  animation: line-flow 3s linear infinite;
}

@keyframes line-flow {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -16; }
}

/* --- Background Glow behind globe --- */
.globe-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(59,130,246,0.08) 0%,
    rgba(6,182,212,0.04) 40%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
}

/* --- Europe Coverage Map Section --- */
.coverage-map-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.coverage-map-container svg {
  width: 100%;
  height: auto;
}

/* Route lines drawing animation */
.route-line {
  stroke: var(--accent-cyan);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-route 2s ease forwards;
  opacity: 0.6;
}

.route-line:nth-child(2) { animation-delay: 0.3s; }
.route-line:nth-child(3) { animation-delay: 0.6s; }
.route-line:nth-child(4) { animation-delay: 0.9s; }
.route-line:nth-child(5) { animation-delay: 1.2s; }

@keyframes draw-route {
  to { stroke-dashoffset: 0; }
}

/* Coverage map city dots */
.coverage-dot {
  fill: var(--accent-cyan);
  opacity: 0;
  animation: fade-in 0.5s ease forwards;
}

.coverage-dot--origin {
  fill: var(--accent-amber);
  filter: url(#glow-filter);
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* --- Floating particles around globe --- */
.globe-particles {
  position: absolute;
  inset: -50px;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
}

/* Varying star sizes */
.particle:nth-child(odd)  { width: 3px; height: 3px; }
.particle:nth-child(even) { width: 4px; height: 4px; }
.particle:nth-child(3n)   { width: 5px; height: 5px; box-shadow: 0 0 6px var(--accent-cyan); }
.particle:nth-child(5n)   { width: 2px; height: 2px; background: #fff; }

/* Positions — spread around globe */
.particle:nth-child(1)  { top: 8%;  left: 5%;   animation-delay: 0s; }
.particle:nth-child(2)  { top: 15%; left: 88%;  animation-delay: 0.8s; }
.particle:nth-child(3)  { top: 75%; left: 12%;  animation-delay: 1.5s; }
.particle:nth-child(4)  { top: 5%;  left: 65%;  animation-delay: 2.2s; }
.particle:nth-child(5)  { top: 40%; left: 2%;   animation-delay: 3s; }
.particle:nth-child(6)  { top: 65%; left: 92%;  animation-delay: 3.8s; }
.particle:nth-child(7)  { top: 90%; left: 35%;  animation-delay: 0.5s; }
.particle:nth-child(8)  { top: 25%; left: 95%;  animation-delay: 1.2s; }
.particle:nth-child(9)  { top: 85%; left: 75%;  animation-delay: 2s; }
.particle:nth-child(10) { top: 12%; left: 30%;  animation-delay: 2.8s; }
.particle:nth-child(11) { top: 50%; left: 95%;  animation-delay: 4s; }
.particle:nth-child(12) { top: 92%; left: 55%;  animation-delay: 4.5s; }
.particle:nth-child(13) { top: 35%; left: 8%;   animation-delay: 5s; }
.particle:nth-child(14) { top: 70%; left: 50%;  animation-delay: 5.5s; }
.particle:nth-child(15) { top: 3%;  left: 45%;  animation-delay: 6s; }
.particle:nth-child(16) { top: 55%; left: 80%;  animation-delay: 6.5s; }

@keyframes particle-float {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  15%      { opacity: 0.7; transform: scale(1); }
  50%      { transform: translateY(-15px) scale(1.1); }
  85%      { opacity: 0.7; transform: scale(1); }
}

/* --- Light Theme Globe Overrides --- */
[data-theme="light"] .hero-globe {
  box-shadow:
    0 0 40px rgba(37,99,235,0.12),
    0 0 80px rgba(37,99,235,0.06),
    0 8px 30px rgba(0,0,0,0.1),
    inset 0 0 40px rgba(0,0,0,0.15);
}

[data-theme="light"] .globe-sphere::after {
  box-shadow:
    inset -25px -8px 50px rgba(0,0,0,0.35),
    inset 8px 4px 30px rgba(0,0,0,0.15);
}

[data-theme="light"] .globe-rim {
  border-color: rgba(37,99,235,0.15);
  box-shadow:
    0 0 10px rgba(37,99,235,0.08),
    inset 0 0 10px rgba(37,99,235,0.04);
}

[data-theme="light"] .globe-bg-glow {
  background: radial-gradient(
    circle,
    rgba(37,99,235,0.06) 0%,
    rgba(8,145,178,0.03) 40%,
    transparent 70%
  );
}

/* Auto system preference */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero-globe {
    box-shadow:
      0 0 40px rgba(37,99,235,0.12),
      0 0 80px rgba(37,99,235,0.06),
      0 8px 30px rgba(0,0,0,0.1),
      inset 0 0 40px rgba(0,0,0,0.15);
  }
  :root:not([data-theme="dark"]) .globe-sphere::after {
    box-shadow:
      inset -25px -8px 50px rgba(0,0,0,0.35),
      inset 8px 4px 30px rgba(0,0,0,0.15);
  }
}
/* ============================================
   ET LOGISTIKA — CSS Animations
   ============================================ */

/* --- Hero Van Driving Animation --- */
.hero-van-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
  z-index: 2;
}

.hero-van {
  position: absolute;
  bottom: 20px;
  animation: van-drive 12s linear infinite;
}

@keyframes van-drive {
  0%   { left: -120px; }
  100% { left: calc(100% + 120px); }
}

/* Van bounce */
.hero-van svg {
  animation: van-bounce 0.5s ease-in-out infinite;
}

@keyframes van-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

/* --- Road line --- */
.road-line {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(59,130,246,0.3) 0px,
    rgba(59,130,246,0.3) 20px,
    transparent 20px,
    transparent 40px
  );
  animation: road-scroll 2s linear infinite;
}

@keyframes road-scroll {
  0%   { background-position-x: 0; }
  100% { background-position-x: 40px; }
}

/* --- Scroll Down Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* --- Counter Animation --- */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(6,182,212,0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* --- Card Hover Glow --- */
.card-glow {
  position: relative;
}

.card-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  filter: blur(15px);
  transition: opacity var(--transition-base);
}

.card-glow:hover::after {
  opacity: 0.15;
}

/* --- Service Icon Animations --- */
.service-icon {
  transition: transform var(--transition-base);
}

.card:hover .service-icon {
  transform: scale(1.1);
}

/* --- SVG Stroke Draw --- */
.svg-draw {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.5s ease;
}

.visible .svg-draw {
  stroke-dashoffset: 0;
}

/* --- Fade In Variations --- */
/* Elements start visible. CSS animations are progressive enhancement. */
/* Animations only apply when .js-animated is on <html> AND element doesn't have .visible yet */
.js-animated .fade-in-up:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}

.js-animated .fade-in-left:not(.visible) {
  opacity: 0;
  transform: translateX(-30px);
}

.js-animated .fade-in-right:not(.visible) {
  opacity: 0;
  transform: translateX(30px);
}

.fade-in-up,
.fade-in-left,
.fade-in-right {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* Stagger children */
.js-animated .stagger-children:not(.visible) > * {
  opacity: 0;
  transform: translateY(15px);
}

.stagger-children > * {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.25s; }

.stagger-children.visible > * {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- CTA Banner Gradient Animation --- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-card) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(59,130,246,0.05) 60deg,
    transparent 120deg,
    rgba(6,182,212,0.05) 180deg,
    transparent 240deg,
    rgba(59,130,246,0.05) 300deg,
    transparent 360deg
  );
  animation: cta-sweep 8s linear infinite;
}

@keyframes cta-sweep {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Wheel Spin (for van SVG) --- */
.wheel {
  transform-origin: center;
  animation: wheel-spin 1s linear infinite;
}

@keyframes wheel-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Excavator Arm --- */
.excavator-arm {
  transform-origin: 30% 60%;
  animation: arm-dig 4s ease-in-out infinite;
}

@keyframes arm-dig {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-15deg); }
}

/* --- Logo Van Motion Path --- */
@keyframes logo-van-move {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

.logo-van-animated {
  offset-path: path('M 10 30 Q 40 5, 80 25 T 160 20');
  animation: logo-van-move 3.5s ease-in-out infinite alternate;
}

/* --- Glow Pulse (for logo) --- */
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(6,182,212,0.4)); }
  50%      { filter: drop-shadow(0 0 12px rgba(6,182,212,0.7)); }
}

.logo-glow {
  animation: glow-pulse 3s ease-in-out infinite;
}
/* ============================================
   ET LOGISTIKA — Responsive Breakpoints
   Mobile-first approach
   ============================================ */

/* --- Mobile (< 768px) --- */
@media (max-width: 767px) {
  :root {
    --nav-height: 60px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    transition: right var(--transition-slow);
    border-left: 1px solid var(--bg-glass-border);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-phone span {
    display: none;
  }

  .nav-phone {
    padding: 0.5rem;
  }

  .nav-phone svg {
    width: 22px;
    height: 22px;
  }

  /* Inquiry form grid → single column on mobile */
  .inquiry-form [style*="grid-template-columns: 1fr 1fr 1fr"],
  .inquiry-form [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Cards smaller padding on mobile */
  .card {
    padding: var(--space-md);
  }

  /* Card images adjust for smaller padding */
  .card-img {
    width: calc(100% + var(--space-md) * 2);
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-sm);
  }

  /* Spec grid single column on small screens */
  .spec-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-height) + var(--space-lg));
  }

  .hero-content {
    text-align: center;
  }

  .hero-globe-wrapper {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Sections */
  section {
    padding: var(--space-xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }
}

/* --- Tablet (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero-globe {
    width: 320px;
    height: 320px;
    margin: var(--space-lg) auto 0;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .nav-links {
    gap: var(--space-md);
  }

  .nav-links a {
    font-size: 0.85rem;
  }
}

/* --- Desktop (1024px+) --- */
@media (min-width: 1024px) {
  .hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
  }

  .hero-content {
    flex: 1;
    max-width: 600px;
  }

  .hero-globe-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .hero-globe {
    width: 400px;
    height: 400px;
  }
}

/* --- Large Desktop (1440px+) --- */
@media (min-width: 1440px) {
  :root {
    --max-width: 1400px;
  }

  .hero-globe {
    width: 480px;
    height: 480px;
  }

  h1 {
    font-size: 4rem;
  }
}
