:root {
  --color-white: #FFFFFF;
  --color-black: #0A0A0A;
  --color-grey: #F5F3F0;
  --color-accent: #8B4513;
  --color-accent-hover: #A0522D;
  --color-secondary: #2C1810;
  --color-tertiary: #D4AF37;
  --color-text: #1A1A1A;
  --color-text-light: #5A5A5A;
  --color-bg-alt: #FAF8F5;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --font-heading: 'Inter Tight', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 2px 4px rgba(10, 10, 10, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 10, 10, 0.12);
  --shadow-lg: 0 8px 24px rgba(10, 10, 10, 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;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h4 {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

a {
  text-decoration: none;
  color: var(--color-accent);
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-grey);
  padding: 0.4rem 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem var(--space-md);
  min-height: 50px;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  line-height: 1.2;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  align-items: center;
}

.nav-menu li a {
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  color: var(--color-text);
  padding: 0.3rem 0.6rem;
  position: relative;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-grey);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.nav-menu li a:hover {
  color: var(--color-accent);
}

.nav-menu li a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  cursor: pointer;
  color: var(--color-text);
  z-index: 101;
  padding: 0.3rem;
  line-height: 1;
}

body.menu-open .menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 100;
  padding: var(--space-xl) var(--space-md);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu .nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mobile-menu .nav-menu li {
  width: 100%;
  list-style: none;
}

.mobile-menu .nav-menu li a {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  display: block;
  width: 100%;
  padding: var(--space-sm) 0;
  color: var(--color-text);
}

.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);
  padding: var(--space-xs);
}

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-2xl) var(--space-md);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 248, 245, 0.88) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(139, 69, 19, 0.03) 2px,
    rgba(139, 69, 19, 0.03) 4px
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
}

.hero-animation {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 15%;
  right: 8%;
  z-index: 2;
  animation: float 8s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotate(3deg) scale(1.05);
  }
  50% {
    transform: translateY(-25px) rotate(-2deg) scale(1.1);
  }
  75% {
    transform: translateY(-15px) rotate(2deg) scale(1.05);
  }
}

.hero-animation svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(139, 69, 19, 0.2));
}

.hero-animation svg rect,
.hero-animation svg circle {
  stroke: var(--color-accent);
  fill: none;
}

.hero-animation svg circle {
  fill: var(--color-accent);
  opacity: 0.15;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-secondary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
  border-radius: 0;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-md);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover {
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:hover::before {
  left: 0;
}

.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-secondary::before {
  background: var(--color-secondary);
}

.btn-secondary:hover {
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.section[style*="background: var(--color-secondary)"] .section-title h2::after {
  background: var(--color-accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-grey);
  border-radius: 0;
  padding: var(--space-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-accent);
  transition: height 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--color-accent);
}

.card:hover::before {
  height: 100%;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.price {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-grey);
  border-radius: var(--radius-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.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.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-2xl);
  border-top: 4px solid var(--color-accent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section ul li a {
  color: var(--color-grey);
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(0.8rem, 1.6vw, 0.9rem);
  color: var(--color-grey);
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

table th,
table td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-grey);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

table th {
  background: var(--color-grey);
  font-weight: 600;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.legal-content h1 {
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  margin-bottom: var(--space-lg);
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: var(--space-sm);
  display: inline-block;
}

.legal-content h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
  position: relative;
  padding-left: var(--space-md);
}

.legal-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--color-accent);
}

.legal-content p {
  margin-bottom: var(--space-md);
}

.home-button {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.home-button:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
}

.center-content {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.center-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.center-content p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: none;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 2px solid var(--color-accent);
  padding: clamp(0.75rem, 2vw, 1rem);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-width: 100%;
}

.privacy-popup.active {
  transform: translateY(0);
}

.privacy-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
  flex-wrap: wrap;
}

.privacy-popup p {
  margin: 0;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.privacy-popup-buttons {
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header {
    padding: 0.3rem 0;
  }

  .header-content {
    padding: 0.4rem var(--space-sm);
    min-height: 45px;
  }

  .logo {
    font-size: clamp(0.75rem, 3.5vw, 0.95rem);
  }

  .header .nav-menu {
    display: none;
  }

  .mobile-menu .nav-menu {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 1.2rem;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-animation {
    width: 150px;
    height: 150px;
    top: 15%;
    right: 5%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .privacy-popup {
    padding: clamp(0.75rem, 3vw, 1rem);
  }

  .privacy-popup-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
    align-items: stretch;
  }

  .privacy-popup p {
    margin-bottom: var(--space-sm);
    min-width: auto;
    width: 100%;
  }

  .privacy-popup-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .privacy-popup-buttons .btn {
    flex: 1;
    min-width: 120px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .header {
    padding: 0.25rem 0;
  }

  .header-content {
    padding: 0.35rem var(--space-xs);
    min-height: 40px;
  }

  .logo {
    font-size: clamp(0.7rem, 4vw, 0.85rem);
    gap: 0.2rem;
  }

  .menu-toggle {
    font-size: 1.1rem;
    padding: 0.25rem;
  }

  .hero {
    min-height: 50vh;
    padding: var(--space-lg) var(--space-sm);
  }

  .hero-animation {
    width: 100px;
    height: 100px;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .privacy-popup {
    padding: 0.75rem 0.5rem;
  }

  .privacy-popup-content {
    gap: 0.75rem;
  }

  .privacy-popup p {
    font-size: clamp(0.7rem, 3.5vw, 0.85rem);
    margin-bottom: 0.75rem;
  }

  .privacy-popup-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .privacy-popup-buttons .btn {
    width: 100%;
    min-width: auto;
    font-size: clamp(0.7rem, 3vw, 0.8rem);
    padding: 0.6rem 1rem;
  }
}
