/* ==========================================================================
   ENABLIS SERVICES S.R.L. - Official Stylesheet
   Color Palette and Typography precisely aligned with enablis.ro
   Primary Teal: #1b4557 | Accent Emerald: #387b5b | Soft Mint: #d5e4d9
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lexend+Giga:wght@300;400;500;600;700;800&family=Lexend+Mega:wght@400;500;600;700&family=Roboto:wght@300;400;500;700;900&family=Source+Code+Pro:wght@400;600;700&display=swap');

:root {
  /* Enablis Brand Colors */
  --primary: #1b4557;
  --primary-dark: #12313f;
  --primary-light: #245c73;
  --primary-rgb: 27, 69, 87;

  --accent-emerald: #387b5b;
  --accent-emerald-dark: #2b5e45;
  --accent-emerald-light: #4c9e77;
  --accent-emerald-rgb: 56, 123, 91;

  --accent-mint: #d5e4d9;
  --accent-mint-light: #eef5f0;
  --accent-mint-dark: #b8d4bf;
  --accent-mint-rgb: 213, 228, 217;

  --dark-text: #1c1c1c;
  --dark-text-muted: #555555;
  --dark-bg: #112732;

  --light-bg: #f9f9f9;
  --light-card: #ffffff;
  --light-border: rgba(27, 69, 87, 0.12);

  --white: #ffffff;
  --off-white: #f4f7f5;

  /* Typography */
  --font-heading: 'Lexend Giga', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-subheading: 'Lexend Mega', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-code: 'Source Code Pro', monospace;

  /* Shadows & Transitions */
  --shadow-sm: 0 2px 8px rgba(27, 69, 87, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 69, 87, 0.10);
  --shadow-lg: 0 16px 40px rgba(27, 69, 87, 0.14);
  --shadow-glow: 0 0 25px rgba(56, 123, 91, 0.35);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--dark-text-muted);
  font-size: 1.05rem;
}

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

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

/* ==========================================================================
   Top Notification / Corporate Utility Bar
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--accent-mint);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(213, 228, 217, 0.15);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-mint);
}

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

.top-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-duns-badge {
  background-color: rgba(56, 123, 91, 0.4);
  border: 1px solid var(--accent-emerald-light);
  color: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 600;
}

.lang-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #ffffff;
}

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

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

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

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

.brand-logo img, .brand-logo svg {
  height: 48px;
  width: auto;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-text);
  padding: 0.6rem 0.2rem;
  position: relative;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

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

/* Signature Enablis underline matching .M9vuGd / .lhZOrc from enablis.ro */
.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-emerald);
  border-radius: 2px;
}

.header-cta-btn {
  margin-left: 1.5rem;
}

/* Hamburger button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

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

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Buttons & UI Elements (Matching enablis.ro .QmpIrf, .xkUom, .KjwKmc)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 69, 87, 0.25);
}

.btn-accent {
  background-color: var(--accent-emerald);
  color: var(--white);
  border-color: var(--accent-emerald);
}

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

.btn-outline-mint {
  background-color: transparent;
  color: var(--accent-mint);
  border-color: var(--accent-mint);
}

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

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

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

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1b4557 0%, #153847 45%, #0e232c 100%);
  color: var(--white);
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(56, 123, 91, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(213, 228, 217, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(213, 228, 217, 0.15);
  border: 1px solid rgba(213, 228, 217, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-family: var(--font-subheading);
  color: var(--accent-mint);
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4cd964;
  border-radius: 50%;
  box-shadow: 0 0 8px #4cd964;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-title .highlight {
  color: var(--accent-mint);
  border-bottom: 4px solid var(--accent-emerald);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(249, 249, 249, 0.88);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(213, 228, 217, 0.2);
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--accent-mint);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.hero-media {
  position: relative;
}

.hero-media img, .hero-media svg {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(213, 228, 217, 0.2);
}

/* ==========================================================================
   Section Layout & Typography
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

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

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

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

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-dark .section-tag {
  color: var(--accent-mint);
}

.section-title {
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Services Grid & Cards (3 Core Pillars of Enablis)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

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

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: var(--accent-mint-light);
  border: 1px solid var(--accent-mint);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background-color: var(--accent-emerald);
  color: var(--white);
  border-color: var(--accent-emerald);
}

.service-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

.service-card p {
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--light-border);
}

.service-features-list li {
  font-size: 0.92rem;
  color: var(--dark-text);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features-list li svg,
.service-features-list li .check-icon {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  color: var(--accent-emerald);
  gap: 0.7rem;
}

/* ==========================================================================
   Pillars In-Depth Showcase
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

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

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

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

.feature-media img, .feature-media svg {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
}

.feature-content h3 {
  margin-bottom: 1rem;
}

.feature-list {
  margin: 1.5rem 0 2rem;
}

.feature-list-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-list-icon {
  width: 38px;
  height: 38px;
  background-color: var(--accent-mint-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  flex-shrink: 0;
  font-weight: bold;
}

.feature-list-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-list-text p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Trust / Credentials & Values
   ========================================================================== */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.credential-box {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--light-border);
  text-align: center;
  transition: var(--transition);
}

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

.credential-icon {
  font-size: 2.2rem;
  color: var(--accent-emerald);
  margin-bottom: 1rem;
}

.credential-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.credential-box p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Page Header (For Subpages)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, #1b4557 0%, #153847 60%, #0e232c 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  position: relative;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--accent-mint);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(213, 228, 217, 0.7);
  margin-top: 1.5rem;
  font-family: var(--font-subheading);
}

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

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

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Contact Page & Form Elements
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: linear-gradient(135deg, #1b4557 0%, #112d39 100%);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(213, 228, 217, 0.2);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.95rem;
  color: var(--accent-mint);
  margin-bottom: 0.2rem;
  font-family: var(--font-subheading);
}

.contact-info-text p, .contact-info-text a {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-info-text a:hover {
  color: var(--accent-mint);
  text-decoration: underline;
}

.contact-form-wrap {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 18px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  margin-bottom: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

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

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

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

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(56, 123, 91, 0.18);
  background-color: #ffffff;
}

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

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--dark-text-muted);
}

.form-checkbox-wrap input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--accent-emerald);
  cursor: pointer;
}

.form-checkbox-wrap a {
  color: var(--primary);
  text-decoration: underline;
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
  font-size: 0.95rem;
}

.form-feedback.success {
  display: block;
  background-color: #eaf6ee;
  color: #1b6336;
  border: 1px solid #c2e5cb;
}

.form-feedback.error {
  display: block;
  background-color: #fdeeee;
  color: #a32222;
  border: 1px solid #f9c7c7;
}

/* ==========================================================================
   Legal Pages (Terms, Privacy, Cookies)
   ========================================================================== */
.legal-content {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--light-border);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-mint);
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
  font-size: 1rem;
  color: var(--dark-text);
  line-height: 1.75;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1.5rem 1.75rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-box {
  background-color: var(--light-bg);
  border-left: 4px solid var(--accent-emerald);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

/* ==========================================================================
   Interactive CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #1b4557 0%, #153442 50%, #0d232c 100%);
  color: var(--white);
  padding: 4.5rem 0;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin: 3rem auto;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 123, 91, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--accent-mint);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(213, 228, 217, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-badge {
  display: inline-block;
  background: rgba(56, 123, 91, 0.35);
  border: 1px solid var(--accent-emerald-light);
  color: var(--accent-mint);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-code);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: var(--accent-emerald);
  border-radius: 2px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: var(--white);
}

.footer-contact-item a:hover {
  color: var(--accent-mint);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.65);
}

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

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 580px;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1.75rem;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(213, 228, 217, 0.3);
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease-out forwards;
}

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

.cookie-banner h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  color: rgba(213, 228, 217, 0.9);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

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

/* ==========================================================================
   Back to top button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--accent-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}

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

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-badge, .hero-actions {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .main-nav.active {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }
  .header-cta-btn {
    margin-left: 0;
    margin-top: 1.5rem;
    width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
