:root {
  --bg-color: #0d0f12;
  --text-color: #f0f0f0;
  --accent-color: #c9a25b; /* Luxurious gold */
  --accent-hover: #b08a47;
  --surface-color: #252933;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0b0d10;
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    repeating-linear-gradient(-45deg, transparent, transparent 150px, rgba(201, 162, 91, 0.08) 150px, rgba(201, 162, 91, 0.08) 152px),
    radial-gradient(circle at 0% 0%, rgba(201, 162, 91, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(201, 162, 91, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: 1px;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--accent-color); }

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Navigation */
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(13, 15, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  position: absolute;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 2px;
  text-decoration: none;
}

.logo img {
  height: 85px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.menu-icon {
  display: none;
  cursor: pointer;
  color: var(--text-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--accent-color);
  color: #000;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--accent-color);
  box-shadow: 0 0 15px rgba(201, 162, 91, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--accent-color);
  color: #000;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(rgba(13, 15, 18, 0.7), rgba(13, 15, 18, 0.9)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80') center/cover;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccc;
  max-width: 600px;
  margin-inline: auto;
}

/* Sections */
section {
  padding: 6rem 5%;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Services / Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.feature-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Filters */
.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-select {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  color: #fff;
  font-family: 'Inter', sans-serif;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23aaaaaa" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 45px;
  transition: border-color 0.3s;
  max-width: 220px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}


.filter-select:hover,
.filter-select:focus {
  border-color: var(--accent-color);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

.product-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.4s ease;
}

.image-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.product-info {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}


.product-info p {
  color: #aaa;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: auto !important;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-block {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 4px;
  font-family: var(--font-main);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 5%;
  border-top: 1px solid var(--border-color);
  background: var(--surface-color);
  color: #888;
}

/* About Me Card */
.about-me-card {
  background: linear-gradient(145deg, var(--surface-color), rgba(37, 41, 51, 0.4));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 4rem;
  margin: 4rem auto;
  max-width: 900px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.about-me-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
}

.about-me-card h3 {
  color: var(--accent-color);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-heading);
}

.about-me-card p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-me-card p:last-child {
  margin-bottom: 0;
}

.about-me-card strong {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  display: block;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-me-content {
  max-height: 180px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-me-content.expanded {
  max-height: 1500px; /* large enough to contain all text */
}

.about-me-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(37, 41, 51, 0), rgba(37, 41, 51, 1));
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.about-me-content.expanded::after {
  opacity: 0;
}

.read-more-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
}


/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  
  nav { padding: 1rem 5%; }
  
  .logo img { height: 45px; }
  
  .menu-icon { display: block; }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 15, 18, 0.95);
    padding: 2rem 0;
    text-align: center;
    gap: 1.5rem;
  }
}

.product-info {
  padding: 2rem;
  text-align: center;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.product-info p {
  color: #aaa;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-block {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 4px;
  font-family: var(--font-main);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 5%;
  border-top: 1px solid var(--border-color);
  background: var(--surface-color);
  color: #888;
}

/* About Me Card */
.about-me-card {
  background: linear-gradient(145deg, var(--surface-color), rgba(37, 41, 51, 0.4));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 4rem;
  margin: 4rem auto;
  max-width: 900px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.about-me-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
}

.about-me-card h3 {
  color: var(--accent-color);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-heading);
}

.about-me-card p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-me-card p:last-child {
  margin-bottom: 0;
}

.about-me-card strong {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  display: block;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-me-content {
  max-height: 180px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-me-content.expanded {
  max-height: 1500px; /* large enough to contain all text */
}

.about-me-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(37, 41, 51, 0), rgba(37, 41, 51, 1));
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.about-me-content.expanded::after {
  opacity: 0;
}

.read-more-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
}


/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  
  nav { padding: 1rem 5%; }
  
  .logo img { height: 45px; }
  
  .menu-icon { display: block; }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 15, 18, 0.95);
    padding: 2rem 0;
    text-align: center;
    gap: 1.5rem;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .contact-wrapper { grid-template-columns: 1fr; }
  
  .dropdown-content a {
    text-align: center;
  }
  
  .dropdown {
    justify-content: center;
  }
}





/* Dropdown Navigation */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--surface-color);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 1000;
  border-radius: 8px;
  overflow: hidden;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0;
}

/* The hover bridge to prevent losing hover */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -50%;
  width: 200%;
  height: 30px; 
  background: transparent;
}

.dropdown-content a {
  color: #fff !important;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--accent-color);
  color: #000 !important;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown > a::after {
  content: ' ▼';
  font-size: 0.7em;
  opacity: 0.7;
}

/* Mobile Contact Modal */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.contact-modal.show {
  display: flex;
}

.contact-modal-content {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #fff;
}

/* ==========================================================================
   Cookie Consent Banner & Modal Styles
   ========================================================================== */
.cookie-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-banner-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  width: calc(100% - 32px);
  max-width: 820px;
  background: rgba(18, 22, 28, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 162, 91, 0.35);
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(201, 162, 91, 0.1);
  padding: 24px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
  font-family: var(--font-main);
  box-sizing: border-box;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-banner-header .cookie-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201, 162, 91, 0.12);
  border: 1px solid rgba(201, 162, 91, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.cookie-banner-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.cookie-banner-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-banner-text a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
  color: #fff;
}

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

.btn-cookie {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
}

.btn-cookie-accept {
  background: var(--accent-color);
  color: #0b0d10 !important;
  font-weight: 600;
}

.btn-cookie-accept:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201, 162, 91, 0.3);
}

.btn-cookie-deny {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f0f0f0 !important;
}

.btn-cookie-deny:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-cookie-customize {
  background: transparent;
  border: 1px dashed rgba(201, 162, 91, 0.5);
  color: var(--accent-color) !important;
  margin-left: auto;
}

.btn-cookie-customize:hover {
  background: rgba(201, 162, 91, 0.1);
  border-color: var(--accent-color);
}

/* Preferences Accordion / Panel */
.cookie-preferences-panel {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 380px;
  overflow-y: auto;
}

.cookie-preferences-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.cookie-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 12px;
}

.cookie-item-info {
  flex: 1;
}

.cookie-item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.cookie-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cookie-badge-necessary {
  background: rgba(201, 162, 91, 0.18);
  color: var(--accent-color);
  border: 1px solid rgba(201, 162, 91, 0.3);
}

.cookie-badge-optional {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.cookie-item-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.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: rgba(255, 255, 255, 0.2);
  transition: 0.3s ease;
  border-radius: 24px;
}

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

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

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: #0b0d10;
}

.cookie-switch input:disabled + .cookie-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-prefs-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* Floating Cookie Trigger Button */
.cookie-floating-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 22, 28, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 91, 0.4);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.cookie-floating-trigger:hover {
  transform: scale(1.08);
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(201, 162, 91, 0.25);
  color: #fff;
}

.cookie-floating-trigger .tooltip {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #11141a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  border: 1px solid rgba(201, 162, 91, 0.2);
}

.cookie-floating-trigger:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 18px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions .btn-cookie {
    width: 100%;
    margin-left: 0;
  }
  .cookie-prefs-actions {
    flex-direction: column;
  }
  .cookie-prefs-actions .btn-cookie {
    width: 100%;
  }
  .cookie-floating-trigger {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Legal Pages Styles (Termeni și Condiții & Politică Cookies)
   ========================================================================== */
.legal-page-header {
  padding-top: 170px;
  padding-bottom: 50px;
  text-align: center;
  background: linear-gradient(180deg, rgba(201, 162, 91, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}

.legal-page-header h1 {
  font-size: 2.8rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--accent-color);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.legal-content-wrapper {
  max-width: 1000px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
}

.legal-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.legal-toc {
  background: rgba(13, 15, 18, 0.6);
  border: 1px solid rgba(201, 162, 91, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  position: static;
  display: block;
  width: auto;
}

.legal-toc h3 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-toc ol {
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px 24px;
}

.legal-toc li a {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.legal-toc li a:hover {
  color: var(--accent-color);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section p {
  color: #d1d5db;
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.legal-section ul, .legal-section ol {
  color: #d1d5db;
  line-height: 1.75;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-highlight-box {
  background: rgba(201, 162, 91, 0.08);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
  color: #e2e8f0;
}

.legal-highlight-box p {
  margin-bottom: 0;
}

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

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

.legal-table th {
  background: rgba(201, 162, 91, 0.15);
  color: var(--accent-color);
  font-weight: 600;
}

.legal-table td {
  background: rgba(0, 0, 0, 0.2);
  color: #cbd5e1;
}

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

@media (max-width: 768px) {
  .legal-card {
    padding: 24px 18px;
  }
  .legal-page-header h1 {
    font-size: 2.1rem;
  }
  .legal-toc ol {
    grid-template-columns: 1fr;
  }
}
