:root {
  --background: #faf7f2;
  --foreground: #2c2420;
  --card: #fffdf9;
  --primary: #c4715b;
  --primary-foreground: #fffaf7;
  --secondary: #e8ddd0;
  --muted: #f0ebe3;
  --muted-foreground: #6b5e56;
  --accent: #d4a574;
  --border: #e5ddd3;
  --radius: 1rem;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-sans: Inter, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

#page {
  height: 100dvh;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 2rem; height: 2rem; }

.container-narrow {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.section-padding {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section-padding { padding: 5rem 1.5rem; }
}
@media (min-width: 1024px) {
  .section-padding { padding-left: 2rem; padding-right: 2rem; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1rem;
}

@media (min-width: 768px) { .header-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding: 0 2rem; } }

.brand-link { display: flex; min-width: 0; align-items: center; gap: 0.75rem; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.brand-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-city { font-size: 0.75rem; color: var(--muted-foreground); }

.nav-desktop { display: none; align-items: center; gap: 0.125rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link, .nav-more-btn {
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-link:hover, .nav-more-btn:hover { background: var(--muted); }
.nav-link.is-active, .nav-more-btn.is-active { background: var(--secondary); color: var(--foreground); }

.nav-more { position: relative; }
.nav-more-btn { display: flex; align-items: center; gap: 0.25rem; }
.nav-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 10rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.375rem;
  box-shadow: 0 10px 30px rgb(44 36 32 / 0.08);
}
.nav-more.is-open .nav-dropdown { display: block; }
.nav-dropdown a { display: block; border-radius: 0.75rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.nav-dropdown a:hover, .nav-dropdown a.is-active { background: var(--muted); color: var(--foreground); }

.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 0.5rem; }
.phone-link { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 1280px) { .phone-link { display: flex; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 90%, black); }
.btn-outline {
  background: color-mix(in srgb, var(--background) 80%, transparent);
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--muted); }
.btn-secondary { background: var(--secondary); color: var(--foreground); }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1rem; }
.btn-md { padding: 0.65rem 1.15rem; font-size: 0.9rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; position: relative; }
.btn-full { width: 100%; }
.cart-count {
  position: absolute;
  right: -0.25rem;
  top: -0.25rem;
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.625rem;
  font-weight: 600;
}

.desktop-only { display: none; }
@media (min-width: 640px) { .desktop-cta { display: inline-flex; } .mobile-only { } }
@media (max-width: 639px) { .desktop-cta { display: none; } }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
}
.mobile-drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgb(44 36 32 / 0.35); }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(24rem, calc(100vw - 2rem));
  background: var(--background);
  padding: 1.5rem;
  overflow: auto;
}
.drawer-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1.5rem; }
.drawer-nav a { border-radius: 0.75rem; padding: 0.75rem 1rem; }
.drawer-nav a:hover, .drawer-nav a.is-active { background: var(--muted); }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top left, #f5ebe0 0%, #faf7f2 45%, #faf7f2 100%);
}
.hero-blob {
  pointer-events: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
}
.hero-blob-1 { left: -6rem; top: 2.5rem; width: 18rem; height: 18rem; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.hero-blob-2 { right: 0; bottom: 0; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--primary) 5%, transparent); }
.hero-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 1rem;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 1.5rem;
  }
}
@media (min-width: 1024px) { .hero-grid { padding-left: 2rem; padding-right: 2rem; } }

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  background: color-mix(in srgb, var(--background) 80%, transparent);
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
}
.badge-accent { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.badge-soft { background: var(--secondary); border: 0; font-size: 0.75rem; padding: 0.15rem 0.7rem; }

.hero h1 { font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
.hero-sub { display: block; margin-top: 0.5rem; font-size: 0.72em; font-weight: 500; color: var(--muted-foreground); }

.hero-photo { overflow: hidden; border-radius: 2rem; box-shadow: 0 20px 40px rgb(44 36 32 / 0.12); outline: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-pin {
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  background: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 24px rgb(44 36 32 / 0.1);
}
.hero-photo-wrap { position: relative; }

.lead { max-width: 36rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.rating-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--background) 70%, transparent);
  padding: 0.6rem 1rem;
  outline: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.stars { display: flex; gap: 0.15rem; color: var(--accent); }
.stars .icon { fill: var(--accent); }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.stats { display: grid; gap: 1rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.stat .icon { color: var(--accent); }
.quote {
  border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
  padding-left: 1rem;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.quote cite { display: block; margin-top: 0.25rem; font-style: normal; font-size: 0.75rem; color: rgb(44 36 32 / 0.7); }

.bg-muted { background: color-mix(in srgb, var(--muted) 40%, transparent); }
.section-head { max-width: 42rem; }
.section-head h2, .section-title { font-size: 1.875rem; }
@media (min-width: 768px) { .section-head h2, .section-title { font-size: 2.25rem; } }
.muted { color: var(--muted-foreground); }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grid-services { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); } }
.grid-services { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grid-services { grid-template-columns: repeat(3, 1fr); } }

.card {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: var(--card);
  box-shadow: 0 1px 2px rgb(44 36 32 / 0.04);
}
.card:hover { box-shadow: 0 8px 20px rgb(44 36 32 / 0.06); }
.card img.cover { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-3 { aspect-ratio: 4/3; overflow: hidden; }
.ratio-4-5 { aspect-ratio: 4/5; overflow: hidden; }
.card-body { padding: 1.5rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.card-link:hover { text-decoration: underline; }
.zone-card img { transition: transform 0.5s; }
.zone-card:hover img { transform: scale(1.05); }

.service-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--secondary);
  color: var(--primary);
}
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.link-more { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.link-more:hover { text-decoration: underline; }

.master-compact { display: flex; gap: 1rem; padding: 1rem; }
.master-compact .thumb { width: 5rem; flex-shrink: 0; overflow: hidden; border-radius: 0.75rem; aspect-ratio: 4/5; }
.promo-card {
  border-radius: 1.5rem;
  background: var(--secondary);
  padding: 2rem;
  outline: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}
.home-split { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .home-split { grid-template-columns: 1.15fr 0.85fr; } }

.cta-band {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #c4715b 0%, #d4a574 100%);
  color: var(--primary-foreground);
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) { .cta-band { padding: 3rem 2.5rem; } }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }
.btn-on-cta { background: var(--secondary); color: var(--foreground); }
.btn-ghost-light {
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid color-mix(in srgb, white 30%, transparent);
}

.page-hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #faf7f2 0%, #f0e4d8 100%);
}
.page-hero-inner { padding: 2.5rem 1rem 3rem; }
@media (min-width: 768px) { .page-hero-inner { padding: 3.5rem 1.5rem 4rem; } }
.page-hero h1 { font-size: 2.25rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { max-width: 48rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }

.site-footer { border-top: 1px solid var(--border); background: #f3ece4; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-copy { border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent); padding: 1rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }
.footer-nav { display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }
.footer-contacts { display: grid; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-contacts a, .footer-contacts div { display: flex; align-items: flex-start; gap: 0.5rem; }

.price-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; text-align: left; }
.price-wrap { overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); }
.price-table th { background: color-mix(in srgb, var(--muted) 60%, transparent); font-weight: 500; padding: 1rem 1.5rem; }
.price-table td { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; padding: 0.5rem; border-radius: 1rem; background: var(--muted); }
.tab { border: 0; background: transparent; border-radius: 0.75rem; padding: 0.5rem 1rem; cursor: pointer; }
.tab.is-active { background: var(--card); box-shadow: 0 1px 3px rgb(44 36 32 / 0.08); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.form-grid { display: grid; gap: 1rem; }
.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-size: 0.875rem; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--card);
  padding: 0.7rem 0.9rem;
}
.notice {
  border-radius: 1rem;
  background: color-mix(in srgb, var(--accent) 18%, white);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.slots { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slot {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}
.slot.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 1rem; cursor: pointer; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 70; background: rgb(44 36 32 / 0.7); padding: 2rem; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 1rem; }

.map-frame { width: 100%; min-height: 18rem; border: 0; border-radius: 1.5rem; }

.product-card .price { font-weight: 600; }
.cart-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-row img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 0.75rem; }
.qty { display: flex; align-items: center; gap: 0.5rem; }

.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.round-img { overflow: hidden; border-radius: 1.5rem; min-height: 20rem; }
.round-img img { width: 100%; height: 100%; object-fit: cover; }

.hide-mobile { display: none; }
.hide-desktop { display: block; }
@media (min-width: 768px) {
  .hide-mobile { display: block; }
  .hide-desktop { display: none; }
}
