/* 
 * Xmareriposo - Pension Fund Consulting
 * Main Stylesheet
 * Theme: Cosmic Space
 */


@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;700&family=Inter:wght@300;400;500&display=swap');


:root {
  --color-primary: #0a1029;
  --color-secondary: #7b3fce;
  --color-accent: #ff5e3a;
  --color-background: #050714;
  --color-text-light: #e6e8ff;
  --color-text-dark: #0a1029;
  --gradient-primary: linear-gradient(135deg, #7b3fce 0%, #3457e0 100%);
  --gradient-secondary: linear-gradient(135deg, #0a1029 0%, #1d2854 100%);
  --color-success: #25d366;
  --color-warning: #ffbb38;
  --color-error: #ff4d4d;
  
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
  --section-spacing: 5rem;
}


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

html {
  font-size: 62.5%; 
  scroll-behavior: smooth;
}

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}


.container {
  width: 100%;
  max-width: var(--container-max-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.section {
  padding: calc(var(--section-spacing) / 2) 0;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 1rem;
  border-radius: 3px;
}

.section-subheading {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
}

.section-description {
  font-size: 1.8rem;
  max-width: 800px;
  margin-bottom: 3rem;
  color: rgba(230, 232, 255, 0.85);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.6rem;
  text-align: center;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-medium);
  position: relative;
  z-index: 1;
  border: none;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: opacity var(--transition-medium);
  opacity: 0;
}

.btn:hover::before {
  opacity: 1;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(123, 63, 206, 0.4);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-light);
}

.btn-primary::before {
  background: linear-gradient(135deg, #8a55d9 0%, #4468e5 100%);
}

.btn-secondary {
  background: rgba(123, 63, 206, 0.15);
  color: var(--color-text-light);
  border: 1px solid var(--color-secondary);
}

.btn-secondary::before {
  background: rgba(123, 63, 206, 0.25);
}

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

.btn-accent::before {
  background: #ff7452;
}

.btn-lg {
  padding: 1.4rem 2.8rem;
  font-size: 1.8rem;
}

.btn-sm {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(5, 7, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
  padding: 1.5rem 0;
}

.header.scrolled {
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  height: 6rem;
}

.logo img, .logo svg {
  height: 100%;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4rem;
}

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

.nav-desktop-link {
  position: relative;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text-light);
  padding: 0.5rem 0;
}

.nav-desktop-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-medium);
}

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

.nav-desktop-cta {
  margin-left: 2rem;
}

.nav-mobile {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2.4rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  transition: all var(--transition-medium);
}

.language-indicator {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
}

.language-indicator i {
  font-size: 1.6rem;
  color: var(--color-secondary);
}


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  background: url('../images/hero-background.jpg') no-repeat center/cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 7, 20, 0.7) 0%, rgba(5, 7, 20, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.hero-subtitle {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: rgba(230, 232, 255, 0.9);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}


.what-we-do {
  position: relative;
  padding: var(--section-spacing) 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.card {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative;
  overflow: hidden;
  height: 100%;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 63, 206, 0.1);
  border-radius: 50%;
  margin-bottom: 2rem;
  color: var(--color-secondary);
  font-size: 2.4rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.card-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}


.simulator {
  padding: var(--section-spacing) 0;
  background: url('../images/calculator-bg.jpg') no-repeat center/cover;
  position: relative;
}

.simulator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 16, 41, 0.9) 0%, rgba(10, 16, 41, 0.8) 100%);
}

.simulator-container {
  position: relative;
  z-index: 1;
}

.simulator-form {
  background: rgba(5, 7, 20, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(123, 63, 206, 0.2);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  margin-top: 4rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--color-text-light);
}

.form-control {
  width: 100%;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(123, 63, 206, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--color-text-light);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(123, 63, 206, 0.2);
}

.form-control::placeholder {
  color: rgba(230, 232, 255, 0.5);
}

.range-slider {
  position: relative;
  margin-top: 1.5rem;
}

.range-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  height: 6px;
  outline: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
  border: none;
}

.range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.7);
}

.form-switch {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 10px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition-medium);
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: var(--color-text-light);
  transition: var(--transition-medium);
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--gradient-primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--color-secondary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.preset-funds {
  margin: 3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.preset-fund {
  padding: 0.8rem 1.5rem;
  background: rgba(123, 63, 206, 0.1);
  border: 1px solid rgba(123, 63, 206, 0.3);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-fund:hover, .preset-fund.active {
  background: rgba(123, 63, 206, 0.2);
  border-color: rgba(123, 63, 206, 0.5);
}

.simulator-result {
  margin-top: 4rem;
}

.result-tabs {
  display: flex;
  border-bottom: 1px solid rgba(123, 63, 206, 0.2);
  margin-bottom: 2rem;
}

.result-tab {
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(230, 232, 255, 0.7);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.result-tab.active {
  color: var(--color-text-light);
  border-bottom-color: var(--color-secondary);
}

.result-content {
  display: none;
}

.result-content.active {
  display: block;
}

.result-chart {
  height: 400px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.result-chart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 20, 0.6);
  border-radius: var(--border-radius-md);
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
}

.result-table th, .result-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(123, 63, 206, 0.1);
}

.result-table th {
  font-weight: 500;
  color: var(--color-text-light);
  background: rgba(123, 63, 206, 0.1);
}

.result-table td {
  color: rgba(230, 232, 255, 0.8);
}

.simulator-disclaimer {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 94, 58, 0.1);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--border-radius-md);
}

.simulator-disclaimer p {
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.8);
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip-icon {
  color: var(--color-secondary);
  font-size: 1.6rem;
}

.tooltip-text {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 7, 20, 0.9);
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-md);
  padding: 1rem 1.5rem;
  width: max-content;
  max-width: 300px;
  font-size: 1.4rem;
  color: var(--color-text-light);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}


.case-studies {
  padding: var(--section-spacing) 0;
}

.masonry-grid {
  margin-top: 4rem;
}

.masonry-item {
  width: 100%;
  margin-bottom: 3rem;
}

.case-card {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.case-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.case-card:hover .case-card-img img {
  transform: scale(1.05);
}

.case-card-content {
  padding: 2.5rem;
}

.case-card-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.case-card-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
  margin-bottom: 2rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(123, 63, 206, 0.1);
  border-radius: var(--border-radius-sm);
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.9);
}

.case-result {
  font-weight: 500;
  color: var(--color-accent);
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(230, 232, 255, 0.1);
  border-bottom: 1px solid rgba(230, 232, 255, 0.1);
  margin: 5rem 0;
}

.logo-strip-placeholder {
  height: 40px;
  width: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
}


.commissions {
  padding: var(--section-spacing) 0;
  position: relative;
}
.infographic {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
}

.infographic-item {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.infographic-image {
  flex: 1;
  min-width: 280px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.infographic-content {
  flex: 1;
  min-width: 280px;
}

.infographic-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.infographic-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
  margin-bottom: 2rem;
}

.infographic-highlight {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(123, 63, 206, 0.1);
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  color: var(--color-secondary);
}


.contact-form-section {
  padding: var(--section-spacing) 0;
  background: url('../images/calculator-bg.jpg') no-repeat center/cover;
  position: relative;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 16, 41, 0.9) 0%, rgba(10, 16, 41, 0.8) 100%);
}

.contact-form-container {
  position: relative;
  z-index: 1;
}

.contact-form-wrapper {
  background: rgba(5, 7, 20, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(123, 63, 206, 0.2);
  box-shadow: var(--shadow-lg);
  padding: 4rem;
  margin-top: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-text-light);
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 2rem;
}

.form-footer {
  margin-top: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid rgba(123, 63, 206, 0.5);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
}

.checkbox-group input[type="checkbox"]::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-secondary);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.checkbox-group input[type="checkbox"]:checked::before {
  opacity: 1;
}

.checkbox-group input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(123, 63, 206, 0.2);
}

.checkbox-label {
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.8);
}

.checkbox-label a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.checkbox-label a:hover {
  color: #9667db;
}

.form-btn {
  margin-top: 1rem;
  width: 100%;
}

.iti {
  width: 100% !important;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 20, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, rgba(10, 16, 41, 0.9) 0%, rgba(26, 36, 74, 0.9) 100%);
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(30px);
  transition: transform var(--transition-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-accent);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.modal-body {
  margin-bottom: 2rem;
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}

.modal-footer {
  display: flex;
  justify-content: center;
}


.workshop-header {
  background: url('../images/workshop-main.jpg') no-repeat center/cover;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
}

.workshop-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 7, 20, 0.7) 0%, rgba(5, 7, 20, 0.9) 100%);
  z-index: 1;
}

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

.workshop-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.workshop-subtitle {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: rgba(230, 232, 255, 0.9);
  max-width: 700px;
}

.workshop-schedule {
  padding: var(--section-spacing) 0;
}

.event-card {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
}

.event-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background: rgba(123, 63, 206, 0.1);
  border-bottom: 1px solid rgba(123, 63, 206, 0.2);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  width: 10rem;
  text-align: center;
}

.event-date-day {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-light);
}

.event-date-month {
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.event-meta {
  flex: 1;
}

.event-name {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.7);
}

.event-detail i {
  color: var(--color-secondary);
}

.event-card-content {
  padding: 2.5rem;
  flex: 1;
}

.event-description {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
  margin-bottom: 2rem;
}

.event-agenda {
  margin: 2.5rem 0;
}

.event-agenda-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.event-agenda-title i {
  color: var(--color-secondary);
}

.agenda-items {
  margin-left: 3rem;
  border-left: 2px solid rgba(123, 63, 206, 0.3);
  padding-left: 2rem;
}

.agenda-item {
  position: relative;
  padding: 1.5rem 0;
}

.agenda-item:not(:last-child) {
  border-bottom: 1px solid rgba(230, 232, 255, 0.05);
}

.agenda-item::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: -2.2rem;
  width: 1rem;
  height: 1rem;
  background: var(--color-secondary);
  border-radius: 50%;
  z-index: 1;
}

.agenda-time {
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.agenda-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.agenda-description {
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.7);
}

.event-card-footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(123, 63, 206, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.event-price {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.event-price-amount {
  color: var(--color-accent);
}

.workshop-calendar {
  margin-top: 5rem;
  position: relative;
}

.calendar-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.workshop-faq {
  padding: var(--section-spacing) 0;
  background: var(--gradient-secondary);
}

.faq-list {
  margin-top: 4rem;
}

.faq-item {
  border-bottom: 1px solid rgba(123, 63, 206, 0.2);
}

.faq-question {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-secondary);
}

.faq-question i {
  font-size: 1.6rem;
  color: var(--color-secondary);
  transition: transform var(--transition-medium);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height var(--transition-medium);
}

.faq-answer-inner {
  padding: 0 0 2rem 0;
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}

.faq-item.active .faq-answer {
  height: auto;
}

.workshop-goals {
  padding: var(--section-spacing) 0;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.goal-card {
  background: rgba(123, 63, 206, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  border: 1px solid rgba(123, 63, 206, 0.1);
}

.goal-card:hover {
  transform: translateY(-5px);
}

.goal-icon {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 63, 206, 0.1);
  border-radius: 50%;
  margin-bottom: 2rem;
  color: var(--color-secondary);
  font-size: 2.4rem;
}

.goal-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.goal-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}

.workshop-banner {
  padding: 5rem 0;
  background: var(--gradient-primary);
  text-align: center;
}

.workshop-banner-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.workshop-banner-text {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.costs-header {
  background: linear-gradient(to right, rgba(10, 16, 41, 0.9), rgba(10, 16, 41, 0.9)), url('../images/fee-comparison.jpg') no-repeat center/cover;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
  position: relative;
}

.costs-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.costs-subtitle {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: rgba(230, 232, 255, 0.9);
  max-width: 700px;
}

.fee-types {
  padding: var(--section-spacing) 0;
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.fee-card {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.fee-card-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fee-card-title i {
  color: var(--color-secondary);
}

.fee-card-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}

.fee-comparison {
  padding: var(--section-spacing) 0;
  position: relative;
  background: var(--gradient-secondary);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4rem;
  background: rgba(5, 7, 20, 0.3);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(123, 63, 206, 0.1);
}

.comparison-table th {
  font-weight: 500;
  color: var(--color-text-light);
  background: rgba(123, 63, 206, 0.1);
  font-size: 1.6rem;
}

.comparison-table td {
  color: rgba(230, 232, 255, 0.8);
  font-size: 1.5rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(123, 63, 206, 0.05);
}

.comparison-highlight {
  color: var(--color-accent);
  font-weight: 500;
}

.comparison-image {
  margin: 5rem 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hidden-costs {
  padding: var(--section-spacing) 0;
}

.hidden-costs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

.hidden-costs-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hidden-costs-content {
  flex: 1;
  min-width: 300px;
}

.hidden-costs-list {
  margin-top: 2rem;
}

.hidden-costs-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hidden-costs-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 63, 206, 0.1);
  border-radius: 50%;
  color: var(--color-secondary);
  font-size: 1.8rem;
}

.hidden-costs-text {
  flex: 1;
}

.hidden-costs-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.hidden-costs-description {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.8);
}

.cost-impact {
  padding: var(--section-spacing) 0;
  background: var(--gradient-secondary);
}

.impact-chart {
  margin-top: 4rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}


.realestate-header {
  background: linear-gradient(to right, rgba(10, 16, 41, 0.8), rgba(10, 16, 41, 0.8)), url('../images/real-estate-investment.jpg') no-repeat center/cover;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
  position: relative;
}

.realestate-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.realestate-subtitle {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: rgba(230, 232, 255, 0.9);
  max-width: 700px;
}

.realestate-options {
  padding: var(--section-spacing) 0;
}

.realestate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.realestate-card {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.realestate-card-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.realestate-card-title i {
  color: var(--color-secondary);
}

.realestate-card-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}

.realestate-scenarios {
  padding: var(--section-spacing) 0;
  background: var(--gradient-secondary);
}

.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.scenario-tab {
  padding: 1.2rem 2.4rem;
  background: rgba(123, 63, 206, 0.1);
  border: 1px solid rgba(123, 63, 206, 0.2);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  color: rgba(230, 232, 255, 0.8);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scenario-tab:hover, .scenario-tab.active {
  background: rgba(123, 63, 206, 0.2);
  border-color: rgba(123, 63, 206, 0.4);
  color: var(--color-text-light);
}

.scenario-content {
  display: none;
}

.scenario-content.active {
  display: block;
}

.scenario-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.scenario-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.scenario-text {
  flex: 1;
  min-width: 300px;
}

.scenario-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.scenario-description {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
  margin-bottom: 2rem;
}

.scenario-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.scenario-metric {
  background: rgba(123, 63, 206, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  min-width: 150px;
}

.scenario-metric-title {
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.7);
  margin-bottom: 0.5rem;
}

.scenario-metric-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.scenario-risk {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 94, 58, 0.1);
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--color-accent);
}

.scenario-risk i {
  color: var(--color-accent);
}

.scenario-risk-text {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.8);
}

.realestate-legal {
  padding: var(--section-spacing) 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.legal-card {
  background: rgba(5, 7, 20, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(123, 63, 206, 0.1);
  height: 100%;
}

.legal-card-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-card-title i {
  color: var(--color-secondary);
}

.legal-card-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}


.contacts-header {
  background: linear-gradient(to right, rgba(10, 16, 41, 0.8), rgba(10, 16, 41, 0.8)), url('../images/office-location.jpg') no-repeat center/cover;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
  position: relative;
}

.contacts-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.contacts-subtitle {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: rgba(230, 232, 255, 0.9);
  max-width: 700px;
}

.contacts-content {
  padding: var(--section-spacing) 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 4rem;
}

.contacts-info {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contacts-info-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacts-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contacts-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 63, 206, 0.1);
  border-radius: 50%;
  color: var(--color-secondary);
  font-size: 1.8rem;
}

.contacts-text {
  flex: 1;
}

.contacts-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.contacts-value {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.8);
}

.contacts-hours {
  margin-top: 3rem;
}

.contacts-hours-title {
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contacts-hours-title i {
  color: var(--color-secondary);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.8);
}

.contacts-map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
  background: rgba(5, 7, 20, 0.3);
  display: flex;
  flex-direction: column;
}

.map-image-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-link {
  display: block;
  padding: 1.5rem;
  text-align: center;
  background: rgba(123, 63, 206, 0.1);
  color: var(--color-text-light);
  font-weight: 500;
  transition: background var(--transition-fast);
}

.map-link:hover {
  background: rgba(123, 63, 206, 0.2);
}

.map-link i {
  margin-right: 0.8rem;
  color: var(--color-secondary);
}


.thanks-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-background.jpg') no-repeat center/cover;
  position: relative;
  padding: 8rem 0;
}

.thanks-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 7, 20, 0.8), rgba(5, 7, 20, 0.8));
  z-index: 1;
}

.thanks-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  background: rgba(10, 16, 41, 0.6);
  backdrop-filter: blur(10px);
  padding: 5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(123, 63, 206, 0.2);
  box-shadow: var(--shadow-lg);
}

.thanks-icon {
  width: 10rem;
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 63, 206, 0.1);
  border-radius: 50%;
  margin: 0 auto 3rem;
  color: var(--color-secondary);
  font-size: 5rem;
}

.thanks-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.thanks-text {
  font-size: 1.8rem;
  margin-bottom: 4rem;
  color: rgba(230, 232, 255, 0.9);
}

.thanks-steps {
  text-align: left;
  margin: 3rem 0;
}

.thanks-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.thanks-step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 63, 206, 0.1);
  border-radius: 50%;
  color: var(--color-secondary);
  font-weight: 600;
}

.thanks-step-text {
  flex: 1;
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
}


.legal-header {
  background: var(--gradient-secondary);
  min-height: 30vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
  position: relative;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.legal-subtitle {
  font-size: 1.8rem;
  color: rgba(230, 232, 255, 0.9);
  max-width: 700px;
}

.legal-content {
  padding: var(--section-spacing) 0;
}

.legal-section {
  margin-bottom: 4rem;
}

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

.legal-heading {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.legal-subheading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  margin: 2.5rem 0 1.5rem;
  color: var(--color-text-light);
}

.legal-text {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
  margin-bottom: 1.5rem;
}

.legal-text:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-list li {
  font-size: 1.6rem;
  color: rgba(230, 232, 255, 0.8);
  margin-bottom: 1rem;
  position: relative;
}

.legal-list li::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: -1.5rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--color-secondary);
  border-radius: 50%;
}

.legal-update {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(123, 63, 206, 0.2);
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.6);
  text-align: right;
}


.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, rgba(10, 16, 41, 0.95) 0%, rgba(26, 36, 74, 0.95) 100%);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9990;
  display: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(123, 63, 206, 0.3);
  max-width: 500px;
  margin: 0 auto;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.cookie-banner-text {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.8);
  margin-bottom: 2rem;
}

.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-banner-link {
  font-size: 1.4rem;
  color: var(--color-secondary);
  text-decoration: underline;
  margin-top: 1rem;
  display: block;
}

.cookie-banner-link:hover {
  color: #9667db;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 20, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9995;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.cookie-settings-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-content {
  background: linear-gradient(135deg, rgba(10, 16, 41, 0.9) 0%, rgba(26, 36, 74, 0.9) 100%);
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform var(--transition-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cookie-settings-modal.active .cookie-settings-content {
  transform: translateY(0);
}

.cookie-settings-header {
  margin-bottom: 2rem;
}

.cookie-settings-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.cookie-settings-description {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.8);
}

.cookie-categories {
  margin-bottom: 2rem;
}

.cookie-category {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(123, 63, 206, 0.1);
}

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

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

.cookie-category-title {
  font-weight: 500;
  color: var(--color-text-light);
  font-size: 1.8rem;
}

.cookie-category-description {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.7);
  margin-bottom: 1.5rem;
}

.cookie-settings-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.switch-label {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.8);
}


.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background: white;
  color: var(--color-secondary);
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}


.footer {
  background: var(--color-primary);
  padding: 5rem 0;
  position: relative;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 2rem;
  height: 5rem;
}

.footer-logo img, .footer-logo svg {
  height: 100%;
  width: auto;
}

.footer-text {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.7);
  margin-bottom: 2rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

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

.footer-link {
  font-size: 1.5rem;
  color: rgba(230, 232, 255, 0.7);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-link:hover {
  color: var(--color-secondary);
}

.footer-link i {
  color: var(--color-secondary);
  font-size: 1.4rem;
}

.footer-bottom {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(230, 232, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.footer-copyright {
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-legal-link {
  font-size: 1.4rem;
  color: rgba(230, 232, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--color-secondary);
}


@media (max-width: 1200px) {
  .hero-title {
    font-size: 5.2rem;
  }
  
  .section-heading {
    font-size: 3.6rem;
  }
  
  .section-subheading {
    font-size: 2.4rem;
  }
  
  .costs-title,
  .realestate-title,
  .workshop-title,
  .contacts-title {
    font-size: 4.2rem;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56.25%; 
  }
  
  .hero-title {
    font-size: 4.8rem;
  }
  
  .section-heading {
    font-size: 3.4rem;
  }
  
  .section-subheading {
    font-size: 2.2rem;
  }
  
  .costs-title,
  .realestate-title,
  .workshop-title,
  .contacts-title {
    font-size: 3.8rem;
  }
  
  .section {
    padding: calc(var(--section-spacing) / 2.5) 0;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .nav-mobile {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--gradient-secondary);
    z-index: 1000;
    padding: 10rem 2rem 4rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform var(--transition-medium);
  }
  
  .nav-mobile.active {
    transform: translateX(0);
  }
  
  .nav-mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-mobile-link {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text-light);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(123, 63, 206, 0.1);
    display: block;
  }
  
  .nav-mobile-cta {
    margin-top: 3rem;
    width: 100%;
  }
  
  .hamburger {
    display: flex;
    z-index: 1010;
  }
  
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 20, 0.7);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
  }
  
  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%; 
  }
  
  .hero-title {
    font-size: 4.2rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
  
  .section-heading {
    font-size: 3.2rem;
  }
  
  .section-subheading {
    font-size: 2.2rem;
  }
  
  .costs-title,
  .realestate-title,
  .workshop-title,
  .contacts-title {
    font-size: 3.4rem;
  }
  
  .section {
    padding: calc(var(--section-spacing) / 3) 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 3rem 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    max-width: none;
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
  }
  
  .cookie-settings-content {
    padding: 2rem;
    max-height: 80vh;
  }
  
  .cookie-settings-buttons {
    flex-direction: column;
  }
  
  .preset-funds {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 3.6rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .section-heading {
    font-size: 2.8rem;
  }
  
  .section-subheading {
    font-size: 2rem;
  }
  
  .costs-title,
  .realestate-title,
  .workshop-title,
  .contacts-title,
  .legal-title,
  .thanks-title {
    font-size: 3rem;
  }
  
  .modal-content {
    padding: 3rem 2rem;
  }
  
  .legal-text,
  .legal-list li {
    font-size: 1.5rem;
  }
  
  .thanks-content {
    padding: 3rem 2rem;
  }
  
  .logo {
    height: 4.5rem;
  }
  
  .result-tabs {
    flex-direction: column;
    border-bottom: none;
  }
  
  .result-tab {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 1rem;
  }
  
  .result-tab.active {
    border-bottom-color: transparent;
    border-left-color: var(--color-secondary);
    background: rgba(123, 63, 206, 0.1);
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}