/* ==========================================================================
   Balogh Ács-Állványozó Kft.
   ========================================================================== */

:root {
  --primary: #0f172a;        /* Deep Slate Navy */
  --primary-light: #1e293b;  /* Charcoal Surface */
  --primary-dark: #090d16;   /* Rich Obsidian */
  
  --accent: #d97706;         /* Industrial Safety Gold / Amber */
  --accent-light: #f59e0b;   /* Bright Amber */
  --accent-dark: #b45309;    /* Deep Amber */
  
  --secondary: #b91c1c;      /* Construction Ruby Red */
  --secondary-hover: #991b1b;
  
  --bg-main: #f8fafc;        /* Clean Neutral Background */
  --bg-card: #ffffff;        /* Pure White Card */
  --bg-alt: #f1f5f9;         /* Muted Slate Surface */
  
  --text-main: #0f172a;      /* Primary Readable Text */
  --text-muted: #64748b;     /* Secondary Muted Text */
  --text-inverse: #ffffff;   /* Light Text on Dark */
  
  --border-subtle: #e2e8f0;  /* Hairline Border */
  --border-dark: #334155;    /* Dark Surface Border */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  overflow-x: clip;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Széchenyi 2020 Fehér Infoblokk Fejléc (szechenyi2020.jpg)
   ========================================================================== */
.palyazat-bar-white {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  width: 100%;
}

.palyazat-white-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.palyazat-white-link {
  display: inline-block;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.palyazat-white-link:hover {
  opacity: 0.9;
}

.szechenyi-infoblokk-img {
  width: 290px;
  height: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.palyazat-white-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
}

.palyazat-white-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 6px;
}

.palyazat-white-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.palyazat-white-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.palyazat-white-cta:hover {
  color: var(--accent-dark);
}

/* ==========================================================================
   Header & Main Navigation
   ========================================================================== */
header.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

/* Brand Lockup */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--accent-dark);
}

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

.nav-link.active {
  color: var(--accent-dark);
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--border-subtle);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background-color: #ffffff;
  z-index: 2000;
  padding: 24px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-panel.open {
  transform: translateX(-320px);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-close-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  color: var(--text-main);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-links a {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  border-left: 3px solid transparent;
}

.mobile-links a.active,
.mobile-links a:hover {
  background-color: var(--bg-alt);
  color: var(--secondary);
  border-left-color: var(--accent);
}

.mobile-nav-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-contact-item a {
  color: var(--text-main);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 70%, #090d16 100%);
  color: #ffffff;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-tag::before {
  content: "";
  width: 24px;
  height: 2px;
  background-color: var(--accent-light);
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}

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

.hero-lead {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 600px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Hero Carousel / Visual Container */
.hero-visual-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #1e293b;
  aspect-ratio: 4 / 3;
}

.hero-slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px 16px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 70%, transparent 100%);
  color: #ffffff;
}

.hero-slide-caption h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-slide-caption p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.hero-slider-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--accent);
  width: 24px;
}

/* ==========================================================================
   Trust Bar & KPI Statistics
   ========================================================================== */
.stats-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Section Layouts & Headings
   ========================================================================== */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 119, 6, 0.3);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.service-link:hover {
  color: var(--secondary);
  gap: 9px;
}

/* ==========================================================================
   Photo Gallery Grid - Masonry Elrendezés (Nem vágja le az álló képeket)
   ========================================================================== */
.gallery-masonry {
  column-count: 4;
  column-gap: 20px;
  width: 100%;
}

@media (max-width: 1200px) {
  .gallery-masonry {
    column-count: 3;
    column-gap: 16px;
  }
}

@media (max-width: 800px) {
  .gallery-masonry {
    column-count: 2;
    column-gap: 14px;
  }
}

@media (max-width: 500px) {
  .gallery-masonry {
    column-count: 1;
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #1e293b;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  break-inside: avoid;
  margin-bottom: 20px;
  width: 100%;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

/* Csak a nagyító ikon látható mouseoverkor (nincs felirat) */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-zoom-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.85);
  border: 2px solid var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.gallery-card:hover .gallery-card-zoom-icon {
  transform: scale(1);
}

.gallery-card-zoom-icon svg {
  width: 24px;
  height: 24px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 15, 29, 0.96);
  z-index: 9999;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s ease;
  user-select: none;
  touch-action: pan-y;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  z-index: 10;
}

.lightbox-counter {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-light);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.lightbox-btn svg {
  width: 20px;
  height: 20px;
}

.lightbox-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background-color: var(--accent);
  color: #0f172a;
}

.lightbox-nav-btn.prev {
  left: 20px;
}

.lightbox-nav-btn.next {
  right: 20px;
}

.lightbox-nav-btn svg {
  width: 26px;
  height: 26px;
}

.lightbox-thumbs {
  height: 80px;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.lightbox-thumb {
  height: 60px;
  width: 80px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: var(--transition);
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   About Company Showcase
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
}

.about-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.about-highlight-box {
  background: #ffffff;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent);
}

.about-highlight-box h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-highlight-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

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

/* ==========================================================================
   Contact Page Layout (Info + Google Maps)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: stretch;
}

.contact-grid > * {
  min-width: 0;
}

.contact-info-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.contact-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

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

.contact-detail-content {
  min-width: 0;
  flex: 1;
}

.contact-detail-content h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-detail-content a,
.contact-detail-content p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-detail-content a:hover {
  color: var(--secondary);
}

/* Google Maps Iframe Card */
.contact-map-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contact-map-header {
  background: var(--bg-alt);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.map-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.map-badge svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.map-open-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.map-open-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  flex-grow: 1;
  border: none;
  display: block;
}

/* ==========================================================================
   Article / Legal / EU Project Content Styling
   ========================================================================== */
.article-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.article-title {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-content h3,
.article-content h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 14px;
}

.article-content ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 24px;
}

.article-content li {
  margin-bottom: 8px;
  text-align: justify;
}

.article-image-box {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
}

.data-table th {
  background-color: var(--bg-alt);
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background-color: #090d16;
  color: #cbd5e1;
  padding: 60px 0 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent);
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-top: 14px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
  min-width: 0;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

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

/* Floating Fast-Dial Call Button on Mobile */
.mobile-quick-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
}

.btn-quick-call {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--secondary) 0%, #dc2626 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.45);
  border: 2px solid #ffffff;
  transition: var(--transition);
}

.btn-quick-call:hover {
  transform: scale(1.08);
  color: #ffffff;
}

.btn-quick-call svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-quick-call {
    display: block;
  }
  
  .article-container {
    padding: 24px;
  }

  .palyazat-white-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .palyazat-white-text {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .about-highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-info-card {
    padding: 24px 16px;
    gap: 18px;
  }

  .contact-header h3 {
    font-size: 1.25rem;
  }

  .contact-details-list {
    gap: 16px;
  }

  .contact-detail-row {
    gap: 12px;
  }

  .contact-detail-icon {
    width: 38px;
    height: 38px;
  }

  .contact-detail-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-detail-content a,
  .contact-detail-content p {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .contact-map-card {
    min-height: 380px;
  }

  .contact-map-header {
    padding: 12px 16px;
  }

  .map-badge {
    font-size: 0.85rem;
  }

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

  .mobile-quick-call {
    bottom: 16px;
    right: 16px;
  }

  .btn-quick-call {
    width: 52px;
    height: 52px;
  }
}

