/* ==========================================================================
   FUNK INTERNATIONAL ROMANIA - Main Stylesheet
   Converted from https://funk-romania.ro/
   ========================================================================== */

:root {
  --color-primary: #01438D;
  --color-primary-dark: #002b5e;
  --color-primary-light: #0d5db6;
  --color-secondary: #54595F;
  --color-accent: #6EC1E4;
  --color-accent-green: #2ecc71;
  --color-warning: #f39c12;
  --color-warning-bg: #fffbf0;
  --color-warning-border: #fbd38d;
  --color-danger: #e74c3c;
  
  --color-text: #2d3748;
  --color-text-muted: #64748b;
  --color-text-light: #ffffff;
  
  --color-bg: #f0f4f8;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;

  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Roboto Slab', Georgia, Cambria, "Times New Roman", Times, serif;

  --max-width: 1440px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px rgba(1, 67, 141, 0.08);

  --transition: all 0.25s ease-in-out;
}

@media (min-width: 1680px) {
  :root {
    --max-width: 1560px;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

a:hover, a:focus {
  color: var(--color-primary-light);
  text-decoration: none;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; }

p {
  margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3vw, 2.75rem);
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
}

/* Header: Top Bar */
.header-top {
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-contacts a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

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

.top-contacts svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.search-box form {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.search-box form:focus-within {
  background-color: #ffffff;
  border-color: var(--color-accent);
}

.search-box input {
  background: transparent;
  border: none;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  color: #ffffff;
  outline: none;
  width: 160px;
  transition: width 0.3s ease;
}

.search-box form:focus-within input {
  color: var(--color-text);
  width: 200px;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-box form:focus-within input::placeholder {
  color: var(--color-text-muted);
}

.search-box button {
  background: transparent;
  border: none;
  padding: 0.35rem 0.6rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box form:focus-within button {
  color: var(--color-primary);
}

.search-box button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Header: Main Navbar */
.site-header {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-text .site-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-text .site-title a {
  color: inherit;
}

.brand-text .site-description {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link:focus, .nav-item.active > .nav-link {
  background-color: #eef5fc;
  color: var(--color-primary-light);
}

.dropdown-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1010;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-item {
  margin: 0;
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
}

.dropdown-link:hover {
  background-color: #eef5fc;
  color: var(--color-primary);
  padding-left: 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-primary);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

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

/* Main Content Area */
.site-main {
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

/* Banner Hero */
.hero-banner-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(1, 67, 141, 0.08);
  margin-bottom: 2.5rem;
  border: 1px solid var(--color-border);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Page Header */
.page-title-section {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.page-title {
  color: var(--color-primary);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--color-secondary);
  font-size: 1.15rem;
  font-weight: 400;
}

.divider-line {
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 1.25rem auto;
  border-radius: var(--radius-full);
}

/* Services Page Card */
.service-overview-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.service-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.service-logo-center {
  margin: 0 auto 1.25rem;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-company-name {
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.service-company-role {
  color: var(--color-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-heading {
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Modern Checklist Grid */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #fcfdfd;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-2px);
  border-color: #b9d8f8;
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.service-item-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e3effd;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.service-item-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.service-item-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

/* Sub-features list */
.sub-services-block {
  margin-top: 2.5rem;
  background-color: #f8fafc;
  border-left: 4px solid var(--color-primary);
  padding: 2rem 2.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.sub-services-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.sub-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .sub-services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.sub-service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.975rem;
  font-weight: 500;
  color: #334155;
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.sub-service-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

/* Contact Cards Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(1, 67, 141, 0.12);
  border-color: #b9d8f8;
}

.contact-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
}

.contact-city-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.contact-card-body {
  padding: 2rem 1.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-person-box {
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.contact-person-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-person-role {
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.contact-link-item a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-link-item a:hover {
  text-decoration: underline;
}

.contact-link-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

/* Embedded Map */
.map-container {
  height: 260px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 1.25rem;
}

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

/* Company Identification Box */
.company-id-banner {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.company-id-title {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.company-id-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* RCA Page Styles */
.alert-callout {
  background-color: var(--color-warning-bg);
  border: 2px solid var(--color-warning-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.alert-icon {
  width: 28px;
  height: 28px;
  fill: var(--color-warning);
  flex-shrink: 0;
}

.alert-title {
  color: #9c4221;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.alert-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.alert-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: #744210;
}

.alert-check-item svg {
  width: 20px;
  height: 20px;
  fill: #d97706;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Example Calculation Box */
.calc-example-box {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.calc-title {
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.calc-table th, .calc-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.calc-table th {
  background-color: #f1f5f9;
  color: var(--color-primary);
  font-weight: 700;
}

.calc-result-box {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #065f46;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Steps Timeline */
.steps-container {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* Downloads Grid */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.download-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.download-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.download-pdf-icon {
  width: 32px;
  height: 32px;
  fill: #e74c3c;
  flex-shrink: 0;
}

.download-title {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-download:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-download svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Terms and Conditions Layout */
.terms-wrapper {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  max-width: 1200px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-section-title {
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-section-title span.sec-badge {
  background-color: #eef5fc;
  color: var(--color-primary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: #0b192c;
  color: #94a3b8;
  margin-top: auto;
  border-top: 4px solid var(--color-primary);
}

.footer-top {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 2.5rem;
}

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

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

.footer-about p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9375rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-item a {
  color: #cbd5e1;
}

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

.footer-bottom {
  background-color: #060e1a;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #94a3b8;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

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

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

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

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

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .top-contacts {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-surface);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    padding: 5rem 1.5rem 2rem;
    transition: right 0.3s ease;
    z-index: 1005;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
  }
  
  .main-nav.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    margin-top: 0.35rem;
    margin-left: 0.75rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
  
  .step-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Cookie Consent Banner & Modal Styles (GDPR & ePrivacy Compliant)
   ========================================================================== */

.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(11, 25, 44, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f1f5f9;
  padding: 1.25rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  border-top: 2px solid var(--color-primary-light);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

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

.cookie-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

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

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

.btn-cookie-accept {
  background-color: var(--color-primary-light);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background-color: #1e70d4;
  transform: translateY(-1px);
}

.btn-cookie-reject {
  background-color: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

/* Floating Revisit Pill */
.cookie-revisit-pill {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
}

.cookie-revisit-pill:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.cookie-revisit-pill svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  padding: 1.25rem;
}

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

.cookie-modal-dialog {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.3s ease-out;
}

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

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

.cookie-modal-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0;
}

.cookie-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.cookie-modal-body {
  padding: 1.5rem;
  max-height: 65vh;
  overflow-y: auto;
  font-size: 0.925rem;
  color: var(--color-text);
}

.cookie-category {
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

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

.cookie-category-header h4 {
  font-size: 1rem;
  margin: 0;
  color: var(--color-primary);
}

.cookie-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.cookie-badge.required {
  background-color: #e2e8f0;
  color: #475569;
}

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

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

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 24px;
}

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

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--color-primary);
}

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

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

