/* ==========================================================================
   AIT FIRST SOLUTION S.R.L. - Official Stylesheet
   Design Language: Inspired by enablis.ro (Teal-Navy #1b4557 & Amber Orange #e69138)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #1b4557;
  --primary-dark: #0f242e;
  --primary-darker: #08141a;
  --primary-light: #2c6680;
  --primary-glow: rgba(27, 69, 87, 0.35);
  
  --accent: #e69138;
  --accent-hover: #d27c24;
  --accent-light: #ffaa40;
  --accent-subtle: rgba(230, 145, 56, 0.12);
  --accent-glow: rgba(230, 145, 56, 0.35);

  --cyan-accent: #0284c7;
  --cyan-light: #38bdf8;
  --success: #10b981;
  
  /* Neutral Colors */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-dark-section: #0d212c;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --text-light-muted: #cbd5e1;

  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows & Transitions */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 36, 46, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 36, 46, 0.12);
  --shadow-glow: 0 0 25px rgba(230, 145, 56, 0.25);
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

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

.container-narrow {
  max-width: 900px;
}

/* ==========================================================================
   Top Notification Bar
   ========================================================================== */
.top-bar {
  background-color: var(--primary-darker);
  color: var(--text-light-muted);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-dark);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light-muted);
}

.top-bar-item a {
  color: var(--text-light-muted);
}

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

.top-bar-item svg {
  color: var(--accent);
  width: 14px;
  height: 14px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 145, 56, 0.15);
  color: var(--accent-light);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(230, 145, 56, 0.3);
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-dark);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Buttons & UI Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  text-align: center;
}

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

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

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-accent {
  background-color: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(230, 145, 56, 0.25);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
  border: 1px solid rgba(230, 145, 56, 0.3);
}

/* ==========================================================================
   Hero Section (Matching enablis.ro aesthetic)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--primary-dark);
  background-image: url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center bottom;
  color: var(--text-light);
  padding: 100px 0 110px 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 16px 0 24px 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

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

.hero-bullets {
  margin: 24px 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-bullet-item .bullet-star {
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
}

.hero-bullet-item a {
  color: #ffffff;
  transition: var(--transition-fast);
}

.hero-bullet-item a:hover {
  color: var(--accent-light);
  padding-left: 6px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(230, 145, 56, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-circle svg {
  width: 18px;
  height: 18px;
}

.feature-text h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 2px;
}

.feature-text p {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ==========================================================================
   Key Metrics Bar
   ========================================================================== */
.metrics-section {
  background-color: var(--primary);
  color: #ffffff;
  padding: 40px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

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

.metric-item {
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -15px;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

/* ==========================================================================
   Section Layouts & General Styling
   ========================================================================== */
.section {
  padding: 90px 0;
}

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

.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

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

.section-header.text-left {
  text-align: left;
  margin: 0 0 40px 0;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.section-dark .section-title {
  color: #ffffff;
}

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

.section-dark .section-description {
  color: var(--text-light-muted);
}

/* ==========================================================================
   Core 3 Pillars Service Cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 145, 56, 0.3);
}

.service-card:hover::before {
  background-color: var(--accent);
  height: 6px;
}

.service-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  transition: var(--transition-normal);
}

.service-card:hover .service-card-icon {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card-icon svg {
  width: 36px;
  height: 36px;
}

.service-card-title {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features-mini {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features-mini li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}

.service-features-mini li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: auto;
}

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

/* ==========================================================================
   Two Column Feature Sections (Service Deep Dives & About)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reversed {
  direction: rtl;
}

.feature-row.reversed > * {
  direction: ltr;
}

.feature-visual {
  position: relative;
}

.feature-visual img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

.feature-content h3 {
  font-size: 1.85rem;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.feature-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
  line-height: 1.7;
}

.feature-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 32px 0;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.feature-check-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Why Choose Us & Values
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  padding: 30px 24px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition-fast);
}

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

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: rgba(230, 145, 56, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--border-radius-lg);
  padding: 60px 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(230, 145, 56, 0.15);
  filter: blur(80px);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  font-size: 2.1rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  max-width: 600px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   Contact Page & Form Components
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 44px 36px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(230, 145, 56, 0.2) 0%, transparent 70%);
}

.contact-info-card h3 {
  color: #ffffff;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.contact-info-card p {
  color: var(--text-light-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(230, 145, 56, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-detail-text h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin: 0;
}

.contact-detail-text a:hover {
  color: var(--accent-light);
}

.company-reg-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.company-reg-box strong {
  color: #ffffff;
}

/* Contact Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.form-card .form-subtitle {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #ffffff;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 69, 87, 0.1);
}

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

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 20px;
  display: none;
}

.form-alert.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.form-alert.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ==========================================================================
   Legal & Content Pages Styling (Terms, Privacy, Cookies)
   ========================================================================== */
.legal-page-header {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.legal-page-header h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.legal-page-header p {
  color: var(--text-light-muted);
  font-size: 1rem;
}

.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-top: -30px;
  margin-bottom: 80px;
}

.legal-content-card h2 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 36px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.legal-content-card h2:first-of-type {
  margin-top: 0;
}

.legal-content-card h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 20px 0 10px 0;
}

.legal-content-card p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content-card ul,
.legal-content-card ol {
  margin: 14px 0 20px 24px;
}

.legal-content-card li {
  list-style: disc;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.legal-table th {
  background-color: var(--bg-alt);
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
}

/* ==========================================================================
   Cookie Consent Banner & Modal
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--primary-darker);
  color: #ffffff;
  padding: 24px 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-content h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.cookie-content p {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

.cookie-content a {
  color: var(--accent-light);
  text-decoration: underline;
}

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

/* ==========================================================================
   Footer (Matching enablis.ro identity)
   ========================================================================== */
.site-footer {
  background-color: var(--primary-darker);
  color: var(--text-light-muted);
  padding: 80px 0 0 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-brand .footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-col-brand .footer-logo img {
  height: 44px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 22px;
  color: var(--text-light-muted);
}

.footer-duns-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 145, 56, 0.12);
  border: 1px solid rgba(230, 145, 56, 0.3);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--accent-light);
  font-weight: 600;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links li a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

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

.footer-contact-item a {
  color: var(--text-light-muted);
}

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

.footer-bottom {
  background-color: #040a0d;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-light-muted);
  font-size: 0.85rem;
}

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

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

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

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

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-bullets {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row.reversed {
    direction: ltr;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--primary);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    align-items: flex-start;
  }

  .nav-link {
    width: 100%;
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-cta {
    width: 100%;
    margin-top: 16px;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-bullet-item {
    font-size: 1.15rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .metric-item:not(:last-child)::after {
    display: none;
  }

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

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

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-content-card {
    padding: 24px 18px;
  }
}
