/* =========================================================
   Айрмаг — дизайн систем
   Өнгө: айрагны цөцгий, хөх тэнгэр, алтлаг шар, талын ногоон
   ========================================================= */
:root {
  --cream: #F5F8FD;
  --cream-2: #EAF0F9;
  --milk: #FFFFFF;
  --ink: #14213D;
  --muted: #5B6880;
  --line: #E1E8F3;
  --navy: #032D79;
  --navy-2: #1A47A3;
  --navy-soft: #E4EBF7;
  --pink: #FF3C90;
  --pink-soft: #FFE3EF;
  --steppe: #4E7A55;
  --berry: #C9434F;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(27 39 56 / .04), 0 12px 32px rgb(27 39 56 / .08);
  --shadow-lg: 0 30px 60px -20px rgb(27 39 56 / .25);
  --container: 1240px;
  --serif: 'Nunito', 'Manrope', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cpath d='M0 14h10V2h12v8h-6V6h-2v6h10V2h12v12h12' fill='none' stroke='%23FF3C90' stroke-width='2'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1, h2 { font-weight: 900; }
h1 em, h2 em { font-style: normal; color: var(--pink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-sm { padding: 40px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 48px; }
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ornament { height: 16px; background: var(--ornament) repeat-x center; opacity: .8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: var(--milk); box-shadow: 0 10px 24px -10px rgb(3 45 121 / .5); }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: var(--pink); color: #fff; box-shadow: 0 10px 24px -10px rgb(255 60 144 / .7); }
.btn-gold:hover { background: #FF5FA4; }
.btn-ghost { border-color: var(--line); background: var(--milk); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: var(--milk); color: var(--navy); }
.btn-light:hover { background: var(--pink-soft); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--cream-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(245 248 253 / .85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(27 39 56 / .4); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { width: auto; height: 60px; }
@media (max-width: 1180px) { .logo img { height: 50px; } }
.site-footer .logo { padding: 10px 16px; border-radius: 18px; background: var(--milk); }
.site-footer .logo img { height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { position: relative; padding: 8px 14px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--pink); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn { height: 40px; min-width: 48px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--navy); transition: border-color .2s, background .2s; }
.lang-btn:hover { border-color: var(--navy); background: var(--milk); }
.menu-btn { display: none; }

@media (max-width: 1180px) {
  .menu-btn { display: inline-grid; }
  .header-cta { display: none; }
  .header-inner { height: 68px; }
  .nav {
    position: fixed; inset: 68px 0 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px 16px 40px; background: var(--cream); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 30px; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--pink); }
  .nav-cta { display: inline-flex; margin-top: 28px; }
  .header-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 30%, var(--navy-soft) 0%, transparent 70%), radial-gradient(40% 40% at 10% 90%, var(--pink-soft) 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: min(78vh, 720px); }
.hero h1 { font-size: clamp(44px, 7vw, 92px); line-height: 1.02; margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); }
.hero-badges .icon { color: var(--pink); }
.hero-visual { position: relative; align-self: end; display: grid; place-items: end center; height: 100%; min-height: 520px; }
.hero-sun { position: absolute; top: 8%; right: 12%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #FFE79A, #F7C948); box-shadow: 0 0 80px 20px rgb(247 201 72 / .35); }
.hero-hills { position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; width: 120%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.hero-art { position: relative; z-index: 2; width: min(400px, 80%); margin-bottom: 4%; filter: drop-shadow(0 40px 40px rgb(27 39 56 / .25)); animation: float 7s ease-in-out infinite; }
.float-berry { position: absolute; z-index: 3; border-radius: 50%; animation: float 6s ease-in-out infinite; }
.float-berry.b1 { width: 26px; height: 26px; background: #F3A33C; top: 26%; left: 14%; animation-delay: -2s; }
.float-berry.b2 { width: 18px; height: 18px; background: #7A64A8; top: 48%; right: 10%; animation-delay: -4s; }
.float-berry.b3 { width: 14px; height: 14px; background: var(--berry); top: 16%; left: 40%; }
@keyframes float { 50% { transform: translateY(-16px); } }

@media (max-width: 900px) {
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; text-align: center; }
  .hero .eyebrow::before { display: none; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-badges { margin-top: 28px; gap: 16px; }
  .hero-visual { min-height: 400px; }
  .hero-sun { width: 80px; height: 80px; right: 8%; }
}

/* ---------- Тал нутгийн фон ---------- */
.hero { background: linear-gradient(180deg, #E6EFFB 0%, #F2F6FC 55%, var(--cream) 100%); }
.hero { padding-bottom: clamp(110px, 11vw, 160px); }
.hero-scene { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(220px, 26vw, 360px); pointer-events: none; }
.hero-visual { margin-bottom: calc(-1 * clamp(110px, 11vw, 160px)); }
.steppe-wrap { position: absolute; inset: 0; }
.steppe { display: block; width: 100%; height: 100%; }
.hero-grid { z-index: 1; }
.hero-logo { display: block; width: clamp(240px, 30vw, 380px); height: auto; margin: 0 0 22px -6px; filter: drop-shadow(0 10px 24px rgb(3 45 121 / .15)); }
.hero-art { margin-bottom: 2%; }

.page-hero { background: linear-gradient(180deg, #E9F0FA 0%, var(--cream) 100%); }
.page-hero .steppe-wrap { top: auto; height: clamp(130px, 15vw, 200px); opacity: .9; }
.page-hero .steppe-wrap + .container, .page-hero > .container { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .hero-logo { margin: 0 auto 18px; }
  .hero { padding-bottom: 0; }
  .hero-visual { margin-bottom: 0; }
  .hero-scene { height: 260px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: var(--milk); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; white-space: nowrap; }
.marquee-track i { color: var(--pink); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar { padding: 36px 32px; background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--pink-soft); color: var(--pink); margin-bottom: 22px; }
.pillar-ico .icon { width: 28px; height: 28px; }
.pillar h3 { font-size: 21px; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Flavor cards ---------- */
.flavor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.flavor { --c: #F6F0E2; --a: #E4D6B5; }
.flavor-btn { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; padding: 20px 20px 24px; border-radius: var(--radius); background: var(--milk); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.flavor-btn:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.flavor-art { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 18px; margin-bottom: 18px; overflow: hidden; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 55%, #fff) 0%, color-mix(in srgb, var(--c) 22%, var(--cream)) 70%); }
.flavor-art .art { width: 72%; height: auto; transition: transform .5s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 18px 18px rgb(27 39 56 / .15)); }
.flavor-btn:hover .art { transform: translateY(-6px) rotate(-4deg) scale(1.04); }
/* Бүтээгдэхүүний зураг: зурсан дүрсийн дээр байрлана, ачаалагдахгүй бол дүрс харагдана */
[hidden] { display: none !important; }
.flavor-art .photo, .dlg-art .photo, .product-art .photo, .cl-art .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.flavor-btn:hover .photo { transform: scale(1.05); }
.dlg-art { position: relative; overflow: hidden; min-height: 320px; }
.price-ask { font-size: 14px; font-weight: 700; color: var(--muted); }
.price.big.price-ask { font-size: 16px; }

/* Топпинг */
.toppings { margin-top: 80px; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--milk); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.toppings .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.tp-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tp-groups h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.tp-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-groups li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.tp-dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 -4px 0 rgb(0 0 0 / .15), 0 2px 6px rgb(0 0 0 / .12); flex-shrink: 0; }
@media (max-width: 860px) { .toppings { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 420px) { .tp-groups { grid-template-columns: 1fr; } }

.flavor-tags { display: flex; gap: 6px; flex-wrap: wrap; min-height: 26px; margin-bottom: 10px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--cream-2); color: var(--muted); }
.tag-signature { background: var(--navy); color: var(--milk); }
.tag-new { background: var(--berry); color: #fff; }
.tag-bestseller { background: var(--pink-soft); color: #C2185B; }
.tag-vegan { background: #E1EEDD; color: var(--steppe); }
.tag-kids { background: #FCE4EC; color: #AD3E66; }
.flavor h3 { font-family: var(--serif); font-size: 23px; margin-bottom: 8px; }
.flavor p { color: var(--muted); font-size: 15px; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flavor-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.price { font-weight: 800; font-size: 18px; color: var(--navy); }
.price.big { font-size: 28px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--pink); }
.more .icon { width: 16px; height: 16px; transition: transform .25s; }
.flavor-btn:hover .more .icon { transform: translateX(4px); }
@media (max-width: 560px) {
  .flavor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flavor-btn { padding: 12px 12px 16px; border-radius: 18px; }
  .flavor h3 { font-size: 18px; }
  .flavor p { display: none; }
  .flavor-tags { min-height: 0; }
  .tag { font-size: 11px; padding: 2px 8px; }
  .more { display: none; }
  .price { font-size: 16px; }
}

/* ---------- Process ---------- */
.process { background: var(--navy); color: var(--milk); border-radius: 40px; margin: 0 16px; position: relative; overflow: hidden; }
.process::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--ornament) repeat-x center; opacity: .5; }
.process .eyebrow { color: var(--pink); }
.process .lead { color: rgb(255 253 248 / .7); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--serif); font-size: 44px; font-weight: 900; color: var(--pink); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 20px; }
.step p { color: rgb(255 253 248 / .72); margin: 0; font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .process { border-radius: 28px; margin: 0 8px; } }

/* ---------- Split (image + text) ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-visual { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, var(--navy-soft) 0%, var(--cream-2) 100%); }
.split-visual svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.split-visual.milking { background: linear-gradient(180deg, #DDE9F9 0%, #EEF4FC 60%); }
.split-visual .photo-note { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgb(255 253 248 / .85); font-size: 12px; font-weight: 700; color: var(--muted); }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; gap: 36px; } .split-visual { aspect-ratio: 4 / 3; } }

/* ---------- Branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.branch { background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.branch-map { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.branch-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.7) sepia(.15); }
.branch-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.branch h3 { font-family: var(--serif); font-size: 26px; margin: 6px 0 4px; }
.branch-line { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--muted); }
.branch-line .icon { color: var(--pink); margin-top: 3px; }
.branch-line a:hover { color: var(--navy); }
.branch-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-open { background: #E1EEDD; color: var(--steppe); }
.pill-open .dot { animation: pulse 2s infinite; }
.pill-closed { background: #F7E1E3; color: var(--berry); }
.pill { flex-wrap: wrap; row-gap: 2px; }
.pill-sub { font-weight: 500; opacity: .85; white-space: nowrap; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(78 122 85 / .5); } 50% { box-shadow: 0 0 0 6px rgb(78 122 85 / 0); } }
.hours { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.hours summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; list-style: none; }
.hours summary::-webkit-details-marker { display: none; }
.hours summary .icon { color: var(--pink); }
.hours ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.hours li.today { color: var(--navy); font-weight: 700; }

/* ---------- CTA banners ---------- */
.banner { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(40px, 6vw, 80px); background: linear-gradient(135deg, var(--navy) 0%, #021E52 100%); color: var(--milk); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.banner::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgb(255 60 144 / .45), transparent 70%); }
.banner h2 { font-size: clamp(30px, 4vw, 48px); }
.banner p { color: rgb(255 253 248 / .75); max-width: 520px; }
.banner .btn { justify-self: end; position: relative; }
.banner.gold { background: linear-gradient(135deg, var(--pink-soft), #FFC9DF); color: var(--ink); }
.banner.gold p { color: var(--muted); }
.banner.gold::before { background: radial-gradient(circle, rgb(255 255 255 / .7), transparent 70%); }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; border-radius: 28px; } .banner .btn { justify-self: start; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 72px 0 clamp(170px, 16vw, 230px); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 0%, var(--navy-soft), transparent 70%), radial-gradient(40% 60% at 0% 100%, var(--pink-soft), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 860px; }
.page-hero.center h1 { margin-left: auto; margin-right: auto; }

/* ---------- Menu ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: 0 -4px 40px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex-shrink: 0; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; color: var(--muted); border: 1.5px solid var(--line); background: var(--milk); transition: background .2s, color .2s, border-color .2s; }
.tabs button:hover { border-color: var(--navy); color: var(--navy); }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--milk); }
.menu-note { margin-top: 32px; text-align: center; color: var(--muted); font-size: 14px; }

.item-dialog { width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 32px; background: var(--milk); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.item-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; animation: pop .35s cubic-bezier(.2,.8,.2,1); }
.item-dialog::backdrop { background: rgb(2 30 82 / .55); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: scale(.95) translateY(10px); } }
.dlg-art { display: grid; place-items: center; padding: 40px; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--c) 60%, #fff), color-mix(in srgb, var(--c) 25%, var(--cream)) 75%); }
.dlg-art .art { width: 80%; filter: drop-shadow(0 24px 24px rgb(27 39 56 / .2)); }
.dlg-body { padding: 48px 40px; display: flex; flex-direction: column; }
.dlg-body h2 { font-size: 36px; }
.dlg-body p { color: var(--muted); font-size: 17px; margin-top: 8px; }
.dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.dlg-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--milk); box-shadow: var(--shadow); }
@media (max-width: 700px) {
  .item-dialog[open] { grid-template-columns: 1fr; }
  .dlg-art { padding: 28px; }
  .dlg-art .art { width: 52%; }
  .dlg-body { padding: 28px 24px; }
  .dlg-body h2 { font-size: 28px; }
}

/* ---------- Story timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--pink), var(--line)); }
.tl-item { position: relative; padding: 0 0 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -40px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--milk); border: 3px solid var(--pink); }
.tl-item .step-no { font-family: var(--serif); font-weight: 900; color: var(--pink); font-size: 18px; }
.tl-item h3 { font-family: var(--serif); font-size: 28px; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); margin: 0; font-size: 17px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card { background: var(--milk); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(28px, 3vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field label .req { color: var(--berry); }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream); transition: border-color .2s, box-shadow .2s, background .2s; }
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235E6B7A' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-2); background: var(--milk); box-shadow: 0 0 0 4px var(--navy-soft); }
.err { display: none; font-size: 13px; color: var(--berry); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--berry); }
.field.invalid .err { display: block; }
.form-actions { grid-column: 1 / -1; margin-top: 8px; }
.form-done { margin-top: 24px; padding: 28px; border-radius: 20px; background: #E1EEDD; text-align: center; }
.form-done h3 { font-family: var(--serif); font-size: 24px; margin-top: 12px; }
.form-done p { margin: 0; color: var(--muted); }
.done-ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--steppe); color: #fff; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); font-size: 22px; font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 52px 24px 0; margin: 0; font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.info-card { background: var(--navy); color: var(--milk); border-radius: 28px; padding: 32px; }
.info-card h3 { font-family: var(--serif); font-size: 26px; }
.info-card a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / .12); font-weight: 600; }
.info-card a:last-child { border-bottom: 0; }
.info-card .icon { color: var(--pink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; } }

.can-banner { padding-top: clamp(32px, 4vw, 56px); padding-bottom: 0; align-items: end; }
.can-banner > div:first-child { padding-bottom: clamp(32px, 4vw, 56px); }
.can-banner-art { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.can-banner-art .hero-can { width: min(200px, 48%); }
.can-banner-art .hero-can + .hero-can { width: min(170px, 40%); margin-left: -30px; }
@media (max-width: 760px) { .can-banner-art { max-width: 320px; } }

.can-photo { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }
.shop-hero-art.has-photo { min-height: 0; }
.shop-hero-art.has-photo::before { display: none; }
.can-banner-art.has-photo { padding-bottom: clamp(32px, 4vw, 56px); }
.can-banner-art.has-photo .can-photo { transform: rotate(2deg); border: 6px solid var(--milk); }

/* ---------- Shop (лаазтай айраг) ---------- */
.shop-hero .split-grid { align-items: center; }
.shop-feats { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.shop-feats li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.shop-feats .icon { color: var(--pink); width: 22px; height: 22px; }
.shop-hero-art { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; min-height: 420px; }
.shop-hero-art::before { content: ''; position: absolute; inset: 10% 8% 0; border-radius: 50% 50% 32px 32px; background: radial-gradient(circle at 50% 40%, var(--pink-soft), var(--navy-soft) 70%); }
.hero-can { position: relative; width: min(260px, 45%); animation: float 7s ease-in-out infinite; }
.hero-can + .hero-can { margin-left: -40px; width: min(220px, 38%); animation-delay: -3s; }
.hero-can .art { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgb(3 45 121 / .2)); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.product { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-art { position: relative; display: grid; place-items: center; min-height: 300px; background: radial-gradient(circle at 50% 55%, #fff, color-mix(in srgb, var(--c) 14%, var(--cream)) 75%); }
.product-art .art { width: 78%; height: auto; }
.product-body { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; }
.product-body h3 { font-family: var(--serif); font-size: 24px; margin: 0; }
.product-body p { color: var(--muted); font-size: 15px; margin: 0; }
.size-pill { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--navy); color: var(--milk); font-weight: 800; font-size: 13px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.product .btn.added { background: var(--steppe); }
@media (max-width: 680px) { .product { grid-template-columns: 1fr; } .product-art { min-height: 240px; } }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); }
.stepper button { width: 38px; height: 38px; border-radius: 50%; font-size: 20px; font-weight: 700; color: var(--navy); transition: background .2s; }
.stepper button:hover { background: var(--pink-soft); color: var(--pink); }
.stepper output { min-width: 28px; text-align: center; font-weight: 800; }

.order-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.cart-card { position: sticky; top: 100px; }
.cart-list { list-style: none; margin: 20px 0 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cl-art { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--cream-2); display: grid; place-items: center; }
.cl-art .art { width: 80%; height: auto; }
.cl-info { display: grid; min-width: 0; }
.cl-info b { font-size: 15px; }
.cl-info span { font-size: 13px; color: var(--muted); }
.cl-sum { min-width: 72px; text-align: right; color: var(--navy); }
.cart-line .stepper button { width: 30px; height: 30px; font-size: 16px; }
.cart-empty { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 18px; border-radius: 16px; background: var(--cream); color: var(--muted); }
.cart-empty .icon { color: var(--pink); flex-shrink: 0; }
.cart-sum { display: grid; gap: 8px; margin-top: 18px; }
.cart-sum > div { display: flex; justify-content: space-between; color: var(--muted); }
.cart-sum .total { padding-top: 12px; border-top: 1.5px dashed var(--line); color: var(--ink); font-weight: 700; align-items: baseline; }
.cart-sum .total b { font-size: 26px; color: var(--navy); }
.cart-sum .free { color: var(--steppe); }
.cart-sum .hint { margin: 0; font-size: 13px; color: var(--pink); }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.method { border: 0; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method legend { font-weight: 800; margin-bottom: 12px; padding: 0; }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: grid; gap: 2px; height: 100%; padding: 16px 18px; border: 2px solid var(--line); border-radius: 16px; background: var(--cream); transition: border-color .2s, background .2s; }
.radio-card small { color: var(--muted); font-size: 13px; }
.radio-card input:checked + span { border-color: var(--navy); background: var(--navy-soft); }
.radio-card input:focus-visible + span { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.shop-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

.order-done { text-align: center; }
.order-done h3 { font-family: var(--serif); font-size: 28px; margin-top: 14px; }
.order-text { text-align: left; white-space: pre-wrap; font-family: var(--sans); font-size: 14px; line-height: 1.7; background: var(--cream); border: 1px dashed var(--line); border-radius: 16px; padding: 18px 20px; margin: 20px 0; max-height: 320px; overflow: auto; }
.send-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.copy-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--steppe); }
.done-links { display: flex; justify-content: center; gap: 20px; margin-top: 6px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy); }
.link-btn .icon { width: 16px; height: 16px; }
.link-btn:hover { color: var(--pink); }

.cart-fab { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 700; box-shadow: 0 16px 32px -12px rgb(255 60 144 / .7); }
.cart-fab[hidden] { display: none; }
.cart-fab b { padding-left: 10px; border-left: 1px solid rgb(255 255 255 / .4); }
@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .cart-card { position: static; }
  .shop-hero-art { min-height: 320px; }
}
@media (max-width: 480px) {
  .method { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 48px 1fr auto; }
  .cl-art { width: 48px; height: 48px; }
  .cl-sum { grid-column: 2 / -1; text-align: left; min-width: 0; font-size: 14px; }
  .cart-fab span { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #021E52; color: rgb(255 253 248 / .8); margin-top: 96px; }
.site-footer .ornament { opacity: .6; }
.site-footer .logo { color: var(--milk); margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-grid h4 { color: var(--pink); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid > div > a { display: block; padding: 5px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--pink); }
.footer-grid p { font-size: 15px; }
.footer-grid p a { display: inline-flex; align-items: center; gap: 8px; }
.footer-grid p span { color: rgb(255 253 248 / .6); }
.footer-brand p { max-width: 320px; }
.socials { display: flex; gap: 10px; margin-bottom: 16px; }
.socials a { display: grid !important; place-items: center; width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); transition: background .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--pink); border-color: var(--pink); color: var(--ink) !important; }
.footer-bottom { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; color: rgb(255 253 248 / .5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
