:root {
  --primary: rgb(32, 15, 29);
  --secondary: rgb(32, 112, 21);
  --background: #F9FAFB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --accent: rgb(0, 0, 0);
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--space-sm);
}

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


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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header-wrapper {
  position: relative;
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform var(--transition-medium);
  z-index: 1000;
}

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

header {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(32, 15, 29, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  transition: var(--transition-fast);
}

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

.logo img {
  width: 2.5rem;
  height: auto;
}

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

nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-xs) 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-fast);
}

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

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

.burger span {
  width: 1.5625rem;
  height: 0.1875rem;
  background: var(--primary);
  transition: var(--transition-fast);
  border-radius: 0.125rem;
}

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

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

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

.hero {
  padding: var(--space-xl) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 50rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 40rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.875rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-medium);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title h2 {
  margin-bottom: var(--space-sm);
}

.section-title p {
  color: var(--text-secondary);
  max-width: 40rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  height: 100%;
}

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

.card-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.magazine-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.magazine-large {
  grid-column: span 8;
}

.magazine-small {
  grid-column: span 4;
}

.magazine-item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
}

.magazine-item:hover {
  box-shadow: var(--shadow-lg);
}

.magazine-item img {
  width: 100%;
  height: 15.625rem;
  object-fit: cover;
}

.magazine-content {
  padding: var(--space-lg);
}

.image-text-wrapper {
  position: relative;
  display: inline-block;
}

.image-with-text {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.image-with-text img {
  width: 100%;
  height: auto;
}

.image-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(32, 15, 29, 0.9), transparent);
  color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  flex-shrink: 0;
  font-size: 2rem;
  color: var(--secondary);
}

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

.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(32, 112, 21, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 9.375rem;
}

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

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

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.125rem;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--secondary);
  transition: var(--transition-fast);
}

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

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

.faq-item.active .faq-answer {
  max-height: 62.5rem;
  padding-top: var(--space-md);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.price-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  transition: var(--transition-medium);
}

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

.price-card.featured {
  border: 2px solid var(--secondary);
}

.price-badge {
  position: absolute;
  top: -0.625rem;
  right: var(--space-md);
  background: var(--secondary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin: var(--space-md) 0;
}

.price-features {
  list-style: none;
  margin: var(--space-md) 0;
  text-align: left;
}

.price-features li {
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.price-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
}

.contact-info {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.info-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  flex-shrink: 0;
}

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

.map-container iframe {
  width: 100%;
  height: 25rem;
  border: none;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(32, 15, 29, 0.98);
  backdrop-filter: blur(10px);
  color: white;
  padding: var(--space-md);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.cookie-text {
  flex: 1;
  font-size: 0.9375rem;
}

.cookie-text a {
  color: white;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

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

.thank-you-content {
  max-width: 37.5rem;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

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

.error-content {
  max-width: 37.5rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--background);
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-medium);
    align-items: flex-start;
    gap: var(--space-md);
  }

  nav.active {
    display: flex;
    right: 0;
  }

  .burger {
    display: flex;
  }

  .magazine-large,
  .magazine-small {
    grid-column: span 12;
  }

  .cookie-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .grid-2,
  .grid-3,
  .feature-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .magazine-item img {
    height: 12.5rem;
  }
}

@media (max-width: 362px) {
  .section-title h2{
    font-size: 1.4rem;
  }
  .logo{
    font-size: 1rem;
  }
  .container {
    padding: 0 var(--space-sm);
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}
