:root {
  --color-white: #FFFFFF;
  --color-navy: #0D1B2A;
  --color-royal: #1B72BF;
  --color-silver: #E5E5E5;
  --color-black: #111111;
  --color-gold: #D4A017;
  --color-royal-light: #4A9FE8;
  --color-navy-light: #1B263B;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 2.5rem;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(27, 114, 191, 0.3);
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --gradient-primary: linear-gradient(135deg, var(--color-navy) 0%, var(--color-royal) 50%, var(--color-royal-light) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Roboto', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-black);
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.error-page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.error-page-body .error-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body.error-page-body .footer {
  margin-top: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--font-size-xxxl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}


h2 {
  font-size: var(--font-size-xxl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

a {
  color: var(--color-royal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: var(--font-size-xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  transition: transform var(--transition-base);
}

.logo-text:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 10000;
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-black);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.nav-menu a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu a:hover {
  color: var(--color-royal);
  transform: translateY(-2px);
}

.hero {
  background: var(--gradient-primary);
  background-image: url('../gallery/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: var(--space-xxl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(27, 114, 191, 0.5);
  opacity: 0.85;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  -webkit-text-fill-color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .btn {
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(27, 114, 191, 0.3);
  margin-top: var(--space-md);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 114, 191, 0.4);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary::before {
  background: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.section {
  padding: var(--space-xxl) var(--space-md);
}

.section-alt {
  background: linear-gradient(to bottom, var(--color-silver) 0%, #f0f0f0 100%);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-royal), transparent);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title h2::after {
  width: 80px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.card {
  background: var(--gradient-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(27, 114, 191, 0.1), transparent);
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-royal-light);
}

.card-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.card-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-royal);
  margin: var(--space-sm) 0;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-navy);
  font-size: var(--font-size-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-silver);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--transition-base);
  background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-royal);
  box-shadow: 0 0 0 3px rgba(27, 114, 191, 0.1);
  transform: translateY(-1px);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(27, 114, 191, 0.2);
  transition: all var(--transition-base);
}

.map-container:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
  margin-top: var(--space-xxl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-royal), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
  margin-bottom: var(--space-md);
}

.footer-menu a {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  opacity: 0.9;
  transition: all var(--transition-base);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
}

.footer-menu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-text {
  font-size: var(--font-size-xs);
  opacity: 0.7;
  margin-top: var(--space-md);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.product-card {
  background: var(--gradient-card);
  border: 2px solid var(--color-silver);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid var(--color-royal);
  border-left: 40px solid transparent;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover::after {
  opacity: 0.1;
}

.product-card:hover {
  border-color: var(--color-royal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background: var(--color-white);
}

.product-features {
  list-style: none;
  margin: var(--space-md) 0;
}

.product-features li {
  padding: var(--space-xs) 0;
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--color-silver);
}

.product-features li:last-child {
  border-bottom: none;
}


.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 27, 42, 0.1);
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-silver);
}

.pricing-table th {
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.5px;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr {
  transition: all var(--transition-fast);
}

.pricing-table tr:hover {
  background: linear-gradient(to right, var(--color-silver), rgba(27, 114, 191, 0.05));
  transform: scale(1.01);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  margin: var(--space-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(27, 114, 191, 0.2);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-close {
  float: right;
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  cursor: pointer;
  color: var(--color-navy);
  padding: var(--space-xs);
}

.home-button {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-royal);
  color: var(--color-white);
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-fast);
}

.home-button:hover {
  background-color: var(--color-navy);
}

.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  animation: pulse 2s ease-in-out infinite;
}

.thank-you-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-royal);
  margin-bottom: var(--space-lg);
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    display: none;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
    z-index: 9999;
  }

  .nav-menu.active {
    right: 0;
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: var(--space-md);
    width: 100%;
  }

  h1 {
    font-size: var(--font-size-xxl);
  }

  h2 {
    font-size: var(--font-size-xl);
  }

  .hero {
    padding: var(--space-xl) var(--space-md);
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }

  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  #contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-menu {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .pricing-table {
    font-size: var(--font-size-sm);
  }

  .pricing-table th,
  .pricing-table td {
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-xxxl: 2rem;
    --font-size-xxl: 1.75rem;
    --font-size-xl: 1.25rem;
    --space-xxl: 2rem;
    --space-xl: 1.5rem;
  }

  .logo-text {
    font-size: var(--font-size-lg);
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
  }

  .error-code {
    font-size: 4rem;
  }
}

.contact-info-item {
  background: var(--gradient-card);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(27, 114, 191, 0.1);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.contact-info-item:hover::before {
  transform: scaleY(1);
}

.contact-info-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-royal-light);
}

.contact-info-item h3 {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
  font-size: var(--font-size-lg);
}

.contact-info-item h3 i {
  color: var(--color-royal);
  margin-right: var(--space-sm);
  font-size: var(--font-size-xl);
  width: 24px;
  text-align: center;
  transition: transform var(--transition-base);
}

.contact-info-item:hover h3 i {
  transform: scale(1.2) rotate(5deg);
}

.contact-info-item p {
  color: var(--color-black);
  margin: 0;
  padding-left: calc(24px + var(--space-sm));
}

.contact-form-wrapper {
  background: var(--gradient-card);
  padding: var(--space-xl);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 114, 191, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(27, 114, 191, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-form-wrapper h2 {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-xl);
}

.contact-form-wrapper form {
  position: relative;
  z-index: 1;
}

.contact-info-wrapper {
  position: relative;
}

.contact-info-wrapper h2 {
  margin-bottom: var(--space-lg);
}

.contact-info-wrapper > p {
  color: var(--color-black);
  opacity: 0.8;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

#contact-grid {
  gap: var(--space-xxl);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-info-item {
    padding: var(--space-md);
  }

  .contact-form-wrapper {
    padding: var(--space-lg);
  }

  #contact-grid {
    gap: var(--space-xl);
  }
}

.legal-page {
  background: var(--gradient-card);
  border-radius: var(--border-radius-xl);
  padding: var(--space-xxl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 114, 191, 0.1);
  position: relative;
  overflow: hidden;
}

.legal-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.legal-page h1 {
  font-size: var(--font-size-xxxl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-silver);
  position: relative;
}

.legal-page h1::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: var(--gradient-primary);
}

.legal-page .last-updated {
  display: inline-block;
  background: rgba(27, 114, 191, 0.1);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-navy);
  margin-bottom: var(--space-xl);
  border-left: 3px solid var(--color-royal);
}

.legal-page h2 {
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) 0;
  position: relative;
  display: block;
  font-size: var(--font-size-xxl);
}

.legal-page h2:first-of-type {
  margin-top: var(--space-lg);
}

.legal-page h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.legal-page h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--color-navy);
  font-size: var(--font-size-lg);
  font-weight: 600;
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-royal);
}

.legal-page p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: var(--color-black);
  text-align: justify;
}

.legal-page ul {
  margin: var(--space-md) 0 var(--space-lg) var(--space-lg);
  padding: 0;
  list-style: none;
}

.legal-page ul li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: var(--color-black);
  transition: all var(--transition-fast);
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(27, 114, 191, 0.2);
}

.legal-page ul li:hover {
  padding-left: calc(var(--space-xl) + var(--space-sm));
  color: var(--color-royal);
}

.legal-page ul li:hover::before {
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 0 3px rgba(27, 114, 191, 0.3);
}

.legal-page ol {
  margin: var(--space-md) 0 var(--space-lg) var(--space-lg);
  padding: 0;
  counter-reset: legal-counter;
}

.legal-page ol li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: var(--color-black);
  counter-increment: legal-counter;
  list-style: none;
  transition: all var(--transition-fast);
}

.legal-page ol li::before {
  content: counter(legal-counter);
  position: absolute;
  left: 0;
  top: var(--space-sm);
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(27, 114, 191, 0.3);
}

.legal-page ol li:hover {
  padding-left: calc(var(--space-xl) + var(--space-sm));
  color: var(--color-royal);
}

.legal-page ol li:hover::before {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(27, 114, 191, 0.4);
}

.legal-page a {
  color: var(--color-royal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  font-weight: 500;
}

.legal-page a:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-royal);
}

.legal-page .contact-info {
  background: rgba(27, 114, 191, 0.05);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--color-royal);
  margin: var(--space-lg) 0;
}

.legal-page .contact-info p {
  margin-bottom: var(--space-xs);
  color: var(--color-black);
}

.legal-page .contact-info p:last-child {
  margin-bottom: 0;
}

.legal-page .home-button {
  margin-top: var(--space-xxl);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(27, 114, 191, 0.3);
  position: relative;
  overflow: hidden;
}

.legal-page .home-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.legal-page .home-button:hover::before {
  width: 300px;
  height: 300px;
}

.legal-page .home-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 114, 191, 0.4);
}

.legal-page .home-button:active {
  transform: translateY(-1px);
}

.section .container[style*="max-width: 800px"] {
  max-width: 800px;
}

.section .container[style*="max-width: 800px"] > * {
  animation: fadeInUp 0.6s ease-out;
}

.section .container[style*="max-width: 800px"] > *:nth-child(1) {
  animation-delay: 0.1s;
}

.section .container[style*="max-width: 800px"] > *:nth-child(2) {
  animation-delay: 0.2s;
}

.section .container[style*="max-width: 800px"] > *:nth-child(3) {
  animation-delay: 0.3s;
}

@media (max-width: 768px) {
  .legal-page {
    padding: var(--space-xl);
  }

  .legal-page h1 {
    font-size: var(--font-size-xxl);
  }

  .legal-page h2 {
    font-size: var(--font-size-xl);
    margin-top: var(--space-xl);
  }

  .legal-page ul,
  .legal-page ol {
    margin-left: var(--space-md);
  }

  .legal-page ul li,
  .legal-page ol li {
    padding-left: var(--space-lg);
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .header-content {
    padding: var(--space-sm);
  }

  .section {
    padding: var(--space-lg) var(--space-sm);
  }

  .card {
    padding: var(--space-md);
  }

  .popup-content {
    padding: var(--space-lg);
    margin: var(--space-sm);
  }

  .contact-info-item {
    padding: var(--space-sm);
  }

  .contact-form-wrapper {
    padding: var(--space-md);
  }

  .legal-page {
    padding: var(--space-lg);
  }

  .legal-page h1 {
    font-size: var(--font-size-xl);
  }

  .legal-page h2 {
    font-size: var(--font-size-lg);
  }
}

