:root {
  --green: #dcebd5;
  --green-deep: #b9d4ad;
  --cream: #fff1e2;
  --soft: #f3f3f1;
  --ink: #000;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --brand: 'TildaSans', Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
header.solid { position: static; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { font-family: var(--brand); font-size: 26px; font-weight: 600; }
.menu { display: flex; gap: 36px; font-size: 15px; }
.menu a:hover { opacity: .6; }
.lang { display: flex; gap: 2px; padding: 3px; font-size: 12px; font-weight: 500; letter-spacing: .06em; background: rgba(255,255,255,.55); border-radius: 999px; }
header.solid .lang { background: var(--soft); }
.lang button { border: 0; background: none; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; font: inherit; transition: background .2s, color .2s; }
.lang button:hover { color: var(--ink); }
.lang button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Hero */
.hero { background: var(--green); min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-family: var(--brand); font-weight: 600; font-size: clamp(44px, 6vw, 80px); line-height: 1.1; margin-bottom: 28px; }
.hero p { font-size: 18px; max-width: 460px; }
.hero-photo { width: 100%; max-width: 480px; aspect-ratio: 4/5; background: var(--green-deep); border-radius: 50% 50% 0 0; display: flex; align-items: center; justify-content: center; color: #5d7a52; font-size: 15px; }

/* Sections */
section { padding: 120px 0; }
.h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 500; line-height: 1.2; margin-bottom: 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.about-grid p { font-size: 17px; margin-bottom: 16px; }
blockquote { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; font-style: italic; }
.joy { background: var(--cream); text-align: center; }
.joy p { max-width: 760px; margin: 0 auto; font-size: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--green); color: var(--ink); padding: 10px 24px; border-radius: 999px; font: 500 13px var(--sans); letter-spacing: .06em; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--green-deep); }
.btn.big { padding: 14px 36px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.heart { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.heart:hover { background: var(--line); }
.heart svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.heart.on svg { fill: #e0566b; stroke: #e0566b; }

/* Art grid */
.tabs { display: flex; gap: 2px; width: fit-content; margin: 0 auto 48px; padding: 4px; background: var(--soft); border-radius: 999px; }
.tab { border: 0; background: none; color: var(--muted); padding: 10px 26px; border-radius: 999px; cursor: pointer; font: 500 13px var(--sans); letter-spacing: .06em; transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.card.hidden { display: none; }
.card a.cover { display: block; margin-bottom: 16px; }
.ph { aspect-ratio: 3/4; background: repeating-linear-gradient(45deg, #f3f3f3 0 12px, #ebebeb 12px 24px); display: flex; align-items: center; justify-content: center; color: #999; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.card .ph { transition: opacity .2s; }
.card a.cover:hover .ph { opacity: .8; }
.card .title { font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 4px; }
.card .line { color: var(--muted); font-size: 14px; line-height: 1.5; }
.card .price { font-weight: 600; margin: 8px 0 14px; }
.card .sold { color: var(--muted); font-weight: 500; margin: 8px 0 14px; }
.delivery { text-align: center; color: var(--muted); max-width: 640px; margin: 64px auto 0; font-size: 15px; }

/* Contacts (layout as in Ala Alev page) */
.contacts { background: var(--green); text-align: center; }
.contacts .h2 { margin-bottom: 40px; }
.contacts .descr { max-width: 560px; margin: 0 auto 75px; font-size: 20px; font-weight: 300; line-height: 1.55; }
.contacts .lines { max-width: 580px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.contacts .lines b { font-weight: 600; }
footer { background: #000; color: #b8b8b8; padding: 32px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Work page */
.crumbs { font-size: 14px; color: var(--muted); padding: 32px 0; }
.crumbs a:hover { color: var(--ink); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding-bottom: 120px; }
.gallery .ph { aspect-ratio: 4/5; font-size: 14px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 72px; border: 2px solid transparent; padding: 0; background: none; cursor: pointer; }
.thumbs button.active { border-color: var(--ink); }
.thumbs .ph { aspect-ratio: 1; font-size: 0; }
.product h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 500; line-height: 1.2; margin-bottom: 16px; }
.product .price { font-size: 22px; font-weight: 600; margin-bottom: 28px; }
.product .sold { font-size: 20px; color: var(--muted); margin-bottom: 28px; }
.actions { display: flex; gap: 12px; align-items: center; margin-bottom: 40px; }
.specs { font-size: 16px; line-height: 1.9; }
.specs .label { color: var(--muted); }

/* Order modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.4); display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 60px 16px; }
.modal.open { display: flex; }
.sheet { background: #fff; width: 100%; max-width: 560px; border-radius: 16px; padding: 40px; position: relative; }
.close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); font-size: 20px; line-height: 1; cursor: pointer; }
.sheet h2 { font-size: 26px; font-weight: 500; margin-bottom: 24px; }
.order-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.order-item .ph { width: 64px; aspect-ratio: 1; font-size: 0; flex: none; }
.order-item .t { flex: 1; font-weight: 500; }
.order-item .t small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.order-total { text-align: right; font-weight: 600; margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: 16px var(--sans); background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 80px; }
.note { font-size: 13px; color: var(--muted); margin: 16px 0 24px; }
.sheet .btn.big { width: 100%; }
.msg { text-align: center; padding: 24px 0 8px; }
.msg p { color: var(--muted); margin-top: 8px; }
.err { color: #b3261e; font-size: 14px; margin-top: 12px; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; height: auto; padding: 20px 24px; row-gap: 12px; }
  .menu { order: 3; width: 100%; gap: 24px; font-size: 14px; }
  .hero { padding-top: 140px; }
  .hero-grid, .about-grid, .product { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  section { padding: 80px 0; }
  .sheet { padding: 32px 20px; }
}
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }
