/* ==========================================================================
   TSSB SIA - Modern Corporate Consulting Stylesheet
   Benchmark: consultinglv.com
   ========================================================================== */

:root {
  --color-primary: #008240;
  --color-primary-hover: #006830;
  --color-primary-light: #e8f5e9;
  --color-accent: #00843e;
  --color-dark: #222222;
  --color-text: #444444;
  --color-text-muted: #777777;
  --color-bg-light: #f8f8f8;
  --color-bg-white: #ffffff;
  --color-border: #e1e1e1;
  --color-footer-bg: #2d3136;
  --color-footer-text: #b0b8c1;
  --color-socket-bg: #1f2226;
  --sidebar-width: 280px;
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg-white);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1.3;
}

/* Layout Wrappers */
#wrap_all {
  display: flex;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

/* ==========================================================================
   Left Sidebar Navigation (Desktop)
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background-color: var(--color-bg-white);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.03);
}

.header-top-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background-color: #fbfbfb;
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  font-weight: 600;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 4px;
}

.language-switcher a.active {
  color: var(--color-dark);
  background-color: #ebebeb;
}

.language-switcher a:hover {
  color: var(--color-primary);
}

.flag-icon {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
  object-fit: cover;
}

/* Sidebar Logo */
.sidebar-logo-container {
  padding: 30px 24px 25px 24px;
  border-bottom: 1px solid #f1f1f1;
}

.sidebar-logo {
  display: block;
  max-width: 220px;
}

/* Main Navigation Menu */
.sidebar-nav {
  padding: 10px 0;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
}

.sidebar-nav li {
  position: relative;
  border-bottom: 1px solid #f6f6f6;
}

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

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  position: relative;
}

.sidebar-nav a .nav-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: transparent;
  margin-right: 12px;
  transition: var(--transition);
}

.sidebar-nav li:hover > a,
.sidebar-nav li.active > a {
  color: var(--color-primary);
  background-color: #fafdfb;
}

.sidebar-nav li:hover > a .nav-bullet,
.sidebar-nav li.active > a .nav-bullet {
  background-color: var(--color-primary);
}

/* Sidebar Footer / Contact Quick Card */
.sidebar-footer {
  padding: 20px 24px;
  background-color: #fbfbfb;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
}

.sidebar-contact-info {
  margin-bottom: 12px;
}

.sidebar-contact-info p {
  margin-bottom: 6px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-contact-info a {
  color: var(--color-dark);
  font-weight: 600;
}

.sidebar-contact-info a:hover {
  color: var(--color-primary);
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0,130,64,0.25);
}

.sidebar-cta-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Mobile Header Bar (< 990px)
   ========================================================================== */
.mobile-header-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.mobile-logo {
  height: 44px;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  border-radius: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--color-bg-white);
  z-index: 1002;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--color-dark);
  cursor: pointer;
  padding: 5px 10px;
}

.mobile-drawer-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-drawer-nav li a {
  display: block;
  padding: 16px 24px;
  border-bottom: 1px solid #f1f1f1;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 15px;
}

.mobile-drawer-nav li a:hover {
  background-color: #f8f8f8;
  color: var(--color-primary);
}

.mobile-drawer-footer {
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
#main {
  flex: 1;
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  background-color: var(--color-bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   Hero Slideshow Section
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 540px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.hero-slider-section:hover .hero-bg-image {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 60, 25, 0.35) 100%);
  z-index: 1;
}

.hero-caption-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
}

/* Enfold Signature Framed Caption Box */
.caption-framed-box {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 40px 60px;
  border-radius: 2px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.4;
}

/* Section Headings with Green Underline */
.section-heading-wrap {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-heading-title {
  font-size: 32px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: none;
}

.section-subheading {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-weight: 400;
}

.special-heading-border {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0 auto;
  position: relative;
}

.special-heading-inner-border {
  width: 80px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto;
}

/* Left-aligned variant */
.section-heading-wrap.align-left {
  text-align: left;
  margin-bottom: 30px;
}

.section-heading-wrap.align-left .special-heading-inner-border {
  margin: 0;
}

/* ==========================================================================
   Section: Mūsu priekšrocības (Our Advantages)
   ========================================================================== */
.section-advantages {
  padding: 85px 0;
  background-color: var(--color-bg-white);
}

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

.iconbox-card {
  text-align: center;
  padding: 20px 15px;
  transition: var(--transition);
}

.iconbox-card:hover {
  transform: translateY(-5px);
}

.iconbox-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background-color: #ffffff;
  transition: var(--transition);
}

.iconbox-card:hover .iconbox-icon-circle {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 130, 64, 0.25);
}

.iconbox-icon-circle svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.8;
}

.iconbox-title {
  font-size: 19px;
  text-transform: lowercase;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.iconbox-title::first-letter {
  text-transform: uppercase;
}

.iconbox-desc {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Section: Mūsu pakalpojumi (Our Services Grid Rows)
   ========================================================================== */
.section-services {
  padding: 85px 0 0 0;
  background-color: #fafafa;
  border-top: 1px solid #eeeeee;
}

.grid-row-50-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid #eeeeee;
}

.grid-image-col {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.grid-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.grid-image-col:hover img {
  transform: scale(1.04);
}

.grid-content-col {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-bg-white);
}

/* Service Icon List */
.service-icon-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}

.service-bullet-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 3px 8px rgba(0, 132, 62, 0.25);
}

.service-bullet-icon svg {
  width: 18px;
  height: 18px;
}

.service-item-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.45;
}

.service-lead-text {
  font-size: 16.5px;
  line-height: 1.8;
  color: #555555;
}

/* ==========================================================================
   Section: FAQ (Biežāk uzdotie jautājumi)
   ========================================================================== */
.section-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid #eeeeee;
}

.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  background-color: #ffffff;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fcfcfc;
  user-select: none;
  transition: var(--transition);
}

.faq-item.active .faq-header {
  background-color: #f4faf6;
}

.faq-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  padding-right: 15px;
}

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background-color: #e5e5e5;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: var(--transition);
}

.faq-item.active .faq-toggle-icon {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 20px;
  background-color: #ffffff;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-text);
  border-top: 1px solid #f0f0f0;
}

.faq-item.active .faq-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   Section: Kontakti Promo Banner & Contact Form + Map
   ========================================================================== */
.section-contacts-wrap {
  padding: 80px 0 0 0;
  background-color: var(--color-bg-white);
}

/* Enfold Promobox */
.contact-promobox {
  background: #fbfbfb;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.promobox-content p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.promobox-content p:last-child {
  margin-bottom: 0;
}

.promobox-content strong {
  color: var(--color-dark);
}

.promobox-icon {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.promobox-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 130, 64, 0.25);
}

.promobox-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 130, 64, 0.35);
}

/* Contact Grid Form + Map */
.contact-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
}

.contact-form-col {
  padding: 60px 50px;
  background-color: #fbfbfb;
  border-right: 1px solid var(--color-border);
}

.contact-map-col {
  min-height: 520px;
  position: relative;
}

.contact-map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 540px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-dark);
}

.form-group label span.req {
  color: #d9534f;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 14.5px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background-color: #ffffff;
  color: var(--color-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 130, 64, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.form-checkbox-wrap input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.submit-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 130, 64, 0.2);
}

.submit-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.form-status-message {
  display: none;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

.form-status-message.success {
  display: block;
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-status-message.error {
  display: block;
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 70px 0 50px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3.widget-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-text p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-contact-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list a {
  color: var(--color-footer-text);
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-contact-list svg {
  color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-table td:last-child {
  text-align: right;
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Socket / Bottom Copyright Bar
   ========================================================================== */
.site-socket {
  background-color: var(--color-socket-bg);
  color: #8f98a3;
  padding: 22px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.socket-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.socket-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.socket-links a {
  color: #8f98a3;
  font-size: 13px;
}

.socket-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Scroll To Top Floating Button
   ========================================================================== */
#scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top-btn:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   Cookie Consent Banner (GDPR)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
  padding: 20px 30px;
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
}

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

.cookie-btn {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-btn-accept {
  background-color: var(--color-primary);
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background-color: var(--color-primary-hover);
}

.cookie-btn-reject {
  background-color: #eeeeee;
  color: #444444;
}

.cookie-btn-reject:hover {
  background-color: #e0e0e0;
}

.cookie-btn-settings {
  background: transparent;
  color: var(--color-primary);
  text-decoration: underline;
  padding: 9px 10px;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-overlay.active {
  display: flex;
}

.cookie-modal {
  background-color: #ffffff;
  max-width: 600px;
  width: 100%;
  border-radius: 6px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.cookie-group {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.cookie-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
}

.cookie-group-desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
}

/* ==========================================================================
   Dedicated Legal Page Styles (Terms, Privacy, Cookies)
   ========================================================================== */
.legal-page-header {
  background: linear-gradient(135deg, #f4faf6 0%, #e8f5e9 100%);
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

.legal-page-header h1 {
  font-size: 34px;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.legal-breadcrumb {
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.legal-breadcrumb a {
  color: var(--color-primary);
}

.legal-content-section {
  padding: 70px 0;
}

.legal-article {
  max-width: 920px;
  margin: 0 auto;
  background-color: #ffffff;
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}

.legal-article h2 {
  font-size: 22px;
  color: var(--color-dark);
  margin: 35px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #eeeeee;
}

.legal-article h3 {
  font-size: 18px;
  color: var(--color-primary);
  margin: 25px 0 10px 0;
}

.legal-article p {
  margin-bottom: 18px;
}

.legal-article ul, .legal-article ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-article li {
  list-style: disc;
  margin-bottom: 8px;
}

.legal-info-box {
  background-color: #f8fbf9;
  border-left: 4px solid var(--color-primary);
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 990px) {
  #header {
    display: none;
  }

  .mobile-header-bar {
    display: flex;
  }

  #main {
    margin-left: 0;
    width: 100%;
    padding-top: 70px;
  }

  .hero-slider-section {
    height: 60vh;
    min-height: 440px;
  }

  .caption-framed-box {
    padding: 25px 30px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .grid-row-50-50,
  .section-faq-grid,
  .contact-grid-row {
    grid-template-columns: 1fr;
  }

  .grid-image-col {
    min-height: 340px;
  }

  .grid-content-col {
    padding: 40px 25px;
  }

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

  .contact-promobox {
    flex-direction: column;
    align-items: flex-start;
  }

  .promobox-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

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

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-heading-title {
    font-size: 26px;
  }

  .socket-container {
    flex-direction: column;
    text-align: center;
  }

  .socket-links {
    flex-direction: column;
    gap: 10px;
  }
}
