:root {
  --primary: #E5989B;
  --secondary: #B5838D;
  --accent: #6D6875;
  --background: #F7F7F7;
  --text: #333333;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  font-size: clamp(0.875rem, 2vw, 1rem);
  margin-bottom: var(--space-sm);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

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(--background);
  z-index: 1000;
  transition: transform var(--transition-base);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: var(--space-xs);
}

.nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  align-items: center;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 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;
  color: white;
  padding: var(--space-lg);
  max-width: 800px;
}

.hero-content h1 {
  color: white;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: white;
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--accent);
  color: white;
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.asymmetric-layout {
  position: relative;
  padding: var(--space-xl) 0;
}

.asymmetric-section {
  margin-bottom: var(--space-xl);
  position: relative;
}

.asymmetric-section:nth-child(odd) {
  margin-left: 5%;
  transform: rotate(-0.5deg);
}

.asymmetric-section:nth-child(even) {
  margin-right: 5%;
  transform: rotate(0.5deg);
}

.overlap-element {
  position: relative;
  z-index: 1;
  margin-top: -50px;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.product-list {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.product-card {
  display: flex;
  gap: var(--space-md);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(5px);
}

.product-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.product-info {
  flex: 1;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: var(--space-sm);
}

.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.footer {
  background: var(--accent);
  color: white;
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.875rem;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.map-container {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  margin: var(--space-md);
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.angle-section {
  transform: skewY(-1deg);
  padding: var(--space-xl) 0;
  background: white;
  margin: var(--space-xl) 0;
}

.angle-section > * {
  transform: skewY(1deg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    display: none;
    gap: var(--space-sm);
  }

  .nav.active {
    display: flex;
  }

  .asymmetric-section:nth-child(odd),
  .asymmetric-section:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  .product-card {
    flex-direction: column;
  }

  .product-img {
    width: 100%;
    height: 200px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 2.5rem;
  }

  .hero {
    min-height: 70vh;
  }

  .container {
    padding: 0 var(--space-sm);
  }
}

@media (max-width: 480px) {
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  [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*="display: grid"] {
    gap: var(--space-md) !important;
  }

  [style*="min-height: 600px"],
  [style*="min-height: 700px"] {
    min-height: auto !important;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 13px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

  :root {
    --space-xs: 0.375rem;
    --space-sm: 0.625rem;
    --space-md: 0.875rem;
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
  }

  * {
    box-sizing: border-box;
  }

  body {
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-x: hidden;
  }

  h1 {
    font-size: clamp(1.5rem, 10vw, 2.25rem) !important;
    line-height: 1.1 !important;
    margin-bottom: var(--space-sm) !important;
    word-break: break-word;
  }

  h2 {
    font-size: clamp(1.375rem, 8vw, 1.875rem) !important;
    line-height: 1.2 !important;
    margin-bottom: var(--space-sm) !important;
    word-break: break-word;
  }

  h3 {
    font-size: clamp(1.125rem, 6vw, 1.375rem) !important;
    line-height: 1.3 !important;
  }

  h4, h5, h6 {
    font-size: clamp(1rem, 5vw, 1.125rem) !important;
  }

  p {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
    margin-bottom: var(--space-sm) !important;
    word-wrap: break-word;
  }

  a {
    word-break: break-word;
  }

  .btn {
    padding: var(--space-xs) var(--space-md) !important;
    font-size: 0.8125rem !important;
    min-width: auto !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    margin: var(--space-xs) 0 !important;
    white-space: normal !important;
    word-break: break-word;
  }

  .btn + .btn {
    margin-top: var(--space-sm) !important;
  }

  .container {
    padding: 0 var(--space-sm) !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .header {
    padding: var(--space-sm) 0 !important;
  }

  .header-content {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .logo {
    font-size: 0.9375rem !important;
    line-height: 1.2 !important;
  }

  .nav-toggle {
    font-size: 1.125rem !important;
    padding: var(--space-xs) !important;
    min-width: 32px;
    min-height: 32px;
  }

  .nav {
    width: 100% !important;
    padding: var(--space-md) !important;
    gap: var(--space-xs) !important;
  }

  .nav a {
    font-size: 0.8125rem !important;
    padding: var(--space-xs) 0 !important;
    display: block !important;
  }

  [style*="padding: var(--space-xl)"] {
    padding: var(--space-md) !important;
  }

  [style*="padding: var(--space-lg)"] {
    padding: var(--space-md) !important;
  }

  [style*="font-size: clamp"] {
    font-size: clamp(0.8125rem, 5vw, 0.9375rem) !important;
  }

  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }

  [style*="display: grid"] {
    gap: var(--space-md) !important;
    grid-template-columns: 1fr !important;
  }

  [style*="display: flex"] {
    justify-content: center;
    gap: var(--space-sm) !important;
    flex-wrap: wrap !important;
  }

  [style*="min-height: 90vh"],
  [style*="min-height: 100vh"],
  [style*="min-height: 75vh"],
  [style*="min-height: 70vh"],
  [style*="min-height: 65vh"],
  [style*="min-height: 60vh"],
  [style*="min-height: 600px"],
  [style*="min-height: 700px"],
  [style*="min-height: 500px"],
  [style*="min-height: 400px"] {
    min-height: auto !important;
    padding: var(--space-md) 0 !important;
  }

  [style*="width: 200px"],
  [style*="width: 120px"],
  [style*="width: 100px"],
  [style*="width: 90px"],
  [style*="width: 80px"],
  [style*="width: 60px"] {
    width: 50px !important;
  }

  [style*="height: 200px"],
  [style*="height: 120px"],
  [style*="height: 100px"],
  [style*="height: 80px"],
  [style*="height: 60px"] {
    height: 50px !important;
  }

  [style*="font-size: 6rem"],
  [style*="font-size: 5rem"],
  [style*="font-size: 5.5rem"],
  [style*="font-size: 4rem"],
  [style*="font-size: 4.5rem"] {
    font-size: 2.5rem !important;
  }

  [style*="font-size: 3rem"],
  [style*="font-size: 3.5rem"] {
    font-size: 2rem !important;
  }

  [style*="font-size: 2rem"],
  [style*="font-size: 2.5rem"] {
    font-size: 1.375rem !important;
  }

  [style*="font-size: 1.75rem"] {
    font-size: 1.125rem !important;
  }

  [style*="font-size: 1.5rem"],
  [style*="font-size: 1.375rem"] {
    font-size: 1rem !important;
  }

  [style*="font-size: 1.25rem"] {
    font-size: 0.9375rem !important;
  }

  [style*="font-size: 1.125rem"] {
    font-size: 0.875rem !important;
  }

  [style*="font-size: 1rem"] {
    font-size: 0.8125rem !important;
  }

  .hero {
    min-height: 50vh !important;
  }

  .hero-content {
    padding: var(--space-md) !important;
    text-align: center !important;
  }

  [style*="max-width: 1200px"],
  [style*="max-width: 1400px"],
  [style*="max-width: 900px"],
  [style*="max-width: 800px"],
  [style*="max-width: 700px"],
  [style*="max-width: 600px"],
  [style*="max-width: 550px"],
  [style*="max-width: 500px"] {
    max-width: 100% !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }

  .map-container {
    margin: var(--space-md) 0 !important;
  }

  .map-container iframe {
    height: 250px !important;
    width: 100% !important;
  }

  .card {
    padding: var(--space-md) !important;
    margin: var(--space-sm) 0 !important;
  }

  .product-card {
    flex-direction: column !important;
    padding: var(--space-md) !important;
  }

  .product-img {
    width: 100% !important;
    height: 200px !important;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.875rem !important;
    padding: var(--space-sm) !important;
  }

  .footer {
    padding: var(--space-md) 0 !important;
    font-size: 0.6875rem !important;
  }

  .footer-links {
    gap: var(--space-xs) !important;
    font-size: 0.6875rem !important;
    flex-wrap: wrap !important;
  }

  .footer-links a {
    padding: var(--space-xs) !important;
    display: inline-block !important;
  }

  .modal-content {
    padding: var(--space-md) !important;
    margin: var(--space-sm) !important;
    max-width: calc(100% - var(--space-md) * 2) !important;
    max-height: 85vh !important;
  }

  [style*="letter-spacing: 0.4em"],
  [style*="letter-spacing: 0.3em"],
  [style*="letter-spacing: 0.2em"] {
    font-size: 0.625rem !important;
    letter-spacing: 0.1em !important;
  }

  [style*="text-align: center"] {
    text-align: center !important;
  }

  [style*="opacity"] {
    opacity: 1 !important;
  }

  .section {
    padding: var(--space-lg) 0 !important;
  }

  [style*="gap: var(--space-xl)"] {
    gap: var(--space-md) !important;
  }

  [style*="gap: var(--space-lg)"] {
    gap: var(--space-md) !important;
  }

  [style*="margin-bottom: var(--space-xl)"] {
    margin-bottom: var(--space-md) !important;
  }

  [style*="margin-bottom: var(--space-lg)"] {
    margin-bottom: var(--space-md) !important;
  }

  [style*="margin-top: var(--space-xl)"] {
    margin-top: var(--space-md) !important;
  }

  [style*="margin-top: var(--space-lg)"] {
    margin-top: var(--space-md) !important;
  }

  table {
    font-size: 0.75rem !important;
    width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
  }

  input[type="checkbox"],
  input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    margin-right: var(--space-xs) !important;
  }
}

