/* ==================== FONTS ==================== */

/* Inter — variable font (weights 100–900) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  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: 100 900;
  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;
}

/* Playfair Display — regular */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/playfair-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: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/playfair-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;
}

/* Playfair Display — italic */
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/playfair-italic-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: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/playfair-italic-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;
}

:root {
  --color-primary: #1bc26c;
  --color-primary-light: #2ad47d;
  --color-primary-dark: #159a52;
  --color-secondary: #6b7b8d;
  --color-secondary-light: #8a99a8;
  --color-accent: #1bc26c;
  --color-accent-hover: #159a52;
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-bg-dark: #232a34;
  --color-text: #000000;
  --color-text-light: #555555;
  --color-text-lighter: #888888;
  --color-border: #c5cdd8;
  --color-success: #38a169;
  --color-error: #e53e3e;

  --color-brand-gradient-start: #8dc641;
  --color-brand-gradient-end: #70cddd;
  --color-nav-dark: #232a34;
  --color-heading: #232a34;

  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

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

  --transition: 0.3s ease;

  --container-max: 1200px;
  --header-height: 94px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-heading);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid #d1d8e0;
  height: auto;
  min-height: 98px;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 55px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-item a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 0;
  transition: all var(--transition);
  position: relative;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--color-heading);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--color-heading);
  background: none;
}

.nav-item a:hover::after,
.nav-item.active a::after {
  transform: scaleX(1);
}

.header-cta {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  background: transparent;
  color: var(--color-heading);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.header-cta:hover {
  background: var(--color-heading);
  color: var(--color-white);
  border-color: var(--color-heading);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  left: 0;
  transition: var(--transition);
}

.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}

.mobile-toggle.active .hamburger {
  background: transparent;
}

.mobile-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 94px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  padding: 48px 32px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin-bottom: 48px;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-list a {
  display: block;
  padding: 20px 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-heading);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
  color: var(--color-text-light);
}

.mobile-cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 32px;
}

/* ==================== DARK HEADER VARIANT ==================== */
.site-header.header-dark {
  background: var(--color-nav-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.header-dark .nav-item a {
  color: rgba(255, 255, 255, 0.7);
}

.site-header.header-dark .nav-item a::after {
  background: var(--color-white);
}

.site-header.header-dark .nav-item a:hover,
.site-header.header-dark .nav-item.active a {
  color: var(--color-white);
}

.site-header.header-dark .header-cta {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.site-header.header-dark .header-cta:hover {
  background: var(--color-white);
  color: var(--color-nav-dark);
  border-color: var(--color-white);
}

.site-header.header-dark .hamburger,
.site-header.header-dark .hamburger::before,
.site-header.header-dark .hamburger::after {
  background: var(--color-white);
}

.site-header.header-dark.scrolled {
  background: rgba(35, 42, 52, 0.98);
  border-bottom-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Dark mobile menu */
body.menu-dark .mobile-menu {
  background: var(--color-nav-dark);
}

body.menu-dark .mobile-nav-list li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.menu-dark .mobile-nav-list a {
  color: var(--color-white);
}

body.menu-dark .mobile-nav-list a.active,
body.menu-dark .mobile-nav-list a:hover {
  color: rgba(255, 255, 255, 0.6);
}

body.menu-dark .header-cta.mobile-cta {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

body.menu-dark .header-cta.mobile-cta:hover {
  background: var(--color-white);
  color: var(--color-nav-dark);
  border-color: var(--color-white);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-heading);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--color-primary-dark);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 26, 48, 0.92) 0%,
    rgba(27, 42, 74, 0.85) 50%,
    rgba(27, 42, 74, 0.7) 100%
  );
  z-index: 2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 720px;
  padding: 80px 0;
}

/* --- hero-badge old (AI-look) ---
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
}
--- hero-badge old end --- */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-badge-dot {
  display: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.section-header {
  text-align: left;
  max-width: 800px;
  margin: 0 0 72px 0;
}

.overline {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  margin-top: 50px;
}

.section-dark .section-header h2 {
  color: var(--color-white);
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 640px;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

/* ==================== SERVICES GRID ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 50px;
}

.service-card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: all var(--transition);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card ul {
  display: none;
}

/* Stupne dokumentácie — numbered 3x2 grid (sluzby page) */
.stupne-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stupne-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

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

.stupne-card-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.stupne-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.4;
  margin: 0;
}

.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--color-heading);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.service-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  gap: 10px;
}

.service-icon {
  display: none;
}

/* ==================== MAP SECTION ==================== */
.map-section {
  position: relative;
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.map-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map-tooltip {
  position: absolute;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  max-width: 250px;
  box-shadow: var(--shadow-lg);
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ==================== REFERENCES GRID ==================== */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.reference-card {
  background: none;
  border-radius: 0;
  overflow: hidden;
  border: none;
  transition: all var(--transition);
}

.reference-card:hover {
  transform: translateY(-4px);
}

.reference-card-image {
  height: 280px;
  background: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.reference-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.reference-card:hover .reference-card-image img {
  transform: scale(1.03);
}

.reference-card-image .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-lighter);
  font-size: 48px;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-border));
}

.reference-card-badge {
  display: none;
}

.reference-card-body {
  padding: 0;
}

.reference-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.reference-card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.reference-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.reference-card-body p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.reference-card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--color-heading);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.reference-card-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  gap: 10px;
}

/* ==================== PROCESS ==================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative;
}

.process-steps::before {
  display: none;
}

.process-step {
  text-align: left;
  position: relative;
  z-index: 2;
}

.process-step-number {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
}

.process-step:hover .process-step-number {
  background: none;
  color: var(--color-text-light);
}

.process-step-icon {
  display: none;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.process-step p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ==================== ABOUT PAGE ==================== */
.page-hero {
  padding: 148px 0 80px;
  background-color: var(--color-nav-dark);
  background-image: url("../assets/bg-vykres-s.webp");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(35, 42, 52, 0.98),
    rgba(35, 42, 52, 0.95)
  );
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

.page-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 54px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-sidebar {
  background: none;
  border-radius: 0;
  padding: 0;
}

.about-sidebar h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.about-sidebar ul {
  list-style: none;
}

.about-sidebar ul li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 16px;
  color: var(--color-heading);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.about-sidebar ul li:last-child {
  border-bottom: none;
}

.about-sidebar ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 10px;
  flex-shrink: 0;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  padding-right: 20px;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.contact-details {
  list-style: none;
  margin-bottom: 32px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-detail-content strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.contact-detail-content span,
.contact-detail-content a {
  font-size: 15px;
  color: var(--color-text-light);
}

.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}

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

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 0;
}

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

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  display: block;
  background: #f0fff4;
  color: var(--color-success);
  border: 1px solid #c6f6d5;
}

.form-message.error {
  display: block;
  background: #fff5f5;
  color: var(--color-error);
  border: 1px solid #fed7d7;
}

/* ==================== CAREERS PAGE ==================== */
.career-content {
  max-width: 800px;
}

.career-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.career-content p {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.8;
}

.career-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
  margin-top: 32px;
  margin-bottom: 16px;
}

.career-content ul {
  list-style: none;
  margin-bottom: 20px;
}

.career-content ul li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: var(--color-text);
}

.career-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.career-contact-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 40px;
}

.career-contact-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 12px;
}

.career-contact-box p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

/* ==================== ARTICLES PAGE ==================== */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
}

.article-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.article-card p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-source {
  font-size: 13px;
  color: var(--color-text-lighter);
  font-style: italic;
  margin-bottom: 20px;
}

.article-pdf-viewer {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 20px;
}

.article-pdf-viewer iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* ==================== REFERENCE DETAIL ==================== */
.reference-detail {
  max-width: 900px;
}

.reference-detail-header {
  margin-bottom: 40px;
}

.reference-detail-header h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 16px;
  line-height: 1.3;
}

.reference-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.reference-detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reference-detail-meta-item .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-lighter);
}

.reference-detail-meta-item .value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.reference-detail-content {
  margin-bottom: 40px;
}

.reference-detail-content p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.reference-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  cursor: pointer;
  transition: transform var(--transition);
}

.reference-gallery img:hover {
  transform: scale(1.02);
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.lightbox.active {
  display: flex;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
}

/* ==================== PARTNERS ==================== */
.partners-section {
  padding: 60px 0;
  background: var(--color-bg-alt);
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.partner-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  padding: 12px 24px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  padding: 120px 0;
  background: var(--color-primary-dark);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  position: relative;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 560px;
  position: relative;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  position: relative;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-primary-dark);
}

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  transform: none;
  box-shadow: none;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--color-nav-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 320px;
  background: url("../assets/about-bg2-footer.webp") center / contain no-repeat;
  filter: grayscale(1) brightness(2);
  opacity: 0.06;
  pointer-events: none;
}

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

.footer-desc {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

.footer-contact {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
}

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

.separator {
  color: rgba(255, 255, 255, 0.2);
}

/* ==================== GDPR PAGE ==================== */
.gdpr-content {
  max-width: 800px;
}

.gdpr-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading);
  margin-top: 40px;
  margin-bottom: 16px;
}

.gdpr-content h2:first-child {
  margin-top: 0;
}

.gdpr-content p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.gdpr-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.gdpr-content ul li {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .process-steps::before {
    display: none;
  }

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

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

#projects-map {
  height: 420px;
}

@media (max-width: 768px) {
  .nav-list,
  .header-cta {
    display: none;
  }

  #projects-map {
    height: 330px;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-content {
    padding: 40px 0;
  }

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

  .hero-stat-number {
    font-size: 28px;
  }

  .section {
    padding: 60px 0;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .contact-form-wrapper {
    padding: 24px;
  }

  .article-card {
    padding: 24px;
  }

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

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

/* =============================================
   PREMIUM HOMEPAGE — WOW EFFECT STYLES
   Inspired by Ecovera, Vireo, Caeli references
   ============================================= */

/* --- Title Serif --- */
.title-serif {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.site-header.header-home {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.site-header.header-home.scrolled {
  background: var(--color-white);
  border-bottom-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* --- Premium Hero (Homepage) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-primary-dark);
  color: #fff;
  padding-top: 0;
}

.hero-bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 12% 25%,
      rgba(27, 194, 108, 0.1) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 88% 75%,
      rgba(35, 42, 52, 0.7) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 40%,
      rgba(35, 42, 52, 0.75) 0%,
      transparent 70%
    );
  z-index: 1;
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
  user-select: none;
}

.hero-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  max-width: 920px;
  margin: 0 auto;
}

/* --- hero-section .hero-badge old (AI-look) ---
.hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.7);
}

.hero-section .hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
--- hero-section .hero-badge old end --- */

.hero-section .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-section .hero-badge-dot {
  display: none;
}

.hero-section .hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-section h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-section h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent), #4de8a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section .hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-section .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-section .hero-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-section .hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-section .hero-actions .btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(27, 194, 108, 0.3);
}

.hero-section .hero-actions .btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27, 194, 108, 0.4);
}

.hero-section .hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section .hero-stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section .hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==================== HERO CAROUSEL ==================== */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 26, 48, 0.55) 0%,
    rgba(15, 26, 48, 0.7) 60%,
    rgba(15, 26, 48, 0.85) 100%
  );
}

/* Make sure carousel slides are below overlays and content */
.hero-slide {
  z-index: 0;
}
.hero-bg-mesh {
  z-index: 1;
}
.hero-bg-pattern {
  z-index: 2;
}
.hero-watermark {
  z-index: 3;
}
.hero-dots {
  z-index: 20;
}
.hero-main {
  z-index: 10;
  position: relative;
}

/* Navigation dots */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 20;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.2);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ==================== HERO DEFAULT (no watermark, minimal overlay) ==================== */
.hero-section .hero-watermark {
  display: none;
}

.hero-section .hero-slide::after {
  background: linear-gradient(
    to bottom,
    rgba(15, 26, 48, 0.7) 0%,
    rgba(15, 26, 48, 0.6) 40%,
    rgba(15, 26, 48, 0.5) 100%
  );
}

.hero-section .hero-bg-mesh {
  background: none;
}

.hero-section h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.hero-section .hero-subtitle {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-section .hero-stat-number {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-section .hero-actions .btn-primary {
  box-shadow:
    0 4px 24px rgba(27, 194, 108, 0.4),
    0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-section .hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ==================== HERO V2 (alternative images, lighter overlay) ==================== */
.hero-v2 .hero-watermark {
  display: none;
}

.hero-v2 .hero-slide::after {
  background: linear-gradient(
    to bottom,
    rgba(15, 26, 48, 0.25) 0%,
    rgba(15, 26, 48, 0.45) 50%,
    rgba(15, 26, 48, 0.7) 100%
  );
}

.hero-v2 .hero-bg-mesh {
  background: radial-gradient(
    ellipse at 50% 80%,
    rgba(15, 26, 48, 0.5) 0%,
    transparent 60%
  );
}

.hero-v2 .hero-section h1,
.hero-v2 h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-v2 .hero-subtitle {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-v2 .hero-stat-number {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-heading);
}

.breadcrumb-sep {
  color: var(--color-border);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* Dark-hero page breadcrumb variant */
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}
.page-hero .breadcrumb a:hover {
  color: #fff;
}
.page-hero .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}
.page-hero .breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

/* ==================== PROJECTS MAP ==================== */
.dt-map-marker {
  background: none;
  border: none;
}

.dt-marker-inner {
  width: 30px;
  height: 40px;
  position: relative;
}

.dt-marker-inner::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--color-accent);
  border: 2.5px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  top: 0;
  left: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dt-marker-inner::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  top: 9px;
  left: 11px;
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
}

.dt-popup {
  padding: 16px 20px;
  min-width: 220px;
}

.dt-popup h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.dt-popup-type {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.dt-popup-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  transition:
    color 0.2s,
    border-color 0.2s;
}

.dt-popup-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ==================== TRUST / PARTNERS BAR ==================== */
.trust-section {
  background: var(--color-bg);
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  text-align: left;
  flex: 1;
  min-width: 140px;
}

.trust-item-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.trust-item-label {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 400;
}

.trust-divider {
  display: none;
}

/* --- Homepage Services (clean editorial) --- */
.homepage-services .service-card {
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: visible;
  transition: none;
}

.homepage-services .service-card::before {
  display: none;
}

.homepage-services .service-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.homepage-services .service-icon {
  display: none;
}

/* --- Homepage References (clean editorial) --- */
.homepage-references .reference-card {
  background: none;
  border: none;
  border-radius: 0;
}

.homepage-references .reference-card:hover {
  box-shadow: none;
}

.homepage-references .reference-card-image {
  margin-bottom: 24px;
  height: 280px;
}

.homepage-references .reference-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.homepage-references .reference-card:hover .reference-card-image img {
  transform: scale(1.03);
}

.ref-card-overlay {
  display: none;
}

.reference-card-content {
  padding: 0;
  color: var(--color-text);
}

.reference-card-badge-new {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.homepage-references .reference-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--color-heading);
}

.homepage-references .reference-card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.homepage-references .reference-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.homepage-references .reference-card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--color-heading);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.homepage-references .reference-card-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  gap: 10px;
}

/* --- Homepage Process (clean editorial) --- */
.homepage-process .process-step {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: visible;
  text-align: left;
  transition: none;
}

.homepage-process .process-step:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.homepage-process .process-step-number {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
  position: static;
  margin-bottom: 20px;
  line-height: 1;
  border: none;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.homepage-process .process-step-icon {
  display: none;
}

.homepage-process .process-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-heading);
  line-height: 1.3;
}

.homepage-process .process-step p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- Homepage About (clean editorial) --- */
.homepage-about .about-sidebar {
  background: none;
  color: var(--color-text);
  border-radius: 0;
  padding: 0;
}

.homepage-about .about-sidebar h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.homepage-about .about-sidebar ul li {
  color: var(--color-heading);
  border-bottom-color: var(--color-border);
  font-weight: 500;
}

.homepage-about .about-sidebar ul li::before {
  background: var(--color-accent);
}

/* --- Gallery Placeholder (for projects without photos) --- */
.reference-gallery-placeholder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-placeholder {
  background: linear-gradient(135deg, var(--color-bg-alt), #e8ecf2);
  border-radius: var(--radius-md);
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  border: 1px solid var(--color-border);
}

.gallery-placeholder-icon {
  font-size: 3rem;
  line-height: 1;
}

.gallery-placeholder-text {
  font-size: 15px;
  color: var(--color-text-light);
  max-width: 400px;
  line-height: 1.6;
}

/* --- CTA Glow Effect --- */
.cta-section .cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 194, 108, 0.2), transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* --- Footer Watermark --- */
.footer-watermark {
  display: block;
  width: 90%;
  max-width: 700px;
  height: auto;
  margin: 1rem auto 0;
  opacity: 1;
  user-select: none;
  pointer-events: none;
}

/* --- Premium Buttons (Pill Shape) --- */
.homepage .btn-primary,
.btn-primary.btn-pill {
  border-radius: 999px;
  padding: 0.85rem 2rem;
}

.homepage .btn-secondary,
.btn-secondary.btn-pill {
  border-radius: 999px;
  padding: 0.85rem 2rem;
}

.btn-outline.btn-pill {
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* --- Home Page Body --- */
.home-page {
  overflow-x: hidden;
}

/* --- Premium Responsive Overrides for Homepage --- */
@media (max-width: 1200px) {
  .homepage-services .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .homepage-references .references-grid {
    grid-template-columns: 1fr;
  }

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

  .homepage-process .process-steps::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-section .hero-stats {
    gap: 2rem;
  }

  .homepage-references .references-grid {
    grid-template-columns: 1fr;
  }

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

  .homepage-process .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-main {
    padding: 8rem 1rem 3.5rem;
  }

  .hero-dots {
    bottom: 1.5rem;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-watermark {
    font-size: 30vw;
  }

  .hero-section .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-section .hero-stat {
    text-align: center;
  }

  .services-grid,
  .homepage-services .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .references-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .homepage-process .process-steps {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trust-grid {
    gap: 2rem;
    justify-content: flex-start;
  }

  .trust-item {
    min-width: calc(50% - 1rem);
  }

  .trust-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-section .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-section .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-section .hero-stats {
    align-items: center;
  }
}
