/* ==========================================================================
   TUCHFELD.RO - Production Static Architecture
   Modern, Ultra-fast, Responsive CSS Design System
   ========================================================================== */

:root {
  --primary: #192231;
  --primary-dark: #101622;
  --primary-light: #253346;
  --accent: #f0b429;
  --accent-hover: #d69e2e;
  --accent-light: #fef3c7;
  --blue: #1976d2;
  --blue-hover: #1565c0;
  --text-main: #2d3748;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container-max: 1170px;
  --header-height: 84px;
  --topbar-height: 40px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-body);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container (Exact Bootstrap 3 Grid Breakpoints matching original tuchfeld.ro) */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */

.top-bar {
  background-color: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-height);
  padding: 0.4rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-info a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info a:hover {
  color: var(--accent);
}

.top-bar-legal {
  color: #94a3b8;
  font-size: 0.78rem;
}

.top-bar-legal strong {
  color: #e2e8f0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(25, 34, 49, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: #f1f5f9;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--accent);
  background-color: rgba(240, 180, 41, 0.12);
  font-weight: 600;
}

.nav-cta {
  margin-left: 0.75rem;
}

.btn-contact {
  background-color: var(--accent);
  color: var(--primary-dark) !important;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(240, 180, 41, 0.3);
}

.btn-contact:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #ffffff;
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background-color: var(--primary);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-menu .nav-link {
  font-size: 1.1rem;
  padding: 0.85rem 1rem;
  display: block;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero Slider (Homepage)
   ========================================================================== */

.hero-slider-section {
  position: relative;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 580px;
  max-height: 75vh;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 440px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.45) 0%, rgba(16, 22, 34, 0.82) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  color: #ffffff;
  padding: 2rem 0;
}

.hero-tagline {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(240, 180, 41, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 180, 41, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(25, 34, 49, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  font-size: 1.25rem;
}

.slider-arrow:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.slider-arrow-prev {
  left: 1.5rem;
}

.slider-arrow-next {
  right: 1.5rem;
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none;
  }
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.is-active {
  width: 32px;
  border-radius: 6px;
  background: var(--accent);
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #cbd5e1;
}

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

.breadcrumbs .separator {
  color: #64748b;
}

.breadcrumbs .current {
  color: var(--accent);
  font-weight: 500;
}

/* ==========================================================================
   Main Content Sections
   ========================================================================== */

.main-content {
  flex: 1 0 auto;
}

.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Pillars Cards (Misiune, Viziune, Valori si credinte) */
.section-pillars {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.pillar-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  text-align: center;
}

.pillar-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.pillar-sep {
  width: 44px;
  height: 2px;
  background-color: var(--accent);
  border: none;
  margin: 0.5rem auto 1.25rem;
}

.pillar-text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Section: TUCHFELD Business */
.section-business {
  padding: 3rem 0 4.5rem;
  background-color: var(--bg-alt);
}

.business-wrapper {
  margin-bottom: 2rem;
}

.business-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.business-text {
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.business-text strong {
  color: var(--primary-dark);
}

.section-divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 2.5rem 0 3rem;
}

/* 2-Column Affiliate Layout (Matching Row 4 of live site & PDF) */
.home-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .home-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.home-col {
  display: flex;
  flex-direction: column;
}

.company-block {
  margin-bottom: 2rem;
}

.company-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.inline-company-logo {
  height: 38px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.inline-trivas-logo {
  height: 38px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.company-block p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.company-block p strong {
  color: var(--primary-dark);
}

.content-image-box {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.content-responsive-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.text-justify {
  text-align: justify;
}

.text-center {
  text-align: center;
}

/* Business Overview 2-Column Section (for inner pages) */
.overview-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .overview-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.overview-text p {
  margin-bottom: 1.25rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
}

.overview-text p strong {
  color: var(--primary-dark);
}

.overview-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.overview-visual h4 {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.feature-icon {
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Brands & Affiliates Cards */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
}

.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.brand-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.brand-card-logo {
  height: 48px;
  max-width: 160px;
  object-fit: contain;
}

.brand-badge {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.brand-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.brand-card-body {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}

.brand-card-body ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.brand-card-body li {
  position: relative;
  padding-left: 1.25rem;
}

.brand-card-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* Partners Logo Carousel */
.partners-section {
  padding: 3.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

.partners-carousel-wrap:hover .partners-track {
  animation-play-state: paused;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  height: 50px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.partner-item img:hover {
  transform: scale(1.05);
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

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

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.info-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.94rem;
}

.info-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-icon {
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-badge-card {
  background-color: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 260px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-legal-box {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-legal-box strong {
  color: #ffffff;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

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

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

/* ==========================================================================
   Cookie Consent Banner & Modal
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(16, 22, 34, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f1f5f9;
  border-top: 1px solid rgba(240, 180, 41, 0.3);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  padding: 1.5rem 0;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  max-width: 800px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cookie-text strong {
  color: #ffffff;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background-color: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-cookie-reject {
  background-color: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-cookie-settings {
  background-color: transparent;
  color: var(--accent);
  border: none;
  cursor: pointer;
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  text-decoration: underline;
  transition: var(--transition);
}

.btn-cookie-settings:hover {
  color: #ffffff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.cookie-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlide {
  from { transform: translateY(20px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}

.cookie-modal-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.cookie-modal-body {
  padding: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  font-weight: 700;
  color: var(--primary-dark);
}

.cookie-category-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent);
}

input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

input:disabled + .toggle-slider {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: var(--primary-light);
}

.cookie-modal-footer {
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Floating Cookie Button */
.cookie-trigger-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 800;
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.cookie-trigger-btn:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  font-size: 1.2rem;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   Clean Content Pages (Despre, Companii afiliate, Contact)
   ========================================================================== */

.section-clean-page {
  padding: 20px 0 40px;
  background-color: #ffffff;
}

.page-main-heading {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.page-heading-divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 0.75rem 0 2.25rem;
}

/* Despre Page */
.despre-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .despre-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.despre-text-col p,
.despre-bottom-text p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 12px;
  text-align: justify;
}

.despre-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  display: block;
}

/* Companii Afiliate Classic Page (1:1 with original Joomla site) */
.page-title-classic {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.page-divider-classic {
  border: 0;
  height: 1px;
  background-color: #eeeeee;
  margin: 10px 0 20px 0;
}

.companii-classic-content {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}

.companii-classic-content p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-top: 0;
  margin-bottom: 12px;
  text-align: justify;
}

.companii-bullet-classic {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 12px;
}

.companii-bullet-classic li {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 6px;
  text-align: justify;
}

/* Exact Link Color from original Joomla / Bootstrap: #337ab7 */
.companii-link,
.companii-classic-content a {
  color: #337ab7 !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: color 0.2s ease;
}

.companii-link:hover,
.companii-classic-content a:hover {
  color: #23527c !important;
  text-decoration: underline !important;
}

/* Contact Page (3 Columns Layout with Google Map) */
.contact-three-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-three-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.map-embed-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  background-color: var(--bg-alt);
}

.map-embed-container iframe {
  display: block;
  width: 100%;
  height: 420px;
}

.contact-block-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #555555;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.clean-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.clean-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.clean-form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.clean-form-group input,
.clean-form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background-color: #ffffff;
  transition: var(--transition);
}

.clean-form-group input:focus,
.clean-form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-clean-send {
  background-color: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.98rem;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(240, 180, 41, 0.35);
}

.btn-clean-send:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(240, 180, 41, 0.45);
}

.contact-address-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 1rem;
}

.contact-address-text a,
.contact-meta-p a {
  color: #337ab7;
  font-weight: 700;
  text-decoration: none;
}

.contact-address-text a:hover,
.contact-meta-p a:hover {
  color: #23527c;
  text-decoration: underline;
}

.contact-meta-p {
  color: #333333;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0.65rem;
}

.contact-legal-disclaimer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eeeeee;
  color: #333333;
  font-size: 14px;
  line-height: 22px;
}
