/* HY Decoration & Catering — public site */
:root {
  --ink: #1c1f1d;
  --ink-soft: #4f5652;
  --line: #e1e4df;
  --tint: #f3f4f1;
  --paper: #ffffff;
  --dark: #191c1a;
  --radius: 16px;
  --brand: #8b1e24; --on-brand: #fff; --accent: #6f9a2b; --on-accent: #fff; --brand-text: #8b1e24;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 3px; border-radius: 4px; }
.sr, .hp { position: absolute !important; 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; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.narrow { max-width: 760px; }
.pad-xl { padding-top: 96px; padding-bottom: 96px; }
.muted { color: var(--ink-soft); }

.display { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 22px; text-wrap: balance; }
.h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.08; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.25; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); max-width: 58ch; margin-top: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--on-brand); border: 2px solid var(--brand);
  padding: 13px 22px; border-radius: 12px; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); filter: none; }
.btn-invert { background: var(--on-brand); color: var(--brand); border-color: var(--on-brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link-more { color: var(--brand-text); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ===================== splash ===================== */
.splash-page { background: var(--dark); }
.splash { position: relative; display: flex; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; }
.splash-head { position: absolute; z-index: 3; top: 0; left: 0; right: 0; text-align: center; padding: clamp(24px, 4vw, 44px) 16px 0; pointer-events: none; }
.splash-title { font: 800 clamp(26px, 3.4vw, 46px)/1.05 var(--display); letter-spacing: -0.02em; margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.splash-sub { margin: 8px 0 0; font-size: clamp(16px, 1.4vw, 19px); opacity: .9; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.door { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; text-decoration: none; color: #fff; overflow: hidden; transition: flex-grow .6s cubic-bezier(.2,.7,.2,1); isolation: isolate; }
.door + .door { box-shadow: inset 1px 0 0 rgba(255,255,255,.35); }
.door-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.92); }
.door-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12,12,10,.86) 0%, rgba(12,12,10,.45) 45%, rgba(12,12,10,.35) 75%, rgba(12,12,10,.55) 100%); transition: opacity .6s; }
.door-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 5vw, 64px); max-width: 620px; }
.door-logo { background: #fff; border-radius: 14px; padding: 12px 16px; display: inline-flex; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.door-logo img { height: clamp(64px, 8vw, 104px); width: auto; }
.door-name { font: 800 32px/1 var(--display); }
.door-tagline { font: 700 clamp(26px, 2.9vw, 40px)/1.08 var(--display); letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.door-list { font-size: 16px; opacity: .85; max-width: 42ch; }
.door-btn { margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: var(--on-brand); padding: 15px 24px; border-radius: 12px; font: 600 18px/1.2 var(--body); transition: gap .3s; }
.door:hover, .door:focus-visible { flex-grow: 1.45; }
.door:hover .door-bg, .door:focus-visible .door-bg { transform: scale(1.07); filter: saturate(1.05); }
.door:hover .door-btn, .door:focus-visible .door-btn { gap: 16px; }
.door:focus-visible { outline: 4px solid #fff; outline-offset: -8px; border-radius: 0; }
.splash:has(.door:hover) .door:not(:hover) .door-shade { opacity: 1; background: linear-gradient(to top, rgba(12,12,10,.9), rgba(12,12,10,.6)); }

@media (max-width: 760px) {
  .splash { flex-direction: column; }
  .splash-head { position: static; padding: 28px 16px 22px; background: var(--dark); }
  .door { min-height: 48svh; flex: 1 0 auto; }
  .door + .door { box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
  .door:hover, .door:focus-visible { flex-grow: 1; }
  .door-list { display: none; }
}

/* ===================== header ===================== */
.groupbar { background: var(--dark); color: #fff; font-size: 14px; }
.gb-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.gb-tabs { display: flex; gap: 4px; }
.gb-tabs a { text-decoration: none; padding: 10px 12px 8px; opacity: .7; border-bottom: 3px solid transparent; font-weight: 500; }
.gb-tabs a:hover { opacity: 1; }
.gb-tabs a[aria-current] { opacity: 1; border-bottom-color: var(--tab); }
.gb-home { text-decoration: none; opacity: .7; }
.gb-home:hover { opacity: 1; }

.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 60px; width: auto; }
.brand span { font: 800 24px var(--display); }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav ul a:hover { color: var(--ink); background: var(--tint); }
.nav ul a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span:not(.sr) { width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .head-row { min-height: 72px; }
  .brand img { height: 50px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
  .nav ul a[aria-current] { box-shadow: inset 4px 0 0 var(--brand); padding-left: 14px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-actions .btn { justify-content: center; }
  .nav-phone { text-align: center; padding: 10px; }
  .gb-home { display: none; }
}

/* ===================== sections ===================== */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.pt0 { padding-top: 0; }
.section-tint { background: var(--tint); }
.sec-head { margin-bottom: 36px; max-width: 62ch; }
.sec-head .muted { margin-top: 10px; font-size: 18px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lead { margin: 0 0 28px; }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.2L4.6 10l1.4-1.4 2.7 2.7 5.3-5.3 1.4 1.4-6.7 6.8z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.2L4.6 10l1.4-1.4 2.7 2.7 5.3-5.3 1.4 1.4-6.7 6.8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.div-catering .ticks li::before { background: var(--brand-text); }
.hero-media { position: relative; margin: 0 0 0 auto; width: min(100%, 520px); }
.hero-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--brand); border-radius: 22px; z-index: -1; }
.hero-media { isolation: isolate; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.hero-media figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.15); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .2s; }
.svc:hover { border-color: var(--ink); }
.svc-img { aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.svc-title { font: 700 20px/1.25 var(--display); letter-spacing: -0.01em; }
.svc-sum { color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }

/* home mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; }
.mosaic-item { border-radius: 14px; overflow: hidden; display: block; }
.mosaic-item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.mosaic-item:hover img { transform: scale(1.04); }

/* split / prose */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }
.split-img { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; border-radius: 22px; }
.prose { max-width: 64ch; }
.prose .h2 { margin-bottom: 18px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brand-text); }

/* page head */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.crumbs { margin: 0 0 10px; font-size: 15px; }
.crumbs a { color: var(--brand-text); font-weight: 600; text-decoration: none; }
.crumbs a::before { content: "‹ "; }

/* service detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.side { position: sticky; top: 108px; display: grid; gap: 16px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box .h3 { margin-bottom: 12px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { color: var(--brand-text); }
.side-brand { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.side-phone { display: block; font: 800 28px/1.1 var(--display); text-decoration: none; margin-bottom: 8px; }
.side-link { font-weight: 600; }

/* gallery page */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry-item { position: relative; display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 14px; overflow: hidden; text-decoration: none; }
.masonry-item img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.masonry-item:hover img { transform: scale(1.03); }
.masonry-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-size: 15px; font-weight: 500; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.review blockquote { margin: 10px 0 16px; font-size: 17px; }
.stars { color: var(--brand-text); letter-spacing: 2px; }
.stars span { color: var(--line); }

/* contact */
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.f { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.f input, .f select, .f textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.f textarea { resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--brand-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: #1f7a3a; }
.form-msg.err { color: #b42318; }
.contact-info { display: grid; gap: 0; }
.ci { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.ci:last-child { border-bottom: 1px solid var(--line); }
.ci-label { font-size: 14px; color: var(--ink-soft); }
.ci a { font-weight: 600; color: var(--ink); }
.ci-big { font: 800 clamp(28px, 3vw, 36px)/1.1 var(--display) !important; text-decoration: none; }

/* CTA band */
.cta-band { background: var(--brand); color: var(--on-brand); padding: clamp(48px, 6vw, 80px) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-row p { margin: 12px 0 0; max-width: 52ch; opacity: .9; font-size: 18px; }
.cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-phone { font: 800 clamp(28px, 3.6vw, 44px)/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }

/* footer */
.site-foot { background: var(--dark); color: #cfd3cf; padding: 64px 0 0; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-logo { background: #fff; border-radius: 12px; padding: 10px 14px; height: 84px; width: auto; margin-bottom: 14px; }
.foot-h { font: 600 16px var(--body); color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-list a, .social a { text-decoration: none; }
.foot-list a:hover, .social a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 16px; margin-top: 14px; }
.site-foot .muted { color: #9aa09b; }
.foot-other { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: border-color .2s; }
.foot-other:hover { border-color: var(--o); }
.foot-other img { background: #fff; border-radius: 10px; padding: 6px 8px; height: 58px; width: auto; flex: none; }
.foot-other span { display: grid; font-size: 14px; color: #9aa09b; }
.foot-other strong { color: #fff; font-size: 16px; }
.foot-home { display: inline-block; margin-top: 14px; font-size: 14px; color: #9aa09b; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; padding-bottom: 24px; font-size: 14px; color: #8b918c; }

/* whatsapp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12,12,10,.94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 92vw; text-align: center; }
.lb img { max-width: 92vw; max-height: 82vh; border-radius: 8px; margin: 0 auto; }
.lb figcaption { color: #eee; margin-top: 12px; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .detail, .contact { grid-template-columns: 1fr; }
  .hero-media { margin: 0 24px 24px 0; width: auto; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .split-img { aspect-ratio: 4 / 3; }
  .side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .ticks { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .mosaic-item:first-child { grid-row: span 2; }
  .mosaic-item:nth-child(n+4) { display: none; }
  .f-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .gb-tabs a { padding: 10px 8px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
