/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-300-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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-400-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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-600-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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/ibm-plex-sans-700-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;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ffc144;
  --primary-dark: #e6ad3d;
  --secondary: #2c3e50;
  --dark: #17212b;
  --primary-text: #8a6100;
  --text-dark: #1a1a1a;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --success: #10b981;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Mobile Menu Toggle Button */
.mobile-menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-button span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu-button.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-button.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.cta-button {
  background: var(--primary);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 68, 0.4);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: none;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    gap: 0;
    align-items: flex-start;
    overflow-y: auto;
    text-align: center;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }

  .nav-menu a {
    display: block;
    font-size: 1.125rem;
    padding: 0;
  }

  .nav-menu .cta-button {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    display: block;
  }
}

/* Overlay for mobile menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Overlay for mobile menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.2) 0%, rgba(26, 38, 52, 0.6) 100%),
              url('./images/nove/zemne-a-buracie-prace-vyprag-hero.webp') center/cover no-repeat;
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 50px;
}

.btn-secondary {
  background: var(--white);
  color: var(--secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Contact Bar */
.contact-bar {
  background: var(--primary);
  color: var(--text-dark);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-item a {
  color: var(--text-dark);
  text-decoration: none;
}

.contact-item svg {
  width: 20px;
  height: 20px;
}

/* Services Overview Section */
.services-overview {
  padding: 5rem 2rem;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h1,
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card-overview {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  text-align: center;
}

.service-card-overview:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-dark);
}

.service-card-overview h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.service-card-overview p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  min-height: 80px;
}

.btn-learn-more {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.btn-learn-more:hover {
  background: var(--primary);
  color: var(--text-dark);
}

.new-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 700;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Services Detail Section */
.services-detail {
  padding: 5rem 2rem;
  background: var(--white);
}

.service-detail-item {
  max-width: 1280px;
  margin: 0 auto 5rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail-item:nth-child(even) {
  direction: rtl;
}

.service-detail-item:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.service-detail-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}

.service-list li {
  padding: 0.75rem 0;
  color: var(--text-dark);
  display: flex;
  align-items: start;
  gap: 0.75rem;
  font-size: 1rem;
}

.service-list li:before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-detail-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.highlight-box {
  background: #fef3c7;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.highlight-box strong {
  color: #92400e;
  font-size: 1.125rem;
}

.highlight-box p {
  color: #92400e;
  margin: 0;
  font-size: 1rem;
}

/* About Section */
.about {
  padding: 5rem 2rem;
  background: var(--bg-light);
}

.about-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.about-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-features {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-dark);
}

/* Gallery Section */
.gallery {
  padding: 5rem 2rem;
  background: var(--white);
}

.gallery-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.gallery-item:hover {
  transform: scale(1.02);
  transition: transform 0.3s;
}

/* References Section */
.references {
  padding: 5rem 2rem;
  background: var(--white);
}

.references-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.reference-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border-left: 4px solid var(--primary);
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.reference-stars {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.reference-text {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reference-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Partners Section */
.partners {
  padding: 5rem 2rem;
  background: var(--bg-light);
}

.partners-container {
  max-width: 1280px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.partner-logo {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary), #1a2634);
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 1rem;
}

.partner-logo img {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.partners-stats {
  max-width: 1280px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.partner-stat {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.partner-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.partner-stat-label {
  display: block;
  color: var(--text-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-cta {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--secondary), #1a2634);
  border-radius: 16px;
  color: var(--white);
}

.partners-cta h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.partners-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background: var(--bg-light);
}

.contact-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Map Container */
.map-container {
  width: 100%;
  min-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.info-card p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--text-dark);
}

.info-item a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.info-item a:hover {
  color: var(--primary);
}

/* Document Link */
.document-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  padding: 0.5rem 0;
}

.document-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-bar {
    gap: 1rem;
  }

  .about-content,
  .contact-content,
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-container {
    min-height: 300px;
  }

  .map-container iframe {
    min-height: 300px;
  }

  .service-detail-item:nth-child(even) {
    direction: ltr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .service-detail-content h3 {
    font-size: 1.5rem;
  }

  .partners-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .partner-logo {
    padding: 1rem;
    min-height: 100px;
  }

  .partners-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-cta {
    padding: 2rem 1.5rem;
  }

  .partners-cta h3 {
    font-size: 1.5rem;
  }

  .references-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll animations */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll offset for fixed header */
#sluzby-detail,
#zemne-prace,
#buracie-prace,
#narocne-tereny,
#nakladna-preprava {
  scroll-margin-top: 100px;
}


/* ===== Shared header: dropdown & highlight ===== */
.nav-menu .nav-highlight {
  color: var(--text-dark);
  background: rgba(255, 193, 68, 0.25);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

.nav-menu a[aria-current="page"],
.nav-dropdown.has-current > .nav-dropdown-toggle {
  color: var(--primary-dark);
}

.nav-menu .cta-button[aria-current="page"] {
  color: var(--text-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}

.nav-dropdown-toggle:hover {
  color: var(--primary);
}

.nav-caret {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.nav-submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 250px;
  padding: 0.5rem 0;
  margin-top: 0.75rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s;
}

/* neviditeľný mostík, aby menu nezmizlo pri presune myši */
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-submenu a {
  display: block;
  padding: 0.6rem 1.25rem;
  white-space: nowrap;
}

.nav-submenu a:hover {
  background: var(--bg-light);
}

@media (min-width: 769px) {
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu,
  .nav-dropdown.open .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-menu .nav-highlight {
    display: inline-block;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
    font-size: 1.125rem;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-dropdown.open .nav-submenu {
    max-height: 300px;
  }

  .nav-submenu li {
    padding: 0.75rem 0 0;
    border-bottom: none;
  }

  .nav-submenu a {
    font-size: 1rem;
    color: var(--text-light);
    padding: 0;
  }
}

/* ===== Placeholder podstránky ===== */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
}

.page-placeholder {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-light);
}

/* Footer logo (biela verzia čierneho PNG) */
.footer-section a.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  display: block;
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* ===== Úvodná stránka (B2B redesign) ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.h-section {
  padding: 5.5rem 2rem;
}

.h-center {
  text-align: center;
  margin-top: 3rem;
}

.h-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
}

.h-link::after {
  content: "→";
  transition: transform 0.2s;
}

a:hover > .h-link::after,
.h-link:hover::after {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
}

/* Hero */
.hero-home {
  min-height: 600px;
  text-align: left;
  justify-content: flex-start;
  padding: 6rem 2rem;
  background: linear-gradient(100deg, rgba(23, 33, 43, 0.88) 0%, rgba(23, 33, 43, 0.55) 55%, rgba(23, 33, 43, 0.25) 100%),
    url("./images/nove/zemne-a-buracie-prace-vyprag-hero.webp") center/cover no-repeat;
}

.hero-home::before {
  display: none;
}

.hero-home .hero-content {
  max-width: 1280px;
  width: 100%;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-home h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.25rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-home .hero-buttons {
  justify-content: flex-start;
  padding-top: 2.25rem;
}

/* Trust bar */
.trust-bar {
  max-width: 1100px;
  margin: -3rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.trust-item {
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}

.trust-item span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Services (bento tiles) */
.h-services {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(300px, 1fr));
  gap: 1.25rem;
}

.h-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
  background: var(--dark);
  min-height: 300px;
}

.h-tile-bager {
  grid-row: span 2;
  min-height: 620px;
}

.h-tile-wide {
  grid-column: span 2;
}

.h-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s ease;
}

.h-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 15, 20, 0.92) 0%, rgba(10, 15, 20, 0.55) 45%, rgba(10, 15, 20, 0.05) 100%);
  transition: background 0.4s;
}

.h-tile:hover > img {
  transform: scale(1.06);
}

.h-tile:hover::before {
  background: linear-gradient(to top, rgba(10, 15, 20, 0.95) 0%, rgba(10, 15, 20, 0.65) 55%, rgba(10, 15, 20, 0.15) 100%);
}

.h-tile-body {
  padding: 1.75rem;
  padding-right: 5rem;
}

.h-tile h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.h-tile-bager h3 {
  font-size: 2.25rem;
}

.h-tile p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.975rem;
  margin-bottom: 1rem;
}

.h-tile-bager p {
  font-size: 1.05rem;
  max-width: 420px;
}

.h-tile-model {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.h-tile-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--primary);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.h-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.h-tags li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.h-tile-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.h-tile-arrow::after {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: filter 0.25s;
}

.h-tile:hover .h-tile-arrow,
.h-tile:focus-visible .h-tile-arrow {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(4px);
}

.h-tile:hover .h-tile-arrow::after,
.h-tile:focus-visible .h-tile-arrow::after {
  filter: invert(1);
}

.h-tile:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Showcase */
.h-showcase {
  background: var(--dark);
  color: var(--white);
  padding: 5.5rem 2rem;
}

.h-showcase-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.h-showcase h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.h-showcase-text > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.h-checklist {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.h-checklist li {
  position: relative;
  padding-left: 2rem;
}

.h-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a1a' stroke-width='3'%3E%3Cpath d='M5 10.5l3.5 3.5L15 7'/%3E%3C/svg%3E")
    center/70% no-repeat;
}

.h-showcase-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.h-link-light {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

.h-showcase-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* About */
.h-about {
  background: var(--bg-light);
}

.h-about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.h-about h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.h-about-text > p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.h-regions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
}

.h-region {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  font-weight: 600;
  color: var(--secondary);
}

.h-region b {
  background: var(--secondary);
  color: var(--white);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.h-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.h-feature {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.h-feature h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.h-feature p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Projects */
.h-projects {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 1.25rem;
}

.h-project {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin: 0;
}

.h-project-large {
  grid-row: span 2;
}

.h-project-wide {
  grid-column: span 2;
}

.h-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.h-project:hover img {
  transform: scale(1.06);
}

.h-project figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(10, 15, 20, 0.85), transparent);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.h-project figcaption span {
  font-size: 0.85rem;
  color: var(--primary);
}

/* Client logos */
.h-clients {
  background: var(--bg-light);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.h-clients .section-header {
  margin-bottom: 2.5rem;
}

.carousel-track.h-logos {
  gap: 1.25rem;
  padding-left: 0;
  padding-right: 0;
}

.h-logo-card {
  flex: 0 0 calc((100% - 5rem) / 5);
  scroll-snap-align: start;
  background: var(--dark);
  border-radius: 12px;
  height: 130px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-logo-card img {
  max-width: 100%;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.25s, transform 0.25s;
}

.h-logo-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* Testimonials carousel */
.carousel {
  max-width: 1280px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1.5rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.carousel-card .reference-text {
  flex: 1;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  background: var(--white);
  color: var(--secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.carousel-btn:hover {
  background: var(--secondary);
  color: var(--white);
}

/* Final CTA */
.h-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4.5rem 2rem;
  text-align: center;
}

.h-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.h-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.h-cta p {
  color: rgba(26, 26, 26, 0.8);
  font-size: 1.125rem;
}

.h-cta .hero-buttons {
  justify-content: center;
  padding-top: 2rem;
}

.h-cta .cta-button {
  background: var(--dark);
  color: var(--white);
}

.h-cta .cta-button:hover {
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .h-services {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .h-tile-bager {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 460px;
  }

  .h-tile-wide {
    grid-column: 1 / -1;
  }

  .h-logo-card {
    flex-basis: calc((100% - 2.5rem) / 3);
  }

  .carousel-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }

  .h-showcase-inner,
  .h-about-inner {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .h-section,
  .h-showcase {
    padding: 3.5rem 1.25rem;
  }

  .hero-home {
    min-height: 520px;
    padding: 4rem 1.25rem 5rem;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: -2.5rem 1rem 0;
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .h-services {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .h-tile,
  .h-tile-bager {
    grid-row: auto;
    min-height: 340px;
  }

  .h-tile-bager {
    min-height: 460px;
  }

  .h-tile-wide {
    grid-column: auto;
  }

  .h-tile-bager h3 {
    font-size: 1.9rem;
  }

  .h-showcase-inner,
  .h-about-inner {
    grid-template-columns: 1fr;
  }

  .h-features {
    grid-template-columns: 1fr;
  }

  .h-projects {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 240px;
  }

  .h-project-large {
    grid-row: auto;
  }

  .h-project-wide {
    grid-column: auto;
  }

  .h-logo-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }

  .carousel-card {
    flex-basis: 85%;
  }
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--dark);
  color: var(--white);
  border-radius: 14px;
  border-top: 3px solid var(--primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.cookie-banner-main {
  flex: 1 1 420px;
  max-width: 680px;
}

.cookie-banner-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cookie-banner-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-settings {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.cookie-settings[hidden] {
  display: none;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.cookie-option strong {
  display: block;
  font-size: 0.95rem;
}

.cookie-option span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-switch {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
}

.cookie-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.cookie-switch-ui {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s;
}

.cookie-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s;
}

.cookie-switch input:checked + .cookie-switch-ui {
  background: var(--primary);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
  transform: translateX(20px);
  background: var(--dark);
}

.cookie-switch input:disabled {
  cursor: not-allowed;
}

.cookie-switch input:disabled + .cookie-switch-ui {
  opacity: 0.5;
}

.cookie-switch input:focus-visible + .cookie-switch-ui {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  transition: all 0.2s;
}

/* "Odmietnuť" a "Prijať" majú rovnakú veľkosť a váhu */
.cookie-btn--reject {
  background: var(--white);
  color: var(--text-dark);
}

.cookie-btn--accept,
.cookie-btn--save {
  background: var(--primary);
  color: var(--text-dark);
}

.cookie-btn--reject:hover {
  background: #e9ecef;
}

.cookie-btn--accept:hover,
.cookie-btn--save:hover {
  background: var(--primary-dark);
}

.cookie-btn--link {
  background: none;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.cookie-btn--link:hover {
  color: var(--primary);
}

.cookie-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.cookie-btn[hidden] {
  display: none;
}

.footer-bottom .cookie-settings-link {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  padding: 0;
}

.footer-bottom .cookie-settings-link:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
  }

  .cookie-banner-inner {
    padding: 1.25rem;
  }

  .cookie-banner-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* ===== Právne stránky (ochrana osobných údajov) ===== */
.page-hero-sub {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  color: var(--text-dark);
}

.legal-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 2.5rem 0 0.75rem;
  scroll-margin-top: 100px;
}

.legal p {
  margin-bottom: 1rem;
}

.legal ul {
  margin: 0 0 1.25rem 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.legal a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal a:hover {
  color: var(--primary-dark);
}

.legal .cta-button {
  text-decoration: none;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: var(--bg-light);
  color: var(--secondary);
  font-weight: 700;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* ===== Podstránka O nás ===== */
.page-hero--photo {
  --hero-overlay: linear-gradient(100deg, rgba(23, 33, 43, 0.92) 0%, rgba(23, 33, 43, 0.7) 60%, rgba(23, 33, 43, 0.45) 100%);
  position: relative;
  background-color: var(--dark);
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: left;
  padding: 4.5rem 2rem 7rem;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero--photo h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.page-hero--photo .page-hero-sub {
  max-width: 680px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Intro */
.about-intro-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.about-intro-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-intro-text a {
  color: var(--secondary);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.about-intro-text a:hover {
  color: var(--primary-dark);
}

.about-intro-media {
  margin: 0;
}

.about-intro-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.about-links {
  list-style: none;
  max-width: 1280px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.about-links a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: 100%;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: var(--white);
  text-decoration: none;
  color: var(--secondary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.about-links span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Machinery */
.about-machinery {
  background: var(--bg-light);
}

.machine-featured {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.machine-featured img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.machine-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  align-items: flex-start;
}

.machine-type {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.machine-featured h3,
.machine-card h3 {
  font-size: 1.75rem;
  color: var(--secondary);
  line-height: 1.15;
}

.machine-featured p,
.machine-card p {
  color: var(--text-light);
}

.h-tags--light li {
  background: var(--bg-light);
  border-color: var(--border);
  color: var(--secondary);
}

.machine-grid {
  max-width: 1280px;
  margin: 1.75rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.machine-grid:empty {
  display: none;
}

.machine-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.machine-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.machine-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.machine-card h3 {
  font-size: 1.25rem;
}

/* Process */
.process-steps {
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
  position: relative;
}

.process-steps li {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.process-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.process-steps h3 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.process-steps p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Area + owner */
.about-contact {
  background: var(--bg-light);
}

.about-contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-area h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.about-area > p {
  color: var(--text-light);
}

.owner-card {
  background: var(--dark);
  color: var(--white);
  border-radius: 18px;
  padding: 2.25rem;
  border-top: 4px solid var(--primary);
}

.owner-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.owner-role {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.owner-card h3 {
  font-size: 1.75rem;
  margin: 0.25rem 0 0.75rem;
}

.owner-card > p {
  color: rgba(255, 255, 255, 0.8);
}

.owner-contact {
  list-style: none;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.4rem;
}

.owner-contact a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
}

.owner-contact a:hover {
  color: var(--primary);
}

.owner-company {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-links,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro-inner,
  .about-contact-inner {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-hero--photo {
    padding: 3rem 1.25rem 5.5rem;
  }

  .about-intro-inner,
  .about-contact-inner,
  .machine-featured {
    grid-template-columns: 1fr;
  }

  .machine-featured img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .machine-featured-body {
    padding: 1.75rem;
  }

  .about-links,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .owner-card {
    padding: 1.75rem;
  }
}

/* Footer credit */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-credit a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Šablóna podstránky služby ===== */
.hero-buttons--left {
  justify-content: flex-start;
  padding-top: 1.75rem;
}

.svc-scope,
.svc-why,
.svc-related {
  background: var(--bg-light);
}

/* Scope */
.svc-scope-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.svc-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.svc-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.svc-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.svc-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-light);
  font-size: 0.975rem;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
}

.svc-list a {
  color: var(--secondary);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.svc-list a:hover {
  color: var(--primary-dark);
}

/* Gallery */
.svc-gallery {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(3, 240px);
  gap: 1.25rem;
}

.svc-gallery--3 {
  grid-template-rows: repeat(2, 260px);
}

.svc-shot {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin: 0;
}

.svc-shot--large {
  grid-row: span 2;
}

.svc-shot--wide {
  grid-column: 1 / -1;
}

.svc-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.svc-shot:hover img {
  transform: scale(1.05);
}

.svc-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.25rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(10, 15, 20, 0.85), transparent);
  color: var(--white);
  font-weight: 600;
}

/* Why */
.svc-why-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.svc-why h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.h-checklist--dark li {
  color: var(--text-dark);
}

.h-checklist--dark li strong {
  color: var(--secondary);
}

.svc-callout {
  background: var(--dark);
  color: var(--white);
  border-radius: 18px;
  padding: 2.25rem;
  border-top: 4px solid var(--primary);
}

.svc-callout h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.svc-callout p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

/* FAQ */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3.25rem 1.1rem 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--bg-light);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
  background: var(--primary);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
}

.faq-item a {
  color: var(--secondary);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.faq-item a:hover {
  color: var(--primary-dark);
}

/* Related */
.svc-related .section-header {
  margin-bottom: 2rem;
}

.svc-related h2 {
  font-size: 1.75rem;
  color: var(--secondary);
}

.about-links--3 {
  margin-top: 0;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .svc-scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-why-inner {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .svc-scope-grid,
  .about-links--3 {
    grid-template-columns: 1fr;
  }

  .svc-gallery,
  .svc-gallery--3 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 230px;
  }

  .svc-shot--large {
    grid-row: auto;
  }

  .svc-shot--wide {
    grid-column: auto;
  }

  .svc-why-inner {
    grid-template-columns: 1fr;
  }

  .svc-callout {
    padding: 1.75rem;
  }

  .hero-buttons--left .cta-button,
  .hero-buttons--left .btn-secondary {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* ===== Strojový park, karty strojov, feature riadky ===== */

/* Karty strojov: fotka alebo typografický panel */
.machine-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
}

.machine-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.machine-card-media--empty,
.svc-feature-media--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #243445 100%);
  position: relative;
  margin: 0;
}

.machine-card-media--empty::before,
.svc-feature-media--empty::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
}

.machine-card-media--empty span,
.svc-feature-media--empty span {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 1.5rem;
}

.machine-card .h-link {
  margin-top: 0.4rem;
}

.machine-card .h-tags--light {
  margin-top: 0.25rem;
}

/* Feature riadky (fotka + text) */
.svc-features {
  display: grid;
  gap: 4.5rem;
}

.svc-feature {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.svc-feature--reverse .svc-feature-media {
  order: 2;
}

.svc-feature-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.svc-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.svc-feature-body h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  color: var(--secondary);
}

.svc-feature-body > p {
  color: var(--text-light);
}

/* Galéria s dvomi fotkami */
.svc-gallery--2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px;
  grid-auto-rows: 320px;
}

/* Strip techniky na úvodke */
.h-fleet {
  background: var(--bg-light);
}

.fleet-list {
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.fleet-item a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 12px;
  text-decoration: none;
  color: var(--secondary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fleet-item a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.fleet-item strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

.fleet-type {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.fleet-item--lead a {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.fleet-item--lead .fleet-type {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .fleet-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-feature {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .fleet-list {
    grid-template-columns: 1fr 1fr;
  }

  .fleet-item--lead {
    grid-column: 1 / -1;
  }

  .svc-features {
    gap: 3rem;
  }

  .svc-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .svc-feature--reverse .svc-feature-media {
    order: 0;
  }

  .svc-gallery--2 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 230px;
  }
}

/* ===== Prístupnosť ===== */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--primary);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Malé žlté nadpisy na svetlom pozadí potrebujú tmavší odtieň kvôli kontrastu */
.section-eyebrow,
.machine-type,
.fleet-type {
  color: var(--primary-text);
}

.h-showcase .section-eyebrow,
.fleet-item--lead .fleet-type {
  color: var(--primary);
}

main:focus {
  outline: none;
}

/* ===== Kontakt: blok "Vyžiadať ponuku" a mapa na kliknutie ===== */
.contact-request {
  max-width: 1280px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  padding: 2rem 2.25rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 16px;
  border-top: 4px solid var(--primary);
}

.contact-request h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.contact-request-text {
  flex: 1 1 380px;
  max-width: 640px;
}

.contact-request-text p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-request-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-request .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.contact-request .btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.map-consent {
  min-height: 500px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--dark) 0%, #243445 100%);
  color: var(--white);
}

.map-consent-address {
  font-size: 1.25rem;
  line-height: 1.5;
}

.map-consent-note {
  max-width: 420px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.map-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.map-consent .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.map-consent .btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.map-container iframe {
  display: block;
  border: 0;
}

@media (max-width: 768px) {
  .contact-request {
    padding: 1.5rem;
  }

  .contact-request-actions,
  .contact-request-actions a {
    width: 100%;
    text-align: center;
  }

  .map-consent {
    min-height: 340px;
  }
}

/* ===== Referencie ===== */
.ref-filters {
  max-width: 1280px;
  margin: -1rem auto 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.ref-filter {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.ref-filter:hover {
  border-color: var(--secondary);
}

.ref-filter.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.ref-filter:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.ref-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1.25rem;
}

.ref-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin: 0;
  background: var(--dark);
}

.ref-item[hidden] {
  display: none;
}

.ref-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.ref-item:hover img {
  transform: scale(1.06);
}

.ref-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(10, 15, 20, 0.88), transparent);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.ref-item figcaption span {
  font-size: 0.85rem;
  color: var(--primary);
}

.ref-empty {
  text-align: center;
  color: var(--text-light);
  margin-top: 2rem;
}

/* ===== 404 ===== */
.not-found {
  padding: 6rem 1.5rem;
  background: var(--bg-light);
  text-align: center;
}

.not-found-inner {
  max-width: 640px;
  margin: 0 auto;
}

.not-found-code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.not-found h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--secondary);
  margin: 0.5rem 0 1rem;
}

.not-found p {
  color: var(--text-light);
}

.not-found .hero-buttons {
  justify-content: center;
  padding-top: 2rem;
}

.not-found-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
}

.not-found-links a {
  color: var(--secondary);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

@media (max-width: 1024px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ref-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
}

/* Mapa na stránke Kontakt: pevná výška, drží sa pri rolovaní */
.contact-content {
  align-items: start;
}

.map-container {
  min-height: 0;
  align-self: start;
}

.map-consent {
  min-height: 500px;
}

@media (min-width: 769px) {
  .map-container {
    position: sticky;
    top: 110px;
  }
}

/* ===== Technické údaje stroja ===== */
.svc-specs-section {
  background: var(--bg-light);
}

.spec-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.spec-value {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.spec-card h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.spec-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Tabuľka technických údajov ===== */
.spec-table-wrap {
  max-width: 860px;
  margin: 2.5rem auto 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.spec-table-title {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.spec-table > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.spec-table dt {
  color: var(--text-light);
}

.spec-table dd {
  margin: 0;
  font-weight: 700;
  color: var(--secondary);
  text-align: right;
}

@media (max-width: 560px) {
  .spec-table-wrap {
    padding: 1.25rem;
  }

  .spec-table > div {
    flex-direction: column;
    gap: 0.15rem;
  }

  .spec-table dd {
    text-align: left;
  }
}

/* ===== Referenčné projekty veľkých klientov ===== */
.ref-projects-section {
  background: var(--bg-light);
}

.ref-projects {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ref-project {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.ref-project-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.ref-project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ref-project-logo {
  background: var(--dark);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ref-project-logo img {
  max-width: 70%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ref-project-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ref-project-body h3 {
  font-size: 1.3rem;
  color: var(--secondary);
}

.ref-project-body p {
  color: var(--text-light);
}

.carousel-controls[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .ref-projects {
    grid-template-columns: 1fr;
  }
}

.about-team-media {
  margin: 2rem auto 0;
  max-width: 900px;
}

.about-team-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

@media (min-width: 769px) {
  .svc-gallery--5 {
    grid-template-rows: repeat(4, 240px);
  }
}
