:root {
  --color-base: #FCFCFA;
  --color-primary: #7EBF9F;
  --color-secondary: #BFC4C3;
  --color-accent: #D4A67A;
  --color-text: #2E2E2E;
  --color-text-secondary: #606060;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 50%;
  
  --shadow-sm: 0 0.125rem 0.5rem rgba(46, 46, 46, 0.08);
  --shadow-md: 0 0.5rem 1.5rem rgba(46, 46, 46, 0.12);
  --shadow-lg: 0 1rem 3rem rgba(46, 46, 46, 0.16);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-xxl: 3rem;
}

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

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

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

body.overflow-hidden {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-1.5rem) rotate(2deg);
  }
  50% {
    transform: translateY(-1rem) rotate(0deg);
  }
  75% {
    transform: translateY(-1.5rem) rotate(-2deg);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-15deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-slide-left {
  animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-slide-right {
  animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-scale {
  animation: scaleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-rotate {
  animation: rotateIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero-content .animate-in {
  animation-delay: 0.2s;
}

.hero-content .animate-in:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-content .animate-in:nth-child(3) {
  animation-delay: 0.6s;
}

.header-main {
  position: relative;
  padding: var(--space-sm) 0;
  background: rgba(252, 252, 250, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  transform-origin: top;
  transition: transform var(--transition-base), opacity var(--transition-base);
  box-shadow: 0 0.125rem 1rem rgba(46, 46, 46, 0.05);
  border-bottom: 0.0625rem solid rgba(126, 191, 159, 0.1);
}

.header-main.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

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

.logo-text {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -0.125rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-text:hover::after {
  width: 100%;
}

.logo-text:hover {
  transform: scale(1.05);
}

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

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0.125rem;
  background: var(--color-primary);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 80%;
}

.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  padding: var(--space-xs);
  z-index: 1001;
}

.burger-line {
  width: 1.5rem;
  height: 0.125rem;
  background: var(--color-text);
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}

.burger-toggle.active .burger-line:nth-child(1) {
  transform: translateY(0.5rem) rotate(45deg);
}

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

.burger-toggle.active .burger-line:nth-child(3) {
  transform: translateY(-0.5rem) rotate(-45deg);
}

.hero-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #FCFCFA 0%, #E8F5EF 50%, #D4EDE2 100%);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(126, 191, 159, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-full);
  animation: float 6s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(212, 166, 122, 0.12) 0%, transparent 70%);
  border-radius: var(--radius-full);
  animation: float 8s ease-in-out infinite reverse;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 100%;
  text-align: left;
  position: relative;
  z-index: 1;
  padding: var(--space-lg) 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #2E2E2E 0%, var(--color-primary) 60%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  max-width: 100%;
  font-weight: 400;
}

.hero-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 32rem;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2rem 5rem rgba(46, 46, 46, 0.15);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 20rem;
  height: 20rem;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0.15;
  animation: pulse 4s ease-in-out infinite;
}

.hero-image-container::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 16rem;
  height: 16rem;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0.2;
  animation: pulse 5s ease-in-out infinite reverse;
}

.hero-image-container:hover {
  transform: translateY(-0.75rem) scale(1.02);
  box-shadow: 0 2.5rem 6rem rgba(46, 46, 46, 0.2);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover .hero-image {
  transform: scale(1.08);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(126, 191, 159, 0.2) 0%, rgba(212, 166, 122, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-image-container:hover .hero-image-overlay {
  opacity: 1;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #C89563 100%);
  color: var(--color-base);
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 0.5rem 1.5rem rgba(212, 166, 122, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6AAA8A 100%);
  box-shadow: 0 0.75rem 2rem rgba(126, 191, 159, 0.4);
  transform: translateY(-0.25rem) scale(1.05);
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--fs-base);
  border: 0.125rem solid var(--color-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: -1;
}

.btn-secondary:hover::before {
  width: 120%;
  height: 300%;
}

.btn-secondary:hover {
  color: var(--color-base);
  border-color: var(--color-primary);
  transform: translateY(-0.25rem) scale(1.05);
  box-shadow: 0 0.5rem 1.5rem rgba(126, 191, 159, 0.3);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  text-align: center;
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
}

.section-description {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  text-align: center;
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

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

.card-item {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0.0625rem solid rgba(191, 196, 195, 0.2);
  position: relative;
  overflow: hidden;
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-item:hover::before {
  transform: scaleX(1);
}

.card-item:hover {
  box-shadow: 0 1.5rem 4rem rgba(126, 191, 159, 0.2);
  transform: translateY(-0.75rem) scale(1.02);
  border-color: rgba(126, 191, 159, 0.3);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-item:hover .card-icon {
  transform: scale(1.15) rotate(-5deg);
  color: var(--color-accent);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.card-text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

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

.feature-box {
  text-align: center;
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0.0625rem solid rgba(191, 196, 195, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.feature-box:hover::before {
  width: 150%;
  height: 150%;
}

.feature-box > * {
  position: relative;
  z-index: 1;
}

.feature-box:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-0.5rem) scale(1.05);
  box-shadow: 0 1rem 3rem rgba(126, 191, 159, 0.3);
}

.feature-box:hover .feature-icon {
  color: white;
  transform: scale(1.2) rotate(5deg);
}

.feature-box:hover .feature-title,
.feature-box:hover .feature-desc {
  color: white;
}

.feature-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  transition: color var(--transition-base);
}

.feature-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
}

.contact-wrapper {
  max-width: 40rem;
  margin: 0 auto;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 1rem 3rem rgba(46, 46, 46, 0.1);
  border: 0.0625rem solid rgba(126, 191, 159, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 0.0625rem solid var(--color-secondary);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.1875rem rgba(126, 191, 159, 0.2);
}

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

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

.checkbox-input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.checkbox-label {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  cursor: pointer;
}

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

.btn-submit {
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: var(--color-base);
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.btn-submit:hover:not(:disabled) {
  background: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.125rem);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-info-section {
  margin-top: var(--space-xl);
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.info-item {
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0.0625rem solid rgba(191, 196, 195, 0.2);
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-item:hover::before {
  transform: scaleX(1);
}

.info-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2.5rem rgba(126, 191, 159, 0.2);
  border-color: rgba(126, 191, 159, 0.3);
}

.info-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.info-item:hover .info-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--color-accent);
}

.info-title {
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.info-content {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

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

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

.footer-main {
  background: var(--color-text);
  color: var(--color-base);
  padding: var(--space-md) 0;
  margin-top: var(--space-xxl);
}

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

.footer-text {
  font-size: var(--fs-sm);
  color: var(--color-secondary);
}

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

.footer-link {
  font-size: var(--fs-sm);
  color: var(--color-secondary);
  transition: color var(--transition-base);
}

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

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 46, 46, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 30rem;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

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

.popup-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text);
}

.popup-close {
  font-size: var(--fs-xl);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color var(--transition-base);
  background: none;
  border: none;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  color: var(--color-text);
}

.popup-body {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.popup-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.btn-accept {
  flex: 1;
  padding: var(--space-sm);
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

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

.btn-decline {
  flex: 1;
  padding: var(--space-sm);
  background: var(--color-secondary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.btn-decline:hover {
  background: var(--color-text);
}

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

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0.0625rem solid rgba(191, 196, 195, 0.2);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(126, 191, 159, 0.05), rgba(212, 166, 122, 0.05));
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  box-shadow: 0 2rem 4rem rgba(126, 191, 159, 0.25);
  transform: translateY(-1rem) scale(1.03);
  border-color: rgba(126, 191, 159, 0.4);
}

.product-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.product-info {
  padding: var(--space-md);
}

.product-name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.product-description {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.product-price {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.article-list {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.article-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0.0625rem solid rgba(191, 196, 195, 0.2);
  border-left: 0.25rem solid transparent;
  position: relative;
}

.article-card:hover {
  box-shadow: 0 1rem 3rem rgba(126, 191, 159, 0.2);
  transform: translateX(0.5rem);
  border-left-color: var(--color-primary);
  background: linear-gradient(to right, rgba(126, 191, 159, 0.03), white);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: clamp(0.6875rem, 1.5vw, 0.75rem);
  color: var(--color-text-secondary);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.article-excerpt {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.thank-you-container {
  text-align: center;
  max-width: 40rem;
  margin: var(--space-xxl) auto;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.thank-you-title {
  font-family: var(--font-display);
  font-size: var(--fs-xxl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.thank-you-message {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.thank-you-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.error-404-container {
  text-align: center;
  max-width: 40rem;
  margin: var(--space-xxl) auto;
  padding: var(--space-xl);
}

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

.error-404-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.error-404-message {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.policy-container {
  max-width: 50rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-sm);
}

.policy-title {
  font-family: var(--font-display);
  font-size: var(--fs-xxl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.policy-date {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.policy-section {
  margin-bottom: var(--space-lg);
}

.policy-heading {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}

.policy-text {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.policy-list {
  list-style: disc;
  margin-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.policy-list li {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: var(--space-xxl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
    gap: var(--space-sm);
    display:none;
  }

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

  .burger-toggle {
    display: flex;
  }

  .hero-section {
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
    min-height: 22rem;
  }

  .hero-section::before,
  .hero-section::after {
    width: 20rem;
    height: 20rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: var(--space-sm);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    margin-bottom: var(--space-md);
  }

  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .grid-cards {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .error-404-number {
    font-size: 5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 2rem;
    font-size: var(--fs-sm);
  }

  .article-card {
    padding: var(--space-md);
  }

  .article-card:hover {
    transform: translateX(0);
  }

  .article-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .article-excerpt {
    font-size: var(--fs-sm);
  }

  .article-meta {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .thank-you-container {
    padding: var(--space-lg);
    margin: var(--space-lg) auto;
  }

  .thank-you-icon {
    font-size: 3rem;
  }

  .thank-you-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .thank-you-message {
    font-size: var(--fs-base);
  }

  .thank-you-buttons {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }

  .thank-you-buttons .btn-primary,
  .thank-you-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-1rem);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(1rem);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

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

  .hero-section {
    padding: var(--space-lg) 0;
    min-height: auto;
  }

  .hero-image-wrapper {
    min-height: 18rem;
  }

  .hero-section::before,
  .hero-section::after {
    width: 15rem;
    height: 15rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
    margin-bottom: var(--space-sm);
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .section-title {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
  }

  .section-title::after {
    width: 3rem;
    height: 0.1875rem;
  }

  .contact-wrapper {
    padding: var(--space-md);
  }

  .popup-content {
    padding: var(--space-md);
  }

  .map-container {
    height: 18rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: var(--fs-xs);
  }

  .card-item,
  .feature-box,
  .article-card {
    padding: var(--space-sm);
  }

  .article-title {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
    margin-bottom: var(--space-xs);
  }

  .article-excerpt {
    font-size: var(--fs-xs);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
  }

  .article-meta {
    font-size: 0.6875rem;
    gap: var(--space-xs);
  }

  .logo-text{
    font-size: 1rem;
  }

  .thank-you-container {
    padding: var(--space-md);
    margin: var(--space-md) auto;
  }

  .thank-you-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
  }

  .thank-you-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: var(--space-sm);
  }

  .thank-you-message {
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: var(--space-md);
  }

  .thank-you-buttons {
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-md);
  }

  .thank-you-buttons .btn-primary,
  .thank-you-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
  }

  .error-404-container {
    padding: var(--space-md);
  }
}



