/* ==========================================================================
   DISCUS s.r.o. - Modern Corporate Hub & Portfolio Design System
   ========================================================================== */

:root {
  --color-primary: #0f172a;       /* Slate 900 */
  --color-secondary: #1e293b;     /* Slate 800 */
  --color-brand: #2563eb;         /* Royal Blue 600 */
  --color-brand-hover: #1d4ed8;   /* Royal Blue 700 */
  --color-brand-light: #eff6ff;   /* Royal Blue 50 */
  --color-accent: #0284c7;        /* Sky Blue */
  --color-success: #10b981;       /* Emerald 500 */
  --color-success-hover: #059669; /* Emerald 600 */
  --color-success-light: #ecfdf5;
  --color-warning: #f59e0b;       /* Amber 500 */
  --color-warning-light: #fffbeb;
  --color-text: #334155;          /* Slate 700 */
  --color-text-muted: #64748b;    /* Slate 500 */
  --color-bg: #f8fafc;            /* Slate 50 */
  --color-surface: #ffffff;
  --color-border: #e2e8f0;        /* Slate 200 */
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.09), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --header-height: 76px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.btn-success {
  background: var(--color-success);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
  background: var(--color-success-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline-dark:hover {
  background: var(--color-bg);
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-blue {
  background-color: var(--color-brand-light);
  color: var(--color-brand);
}

.badge-green {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand);
  background-color: var(--color-brand-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.header-phone:hover {
  color: var(--color-brand);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: calc(100vh - var(--header-height));
  background: var(--color-surface);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.mobile-nav-list a:hover {
  background: var(--color-brand-light);
  color: var(--color-brand);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: linear-gradient(145deg, #091124 0%, #0f172a 50%, #1e293b 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #93c5fd;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 36px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* ==========================================================================
   DIVISIONS / PORTFOLIO SECTION
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-brand);
  background: var(--color-brand-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.division-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.division-card.card-servis::before {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.division-card.card-akva::before {
  background: linear-gradient(90deg, #0284c7, #06b6d4);
}

.division-card.card-iot::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.division-card.card-print::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.division-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.card-servis .division-icon-box {
  background: #eff6ff;
  color: #2563eb;
}

.card-akva .division-icon-box {
  background: #f0f9ff;
  color: #0284c7;
}

.card-iot .division-icon-box {
  background: #ecfdf5;
  color: #10b981;
}

.card-print .division-icon-box {
  background: #fffbeb;
  color: #f59e0b;
}

.division-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.division-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.division-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.division-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.5;
}

.division-features svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
}

.division-action {
  margin-top: auto;
}

/* ==========================================================================
   ORDER SYSTEM CALLOUT SECTION
   ========================================================================== */
.order-callout {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 16px 36px rgba(30, 58, 138, 0.28);
  position: relative;
  overflow: hidden;
}

.order-callout-content {
  max-width: 650px;
}

.order-callout-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.order-callout-desc {
  font-size: 1.05rem;
  color: #bfdbfe;
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT COMPANY & FOUNDER
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-text p {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-feature-box:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand);
  box-shadow: var(--shadow-md);
}

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-light);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.about-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.about-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   BILLING & CONTACT SECTION
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.billing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.billing-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.billing-table td:first-child {
  color: var(--color-text-muted);
  font-weight: 500;
  width: 40%;
}

.billing-table td:last-child {
  font-weight: 700;
  color: var(--color-primary);
}

/* Navigation Buttons (Google Maps & Waze) */
.nav-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.btn-nav-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #ffffff;
  color: #1f2937;
  border: 1.5px solid #d1d5db;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.btn-nav-google:hover {
  background-color: #f8fafc;
  border-color: #4285F4;
  color: #1a56db;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.18);
  transform: translateY(-2px);
}

.btn-nav-waze {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #33ccff, #00b4d8);
  color: #0b2545;
  border: 1.5px solid #00b4d8;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 180, 216, 0.25);
  transition: var(--transition);
}

.btn-nav-waze:hover {
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.45);
  transform: translateY(-2px);
}

.map-container {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 16px;
  background: #e2e8f0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link-item {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link-item:hover {
  background: var(--color-brand-light);
  border-color: var(--color-brand);
  transform: translateY(-2px);
}

.social-link-item img {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-primary);
  color: #94a3b8;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.85rem;
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--color-border);
  z-index: 990;
  padding: 8px 12px;
  gap: 8px;
}

.mobile-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.mobile-action-btn.call-btn {
  background: var(--color-success);
  color: #ffffff;
}

.mobile-action-btn.wa-btn {
  background: #25d366;
  color: #ffffff;
}

.mobile-action-btn.order-btn {
  background: var(--color-brand);
  color: #ffffff;
}

/* Cookies EU Banner */
.cookies-eu-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.85rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookies-eu-banner button {
  background: var(--color-brand);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.cookies-eu-banner button:hover {
  background: var(--color-brand-hover);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .divisions-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .header-phone {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .order-callout {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .order-callout-content {
    max-width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .mobile-action-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
}
