:root {
  --color-confetti-pink: #F7B7B7;
  --color-gold: #D7B56D;
  --color-sky-blue: #7AC8F2;
  --color-ivory: #FAF9F7;
  --color-charcoal: #242424;
  --color-lilac: #C9B4E0;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Dancing Script', cursive;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-ivory);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: white;
}

.section:nth-child(odd) {
  background: var(--color-ivory);
}

.section-alt {
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  padding: calc(var(--space-xxl) + 2rem) 0;
  margin: -2rem 0;
}

.header {
  position: relative;
  background: var(--color-ivory);
  padding: var(--space-md) 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo::before {
  content: '🎉';
  font-size: 1.5em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-charcoal);
  z-index: 1001;
  position: relative;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: var(--color-ivory);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  padding: var(--space-xxl) var(--space-lg);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
}

body.menu-open .menu-toggle {
  display: none;
}

.mobile-menu .nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.mobile-menu .nav-menu a {
  font-size: 1.25rem;
}

.menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-charcoal);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../gallery/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 85% 100%, 0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(215, 181, 109, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(247, 183, 183, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, rgba(250, 249, 247, 0.85) 0%, rgba(201, 180, 224, 0.2) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, var(--color-gold), var(--color-lilac));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.15;
  z-index: 1;
  animation: morphShape 8s ease-in-out infinite;
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xxl);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  width: 150px;
  height: 150px;
  border: 4px dashed var(--color-gold);
  border-radius: 20px;
  opacity: 0.4;
  z-index: -1;
  animation: rotate 20s linear infinite;
}

.hero-content::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: 50%;
  transform: translateX(50%);
  width: 120px;
  height: 120px;
  background: var(--color-confetti-pink);
  border-radius: 50% 20% 50% 20%;
  opacity: 0.2;
  z-index: -1;
  animation: morphShape 6s ease-in-out infinite reverse;
}

.hero h1 {
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  font-weight: 700;
  position: relative;
  display: inline-block;
  transform: rotate(-2deg);
  text-shadow: 3px 3px 0 rgba(215, 181, 109, 0.3), -2px -2px 0 rgba(201, 180, 224, 0.2);
  animation: heroTitle 1.2s ease;
  text-align: center;
}

.hero h1::before {
  content: '🎉';
  position: absolute;
  top: -30px;
  left: -50px;
  font-size: 3rem;
  transform: rotate(15deg);
  animation: float 3s ease-in-out infinite;
  z-index: -1;
}

.hero h1::after {
  content: '✨';
  position: absolute;
  bottom: -20px;
  right: -50px;
  font-size: 2.5rem;
  transform: rotate(-20deg);
  animation: float 4s ease-in-out infinite 1s;
  z-index: -1;
}

.hero h1 .gold {
  color: var(--color-gold);
  display: block;
  margin-top: var(--space-xs);
  transform: rotate(1.5deg);
  position: relative;
  background: linear-gradient(135deg, var(--color-gold) 0%, #C9A85A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  width: 60px;
  height: 4px;
  background: var(--color-confetti-pink);
  transform: translateY(-50%) rotate(-5deg);
  border-radius: 2px;
  opacity: 0.6;
}

.hero h1 .gold::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, var(--color-confetti-pink), var(--color-lilac), var(--color-sky-blue));
  opacity: 0.35;
  z-index: -1;
  transform: skewX(-12deg) scaleY(0.6);
  border-radius: 4px;
}

.hero p {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: var(--space-xxl);
  color: var(--color-charcoal);
  line-height: 1.9;
  transform: rotate(1deg);
  font-weight: 400;
  max-width: 90%;
  position: relative;
  margin: 0 auto var(--space-xxl);
  padding: var(--space-md) var(--space-lg);
  border-top: 4px solid var(--color-gold);
  border-bottom: 4px solid var(--color-gold);
  animation: heroText 1.4s ease 0.3s both;
}

.hero p::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--color-gold);
  opacity: 0.3;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  transform: rotate(-1deg);
  margin-top: var(--space-xl);
  justify-content: center;
  position: relative;
  animation: heroButtons 1.6s ease 0.6s both;
}

.hero-buttons::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-lilac));
  border-radius: 2px;
  opacity: 0.3;
}

.btn {
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-sm);
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, #C9A85A 100%);
  color: var(--color-charcoal);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transform: rotate(-1deg);
  border: 2px solid transparent;
}

.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 ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) rotate(0deg) scale(1.05);
  box-shadow: 0 8px 20px rgba(215, 181, 109, 0.4);
  color: var(--color-charcoal);
  border-color: var(--color-gold);
}

.btn-secondary {
  background: transparent;
  border: 3px dashed var(--color-lilac);
  color: var(--color-charcoal);
  position: relative;
  transform: rotate(1deg);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid var(--color-lilac);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-secondary:hover {
  background: var(--color-lilac);
  color: var(--color-ivory);
  transform: translateY(-3px) rotate(0deg) scale(1.05);
  border-style: solid;
}

.btn-secondary:hover::after {
  opacity: 1;
}

.floating-icon {
  position: absolute;
  font-size: 3rem;
  opacity: 0.5;
  animation: float 4s ease-in-out infinite;
  z-index: 1;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.floating-icon:nth-child(1) {
  top: 15%;
  right: 20%;
  animation-delay: 0s;
  transform: rotate(-15deg);
}

.floating-icon:nth-child(2) {
  top: 50%;
  right: 8%;
  animation-delay: 1.5s;
  transform: rotate(20deg);
  font-size: 2.5rem;
}

.floating-icon:nth-child(3) {
  bottom: 25%;
  right: 25%;
  animation-delay: 3s;
  transform: rotate(-10deg);
  font-size: 2.8rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(-1deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    transform: rotate(270deg);
  }
}

@keyframes heroTitle {
  from {
    opacity: 0;
    transform: translateX(-100px) rotate(-2deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(-2deg) scale(1);
  }
}

@keyframes heroText {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1deg);
  }
}

@keyframes heroButtons {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-confetti-pink);
  animation: confettiFall 3s linear infinite;
  z-index: 1;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  position: relative;
}

.service-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  position: relative;
  border: 3px solid transparent;
  background-clip: padding-box;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card:nth-child(odd) {
  transform: rotate(-1deg);
  border-top: 4px solid var(--color-gold);
}

.service-card:nth-child(even) {
  transform: rotate(1deg);
  border-top: 4px solid var(--color-lilac);
}

.service-card:nth-child(3n) {
  transform: rotate(-0.5deg);
  border-top: 4px solid var(--color-confetti-pink);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(215, 181, 109, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--color-gold);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.service-card:hover::after {
  width: 80%;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.service-card h3 {
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.service-card p {
  position: relative;
  z-index: 1;
}

.service-card ul {
  position: relative;
  z-index: 1;
}

.service-card .btn {
  position: relative;
  z-index: 2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  position: relative;
}

.pricing-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border: 3px solid var(--color-ivory);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-confetti-pink), var(--color-gold), var(--color-lilac), var(--color-sky-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:nth-child(1) {
  transform: rotate(-0.5deg);
  border-left: 5px solid var(--color-confetti-pink);
}

.pricing-card:nth-child(2) {
  transform: rotate(0.5deg);
  border-left: 5px solid var(--color-gold);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card:nth-child(3) {
  transform: rotate(-0.5deg);
  border-left: 5px solid var(--color-lilac);
}

.pricing-card:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  border-color: var(--color-gold);
  z-index: 3;
}

.pricing-card h3 {
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin: var(--space-md) 0;
  position: relative;
  display: inline-block;
  transform: rotate(-2deg);
}

.price::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-md);
  opacity: 0.5;
  transform: rotate(2deg);
}

.price::after {
  content: '✨';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 1.5rem;
  animation: rotate 3s linear infinite;
}

.price-features {
  list-style: none;
  margin: var(--space-lg) 0;
  text-align: left;
}

.price-features li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-ivory);
}

.price-features li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: bold;
  margin-right: var(--space-sm);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  margin-top: var(--space-xl);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 2px;
  height: 80%;
  background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
  opacity: 0.3;
}

.contact-form {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transform: rotate(-0.5deg);
  border: 2px dashed var(--color-lilac);
}

.contact-form::after {
  content: '💌';
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-ivory);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.footer {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-section h3 {
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: var(--color-ivory);
  opacity: 0.8;
  margin-bottom: var(--space-xs);
  display: block;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer-section i {
  margin-right: var(--space-xs);
  color: var(--color-gold);
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.footer-menu {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--color-ivory);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-menu a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.legal-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-confetti-pink), var(--color-gold), var(--color-lilac), var(--color-sky-blue));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.legal-page h1 {
  margin-bottom: var(--space-md);
  color: var(--color-gold);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  padding-bottom: var(--space-md);
  border-bottom: 3px dashed var(--color-gold);
  display: inline-block;
  width: 100%;
}

.legal-page h1::after {
  content: '📋';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
}

.legal-page > p:first-of-type {
  background: linear-gradient(135deg, rgba(215, 181, 109, 0.1), rgba(201, 180, 224, 0.1));
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-gold);
  margin-bottom: var(--space-xl);
  font-weight: 500;
  color: var(--color-charcoal);
}

.legal-page h2 {
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-lg);
  color: var(--color-charcoal);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  position: relative;
  padding-left: var(--space-lg);
  padding-top: var(--space-sm);
}

.legal-page h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-lilac));
  border-radius: 3px;
}

.legal-page h2::after {
  content: '✨';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  opacity: 0.2;
}

.legal-page p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: var(--color-charcoal);
  font-size: 1.05rem;
}

.legal-page p strong {
  color: var(--color-gold);
  font-weight: 600;
}

.legal-page ul {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-left: var(--space-md);
  position: relative;
}

.legal-page ul::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-lilac));
  border-radius: 2px;
  opacity: 0.3;
}

.legal-page ul li {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-sm);
  position: relative;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.legal-page ul li::marker {
  color: var(--color-gold);
  font-weight: bold;
}

.legal-page ul li::before {
  content: '▸';
  position: absolute;
  left: -20px;
  color: var(--color-gold);
  font-weight: bold;
  opacity: 0.6;
}

.legal-page a {
  color: white;
  text-decoration: underline;
  text-decoration-color: var(--color-lilac);
  text-underline-offset: 3px;
  transition: var(--transition);
}

.legal-page a:hover {
  color: var(--color-lilac);
  text-decoration-color: var(--color-gold);
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xxl);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--color-gold) 0%, #C9A85A 100%);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(215, 181, 109, 0.3);
  position: relative;
  overflow: hidden;
}

.home-button::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 ease;
}

.home-button:hover::before {
  left: 100%;
}

.home-button:hover {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, #1a1a1a 100%);
  color: var(--color-ivory);
  transform: translateX(-8px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
}

table th,
table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 2px solid var(--color-ivory);
}

table th {
  background: linear-gradient(135deg, var(--color-gold) 0%, #C9A85A 100%);
  color: var(--color-charcoal);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 10;
}

table th:first-child {
  border-top-left-radius: var(--radius-md);
}

table th:last-child {
  border-top-right-radius: var(--radius-md);
}

table tr {
  transition: var(--transition);
}

table tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-md);
}

table tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-md);
}

table tr:hover {
  background: linear-gradient(90deg, rgba(215, 181, 109, 0.1), rgba(201, 180, 224, 0.1));
  transform: scale(1.01);
}

table td {
  color: var(--color-charcoal);
  font-size: 0.95rem;
}

table tr:nth-child(even) {
  background: rgba(250, 249, 247, 0.5);
}

table tr:nth-child(even):hover {
  background: linear-gradient(90deg, rgba(215, 181, 109, 0.15), rgba(201, 180, 224, 0.15));
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  max-width: 500px;
  margin: 0 auto;
  display: none;
}

.privacy-popup.active {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.thank-you-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-page h1 {
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xxl);
  position: relative;
  padding: var(--space-lg) 0;
}

.section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-confetti-pink), var(--color-gold), var(--color-lilac));
  border-radius: 2px;
}

.section-title h2 {
  color: var(--color-charcoal);
  position: relative;
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  transform: rotate(-1deg);
  background: rgba(255, 255, 255, 0.8);
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title h2::after {
  content: '✨';
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.5rem;
  animation: rotate 3s linear infinite;
}

.section-title p {
  margin-top: var(--space-md);
  transform: rotate(0.5deg);
  font-style: italic;
  color: var(--color-charcoal);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .logo {
    font-size: 1.25rem;
  }

  .header nav .nav-menu {
    display: none;
  }

  .hero {
    clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
    min-height: 90vh;
    flex-direction: column;
    justify-content: center;
  }

  .hero-content {
    margin-left: 0;
    margin-top: 0;
    text-align: center;
    padding: var(--space-lg);
    max-width: 100%;
  }

  .hero-content::before,
  .hero-content::after {
    display: none;
  }

  .hero h1 {
    transform: rotate(0deg);
    display: block;
  }

  .hero h1::before,
  .hero h1::after {
    display: none;
  }

  .hero h1 .gold {
    transform: rotate(0deg);
  }

  .hero h1 .gold::before,
  .hero h1 .gold::after {
    display: none;
  }

  .hero p {
    transform: rotate(0deg);
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 4px solid var(--color-gold);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
  }

  .hero p::before {
    display: none;
  }

  .hero-buttons {
    transform: rotate(0deg);
    justify-content: center;
    margin-left: 0;
  }

  .hero-buttons::before {
    display: none;
  }

  .section-alt {
    clip-path: none;
    padding: var(--space-xxl) 0;
    margin: 0;
  }

  .section-title h2 {
    transform: rotate(0deg);
  }

  .section-title p {
    transform: rotate(0deg);
  }

  .service-card:nth-child(odd),
  .service-card:nth-child(even),
  .service-card:nth-child(3n) {
    transform: rotate(0deg);
  }

  .service-card:hover {
    transform: translateY(-8px) scale(1.02);
  }

  .pricing-card:nth-child(1),
  .pricing-card:nth-child(2),
  .pricing-card:nth-child(3) {
    transform: rotate(0deg) scale(1);
  }

  .pricing-card:hover {
    transform: translateY(-10px) scale(1.05);
  }

  .contact-section::before {
    display: none;
  }

  .contact-form {
    transform: rotate(0deg);
  }

  .privacy-popup-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .privacy-popup-buttons .btn {
    width: 100%;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-menu {
    justify-content: center;
  }

  .pricing-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .logo {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .legal-page {
    padding: var(--space-lg) var(--space-md);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .legal-page h1 {
    font-size: 2rem;
    padding-bottom: var(--space-sm);
  }

  .legal-page h1::after {
    display: none;
  }

  .legal-page h2 {
    font-size: 1.5rem;
    padding-left: var(--space-md);
    margin-top: var(--space-xl);
  }

  .legal-page h2::after {
    display: none;
  }

  .legal-page p {
    font-size: 1rem;
  }

  .legal-page ul {
    margin-left: var(--space-md);
    padding-left: var(--space-sm);
  }

  table th,
  table td {
    padding: var(--space-sm);
    font-size: 0.85rem;
  }

  .home-button {
    width: 100%;
    justify-content: center;
  }

  .hero-content {
    padding: var(--space-md);
  }

  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }

  .privacy-popup-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .privacy-popup-buttons .btn {
    width: 100%;
  }
}

