:root {
  --color-cream: #F5F1EB;
  --color-burgundy: #8B4A5C;
  --color-sage: #9CAF88;
  --color-charcoal: #2D2D2D;
  --color-gold: #D4AF37;
  --color-dusty-rose: #C9A9A6;
  --color-deep-teal: #5B7E7A;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 2px 4px rgba(45, 45, 45, 0.08);
  --shadow-md: 0 6px 12px rgba(45, 45, 45, 0.12);
  --shadow-lg: 0 12px 24px rgba(45, 45, 45, 0.18);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', serif;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 0;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

h1 {
  font-size: var(--font-size-4xl);
  background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-deep-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--font-size-3xl);
  color: var(--color-charcoal);
  position: relative;
}

h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-burgundy);
}

h4 {
  font-size: var(--font-size-xl);
  color: var(--color-charcoal);
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
  line-height: 1.8;
  color: rgba(45, 45, 45, 0.85);
}

.lead-text {
  font-size: var(--font-size-xl);
  line-height: 1.9;
  color: rgba(45, 45, 45, 0.9);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

a {
  color: var(--color-burgundy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-deep-teal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
}

.container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 74, 92, 0.2) 10%, rgba(156, 175, 136, 0.2) 50%, rgba(91, 126, 122, 0.2) 90%, transparent 100%);
  opacity: 0.3;
}

.container::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 74, 92, 0.2) 10%, rgba(156, 175, 136, 0.2) 50%, rgba(91, 126, 122, 0.2) 90%, transparent 100%);
  opacity: 0.3;
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 74, 92, 0.2) 20%, rgba(156, 175, 136, 0.2) 50%, rgba(91, 126, 122, 0.2) 80%, transparent 100%);
}

.section:nth-child(even) {
  background: linear-gradient(180deg, var(--color-cream) 0%, rgba(201, 169, 166, 0.08) 50%, var(--color-cream) 100%);
}

.section:nth-child(odd) {
  background: linear-gradient(180deg, white 0%, rgba(245, 241, 235, 0.5) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
  padding: 0 var(--space-xl);
}

.section-header h2::before,
.section-header h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-burgundy), transparent);
}

.section-header h2::before {
  left: -80px;
}

.section-header h2::after {
  right: -80px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: var(--font-size-lg);
  color: rgba(45, 45, 45, 0.8);
  font-style: italic;
}

.section-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(139, 74, 92, 0.1);
  font-family: 'Playfair Display', serif;
  z-index: -1;
}

.content-block {
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-burgundy);
  transition: all var(--transition-base);
}

.content-block:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.content-block h3 {
  color: var(--color-burgundy);
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-xl);
}

.content-block p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(245, 241, 235, 0.98) 0%, rgba(201, 169, 166, 0.95) 100%);
  backdrop-filter: blur(15px);
  padding: var(--space-lg) 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-bottom: 2px solid transparent;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-sage);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-burgundy);
  text-decoration: none;
  letter-spacing: 0.08em;
  position: relative;
  padding: var(--space-xs) var(--space-md);
  background: linear-gradient(90deg, var(--color-burgundy) 0%, var(--color-deep-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  align-items: center;
  position: relative;
}

.nav-menu::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, var(--color-burgundy) 0%, var(--color-sage) 100%);
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--color-charcoal);
  font-size: var(--font-size-base);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  position: relative;
  transition: all var(--transition-fast);
  display: block;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--color-gold);
  transition: transform var(--transition-base);
}

.nav-menu a:hover {
  color: var(--color-burgundy);
}

.nav-menu a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
  display: none;
  background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-deep-teal) 100%);
  border: none;
  font-size: var(--font-size-xl);
  color: white;
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  z-index: 102;
  position: relative;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle:hover {
  transform: scale(1.1);
}


.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(180deg, var(--color-cream) 0%, rgba(201, 169, 166, 0.95) 100%);
  transform: translateY(-100%);
  transition: transform var(--transition-base);
  z-index: 101;
  padding: var(--space-3xl) var(--space-xl);
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(45, 45, 45, 0.2);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: var(--color-burgundy);
  border: none;
  font-size: var(--font-size-xl);
  color: white;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
}

.mobile-nav {
  list-style: none;
  margin-top: var(--space-3xl);
}

.mobile-nav li {
  margin-bottom: var(--space-lg);
}

.mobile-nav a {
  font-size: var(--font-size-xl);
  color: var(--color-charcoal);
  font-weight: 500;
  padding: var(--space-sm) 0;
  display: block;
  border-bottom: 1px solid rgba(139, 74, 92, 0.2);
  transition: padding-left var(--transition-fast);
}

.mobile-nav a:hover {
  padding-left: var(--space-md);
  color: var(--color-burgundy);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../gallery/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 74, 92, 0.6) 0%, rgba(91, 126, 122, 0.5) 50%, rgba(156, 175, 136, 0.4) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
  z-index: 2;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: var(--space-2xl);
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
  background: rgba(126, 126, 126, 0.4);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-figure {
  position: absolute;
  z-index: 2;
  width: 300px;
  height: 400px;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

.hero-figure.left {
  left: 5%;
  top: 20%;
  animation-delay: 0s;
}

.hero-figure.right {
  right: 5%;
  bottom: 15%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
  75% {
    transform: translateY(-25px) rotate(1deg);
  }
}

.hero-figure svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: white;
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-2xl);
  background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-deep-teal) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  margin-top: var(--space-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 74, 92, 0.3);
}

.btn::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 var(--transition-slow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 74, 92, 0.4);
}

.btn:hover::before {
  left: 100%;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.grid {
  display: grid;
  gap: var(--space-2xl);
  position: relative;
}

.grid::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-burgundy) 0%, var(--color-sage) 50%, var(--color-deep-teal) 100%);
  border-radius: 2px;
  opacity: 0.5;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-item {
  position: relative;
  transition: all var(--transition-base);
}

.grid-item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.grid-item:hover::before {
  opacity: 0.6;
}

.card {
  background: linear-gradient(135deg, white 0%, rgba(245, 241, 235, 0.8) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(139, 74, 92, 0.1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-burgundy) 0%, var(--color-sage) 50%, var(--color-deep-teal) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(139, 74, 92, 0.2);
  border-color: rgba(139, 74, 92, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 74, 92, 0.1) 0%, rgba(156, 175, 136, 0.1) 100%);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--color-burgundy);
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(139, 74, 92, 0.2) 0%, rgba(156, 175, 136, 0.2) 100%);
}

.card h3 {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--color-charcoal);
}

.card p {
  text-align: center;
  flex-grow: 1;
  margin-bottom: var(--space-lg);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.asymmetric-card {
  position: relative;
  background: linear-gradient(135deg, white 0%, rgba(245, 241, 235, 0.9) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg) perspective(1000px) rotateY(-2deg);
  transition: all var(--transition-base);
  border: 2px solid rgba(139, 74, 92, 0.15);
  overflow: hidden;
}

.asymmetric-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.asymmetric-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: transform var(--transition-slow);
}

.asymmetric-card:nth-child(even) {
  transform: rotate(2deg) perspective(1000px) rotateY(2deg);
}

.asymmetric-card:hover {
  transform: rotate(0deg) perspective(1000px) rotateY(0deg) scale(1.03);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 74, 92, 0.3);
}

.asymmetric-card:hover::after {
  opacity: 1;
}

.asymmetric-card:hover img {
  transform: scale(1.05);
}

.contact-section {
  background: linear-gradient(135deg, white 0%, rgba(245, 241, 235, 0.8) 100%);
  padding: var(--space-3xl);
  border-radius: var(--radius-lg);
  margin: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(139, 74, 92, 0.15);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 500;
  color: var(--color-charcoal);
}

.form-group input,
.form-group textarea {
  padding: var(--space-md);
  border: 2px solid rgba(139, 74, 92, 0.2);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast);
  background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 3px rgba(139, 74, 92, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-burgundy) 100%);
  color: var(--color-cream);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-sage) 50%, var(--color-deep-teal) 100%);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer p {
  color: rgba(245, 241, 235, 0.9);
}

.footer-menu {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--color-cream);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-gold);
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
  margin-top: var(--space-3xl);
}

.legal-page h1 {
  margin-bottom: var(--space-xl);
  margin-top: var(--space-xl);
}

.legal-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-page p {
  margin-bottom: var(--space-md);
}

.legal-page ul,
.legal-page ol {
  margin-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page li {
  margin-bottom: var(--space-sm);
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.legal-page table th,
.legal-page table td {
  padding: var(--space-md);
  border: 1px solid rgba(139, 74, 92, 0.2);
  text-align: left;
}

.legal-page table th {
  background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-deep-teal) 100%);
  color: white;
  font-weight: 600;
}

.home-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-deep-teal) 100%);
  color: white;
  border-radius: 50px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(139, 74, 92, 0.3);
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 74, 92, 0.4);
  color: white;
}

.page-404,
.page-thank-you {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-404,
.page-thank-you {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-404 .error-page,
.page-thank-you .thank-you-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  margin-top: var(--space-3xl);
}

.page-404 .footer,
.page-thank-you .footer {
  margin-top: auto;
}

.thank-you-page,
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.thank-you-page h1,
.error-page h1 {
  margin-bottom: var(--space-lg);
}

.thank-you-page p,
.error-page p {
  max-width: none;
  margin-bottom: var(--space-lg);
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  max-width: 500px;
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
}

.privacy-popup.active {
  display: block;
}

.privacy-popup-content {
  margin-bottom: var(--space-md);
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-popup-buttons .btn {
  margin-top: 0;
  flex: 1;
  min-width: 120px;
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-figure {
    width: 150px;
    height: 200px;
    opacity: 0.6;
  }

  .hero-figure.left {
    left: -5%;
    top: 15%;
  }

  .hero-figure.right {
    right: -5%;
    bottom: 10%;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .logo {
    font-size: var(--font-size-lg);
  }

  .container {
    padding: 0 var(--space-md);
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-menu {
    flex-direction: column;
    gap: var(--space-md);
  }

  .privacy-popup {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }

  .asymmetric-card {
    transform: rotate(0deg);
  }

  .asymmetric-card:nth-child(even) {
    transform: rotate(0deg);
  }

  .section-header h2::before,
  .section-header h2::after {
    display: none;
  }

  .section-header h2 {
    padding: 0;
  }

  .container::before,
  .container::after {
    display: none;
  }

  .grid::before {
    display: none;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: var(--font-size-2xl);
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .hero-figure {
    display: none;
  }

  .card {
    padding: var(--space-md);
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
  }

  .header {
    padding: var(--space-md) 0;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-xl) 0;
  }
}

