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

:root {
  --color-basalt: #262626;
  --color-silver: #E5E5E5;
  --color-stem: #3F4238;
  --color-iron: #171717;
  --color-flare: #FFFFFF;
  
  /* Luxury accents */
  --color-gold: #C9A962;
  --color-gold-light: #E8D9A8;
  --color-champagne: #F5E6D3;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', 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(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-flare);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: rgba(23, 23, 23, 0.85);
  backdrop-filter: blur(20px);
  transform: translateY(0);
  transition: transform var(--transition-luxury), background var(--transition-smooth);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-flare);
  letter-spacing: 0.05em;
  transition: all var(--transition-smooth);
}

.logo:hover {
  color: var(--color-stem);
  transform: translateY(-2px);
}

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

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

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

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-silver);
  transition: all var(--transition-smooth);
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== LUXURY HERO SECTIONS ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-lg) var(--space-md);
}

.hero[data-page="services"],
.hero[data-page="occasions"] {
  min-height: 60vh;
}

.hero[data-page="contact"] {
  min-height: 50vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Aurora gradient mesh - luxury animated background */
.hero-aurora {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(201, 169, 98, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(63, 66, 56, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(23, 23, 23, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-basalt) 0%, var(--color-iron) 100%);
  animation: auroraShift 12s ease-in-out infinite;
}

@keyframes auroraShift {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1.05) rotate(1deg); }
}

/* Geometric decorative shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 50%;
  animation: floatShape 20s ease-in-out infinite;
}

.hero-shape--1 { width: 400px; height: 400px; top: -10%; right: -5%; animation-delay: 0s; }
.hero-shape--2 { width: 300px; height: 300px; bottom: -5%; left: -5%; animation-delay: -5s; }
.hero-shape--3 { width: 150px; height: 150px; top: 30%; left: 10%; animation-delay: -10s; }
.hero-shape--4 { width: 200px; height: 200px; top: 60%; right: 15%; animation-delay: -7s; }

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  33% { transform: translate(20px, -15px) scale(1.05); opacity: 0.6; }
  66% { transform: translate(-15px, 10px) scale(0.95); opacity: 0.3; }
}

/* Shimmer line accent */
.hero-accent-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: var(--space-md) auto;
  animation: shimmerLine 2.5s ease-in-out infinite;
}

@keyframes shimmerLine {
  0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* Hero canvas - particle network (backward compatible) */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  transform: translateY(40px);
  opacity: 0;
  animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.4s;
}

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

.hero h1 {
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero h1 .hero-highlight {
  color: var(--color-gold);
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--color-silver);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards 1s;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards 1.2s;
  opacity: 0;
}

/* ========== PAGE-SPECIFIC HERO VARIANTS ========== */

/* Home - Split luxury with ornate reveal */
.hero[data-page="home"] .hero-content {
  animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.6s;
}

.hero[data-page="home"] .hero h1 {
  animation: titleSlideReveal 1s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.8s;
  opacity: 0;
}

@keyframes titleSlideReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero[data-page="home"] .hero-accent-line {
  width: 120px;
}

/* Services - Geometric grid overlay */
.hero[data-page="services"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 98, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Occasions - Elegant line-draw reveal */
.hero[data-page="occasions"] .hero-accent-line {
  transform-origin: center;
  animation: lineDrawScale 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.6s;
}

@keyframes lineDrawScale {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

/* Contact - Minimal shimmer focus */
.hero[data-page="contact"] .hero-aurora {
  background: 
    radial-gradient(ellipse 50% 30% at 50% 50%, rgba(201, 169, 98, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-basalt) 0%, var(--color-iron) 100%);
}

.hero[data-page="contact"] .hero-shapes {
  display: none;
}

.hero[data-page="contact"] .hero-accent-line {
  width: 60px;
  margin: var(--space-sm) auto;
}

/* Stagger animation for hero elements */
.hero-subtitle {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  animation: fadeInUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.7s;
  opacity: 0;
}

.hero-content .hero-subtitle + h1 {
  animation-delay: 0.9s;
}

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

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-stem);
  color: var(--color-flare);
  box-shadow: var(--shadow-md);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transform: translate(-50%, -50%);
  transition: width var(--transition-luxury), height var(--transition-luxury);
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-silver);
  border: 1px solid var(--color-silver);
}

.btn-secondary:hover {
  background: var(--color-silver);
  color: var(--color-basalt);
  transform: translateY(-3px);
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  transform: translateY(30px);
  transition: all var(--transition-luxury);
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-stem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--color-iron);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  transform: translateY(40px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(63,66,56,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-stem);
  margin-bottom: var(--space-sm);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-silver);
}

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

.asymmetric-content {
  position: relative;
  z-index: 2;
}

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

.asymmetric-visual:hover {
  transform: rotate(0deg) scale(1.02);
}

.overlap-container {
  position: relative;
  min-height: 400px;
}

.overlap-item {
  position: absolute;
  background: var(--color-iron);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.overlap-item:hover {
  z-index: 10;
  transform: scale(1.05);
}

.product-card {
  background: var(--color-iron);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-luxury);
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-info {
  padding: var(--space-md);
}

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

.product-price {
  font-size: 1.5rem;
  color: var(--color-stem);
  font-weight: 600;
  margin-top: var(--space-sm);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-iron);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  background: var(--color-basalt);
  border: 1px solid rgba(229,229,229,0.1);
  border-radius: var(--radius-md);
  color: var(--color-silver);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-stem);
  box-shadow: 0 0 0 3px rgba(63,66,56,0.1);
}

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

.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: 0.2rem;
}

.checkbox-group label {
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: normal;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.footer {
  background: var(--color-iron);
  padding: var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-silver);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  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:hover {
  color: var(--color-stem);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: var(--space-md);
}

.popup.active {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background: var(--color-iron);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

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

.popup-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 1.5rem;
  color: var(--color-silver);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.popup-close:hover {
  color: var(--color-flare);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.error-content h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  margin-bottom: var(--space-sm);
  color: var(--color-stem);
}

.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--color-stem);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .asymmetric-section {
    grid-template-columns: 1fr 1fr;
  }
  
  .overlap-item:nth-child(1) {
    top: 0;
    left: 0;
    width: 45%;
  }
  
  .overlap-item:nth-child(2) {
    top: 30%;
    right: 10%;
    width: 50%;
  }
  
  .overlap-item:nth-child(3) {
    bottom: 0;
    left: 20%;
    width: 40%;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora,
  .hero-shape,
  .hero-accent-line,
  .hero[data-page="services"]::before {
    animation: none;
  }
  
  .hero-content,
  .hero-subtitle,
  .hero h1,
  .hero p,
  .hero .btn {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-shape--1 { width: 200px; height: 200px; }
  .hero-shape--2 { width: 150px; height: 150px; }
  .hero-shape--3 { width: 80px; height: 80px; }
  .hero-shape--4 { width: 100px; height: 100px; }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--color-iron);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-smooth);
    padding: var(--space-lg);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a {
    font-size: 1.2rem;
  }
  
  .burger {
    display: flex;
  }
  
  .section {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .overlap-item {
    position: relative;
    width: 100%;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .header {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.75rem;
  }
}

/* Best responsive layout for 320px (small phones) */
@media (max-width: 320px) {
  html {
    font-size: 13px;
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-size: 0.85rem;
    min-width: 280px;
  }

  /* Header */
  .header {
    padding: 0.35rem 0.5rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1rem;
    letter-spacing: 0.03em;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .burger {
    width: 22px;
    height: 18px;
    min-width: 22px;
    min-height: 44px;
    padding: 13px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .burger span {
    height: 1.5px;
  }

  .nav {
    width: 85%;
    max-width: 280px;
    padding: var(--space-md) var(--space-sm);
  }

  .nav a {
    font-size: 1rem;
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero */
  .hero {
    padding: var(--space-md) 0.5rem;
    min-height: 100vh;
  }

  .hero[data-page="services"],
  .hero[data-page="occasions"] {
    min-height: 50vh;
  }

  .hero[data-page="contact"] {
    min-height: 45vh;
  }

  .hero-content {
    padding: 0 0.25rem;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    word-break: break-word;
  }

  .hero-accent-line {
    width: 50px;
    margin: 0.35rem auto;
  }

  .hero[data-page="home"] .hero-accent-line {
    width: 60px;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    padding: 0 0.25rem;
  }

  .hero .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.7rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-shape--1 { width: 120px; height: 120px; }
  .hero-shape--2 { width: 90px; height: 90px; }
  .hero-shape--3 { width: 50px; height: 50px; }
  .hero-shape--4 { width: 60px; height: 60px; }

  /* Sections & layout */
  .section {
    padding: 1.5rem 0.5rem;
  }

  .container {
    padding: 0 0.25rem;
  }

  .section-title {
    margin-bottom: var(--space-md);
  }

  .section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .grid {
    gap: 0.75rem;
    grid-template-columns: 1fr;
  }

  /* Cards */
  .card {
    padding: 0.75rem;
    border-radius: var(--radius-md);
  }

  .card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
  }

  .card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Buttons */
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    min-height: 44px;
  }

  /* Asymmetric / overlap */
  .asymmetric-section {
    gap: var(--space-md);
  }

  .overlap-container {
    min-height: auto;
  }

  .overlap-item {
    position: relative;
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
  }

  /* Product cards */
  .product-image {
    height: 200px;
  }

  .product-info {
    padding: 0.75rem;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.25rem;
  }

  /* Contact form */
  .contact-form {
    padding: 0.75rem;
    border-radius: var(--radius-md);
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.65rem;
    font-size: 16px; /* prevents zoom on focus in iOS */
    min-height: 44px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .checkbox-group label {
    font-size: 0.75rem;
  }

  /* Map */
  .map-container {
    height: 260px;
    border-radius: var(--radius-md);
  }

  /* Footer */
  .footer {
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
  }

  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Popup */
  .popup {
    padding: 0.5rem;
  }

  .popup-content {
    padding: 1rem;
    max-width: 100%;
    margin: 0 0.25rem;
  }

  .popup-close {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    right: 0;
    top: 0.25rem;
  }

  /* Error / thank you pages */
  .error-content h1 {
    font-size: 3rem;
  }

  .thankyou-icon {
    font-size: 2.5rem;
  }
}
