:root {
  --color-bg: #F5F3F0;
  --color-text: #2A2520;
  --color-accent: #E8DCC6;
  --color-highlight: #C4936B;
  --color-secondary: #8B6F47;
  --color-dark: #1A1613;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gradient-start: #D4C4B0;
  --color-gradient-end: #B89A7A;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 1.75rem;
  --space-xl: 2.5rem;
  --space-xxl: 3.5rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1.25rem;
  
  --shadow-sm: 0 2px 6px rgba(42, 37, 32, 0.08);
  --shadow-md: 0 4px 12px rgba(42, 37, 32, 0.12);
  --shadow-lg: 0 8px 24px rgba(42, 37, 32, 0.16);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

a {
  color: var(--color-highlight);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(42, 37, 32, 0.06);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(232, 220, 198, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60px;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 2px;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-highlight);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl) var(--space-lg);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
}

.nav-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-menu a {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid transparent;
  color: var(--color-text);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 400;
  position: relative;
  transition: var(--transition);
  display: inline-block;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-highlight), var(--color-secondary));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
  color: var(--color-highlight);
  padding-left: var(--space-xs);
}

.nav-menu a:hover::before {
  width: 40px;
}

.menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  z-index: 1000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.menu-toggle.hidden {
  display: none;
}

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-xl) var(--space-md);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 22, 19, 0.65) 0%, rgba(42, 37, 32, 0.5) 50%, rgba(26, 22, 19, 0.7) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(196, 147, 107, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 850px;
  padding: var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-xl);
  color: var(--color-white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-animation {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-highlight) 0%, var(--color-secondary) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: float 4s ease-in-out infinite, rotate 8s linear infinite;
  opacity: 0.75;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(196, 147, 107, 0.4);
}

.hero-animation::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 30%;
  width: 15px;
  height: 15px;
  background: var(--color-white);
  border-radius: 50%;
  opacity: 0.9;
}

.hero-animation::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 30%;
  width: 10px;
  height: 10px;
  background: var(--color-white);
  border-radius: 50%;
  opacity: 0.7;
}

@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) translateY(-25px) rotate(5deg);
  }
}

@keyframes rotate {
  0% {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  }
  25% {
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  }
  50% {
    border-radius: 50% 50% 60% 40% / 40% 50% 50% 60%;
  }
  75% {
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  }
  100% {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  }
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.btn {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: var(--color-highlight);
  color: var(--color-white);
  border: 2px solid var(--color-highlight);
  border-radius: var(--radius-md);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  margin-top: var(--space-md);
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.section {
  padding: var(--space-xxl) var(--space-md);
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-accent) 100%);
}

.section-dark {
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-dark) 100%);
  color: var(--color-white);
}

.section-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gradient-start) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-highlight), transparent);
  margin: var(--space-sm) auto 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 147, 107, 0.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-xs);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.card p {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: #666;
}

.price-card {
  text-align: center;
  border: 2px solid var(--color-accent);
}

.price-card.featured {
  border-color: var(--color-highlight);
  transform: scale(1.05);
}

.price {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-highlight);
  margin: var(--space-md) 0;
}

.price-period {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #666;
}

.features-list {
  list-style: none;
  margin: var(--space-lg) 0;
  text-align: left;
}

.features-list li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-md);
  position: relative;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-highlight);
  font-weight: bold;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-highlight);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.footer {
  background: var(--color-text);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
  margin-top: var(--space-xxl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.footer-section p,
.footer-section a {
  color: var(--color-accent);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  margin-bottom: var(--space-xs);
  display: block;
}

.footer-section a:hover {
  color: var(--color-white);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.legal-content h1 {
  margin-bottom: var(--space-lg);
  text-align: center;
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 500;
}

.legal-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
}

.legal-content p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.legal-content table th,
.legal-content table td {
  padding: var(--space-sm);
  border: 1px solid var(--color-accent);
  text-align: left;
}

.legal-content table th {
  background: var(--color-accent);
  font-weight: 600;
}

.home-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-highlight);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.home-button:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.center-content {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.center-content h1 {
  margin-bottom: var(--space-lg);
}

.center-content p {
  max-width: none;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.privacy-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
  padding: var(--space-lg);
  z-index: 10000;
  border-top: 3px solid var(--color-highlight);
}

.privacy-popup.active {
  display: block;
}

.privacy-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.privacy-popup p {
  margin: 0;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  flex: 1;
  min-width: 250px;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.privacy-popup-btn {
  padding: var(--space-xs) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  transition: var(--transition);
}

.privacy-popup-btn.accept {
  background: var(--color-highlight);
  color: var(--color-white);
}

.privacy-popup-btn.accept:hover {
  background: var(--color-text);
}

.privacy-popup-btn.decline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.privacy-popup-btn.decline:hover {
  background: var(--color-text);
  color: var(--color-white);
}

@media (min-width: 768px) {
  .header-content {
    padding: var(--space-md) var(--space-lg);
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    position: static;
    transform: none;
    background: none;
    box-shadow: none;
    padding: 0;
    height: auto;
    width: auto;
    max-width: none;
    visibility: visible;
    opacity: 1;
  }

  .nav-menu a {
    border-bottom: none;
    padding: 0;
  }

  .nav-menu a::before {
    bottom: -2px;
  }

  .nav-menu a:hover {
    padding-left: 0;
  }

  .nav-menu a:hover::before {
    width: 100%;
  }

  .menu-toggle {
    display: none;
  }

  .menu-close {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-animation {
    width: 150px;
    height: 150px;
  }

  .section {
    padding: var(--space-xxl) var(--space-lg);
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 767px) {
  html {
    overflow-x: hidden;
  }

  body {
    width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 var(--space-sm);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .price-card.featured {
    transform: scale(1);
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-lg) var(--space-sm);
  }

  .hero-content {
    padding: var(--space-md);
  }
}
