/* ==========================================================================
   Silrak — site styles (ported from the design file)
   ========================================================================== */
:root {
  --accent: #F7931E;
  --bg: #101613;
  --bg-2: #18211C;
  --bg-3: #141C18;
  --ink: #F3EFE6;
  --muted: #C9CCC2;
  --line: rgba(243,239,230,.14);
  --line-2: rgba(243,239,230,.3);
  --f-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --gx: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --hdr-h: 78px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100% }
img { height: auto }
a { color: var(--ink); text-decoration: none }
a:hover { color: var(--accent) }
p { margin: 0 }
h1, h2, h3, h4 { margin: 0 }
address { font-style: normal }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px }
main { overflow-x: clip }
main:focus { outline: 0 }
dialog:focus, dialog:focus-visible { outline: 0 }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--accent); color: var(--bg); font-weight: 700; transition: top .2s }
.skip:focus { top: 12px; color: var(--bg) }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gx) }
.wrap-x { max-width: 1368px; margin-inline: auto; padding-inline: var(--gx) }
.sec { padding-block: clamp(72px, 9vw, 112px) }
.sec-m { padding-block: clamp(64px, 8vw, 104px) }
.sec-t { border-top: 1px solid var(--line) }
.sec-tb { border-block: 1px solid var(--line) }
.sec-b { border-top: 1px solid var(--line); padding: 72px 0 88px }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px 72px; align-items: start }
.split-stretch { align-items: stretch }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; padding-bottom: 40px }
.stack-xs { display: flex; flex-direction: column; gap: 4px }
.stack-s { display: flex; flex-direction: column; gap: 12px }
.stack-m { display: flex; flex-direction: column; gap: 18px }
.stack-l { display: flex; flex-direction: column; gap: 24px; align-items: flex-start }
.stack-xl { display: flex; flex-direction: column; gap: 40px }
.row-wrap { display: flex; flex-wrap: wrap; gap: 12px 14px }
.self-start { align-self: flex-start }
.span { grid-column: 1 / -1 }
.mw-320 { max-width: 320px } .mw-340 { max-width: 340px } .mw-360 { max-width: 360px } .mw-380 { max-width: 380px }
.mw-420 { max-width: 420px } .mw-440 { max-width: 440px } .mw-460 { max-width: 460px } .mw-520 { max-width: 520px }
.mw-560 { max-width: 560px } .mw-760 { max-width: 760px } .mw-980 { max-width: 980px } .mw-1000 { max-width: 1000px }

/* ---------- Typography ---------- */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.label { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.muted { color: var(--muted) }
.sm { font-size: 14px } .xs { font-size: 12px }
.acc { color: var(--accent) }
.acc-l { color: var(--accent); font-weight: 700 }
.lead { font-size: 19px; color: var(--muted) }
.lead-s { font-size: 18px }
.mono { font: 600 12px/1.5 ui-monospace, Menlo, monospace; letter-spacing: .05em; text-transform: uppercase; color: var(--muted) }
.h-hero, .h1-xxl, .h1-xl, .h1-l, .h1-m, .h2, .h2-m, .h2-s, .h2-band, .h3, .h4, .h4-l, .h-dlg, .h-aside, .h-tile, .h-room, .h-prod, .h-ev, .quote, .big, .big-tel, .logo, .price, .price-xl, .day {
  font-family: var(--f-head); letter-spacing: -.03em
}
.h-hero { font-weight: 800; font-size: clamp(38px, 5vw, 76px); line-height: .96; letter-spacing: -.035em; text-wrap: balance }
.h-hero > span { display: block }
.h-hero > span:first-child { white-space: nowrap }
.h1-xxl { font-weight: 800; font-size: clamp(48px, 7.4vw, 112px); line-height: .92; letter-spacing: -.04em }
.h1-xl { font-weight: 800; font-size: clamp(42px, 6vw, 92px); line-height: .96; letter-spacing: -.035em; text-wrap: balance }
.h1-l { font-weight: 800; font-size: clamp(38px, 5vw, 72px); line-height: .98; letter-spacing: -.035em; text-wrap: balance }
.h1-m { font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); line-height: .98; letter-spacing: -.035em; text-wrap: balance }
.h2 { font-weight: 800; font-size: clamp(38px, 5vw, 72px); line-height: 1; text-wrap: balance }
.h2-m { font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1 }
.h2-s { font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: 1 }
.h2-band { font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; max-width: 640px }
.h3 { font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 1.02 }
.h4 { font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.01em }
.h4-l { font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -.01em }
.h-dlg { font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1.02 }
.h-aside { font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); line-height: 1 }
.h-tile { font-weight: 800; font-size: 23px; line-height: 1.1; letter-spacing: -.015em }
.h-room { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02 }
.h-prod { font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.02; letter-spacing: -.025em }
.h-ev { font-weight: 800; font-size: clamp(28px, 3vw, 42px); line-height: 1.02; text-wrap: balance }
.h-ev a:hover { color: var(--accent) }
.quote { font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -.015em }
.prose p + p { margin-top: 1em }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px }
.prose h2 { color: var(--ink); margin: 1.6em 0 .5em }
.big { font-weight: 800; font-size: clamp(40px, 7.4vw, 112px); line-height: 1; letter-spacing: -.04em; color: var(--accent); transition: color .3s, letter-spacing .4s }
.big:hover { letter-spacing: 0 }
.big-tel { font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; min-height: 44px }
.mail-l { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600 }

/* ---------- Links and buttons ---------- */
.nl { display: inline-flex; align-items: center; min-height: 44px; position: relative }
.nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease) }
.nl:hover::after, .nl[aria-current]::after { transform: scaleX(1) }
.hnav .nl[aria-current] { color: var(--accent) }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--bg); font: 700 16px/1 var(--f-body); border: 0; cursor: pointer; text-align: center; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s }
.btn:hover { color: var(--bg); transform: translateY(-3px); box-shadow: 0 14px 30px -10px var(--accent) }
.btn:disabled { opacity: .6; cursor: progress; transform: none }
.btn2 { background: transparent; color: var(--ink); border: 1px solid rgba(243,239,230,.4) }
.btn2:hover { color: var(--accent); border-color: var(--accent); box-shadow: none }
.btnl { background: var(--ink); color: var(--bg); border-radius: 14px }
.btnl:hover { color: var(--bg); background: #fff; box-shadow: 0 14px 30px -12px rgba(243,239,230,.5) }
.btnd { background: var(--bg); color: var(--ink) }
.btnd:hover { color: var(--ink); box-shadow: 0 14px 30px -12px var(--bg) }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px }

/* ---------- Header ---------- */
.logo { font-weight: 800; font-size: 30px; letter-spacing: -.03em; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); line-height: 1 }
.logo > span { color: var(--accent) }
.hdr {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px 36px;
  padding: 16px var(--gx);
  background: rgba(16,22,19,.95);
  border-bottom: 1px solid rgba(243,239,230,.12);
  transition: translate .35s var(--ease), padding .3s, box-shadow .3s;
}
.hdr.scrolled { padding-block: 10px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.8) }
.hdr.hide { translate: 0 -110% }
.hnav { display: flex; align-items: center; gap: 0 22px; font-size: 15px; font-weight: 600; white-space: nowrap; margin-right: auto }
.hact { display: flex; align-items: center; gap: 12px; margin-left: auto }
.tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; min-height: 44px }
.tel svg { display: none }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243,239,230,.4); background: transparent; cursor: pointer; place-items: center; padding: 0; transition: border-color .25s }
.burger:hover { border-color: var(--accent) }
.burger-box { position: relative; width: 20px; height: 14px; display: block }
.burger-box span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s, width .3s var(--ease) }
.burger-box span:nth-child(1) { top: 0 }
.burger-box span:nth-child(2) { top: 6px; width: 70% }
.burger-box span:nth-child(3) { top: 12px }
.burger:hover .burger-box span:nth-child(2) { width: 100% }
.burger[aria-expanded="true"] .burger-box span:nth-child(1) { transform: translateY(6px) rotate(45deg) }
.burger[aria-expanded="true"] .burger-box span:nth-child(2) { opacity: 0 }
.burger[aria-expanded="true"] .burger-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }

@media (max-width: 1360px) {
  .tel-t { display: none }
  .tel svg { display: block }
  .tel { width: 46px; height: 46px; justify-content: center; border: 1px solid rgba(243,239,230,.4); border-radius: 50%; transition: border-color .25s }
  .tel:hover { border-color: var(--accent) }
}
/* Tablet and mobile: burger menu */
@media (max-width: 1180px) {
  .hnav { display: none }
  .shop span { display: none }
  .shop { width: 46px; height: 46px; min-height: 46px; padding: 0; gap: 0 }
  .shop { background: var(--accent); border-color: var(--accent); color: var(--bg) }
  .shop:hover { background: var(--accent); color: var(--bg); box-shadow: 0 10px 24px -10px var(--accent) }
  .burger { display: grid }
  .hdr { padding-block: 12px }
}
@media (max-width: 560px) {
  .hcta { display: none }
  .hact { gap: 8px }
  .logo { font-size: 27px }
  .tel, .burger, .shop { width: 44px; height: 44px; min-height: 44px }
}

/* ---------- Mobile menu (dialog) ---------- */
.mnav {
  margin: 0 0 0 auto; padding: 0; border: 0; width: min(440px, 100%); max-width: 100%;
  height: 100dvh; max-height: 100dvh; background: var(--bg); color: var(--ink);
  border-left: 1px solid var(--line); overflow: hidden;
}
.mnav::backdrop { background: rgba(8,12,10,.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px) }
.mnav[open] { animation: slidein .45s var(--ease) both }
.mnav[open]::backdrop { animation: fade .3s ease both }
.mnav.closing { animation: slideout .3s var(--ease) both }
.mnav.closing::backdrop { animation: fade .3s ease reverse both }
.mnav-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 28px; padding: 12px 24px max(28px, env(safe-area-inset-bottom)) }
.mnav-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); padding-bottom: 8px }
.mnav-top .x { position: static }
.mnav-links { display: flex; flex-direction: column }
.mnav-links a { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; font: 800 clamp(30px, 8vw, 38px)/1.1 var(--f-head); letter-spacing: -.03em; border-bottom: 1px solid rgba(243,239,230,.07); transition: color .25s, padding .3s var(--ease) }
.mnav-links a:hover { padding-left: 6px }
.mnav-links a[aria-current] { color: var(--accent) }
.mnav[open] .mnav-links a { animation: rise .5s var(--ease) both }
.mnav[open] .mnav-links a:nth-child(2) { animation-delay: .04s } .mnav[open] .mnav-links a:nth-child(3) { animation-delay: .08s }
.mnav[open] .mnav-links a:nth-child(4) { animation-delay: .12s } .mnav[open] .mnav-links a:nth-child(5) { animation-delay: .16s }
.mnav[open] .mnav-links a:nth-child(6) { animation-delay: .2s } .mnav[open] .mnav-links a:nth-child(7) { animation-delay: .24s }
.mnav-cta { display: grid; gap: 10px }
.mnav-info { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 15px }
.mnav-info a, .mnav-info p { display: flex; align-items: center; gap: 12px; min-height: 44px; color: inherit }
.mnav-info a:hover { color: var(--accent) }
.mnav-info .mnav-tel { font: 700 22px/1 var(--f-head); color: var(--ink) }
.mnav-soc { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600 }
.mnav-soc a { min-height: 44px; display: inline-flex; align-items: center }
html.lock, html.lock body { overflow: hidden }

/* ---------- Hero ---------- */
.hero { padding-top: 48px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 40px 48px; align-items: center; min-height: 700px }
.hero-txt { display: flex; flex-direction: column; gap: 28px; align-items: flex-start }
.hero-txt .lead { max-width: 520px }
.hero-facts { list-style: none; margin: 12px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 14px; color: var(--muted); align-self: stretch }
.hero-art { position: relative; display: grid; place-items: center; min-height: 560px }
.hero-main { width: min(520px, 76vw) }
.hero-s1 { position: absolute; top: 0; right: 0; width: min(170px, 30vw) }
.hero-s2 { position: absolute; bottom: 0; left: 0; width: min(200px, 34vw) }
.plate { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center }
/* Static shadow (much cheaper than filter: drop-shadow on a rotating image) */
.plate::before { content: ""; position: absolute; inset: 3%; border-radius: 50%; box-shadow: 0 34px 44px rgba(0,0,0,.55); pointer-events: none }
.plate .ph { position: relative; display: block; width: 100%; aspect-ratio: 1; object-fit: contain }
.disc { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, rgba(16,22,19,0) 0 20%, rgba(16,22,19,.12) 32%, rgba(16,22,19,0) 48% 70%, rgba(16,22,19,.08) 84%, rgba(16,22,19,0)), radial-gradient(circle, #E6E0D2 0 57%, #FBF9F3 57.5% 61%, #EDE7DB 61.5% 63%, #F8F5EE 63.5%) }
.disc::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed rgba(16,22,19,.35) }
.ring { position: absolute; inset: -22px; border-radius: 50%; border: 2px dashed var(--accent); opacity: .75 }
@media (max-width: 560px) { .hero { min-height: 0; padding-top: 28px } .hero-art { min-height: 380px } }

/* ---------- Services (home page) ---------- */
.svc-wrap { padding-top: clamp(72px, 9vw, 112px); padding-bottom: 80px }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 32px 88px; align-items: center; padding: 36px 0 }
.svc-img { position: relative; display: grid; place-items: center }
.svc-r .svc-img { order: 2 }
@media (max-width: 900px) { .svc-r .svc-img { order: 0 } }
.svc-txt { display: flex; flex-direction: column; gap: 18px; align-items: flex-start }
.sq { position: relative; display: block; width: min(340px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 32px; background: var(--bg-2); box-shadow: 0 40px 70px -30px rgba(0,0,0,.85); transition: transform .6s var(--ease) }
.svc:hover .sq { transform: rotate(-2deg) scale(1.03) }
.blob { position: absolute; aspect-ratio: 1; background: var(--accent); border-radius: 42% 58% 63% 37% / 45% 41% 59% 55%; animation: morph 14s ease-in-out infinite alternate; will-change: transform }
.spark { position: absolute; z-index: 1; fill: var(--ink); animation: tw 3.2s ease-in-out infinite; will-change: transform, opacity }
.spark.o { fill: var(--accent) }

/* Image placeholder, shown when the image file is missing */
.img-ph { position: relative; display: grid; place-items: center; text-align: center; padding: 20px; background: var(--bg-2); border: 2px dashed var(--line-2); color: var(--muted); font: 600 11px/1.5 ui-monospace, Menlo, monospace; letter-spacing: .05em; text-transform: uppercase }
.img-ph.sq { border-radius: 32px }
.img-ph.zfoto { border-radius: 20px }

/* ---------- Orange band ---------- */
.band { background: var(--accent); color: var(--bg) }
.band a:not(.btn) { color: var(--bg); text-decoration: underline }
.band-in { padding-block: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px }
.band-act { display: flex; flex-direction: column; gap: 14px; align-items: flex-start }
.band-note { font-size: 15px; font-weight: 600 }
.why { padding-block: 104px; display: flex; flex-direction: column; gap: 56px }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px }
.card { padding: 28px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), background .35s, border-color .35s }
.card:hover { transform: translateY(-8px) }
.card p { font-size: 16px }
.card-o { border: 1.5px solid var(--bg) }
.card-o:hover { background: rgba(16,22,19,.08) }
.card-l { border: 1px solid rgba(243,239,230,.2) }
.card-l:hover, .card-d:hover { border-color: var(--accent) }
.card-d { padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; gap: 18px }
.num { font-size: 14px; font-weight: 700; letter-spacing: .14em }

/* ---------- Formas ---------- */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 28px }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 18px }
.fgrid-m { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px }
.fgrid-s { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 14px }
.lb { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted) }
.req { color: var(--accent) }
.fld { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 500 16px/1.4 var(--f-body); color-scheme: dark; transition: border-color .2s, box-shadow .2s }
textarea.fld { resize: vertical; min-height: 90px }
.fgrid-s .fld, .fgrid-m .fld { min-height: 50px; padding: 11px 16px }
/* iOS Safari gives date/time inputs an intrinsic min width that overflows grid columns */
.lb { min-width: 0 }
.fld { min-width: 0; max-width: 100% }
input[type="date"].fld, input[type="time"].fld { -webkit-appearance: none; appearance: none; display: block; line-height: 1.4 }
input[type="date"].fld::-webkit-date-and-time-value, input[type="time"].fld::-webkit-date-and-time-value { text-align: left; min-height: 1.4em }
input[type="date"].fld::-webkit-calendar-picker-indicator, input[type="time"].fld::-webkit-calendar-picker-indicator { filter: invert(.85) }
.fld:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent) }
.fld[aria-invalid="true"] { border-color: #FF7A6B }
.fld-xl { min-height: 56px; padding: 12px 18px; border-radius: 14px; font: 700 22px/1.2 var(--f-body) }
.ferr-f { color: #FF9B8F; font-size: 13px; font-weight: 600 }
.ferr { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; border: 1px solid #FF7A6B; background: rgba(255,122,107,.08); color: #FFC9C2; font-size: 15px }
.fnote { font-size: 13px; color: var(--muted); text-align: center }
.fnote a { text-decoration: underline; text-underline-offset: 2px }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.ev-note { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--accent); font-size: 15px }
.tabs { display: flex; flex-wrap: wrap; gap: 10px }
.tab { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 600 15px/1 var(--f-body); cursor: pointer; transition: background .25s, color .25s }
.tab.on { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.ok-box { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0 8px; animation: pop .5s cubic-bezier(.2,.8,.2,1) both }
.ok-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center }
.ok-box h3 { font: 800 34px/1.02 var(--f-head); letter-spacing: -.03em }
.notice { max-width: 1240px; margin: 20px auto 0; margin-inline: max(var(--gx), calc((100% - 1240px) / 2 + var(--gx))); display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--accent) }
.notice-ic { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center }
.warn { padding: 12px 16px; border-radius: 14px; border: 1px solid var(--accent); font-size: 15px }

/* ---------- Dialogs (pieteikuma forma) ---------- */
.dlg {
  width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  background: var(--bg-2); color: var(--ink); border: 1px solid rgba(243,239,230,.16); border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); overflow: auto; overscroll-behavior: contain;
}
.dlg::backdrop { background: rgba(8,12,10,.86) }
.dlg[open] { animation: dlgin .4s cubic-bezier(.2,.8,.2,1) both }
.dlg[open]::backdrop { animation: fade .25s ease both }
.dlg-body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px }
.dlg-head { display: flex; flex-direction: column; gap: 4px; padding-right: 48px }
.x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243,239,230,.25); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: rotate .3s, border-color .3s, color .3s }
.x:hover { rotate: 90deg; border-color: var(--accent); color: var(--accent) }
html.lock .spin, html.lock .blob, html.lock .spark, html.lock .float, html.lock .marq, html.lock .ltrack { animation-play-state: paused }

/* ---------- Sub-page header ---------- */
.page-head { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 5vw, 72px) }
.ph-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 64px; padding-bottom: 36px }
.crumbs { padding-top: 24px; font-size: 14px; color: var(--muted) }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5 }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px }
.crumbs [aria-current] { color: var(--ink) }

/* ---------- Banketi ---------- */
.bk-layout { padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 40px }
.bk-list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px }
.bk-form { flex: 1 1 380px; min-width: 0; position: sticky; top: 100px; gap: 18px; border-radius: 24px; padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8) }
@media (max-width: 960px) { .bk-form { position: static } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px }
.tile { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 10; background: var(--bg-2); isolation: isolate; box-shadow: 0 30px 60px -36px rgba(0,0,0,.9) }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease) }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,12,.94) 0%, rgba(10,14,12,.55) 38%, rgba(10,14,12,0) 70%); z-index: 1; pointer-events: none }
.tile:hover img { transform: scale(1.08) }
.cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px }
.cap p { font-size: 14px; line-height: 1.4; color: #DADCD4 }
.cap::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 8px; transition: width .5s var(--ease) }
.tile:hover .cap::before { width: 64px }
.tile-ph { position: absolute; inset: 12px; border-radius: 14px; border: 2px dashed rgba(243,239,230,.2); display: grid; place-items: start end; padding: 14px; font: 600 11px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .05em; text-transform: uppercase; color: var(--muted) }
.prose-sec { border-top: 1px solid var(--line) }

/* ---------- Klientu logo ---------- */
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent) }
.ltrack { display: flex; width: max-content; gap: 16px; padding: 8px 0; animation: lmarq 34s linear infinite }
.logos:hover .ltrack { animation-play-state: paused }
.lset { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0 }
.clogo { flex: 0 0 200px; height: 104px; border-radius: 18px; border: 1px solid rgba(243,239,230,.12); background: var(--bg-3); display: grid; place-items: center; overflow: hidden; transition: border-color .3s, transform .3s; font-size: 14px }
.clogo img { width: 100%; height: 100%; object-fit: contain; opacity: .62; transition: opacity .3s }
.logo-t { padding: 12px 16px; text-align: center; font-weight: 700; color: var(--muted); line-height: 1.3 }
.clogo:hover { border-color: rgba(243,239,230,.35); transform: translateY(-4px) }
.clogo:hover img { opacity: 1 }

/* ---------- Telpu noma ---------- */
.strip { overflow: hidden; padding: 8px 0 96px }
.strip:hover .marq { animation-play-state: paused }
.marq { display: flex; width: max-content; animation: marq 104s linear infinite }
.zset { display: flex; gap: 16px; padding-right: 16px }
.zfoto { flex: 0 0 240px; width: 240px; height: 240px; border-radius: 20px; object-fit: cover; display: block; background: var(--bg-2); box-shadow: 0 24px 40px -24px rgba(0,0,0,.8); transition: transform .4s var(--ease) }
.zfoto:hover { transform: scale(1.05) }
.rooms { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) 104px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px }
.cap-row { margin-top: auto !important; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px }

/* ---------- Tekstila noma ---------- */
.prods { padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 20px }
.prod { display: flex; flex-wrap: wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; transition: border-color .35s, transform .45s var(--ease) }
.prod:hover { border-color: rgba(243,239,230,.32); transform: translateY(-6px) }
.pimg { flex: 1 1 220px; min-height: 280px; position: relative; overflow: hidden }
.pimg img, .pimg .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease) }
.pimg .img-ph { border: 0 }
.prod:hover .pimg img { transform: scale(1.06) }
.pbody { flex: 1 1 260px; min-width: 0; padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px }
.price { font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent) }
.price-xl { font-family: var(--f-head); font-weight: 800; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; letter-spacing: -.03em; color: var(--accent) }
.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted) }
.dots li { display: flex; gap: 10px; align-items: baseline }
.dots li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--accent); translate: 0 -2px }
.calc { gap: 20px; padding: clamp(20px, 3vw, 32px) }
.calc .fgrid { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 14px }
.calc-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line) }

/* ---------- Par mums ---------- */
.about { padding-bottom: 104px; align-items: center }
.about-img { display: block; aspect-ratio: 4 / 5; max-height: 620px; width: 100%; height: auto; object-fit: cover; object-position: 60% 45%; border-radius: 28px; background: var(--bg-2); box-shadow: 0 40px 70px -30px rgba(0,0,0,.85) }
.about .prose strong a { text-decoration: none; color: inherit }

/* ---------- Kontakti ---------- */
.hours { margin: 0; display: flex; flex-direction: column }
.hours div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line) }
.hours div:last-child { border-bottom: 0 }
.hours dd { margin: 0; color: var(--muted) }
.hours dd.hl { color: var(--accent); font-weight: 700 }
.map { position: relative; min-height: 420px; border-radius: 28px; border: 2px dashed var(--line-2); background: var(--bg-2); overflow: hidden; display: grid }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block }
.map.loaded { border-style: solid; border-color: var(--line) }
.map-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 24px }
.dot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); display: block }
.ping { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2s ease-out infinite }

/* ---------- Events ---------- */
.ev-sec { padding-bottom: 112px }
.rule { border-top: 1px solid var(--line) }
.ev-list { display: flex; flex-direction: column }
.ev { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 36px 0; border-bottom: 1px solid var(--line) }
.ev::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gx)); background: rgba(243,239,230,.035); opacity: 0; transition: opacity .4s; pointer-events: none }
.ev:hover::before { opacity: 1 }
.ev-date { flex: 0 0 132px; display: flex; flex-direction: column; gap: 4px }
.ev-date time { display: flex; flex-direction: column; gap: 4px }
.day { font-weight: 800; font-size: 80px; line-height: .86; letter-spacing: -.045em; transition: color .35s }
.ev:hover .day { color: var(--accent) }
.mon { font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent) }
.poster { flex: 0 0 180px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--bg-2); display: grid; transition: transform .6s var(--ease), box-shadow .6s }
.poster img { width: 100%; height: 100%; object-fit: cover }
.ev:hover .poster { transform: rotate(-3deg) scale(1.05); box-shadow: 0 30px 50px -20px rgba(0,0,0,.8) }
.poster-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 2px dashed var(--line-2); border-radius: inherit; font: 800 26px/1 var(--f-head); letter-spacing: -.03em; color: var(--muted) }
.poster-ph b { color: var(--accent) }
.ev-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px }
.ev-cta { flex: 0 0 auto; display: flex }
.ev-empty { padding: 80px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; border-bottom: 1px solid var(--line) }
@media (max-width: 640px) {
  .ev { display: grid; grid-template-columns: 1fr 110px; gap: 16px 20px; padding: 28px 0 }
  .ev-date { grid-column: 1; grid-row: 1 }
  .poster { grid-column: 2; grid-row: 1 / 3; width: 110px }
  .ev-body { grid-column: 1 / -1 }
  .ev-cta { grid-column: 1 / -1 }
  .day { font-size: 64px }
}
.ev-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px }
.ev-card { display: flex; gap: 20px; align-items: center; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s, transform .35s var(--ease) }
.ev-card:hover { border-color: var(--accent); transform: translateY(-4px); color: var(--ink) }
.ev-card-d { display: flex; flex-direction: column; align-items: center; min-width: 56px }
.ev-card-d b { font: 800 44px/.9 var(--f-head); letter-spacing: -.04em }
.ev-card-d span { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.ev-card-t { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.ev-card-t strong { font: 800 21px/1.15 var(--f-head); letter-spacing: -.02em }
/* Single event page */
.evd { padding-top: 32px; padding-bottom: 112px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px 72px; align-items: start }
@media (max-width: 860px) { .evd { grid-template-columns: 1fr } .evd-poster { max-width: 420px } }
.evd-poster { aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: var(--bg-2); box-shadow: 0 40px 70px -30px rgba(0,0,0,.85); display: grid }
.evd-poster img { width: 100%; height: 100%; object-fit: cover }
.evd-facts { margin: 0; width: 100%; display: flex; flex-direction: column; border-top: 1px solid var(--line) }
.evd-facts div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line) }
.evd-facts dt { color: var(--muted) }
.evd-facts dd { margin: 0; text-align: right; font-weight: 600 }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line) }
.ftr-in { padding-top: 64px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 48px; font-size: 15px; color: var(--muted) }
.ftr-col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start }
.ftr-col strong { color: var(--ink) }
.ftr-col address { line-height: 1.5 }
.ftr-col address .nl { min-height: 32px }

/* ---------- Animations ---------- */
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes dlgin { from { opacity: 0; scale: .92; translate: 0 30px } to { opacity: 1; scale: 1; translate: 0 0 } }
@keyframes slidein { from { translate: 100% 0 } to { translate: 0 0 } }
@keyframes slideout { from { translate: 0 0 } to { translate: 100% 0 } }
@keyframes rise { from { opacity: 0; translate: 0 44px } to { opacity: 1; translate: 0 0 } }
@keyframes settle { from { opacity: 0; rotate: -7deg; scale: .86; translate: 0 60px } to { opacity: 1; rotate: 0deg; scale: 1; translate: 0 0 } }
@keyframes pop { from { opacity: 0; scale: .6; rotate: -50deg } to { opacity: 1; scale: 1; rotate: 0deg } }
@keyframes spin { to { rotate: 360deg } }
@keyframes floaty { from { translate: 0 -12px } to { translate: 0 16px } }
@keyframes morph { 0% { rotate: 0deg; scale: 1 } 50% { rotate: 20deg; scale: 1.06 } 100% { rotate: 40deg; scale: .96 } }
@keyframes tw { 0%, 100% { scale: 1; opacity: 1; rotate: 0deg } 50% { scale: .55; opacity: .55; rotate: 45deg } }
@keyframes ping { from { scale: 1; opacity: .7 } to { scale: 3.2; opacity: 0 } }
@keyframes lmarq { to { translate: calc(-50% - 8px) 0 } }
@keyframes marq { to { translate: -50% 0 } }
.in { animation: rise .9s var(--ease) both }
.pop { animation: pop 1.2s cubic-bezier(.2,.8,.2,1) both }
.spin { animation: spin 70s linear infinite }
.float { animation: floaty 5s ease-in-out infinite alternate }
@supports (animation-timeline: view()) {
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70% }
  .rvs { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 90% }
}
/* Pause decorative animations while off screen (site.js toggles .is-off) */
.is-off .blob, .is-off .spark, .is-off .spin, .is-off .float, .is-off .marq, .is-off .ltrack { animation-play-state: paused }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}
