:root {
  --color-dark: #1E1E2F;
  --color-teal: #4ECDC4;
  --color-coral: #FF6B6B;
  --color-white: #F7FFF7;
  --color-yellow: #FFE66D;
  --color-gold: #D4AF37;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  --space-xxxl: 4rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 2px 4px rgba(30, 30, 47, 0.1);
  --shadow-md: 0 4px 8px rgba(30, 30, 47, 0.15);
  --shadow-lg: 0 8px 16px rgba(30, 30, 47, 0.2);
  --shadow-luxury: 0 20px 60px rgba(30, 30, 47, 0.3), 0 0 40px rgba(78, 205, 196, 0.1);
  --shadow-glow: 0 0 30px rgba(78, 205, 196, 0.4);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-luxury: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  position: relative;
  padding: var(--space-md) 0;
  background: var(--color-white);
  z-index: 1000;
  transition: transform var(--transition-base);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-dark);
  letter-spacing: 0.1em;
  position: relative;
  transition: all var(--transition-luxury);
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  transition: width var(--transition-luxury);
}

.logo:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-dark);
  cursor: pointer;
  padding: var(--space-xs);
}

.nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width var(--transition-base);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark) 0%, #2a2a3f 50%, var(--color-dark) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-canvas {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: var(--space-xl);
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: var(--space-md);
  opacity: 1;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
  letter-spacing: 0.15em;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  opacity: 1;
}

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xxl);
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-coral) 100%);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  opacity: 1;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.btn:hover {
  box-shadow: var(--shadow-luxury);
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-teal) 100%);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
}

.btn-secondary:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-dark);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-teal);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(78, 205, 196, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
  opacity: 0;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  box-shadow: var(--shadow-luxury);
  border-color: var(--color-teal);
}

.card:hover::before {
  opacity: 1;
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  filter: brightness(0.95);
}

.card:hover .card-image {
  filter: brightness(1.1);
}

.card-title {
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.card-price {
  font-size: 1.25rem;
  color: var(--color-coral);
  font-weight: 600;
  margin-top: var(--space-sm);
}

.asymmetric-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.asymmetric-item {
  position: relative;
  padding: var(--space-xxl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(78, 205, 196, 0.1);
  overflow: hidden;
}

.asymmetric-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.asymmetric-item:hover {
  box-shadow: var(--shadow-luxury);
  border-color: var(--color-teal);
}

.asymmetric-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 10%;
}

.asymmetric-item:nth-child(even) {
  margin-left: 10%;
  margin-right: 0;
}

.asymmetric-item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 60px;
  height: 60px;
  background: var(--color-yellow);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.asymmetric-item:nth-child(even)::before {
  left: auto;
  right: -10px;
  background: var(--color-teal);
}

.contact-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2a2a3f 50%, var(--color-dark) 100%);
  color: var(--color-white);
  padding: var(--space-xxxl) 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-teal) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.15;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-coral) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  position: relative;
  z-index: 1;
}

.contact-info h3 {
  margin-bottom: var(--space-lg);
}

.contact-info p {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-form {
  background: rgba(247, 255, 247, 0.08);
  padding: var(--space-xxl);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(78, 205, 196, 0.2);
  box-shadow: var(--shadow-luxury);
}

.contact-form:hover {
  background: rgba(247, 255, 247, 0.12);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-glow);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid rgba(247, 255, 247, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(247, 255, 247, 0.05);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  background: rgba(247, 255, 247, 0.1);
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.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;
}

.checkbox-group label {
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.75rem;
}

.footer p {
  margin-bottom: var(--space-xs);
}

.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;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 47, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.popup-content {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  margin: var(--space-md);
  box-shadow: var(--shadow-lg);
}

.popup-content h2 {
  margin-bottom: var(--space-md);
}

.popup-content p {
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

.popup-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page h1 {
  font-size: 6rem;
  color: var(--color-coral);
  margin-bottom: var(--space-md);
}

.error-page p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.thank-you-page h1 {
  font-size: 3rem;
  color: var(--color-teal);
  margin-bottom: var(--space-md);
}

.thank-you-page p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.animate-on-scroll {
  opacity: 1;
  transform: none;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
    z-index: 9999;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .asymmetric-item:nth-child(odd),
  .asymmetric-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  section[style*="grid-template-columns: repeat(12"] {
    display: block !important;
  }

  section[style*="grid-template-columns: repeat(12"] > div {
    margin-bottom: var(--space-lg) !important;
  }

  section[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 1.5fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: repeat(3, 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: repeat(4, 1fr"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  section[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.75rem;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .card {
    padding: var(--space-md);
  }

  .card-image {
    height: 180px;
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .asymmetric-item {
    padding: var(--space-lg);
  }

  .popup-content {
    padding: var(--space-lg);
    margin: var(--space-sm);
  }

  .popup-buttons {
    flex-direction: column;
  }

  .popup-buttons .btn {
    width: 100%;
  }

  .error-page h1 {
    font-size: 4rem;
  }

  .thank-you-page h1 {
    font-size: 2rem;
  }

  .map-container iframe {
    height: 300px;
  }

  section[style*="grid-template-columns: repeat(4, 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 0.875rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: var(--space-sm);
  }

  .card-title {
    font-size: 1.125rem;
  }

  .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.7rem;
  }

  .contact-form {
    padding: var(--space-md);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-xs);
    font-size: 0.8rem;
  }

  .asymmetric-item {
    padding: var(--space-md);
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .asymmetric-item::before {
    width: 40px;
    height: 40px;
    top: -5px;
    left: -5px;
  }

  .asymmetric-item:nth-child(even)::before {
    right: -5px;
    left: auto;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .container {
    padding: 0 var(--space-xs);
  }

  .header {
    padding: var(--space-xs) 0;
  }

  .logo {
    font-size: 1.125rem;
    letter-spacing: 0.05em;
  }

  .nav-toggle {
    font-size: 1.25rem;
    padding: var(--space-xs);
  }

  .nav {
    width: 100%;
    max-width: 100%;
    padding: var(--space-lg) var(--space-md);
  }

  .nav a {
    font-size: 0.875rem;
    padding: var(--space-xs) 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: var(--space-md);
  }

  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
  }

  .hero-content p {
    font-size: 0.75rem;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
  }

  .hero-content > div[style*="display: inline-block"] {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: var(--space-md) !important;
    letter-spacing: 0.15em !important;
  }

  .hero-content > div[style*="display: flex"][style*="gap: var(--space-md)"] {
    flex-direction: column !important;
    gap: var(--space-sm) !important;
    margin-bottom: var(--space-lg) !important;
    width: 100% !important;
  }

  .hero-content > div[style*="display: flex"][style*="gap: var(--space-md)"] .btn {
    width: 100% !important;
    text-align: center !important;
    padding: var(--space-sm) var(--space-md) !important;
  }

  .hero-content > div[style*="display: grid"][style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
    margin-top: var(--space-lg) !important;
    max-width: 100% !important;
  }

  .hero-content > div[style*="display: grid"] > div[style*="text-align: center"] > div[style*="font-size: 2.5rem"] {
    font-size: 1.75rem !important;
  }

  .hero-content > div[style*="display: grid"] > div[style*="text-align: center"] > div[style*="font-size: 0.75rem"] {
    font-size: 0.65rem !important;
  }

  .hero-content p[style*="max-width: 800px"],
  .hero-content p[style*="max-width: 700px"] {
    max-width: 100% !important;
    padding: 0 var(--space-xs) !important;
  }

  .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .section-title {
    margin-bottom: var(--space-lg);
  }

  .section-title h2 {
    font-size: 1.375rem;
    padding-bottom: var(--space-xs);
  }

  .section-title h2::after {
    width: 40px;
    height: 2px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }

  .card {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
  }

  .card-image {
    height: 150px;
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .card p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .card-price {
    font-size: 1rem;
    margin-top: var(--space-xs);
  }

  .asymmetric-item {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .asymmetric-item h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
  }

  .asymmetric-item p {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
  }

  .asymmetric-item::before {
    width: 30px;
    height: 30px;
    top: -5px;
    left: -5px;
  }

  .contact-section {
    padding: var(--space-xl) 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
  }

  .contact-info h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
  }

  .contact-info p {
    font-size: 0.75rem;
    margin-bottom: var(--space-sm);
  }

  .contact-form {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
  }

  .form-group {
    margin-bottom: var(--space-sm);
  }

  .form-group label {
    font-size: 0.7rem;
    margin-bottom: var(--space-xs);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-xs);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
  }

  .form-group textarea {
    min-height: 80px;
  }

  .checkbox-group {
    margin-top: var(--space-sm);
  }

  .checkbox-group label {
    font-size: 0.65rem;
  }

  .map-container {
    margin-top: var(--space-lg);
    border-radius: var(--radius-md);
  }

  .map-container iframe {
    height: 250px;
  }

  .footer {
    padding: var(--space-md) 0;
  }

  .footer p {
    font-size: 0.65rem;
    margin-bottom: var(--space-xs);
    line-height: 1.5;
  }

  .footer a {
    font-size: 0.65rem;
  }

  .popup-overlay {
    padding: var(--space-sm);
  }

  .popup-content {
    padding: var(--space-md);
    margin: var(--space-xs);
    max-width: calc(100% - var(--space-md));
    border-radius: var(--radius-md);
  }

  .popup-content h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
  }

  .popup-content p {
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
  }

  .popup-buttons {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }

  .popup-buttons .btn {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
  }

  .error-page {
    padding: var(--space-lg);
    min-height: 70vh;
  }

  .error-page h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
  }

  .error-page p {
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
  }

  .thank-you-page {
    padding: var(--space-lg);
    min-height: 70vh;
  }

  .thank-you-page h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
  }

  .thank-you-page p {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    line-height: 1.6;
  }

  .error-page .card,
  .thank-you-page .card {
    padding: var(--space-sm);
  }

  .error-page .card i,
  .thank-you-page .card i {
    font-size: 1.5rem;
  }

  .error-page .card h3,
  .thank-you-page .card h3 {
    font-size: 1rem;
  }

  .error-page .card p,
  .thank-you-page .card p {
    font-size: 0.7rem;
  }

  section[style*="grid-template-columns: 250px 1fr 250px"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 250px 1fr 250px"] > div:first-child,
  section[style*="grid-template-columns: 250px 1fr 250px"] > div:last-child {
    position: static !important;
    margin-bottom: var(--space-lg);
  }

  section[style*="clip-path"] {
    clip-path: none !important;
  }

  section[style*="clip-path"] > div {
    background: var(--color-dark) !important;
    width: 100% !important;
  }

  section[style*="clip-path"] > div:last-child {
    background: var(--color-white) !important;
  }

  section[style*="display: grid"][style*="grid-template-columns: repeat(12"] {
    display: block !important;
  }

  section[style*="grid-template-columns: repeat(12"] > div {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    margin-bottom: var(--space-md) !important;
  }

  section[style*="grid-template-columns: repeat(6"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-rows: repeat(6"] {
    grid-template-rows: auto !important;
  }

  section[style*="min-height: 95vh"] {
    min-height: 70vh !important;
  }

  section[style*="min-height: 85vh"] {
    min-height: auto !important;
    padding: var(--space-xl) 0 !important;
  }

  section[style*="min-height: 90vh"] {
    min-height: auto !important;
    padding: var(--space-xl) 0 !important;
  }

  section[style*="min-height: 80vh"] {
    min-height: auto !important;
    padding: var(--space-xl) 0 !important;
  }

  section[style*="min-height: 70vh"] {
    min-height: auto !important;
    padding: var(--space-xl) 0 !important;
  }

  section[style*="min-height: 60vh"] {
    min-height: auto !important;
    padding: var(--space-xl) 0 !important;
  }

  h1[style*="font-size: 5rem"],
  h1[style*="font-size: 5.5rem"] {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  h2[style*="font-size: 4rem"],
  h2[style*="font-size: 3.5rem"] {
    font-size: 1.75rem !important;
  }

  h2[style*="font-size: 2.5rem"] {
    font-size: 1.5rem !important;
  }

  section[style*="position: sticky"] {
    position: static !important;
  }

  div[style*="position: sticky"] {
    position: static !important;
  }

  div[style*="width: 300px"][style*="height: 300px"] {
    width: 200px !important;
    height: 200px !important;
  }

  div[style*="width: 200px"][style*="height: 200px"] {
    width: 150px !important;
    height: 150px !important;
  }

  div[style*="width: 100px"][style*="height: 100px"] {
    width: 80px !important;
    height: 80px !important;
  }

  div[style*="width: 80px"][style*="height: 80px"] {
    width: 60px !important;
    height: 60px !important;
  }

  div[style*="width: 60px"][style*="height: 60px"] {
    width: 50px !important;
    height: 50px !important;
  }

  div[style*="font-size: 5rem"] {
    font-size: 2.5rem !important;
  }

  div[style*="font-size: 4rem"] {
    font-size: 2rem !important;
  }

  div[style*="font-size: 3.5rem"] {
    font-size: 1.75rem !important;
  }

  div[style*="font-size: 3rem"] {
    font-size: 1.5rem !important;
  }

  div[style*="font-size: 2.5rem"] {
    font-size: 1.25rem !important;
  }

  div[style*="font-size: 12rem"] {
    font-size: 5rem !important;
  }

  div[style*="font-size: 6rem"] {
    font-size: 3rem !important;
  }

  p[style*="font-size: 1.5rem"],
  p[style*="font-size: 1.25rem"] {
    font-size: 1rem !important;
  }

  div[style*="padding: var(--space-xxxl)"] {
    padding: var(--space-xl) !important;
  }

  div[style*="padding: var(--space-xxl)"] {
    padding: var(--space-lg) !important;
  }

  div[style*="gap: var(--space-xxl)"] {
    gap: var(--space-md) !important;
  }

  div[style*="gap: var(--space-xl)"] {
    gap: var(--space-md) !important;
  }

  div[style*="margin-bottom: var(--space-xxxl)"] {
    margin-bottom: var(--space-xl) !important;
  }

  div[style*="margin-bottom: var(--space-xxl)"] {
    margin-bottom: var(--space-lg) !important;
  }

  div[style*="max-width: 900px"],
  div[style*="max-width: 800px"],
  div[style*="max-width: 700px"],
  div[style*="max-width: 600px"],
  div[style*="max-width: 500px"] {
    max-width: 100% !important;
  }

  section[style*="grid-template-columns: 200px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 200px 1fr"] > div:first-child {
    position: static !important;
    margin-bottom: var(--space-lg);
  }

  div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: 1.5fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="display: flex"][style*="flex-direction: column"] {
    flex-direction: column !important;
  }

  div[style*="display: flex"][style*="gap: var(--space-xl)"] {
    flex-wrap: wrap !important;
  }

  div[style*="position: absolute"][style*="top: -30px"],
  div[style*="position: absolute"][style*="top: -20px"],
  div[style*="position: absolute"][style*="bottom: -30px"],
  div[style*="position: absolute"][style*="bottom: -20px"] {
    display: none !important;
  }

  div[style*="width: 150px"][style*="height: 150px"] {
    width: 100px !important;
    height: 100px !important;
  }

  div[style*="width: 120px"][style*="height: 120px"] {
    width: 80px !important;
    height: 80px !important;
  }

  div[style*="width: 90px"][style*="height: 90px"] {
    width: 70px !important;
    height: 70px !important;
  }

  i[style*="font-size: 4rem"],
  i[style*="font-size: 3rem"] {
    font-size: 2rem !important;
  }

  i[style*="font-size: 2.5rem"] {
    font-size: 1.5rem !important;
  }

  i[style*="font-size: 2rem"] {
    font-size: 1.25rem !important;
  }

  div[style*="font-size: 15rem"] {
    font-size: 6rem !important;
  }

  section[style*="repeating-conic-gradient"],
  section[style*="repeating-linear-gradient"] {
    background: transparent !important;
  }

  section[style*="background: repeating-conic-gradient"],
  section[style*="background: repeating-linear-gradient"] {
    background: transparent !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-md) !important;
  }

  div[style*="display: flex"][style*="gap: var(--space-md)"][style*="flex-wrap"] {
    flex-direction: column !important;
    gap: var(--space-sm) !important;
  }

  div[style*="display: flex"][style*="gap: var(--space-md)"][style*="flex-wrap"] > * {
    width: 100% !important;
  }

  div[style*="margin-bottom: 50px"] {
    margin-bottom: var(--space-xl) !important;
  }

  div[style*="margin-top: var(--space-xxl)"] {
    margin-top: var(--space-lg) !important;
  }

  img[style*="height: 500px"],
  img[style*="height: 600px"] {
    height: 250px !important;
  }

  img[style*="height: 400px"] {
    height: 200px !important;
  }

  img[style*="height: 300px"] {
    height: 180px !important;
  }

  h3[style*="font-size: 2.5rem"] {
    font-size: 1.5rem !important;
  }

  h3[style*="font-size: 1.75rem"] {
    font-size: 1.25rem !important;
  }

  p[style*="font-size: 1.125rem"] {
    font-size: 0.875rem !important;
  }

  div[style*="font-size: 0.75rem"][style*="letter-spacing: 0.2em"] {
    font-size: 0.6rem !important;
    padding: 0.35rem 0.75rem !important;
  }

  /* Decor page specific responsive rules */
  section[style*="min-height: 80vh"][style*="grid-template-columns: 1fr 1fr"] > div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  section[style*="min-height: 80vh"] h1[style*="font-size: 5rem"] {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: var(--space-md) !important;
  }

  section[style*="min-height: 80vh"] p[style*="font-size: 1.25rem"] {
    font-size: 0.875rem !important;
    margin-bottom: var(--space-lg) !important;
  }

  div[style*="position: absolute"][style*="bottom: -30px"][style*="left: -30px"] {
    position: static !important;
    margin-top: var(--space-md) !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  div[style*="font-size: 3rem"][style*="color: var(--color-teal)"] {
    font-size: 2rem !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: repeat(12, 1fr)"][style*="grid-template-rows: repeat(6, 150px)"] {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: var(--space-md) !important;
  }

  div[style*="grid-column: 1 / 5"],
  div[style*="grid-column: 5 / 9"],
  div[style*="grid-column: 9 / 13"],
  div[style*="grid-column: 1 / 4"],
  div[style*="grid-column: 4 / 7"],
  div[style*="grid-column: 7 / 13"] {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  div[style*="grid-row: 1 / 3"],
  div[style*="grid-row: 1 / 4"],
  div[style*="grid-row: 1 / 2"],
  div[style*="grid-row: 3 / 5"],
  div[style*="grid-row: 3 / 6"],
  div[style*="grid-row: 4 / 6"],
  div[style*="grid-row: 2 / 4"] {
    grid-row: auto !important;
  }

  div[style*="grid-column: 1 / 5"] i[style*="font-size: 3rem"],
  div[style*="grid-column: 5 / 9"] i[style*="font-size: 3rem"],
  div[style*="grid-column: 7 / 13"] i[style*="font-size: 3rem"] {
    font-size: 2rem !important;
  }

  div[style*="grid-column: 1 / 4"] i[style*="font-size: 2.5rem"],
  div[style*="grid-column: 9 / 13"] i[style*="font-size: 2.5rem"] {
    font-size: 1.5rem !important;
  }

  div[style*="grid-column: 5 / 9"] h3[style*="font-size: 2.5rem"],
  div[style*="grid-column: 4 / 7"] h3[style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  div[style*="grid-column: 7 / 13"][style*="display: flex"][style*="gap: var(--space-xl)"] {
    flex-direction: column !important;
    gap: var(--space-md) !important;
  }

  div[style*="grid-column: 7 / 13"] div[style*="flex: 1"] {
    flex: none !important;
  }

  div[style*="grid-column: 9 / 13"][style*="grid-row: 1 / 2"] {
    padding: var(--space-md) !important;
  }

  div[style*="grid-column: 9 / 13"] div[style*="font-size: 2.5rem"][style*="font-weight: bold"] {
    font-size: 1.75rem !important;
  }

  section[style*="padding: var(--space-xxxl) 0"][style*="background: var(--color-white)"] > div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  div[style*="position: absolute"][style*="top: 50%"][style*="left: 50%"] {
    position: static !important;
    transform: none !important;
    margin-top: var(--space-md) !important;
    margin-left: 0 !important;
    min-width: auto !important;
    width: 100% !important;
  }

  div[style*="position: absolute"][style*="top: 50%"] div[style*="font-size: 2.5rem"] {
    font-size: 1.75rem !important;
  }

  div[style*="position: absolute"][style*="top: -50px"][style*="right: -50px"] {
    display: none !important;
  }

  div[style*="width: 50px"][style*="height: 50px"] {
    width: 40px !important;
    height: 40px !important;
  }

  div[style*="width: 50px"] i {
    font-size: 0.875rem !important;
  }

  h4[style*="font-size: 1.25rem"] {
    font-size: 1rem !important;
  }

  div[style*="font-size: 0.875rem"][style*="color: #666"] {
    font-size: 0.75rem !important;
  }

  section[style*="min-height: 80vh"] > div[style*="position: absolute"][style*="top: 0"] {
    display: none !important;
  }

  section[style*="min-height: 80vh"] div[style*="display: inline-block"][style*="background: var(--color-teal)"] {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: var(--space-md) !important;
  }

  div[style*="grid-column: 1 / 5"],
  div[style*="grid-column: 5 / 9"],
  div[style*="grid-column: 9 / 13"],
  div[style*="grid-column: 1 / 4"],
  div[style*="grid-column: 4 / 7"],
  div[style*="grid-column: 7 / 13"] {
    padding: var(--space-lg) !important;
  }

  div[style*="background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-coral) 100%)"] h3,
  div[style*="background: var(--color-dark)"] h3 {
    font-size: 1.5rem !important;
  }

  div[style*="background: rgba(255, 107, 107, 0.1)"] {
    padding: var(--space-md) !important;
  }

  /* Furniture page specific responsive rules */
  section[style*="padding: var(--space-xxxl) 0"][style*="background: var(--color-white)"] > div[style*="display: grid"][style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  div[style*="position: absolute"][style*="bottom: 0"][style*="left: 0"][style*="right: 0"][style*="background: linear-gradient"] {
    position: static !important;
    background: rgba(30, 30, 47, 0.95) !important;
    padding: var(--space-lg) !important;
  }

  div[style*="position: absolute"][style*="bottom: var(--space-xl)"] {
    position: static !important;
    margin-top: var(--space-md) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  section[style*="padding: var(--space-xxxl) 0"] > div[style*="display: grid"][style*="grid-template-columns: 1.5fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: repeat(2, 1fr)"][style*="gap: var(--space-lg)"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }

  div[style*="width: 80px"][style*="height: 80px"][style*="border-radius: 50%"] {
    width: 60px !important;
    height: 60px !important;
  }

  div[style*="width: 80px"] i[style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  /* Legal pages (Terms, Privacy, Return, Cookies) responsive rules */
  section[style*="min-height: 60vh"][style*="background: linear-gradient"] h1[style*="font-size: 5rem"],
  section[style*="min-height: 70vh"] h1[style*="font-size: 5rem"] {
    font-size: 2rem !important;
    margin-bottom: var(--space-md) !important;
  }

  section[style*="min-height: 60vh"] p[style*="font-size: 1.25rem"],
  section[style*="min-height: 70vh"] p[style*="font-size: 1.25rem"] {
    font-size: 0.875rem !important;
  }

  section[style*="min-height: 60vh"] > div[style*="position: absolute"][style*="width: 400px"],
  section[style*="min-height: 60vh"] > div[style*="position: absolute"][style*="width: 300px"],
  section[style*="min-height: 70vh"] > div[style*="position: absolute"] {
    display: none !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: 250px 1fr 250px"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  div[style*="position: sticky"][style*="top: 100px"] {
    position: static !important;
    margin-bottom: var(--space-lg) !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: 200px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: var(--space-xxl)"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  section[style*="min-height: 70vh"] > div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
  }

  div[style*="width: 60px"][style*="height: 60px"][style*="border-radius: 50%"] {
    width: 50px !important;
    height: 50px !important;
  }

  div[style*="width: 60px"] i[style*="font-size: 1.5rem"] {
    font-size: 1.25rem !important;
  }

  h2[style*="font-size: 2.5rem"],
  h2[style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  div[style*="width: 300px"][style*="height: 300px"][style*="margin: 0 auto"] {
    width: 200px !important;
    height: 200px !important;
  }

  div[style*="width: 200px"][style*="height: 200px"][style*="opacity: 0.3"] {
    width: 150px !important;
    height: 150px !important;
  }

  div[style*="width: 100px"][style*="height: 100px"][style*="display: flex"] {
    width: 80px !important;
    height: 80px !important;
  }

  div[style*="width: 100px"] i[style*="font-size: 3rem"] {
    font-size: 2rem !important;
  }

  div[style*="display: flex"][style*="gap: var(--space-md)"][style*="flex: 1"] {
    flex-direction: column !important;
    gap: var(--space-sm) !important;
  }

  div[style*="flex: 1"] div[style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  div[style*="display: flex"][style*="gap: var(--space-lg)"][style*="margin-top"] {
    flex-direction: column !important;
    gap: var(--space-md) !important;
  }

  div[style*="flex: 1"][style*="padding: var(--space-lg)"] {
    flex: none !important;
  }

  div[style*="font-size: 2rem"][style*="color: var(--color-teal)"],
  div[style*="font-size: 2rem"][style*="color: var(--color-coral)"] {
    font-size: 1.5rem !important;
  }

  div[style*="position: absolute"][style*="top: -30px"][style*="right: -30px"][style*="width: 100px"] {
    display: none !important;
  }

  div[style*="max-width: 900px"] {
    max-width: 100% !important;
  }

  div[style*="scroll-margin-top: 100px"] {
    scroll-margin-top: var(--space-lg) !important;
  }

  div[style*="display: flex"][style*="gap: var(--space-md)"][style*="justify-content: center"][style*="flex-wrap"] {
    flex-direction: column !important;
    gap: var(--space-sm) !important;
  }

  div[style*="display: flex"][style*="gap: var(--space-md)"][style*="justify-content: center"] > a {
    width: 100% !important;
    text-align: center !important;
    padding: var(--space-sm) var(--space-md) !important;
  }
}
