:root {
  --primary: #1f1f20ff;
  --secondary: #6f3c71;
  --background: #F9FAFB;
  --text-primary: #241127;
  --text-secondary: #6B7280;
  --accent: #040404;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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



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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-sm);
}

header {
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 31, 32, 0.05);
  padding: var(--space-sm) 0;
  position: relative;
  z-index: 1000;
  transform-origin: top;
  transition: transform var(--transition-base);
}

header.hidden {
  transform: translateY(-100%);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

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

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: var(--space-xs);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 80%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.burger span {
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.4rem, 0.4rem);
}

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

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

.hero {
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
  background: linear-gradient(135deg, var(--background) 0%, rgba(111, 60, 113, 0.05) 100%);
  border-bottom: 1px solid rgba(31, 31, 32, 0.05);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: var(--secondary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  box-shadow: none;
}

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

section {
  padding: var(--space-xl) var(--space-sm);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: 2.2rem;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(31, 31, 32, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.image-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin: var(--space-xl) 0;
}

.image-text-section.reverse {
  direction: rtl;
}

.image-text-section.reverse > * {
  direction: ltr;
}

.image-text-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.image-text-section .text-content h2 {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.image-text-section .text-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.contact-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: var(--space-xl) auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid rgba(31, 31, 32, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

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

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

footer {
  background: var(--primary);
  color: white;
  padding: var(--space-lg) var(--space-sm);
  margin-top: var(--space-xl);
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: var(--space-md);
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  border-top: 3px solid var(--secondary);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-popup .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: 0;
}

.privacy-popup p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.privacy-popup .btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.thank-you-page,
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

.thank-you-content,
.error-content {
  max-width: 600px;
}

.thank-you-content h1,
.error-content h1 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.thank-you-content p,
.error-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.thank-you-content i,
.error-content i {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

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

@media (max-width: 768px) {
  :root {
    --space-xl: 2.5rem;
    --space-lg: 1.8rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(249, 250, 251, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 999;
  }
  
  nav.active {
    opacity: 1;
    pointer-events: all;
  }
  
  nav a {
    font-size: 1.3rem;
  }
  
  .burger {
    display: flex;
    z-index: 1001;
  }
  
  .image-text-section {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .image-text-section.reverse {
    direction: ltr;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .privacy-popup .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-menu {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
section{
padding: 0;}
  body {
    font-size: 0.9rem;
  }
  
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  
  .hero h1 {
    font-size: 1.9rem;
  }
  
  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
  }
  
  .contact-section {
    padding: var(--space-md);
  }
}

@media (max-width: 320px) {
  :root {
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
  }
  
  body {
    font-size: 0.85rem;
  }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.1rem; }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .card {
    padding: var(--space-sm);
  }
}
