@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --carbon-black: #0F0F10;
  --night-indigo: #181C3B;
  --smoked-violet: #2A1E33;
  --pine-shadow: #162622;
  --mocha-ash: #2F2623;
  --gold-accent: #D4AF37;
  --cream: #F5E6D3;
  --white: #FFFFFF;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 2px 8px rgba(15, 15, 16, 0.1);
  --shadow-md: 0 4px 16px rgba(15, 15, 16, 0.15);
  --shadow-lg: 0 8px 32px rgba(15, 15, 16, 0.2);
  
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--carbon-black);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

a {
  color: var(--gold-accent);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: linear-gradient(180deg, rgba(15, 15, 16, 0.9) 0%, rgba(15, 15, 16, 0) 100%);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  position: fixed;
  background: rgba(15, 15, 16, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.logo:hover {
  transform: scale(1.05);
  color: var(--cream);
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  transition: width var(--transition-fast);
}

.nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 1.5rem;
  height: 2px;
  background: var(--gold-accent);
  transition: all var(--transition-fast);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.4rem, 0.4rem);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--carbon-black) 0%, var(--night-indigo) 50%, var(--smoked-violet) 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-md);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  transform: translateY(50px);
  animation: fadeInUp 1.2s var(--transition-luxury) forwards;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: var(--space-lg);
  transform: translateY(50px);
  animation: fadeInUp 1.2s var(--transition-luxury) 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--gold-accent);
  background: transparent;
  color: var(--gold-accent);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  border-radius: var(--radius-sm);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold-accent);
  transition: left var(--transition-smooth);
  z-index: -1;
}

.btn:hover {
  color: var(--carbon-black);
  border-color: var(--gold-accent);
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: var(--gold-accent);
  color: var(--carbon-black);
  border-color: var(--gold-accent);
}

.btn-primary::before {
  background: var(--cream);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: var(--gold-accent);
  margin: var(--space-md) auto 0;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: rgba(42, 30, 51, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left var(--transition-luxury);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-accent);
}

.card:hover::before {
  left: 100%;
}

.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.card-text {
  font-size: 0.85rem;
  color: rgba(245, 230, 211, 0.8);
}

.product-card {
  text-align: center;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-accent);
  margin: var(--space-sm) 0;
}

.asymmetric-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: center;
}

.asymmetric-section:nth-child(even) {
  grid-template-columns: 0.8fr 1.2fr;
}

.asymmetric-section:nth-child(even) .asymmetric-content {
  order: 2;
}

.asymmetric-section:nth-child(even) .asymmetric-image {
  order: 1;
}

.asymmetric-image {
  position: relative;
  transform: rotate(-3deg);
  transition: transform var(--transition-luxury);
}

.asymmetric-image:hover {
  transform: rotate(0deg) scale(1.05);
}

.asymmetric-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-section {
  background: linear-gradient(135deg, var(--night-indigo) 0%, var(--smoked-violet) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: rgba(15, 15, 16, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  color: var(--cream);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: 0.8rem;
}

.form-checkbox input {
  margin-top: 0.2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item i {
  color: var(--gold-accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(245, 230, 211, 0.6);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(245, 230, 211, 0.6);
}

.footer-links a:hover {
  color: var(--gold-accent);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 16, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--night-indigo);
  border: 1px solid var(--gold-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 600px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 1.5rem;
  color: var(--gold-accent);
  cursor: pointer;
  background: none;
  border: none;
  transition: transform var(--transition-fast);
}

.modal-close:hover {
  transform: rotate(90deg);
}

.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 700px;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--gold-accent);
  margin-bottom: var(--space-md);
  animation: scaleIn 0.6s var(--transition-luxury);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-size: 10rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.parallax-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s ease-out;
}

.fade-in {
  transform: translateY(30px);
  transition: all var(--transition-luxury);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  transform: translateX(-50px);
  transition: all var(--transition-luxury);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  transform: translateX(50px);
  transition: all var(--transition-luxury);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .asymmetric-section {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-section:nth-child(even) .asymmetric-content,
  .asymmetric-section:nth-child(even) .asymmetric-image {
    order: 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(15, 15, 16, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--gold-accent);
  }
  
  .nav.active {
    right: 0;
  }
  
  .burger {
    display: flex;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
  }
  
  .card-img {
    height: 200px;
  }
}

@media (max-width: 320px) {
  /* Enhanced root variables for 320px */
  :root {
    --space-xs: 0.35rem;
    --space-sm: 0.65rem;
    --space-md: 0.75rem;
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
  }
  
  /* Base typography optimization */
  html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  body {
    font-size: 0.8rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Prevent horizontal scroll */
  * {
    max-width: 100%;
  }
  
  /* Better text selection */
  ::selection {
    background: var(--gold-accent);
    color: var(--carbon-black);
  }
  
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  
  /* Container optimization */
  .container {
    padding: 0 0.75rem;
    width: 100%;
    max-width: 100%;
  }
  
  /* Header optimization */
  .header {
    padding: 0.65rem 0;
    position: fixed;
    width: 100%;
  }
  
  .header.scrolled {
    padding: 0.45rem 0;
  }
  
  .header-content {
    padding: 0 0.5rem;
  }
  
  .logo {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
  }
  
  .nav {
    width: 90%;
    max-width: 280px;
    padding: 1.25rem 1rem;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav a {
    font-size: 0.7rem;
    padding: 0.65rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    word-break: break-word;
  }
  
  .burger {
    width: 24px;
    height: 24px;
    padding: 0.25rem;
  }
  
  .burger span {
    width: 1.2rem;
    height: 2px;
  }
  
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }
  
  /* Button optimization for touch */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    min-width: 120px;
    min-height: 44px;
    text-align: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-primary {
    padding: 0.8rem 1.5rem;
    min-height: 44px;
  }
  
  /* Full-width buttons on small screens */
  .product-card .btn,
  .card .btn {
    width: 100%;
    margin-top: 0.75rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 1.5rem;
  }
  
  .section-title::after {
    width: 60px;
    margin-top: 0.75rem;
  }
  
  .grid {
    gap: 1rem;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card {
    padding: 1rem;
    border-radius: 0.5rem;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .card-text {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  
  .card-img {
    height: 180px;
    margin-bottom: 0.75rem;
  }
  
  .product-price {
    font-size: 1.5rem;
    margin: 0.75rem 0;
  }
  
  .asymmetric-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .asymmetric-section:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-section:nth-child(even) .asymmetric-content,
  .asymmetric-section:nth-child(even) .asymmetric-image {
    order: 0;
  }
  
  .asymmetric-image {
    transform: rotate(0deg);
  }
  
  .asymmetric-image:hover {
    transform: scale(1.02);
  }
  
  .contact-section {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Form optimization for mobile */
  .form-group {
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .form-label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    display: block;
    width: 100%;
  }
  
  .form-input,
  .form-textarea {
    padding: 0.75rem;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 0.25rem;
    width: 100%;
    min-height: 44px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
  }
  
  .form-textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .form-checkbox {
    font-size: 0.7rem;
    gap: 0.5rem;
    min-height: 44px;
    align-items: flex-start;
  }
  
  .form-checkbox input[type="checkbox"] {
    min-width: 18px;
    min-height: 18px;
    margin-top: 0.15rem;
  }
  
  .contact-info {
    gap: 1rem;
  }
  
  .contact-item {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .contact-item i {
    font-size: 1rem;
  }
  
  .contact-item h4 {
    font-size: 0.95rem;
  }
  
  .contact-item p {
    font-size: 0.75rem;
  }
  
  .map-container {
    height: 250px;
    margin-top: 1rem;
    border-radius: 0.5rem;
  }
  
  .footer {
    padding: 1.5rem 0;
    font-size: 0.7rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .footer-links a {
    font-size: 0.7rem;
    display: block;
    padding: 0.25rem 0;
  }
  
  /* Modal optimization */
  .modal {
    padding: 0.5rem;
  }
  
  .modal-content {
    padding: 1.25rem;
    width: calc(100% - 1rem);
    max-width: 100%;
    margin: 0.5rem auto;
    border-radius: 0.75rem;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .modal p {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  
  .modal .btn {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .thank-you-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .thank-you-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }
  
  .error-code {
    font-size: 6rem;
    margin-bottom: 0.75rem;
  }
  
  .parallax-section {
    min-height: 50vh;
    padding: 2rem 0;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  .product-card .btn {
    width: 100%;
    margin-top: 0.5rem;
  }
  
  /* Hero section specific adjustments for inline styles */
  .hero [style*="font-size: 4.5rem"] {
    font-size: 1.75rem !important;
  }
  
  .hero [style*="font-size: 3rem"] {
    font-size: 1.5rem !important;
  }
  
  .hero [style*="font-size: 1.3rem"] {
    font-size: 0.9rem !important;
  }
  
  .hero [style*="font-size: 1.4rem"] {
    font-size: 0.95rem !important;
  }
  
  .hero [style*="font-size: 1.5rem"] {
    font-size: 1rem !important;
  }
  
  .hero [style*="padding: 4rem 0"] {
    padding: 2rem 0 !important;
  }
  
  .hero [style*="padding: 2rem"] {
    padding: 1rem !important;
  }
  
  .hero [style*="gap: 2rem"] {
    gap: 1rem !important;
  }
  
  .hero [style*="gap: 4rem"] {
    gap: 1.5rem !important;
  }
  
  .hero [style*="margin-bottom: 4rem"] {
    margin-bottom: 2rem !important;
  }
  
  .hero [style*="margin-top: 4rem"] {
    margin-top: 2rem !important;
  }
  
  .hero [style*="min-height: 75vh"] {
    min-height: 60vh !important;
  }
  
  .hero [style*="min-height: 90vh"] {
    min-height: 70vh !important;
  }
  
  .hero [style*="min-height: 85vh"] {
    min-height: 65vh !important;
  }
  
  .hero [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }
  
  .hero [style*="width: 80px"] {
    width: 60px !important;
  }
  
  .hero [style*="height: 80px"] {
    height: 60px !important;
  }
  
  .hero [style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }
  
  .hero [style*="padding: 1.2rem 3rem"] {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.8rem !important;
  }
  
  .hero [style*="padding: 1rem 2.5rem"] {
    padding: 0.7rem 1.25rem !important;
    font-size: 0.75rem !important;
  }
  
  /* Ensure all cards stack properly */
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  [style*="grid-template-columns: 1.2fr 0.8fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Optimize spacing in hero cards */
  .hero [style*="padding: 2rem"] {
    padding: 1rem !important;
  }
  
  .hero [style*="margin-bottom: 1.5rem"] {
    margin-bottom: 1rem !important;
  }
  
  .hero [style*="margin-bottom: 0.5rem"] {
    margin-bottom: 0.4rem !important;
  }
  
  /* Touch-friendly interactive elements */
  a, button, .btn, input[type="submit"], input[type="button"] {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    touch-action: manipulation;
  }
  
  /* Optimize images */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Prevent image overflow */
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Better table handling */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  
  /* Optimize icons */
  i[class^="fas"], i[class^="far"], i[class^="fab"] {
    font-size: 1em;
  }
  
  /* Better link handling */
  a {
    word-break: break-word;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
  }
  
  /* Prevent text overflow */
  p, span, div, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Ensure text is readable */
  [style*="font-size: 0.95rem"] {
    font-size: 0.8rem !important;
  }
  
  [style*="font-size: 0.9rem"] {
    font-size: 0.75rem !important;
  }
  
  [style*="font-size: 1rem"] {
    font-size: 0.85rem !important;
  }
  
  /* Optimize border radius for small screens */
  [style*="border-radius: 1.5rem"] {
    border-radius: 1rem !important;
  }
  
  [style*="border-radius: 2rem"] {
    border-radius: 1.25rem !important;
  }
  
  [style*="border-radius: 50px"] {
    border-radius: 30px !important;
  }
  
  /* Additional optimizations */
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Better focus states for accessibility */
  a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
  }
  
  /* Optimize animations for performance */
  * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Better overflow handling */
  section, div[class*="section"] {
    overflow-x: hidden;
  }
  
  /* Optimize grid gaps */
  [style*="gap: 2rem"] {
    gap: 1rem !important;
  }
  
  [style*="gap: 1.5rem"] {
    gap: 0.75rem !important;
  }
  
  [style*="gap: 1rem"] {
    gap: 0.65rem !important;
  }
  
  /* Better padding for small screens */
  [style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }
  
  [style*="padding: 2.5rem"] {
    padding: 1.25rem !important;
  }
  
  [style*="padding: 2rem"] {
    padding: 1rem !important;
  }
  
  [style*="padding: 1.5rem"] {
    padding: 0.75rem !important;
  }
  
  /* Optimize margins */
  [style*="margin-bottom: 3rem"] {
    margin-bottom: 1.5rem !important;
  }
  
  [style*="margin-bottom: 2rem"] {
    margin-bottom: 1rem !important;
  }
  
  [style*="margin-top: 3rem"] {
    margin-top: 1.5rem !important;
  }
  
  [style*="margin-top: 2rem"] {
    margin-top: 1rem !important;
  }
  
  /* Better icon containers */
  [style*="width: 60px"][style*="height: 60px"],
  [style*="width: 80px"][style*="height: 80px"] {
    width: 50px !important;
    height: 50px !important;
  }
  
  /* Optimize font sizes in cards */
  [style*="font-size: 1.3rem"] {
    font-size: 1rem !important;
  }
  
  [style*="font-size: 1.2rem"] {
    font-size: 0.95rem !important;
  }
  
  [style*="font-size: 1.1rem"] {
    font-size: 0.9rem !important;
  }
  
  [style*="font-size: 1rem"] {
    font-size: 0.85rem !important;
  }
  
  /* Better text alignment for readability */
  [style*="text-align: center"] {
    text-align: center;
  }
  
  /* Optimize backdrop filters for performance */
  [style*="backdrop-filter"] {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  
  /* Better section padding */
  .section {
    padding: 1.5rem 0;
  }
  
  /* Optimize hero section padding-top for fixed header */
  section[class*="section"][style*="padding-top: 8rem"] {
    padding-top: 5rem !important;
  }
  
  /* Better footer spacing */
  .footer {
    padding: 1.25rem 0;
  }
  
  .footer-content {
    gap: 0.75rem;
  }
  
  /* Optimize contact section */
  .contact-section {
    padding: 1.25rem;
  }
  
  /* Better product card spacing */
  .product-card {
    padding: 0.875rem;
  }
  
  /* Optimize card images */
  .card-img {
    height: 160px;
    object-fit: cover;
  }
  
  /* Better price display */
  .product-price {
    font-size: 1.35rem;
  }
  
  /* Optimize asymmetric sections */
  .asymmetric-content,
  .asymmetric-image {
    padding: 0.75rem;
  }
  
  /* Better map container */
  .map-container {
    height: 200px;
  }
  
  /* Optimize thank you section */
  .thank-you-content {
    padding: 1.25rem;
  }
  
  /* Better error page */
  .error-section {
    padding: 1.5rem 0;
  }
  
  /* Prevent horizontal scroll on all elements */
  body, html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  /* Better viewport handling */
  @supports (-webkit-touch-callout: none) {
    /* iOS specific optimizations */
    body {
      -webkit-overflow-scrolling: touch;
    }
  }
}
