/* CsillaGvirág, koncepció-oldal. "Két csend": világos Ünnepre, mély Búcsúra. */

@font-face {
  font-family: 'Frank Ruhl Libre';
  src: url('assets/fonts/frankruhllibre-latinext.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Frank Ruhl Libre';
  src: url('assets/fonts/frankruhllibre-latin.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('assets/fonts/albertsans-latinext.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('assets/fonts/albertsans-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --porcelan: #F5F2EC;
  --porcelan-2: #EDE8DF;
  --zold: #2C4433;
  --zold-melyebb: #22352A;
  --grafit: #26262A;
  --grafit-halk: #4A4F49;
  --malva: #B99AB4;
  --malva-melye: #6E4A69;
  --malva-vilagos: #C7ACC2;
  --vilagos-szoveg: #E8E4DC;
  --vilagos-halk: #C9D4C6;
  --serif: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --sans: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelan);
  color: var(--grafit);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Demó-sáv */
.demobar {
  background: var(--zold-melyebb);
  color: var(--vilagos-halk);
  text-align: center;
}
.demobar p {
  margin: 0; padding: 8px 16px;
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
}

/* Fejléc */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 12px 24px;
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(44, 68, 51, 0.14);
}
.wordmark {
  font-family: var(--serif); font-size: 25px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--zold); white-space: nowrap;
}
.wordmark b, .foot-mark b, h1 b { font-weight: 500; color: var(--malva-melye); }
.topnav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.topnav a {
  text-decoration: none; color: var(--grafit-halk);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.topnav a:hover, .topnav a:focus-visible { color: var(--zold); border-bottom-color: var(--malva); }
.topact { display: flex; align-items: center; gap: 14px; }
.topact .tel { font-size: 15px; text-decoration: none; color: var(--grafit-halk); }
.topact .tel:hover { color: var(--zold); }
.wa {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--zold); color: var(--porcelan);
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 15px; border-radius: 999px;
}
.wa svg { width: 17px; height: 17px; fill: currentColor; }
.wa:hover { background: var(--zold-melyebb); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(44, 68, 51, 0.12);
}
.hero-text { padding: 56px 24px 48px; max-width: 640px; margin: 0 auto; width: 100%; }
.eyebrow {
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--malva-melye); margin-bottom: 18px;
}
h1 {
  font-size: clamp(46px, 12vw, 74px);
  margin: 0 0 20px;
  color: var(--zold);
}
.lead {
  font-size: clamp(17px, 2.4vw, 19.5px);
  color: var(--grafit-halk);
  max-width: 30em;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }

/* Gombok */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  font-size: 15px; padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: background-color .2s, color .2s;
}
.btn-wa { background: var(--malva-melye); color: var(--porcelan); }
.btn-wa:hover { background: #5A3C56; }
.btn-ghost { border-color: rgba(44, 68, 51, 0.35); color: var(--zold); }
.btn-ghost:hover { background: rgba(44, 68, 51, 0.08); }
.btn-light { background: var(--porcelan); color: var(--zold); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: rgba(232, 228, 220, 0.5); color: var(--vilagos-szoveg); }
.btn-outline:hover { background: rgba(232, 228, 220, 0.12); }

/* Diptichon: a két csend kapuja */
.diptych { display: grid; grid-template-columns: 1fr; }
.dip {
  display: block; text-decoration: none; padding: 40px 28px;
  position: relative;
}
.dip-kicker {
  display: block; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 10px;
}
.dip-word {
  display: block; font-family: var(--serif);
  font-size: clamp(38px, 9vw, 58px); line-height: 1.05;
}
.dip-note { display: block; font-size: 15px; margin-top: 10px; }
.dip-light { background: var(--porcelan-2); color: var(--zold); }
.dip-light .dip-kicker { color: var(--malva-melye); }
.dip-light .dip-note { color: var(--grafit-halk); }
.dip-dark { background: var(--zold); color: var(--porcelan); }
.dip-dark .dip-kicker { color: var(--malva-vilagos); }
.dip-dark .dip-note { color: var(--vilagos-halk); }
.dip::after {
  content: ""; position: absolute; left: 28px; bottom: 26px;
  width: 34px; height: 1px; background: currentColor; opacity: .5;
  transition: width .3s ease;
}
.dip:hover::after, .dip:focus-visible::after { width: 66px; }

/* Sávok */
.band { padding: 76px 0 84px; }
.band-light { background: var(--porcelan); }
.band-dark { background: var(--zold); color: var(--vilagos-szoveg); }
.band-head { max-width: 44rem; margin-bottom: 46px; }
.band-kicker {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 14px; color: var(--malva-melye);
}
.band-dark .band-kicker { color: var(--malva-vilagos); }
.band-head h2 { font-size: clamp(30px, 5.2vw, 44px); color: var(--zold); }
.band-dark .band-head h2 { color: var(--porcelan); }
.band-lead { margin-top: 18px; font-size: 18px; color: var(--grafit-halk); }
.band-dark .band-lead { color: var(--vilagos-halk); }

/* Ünnepre: számozott kínálat-sorok, nem ikonkártyák */
.offer { list-style: none; margin: 0 0 52px; padding: 0; border-top: 1px solid rgba(44, 68, 51, 0.18); }
.offer li {
  display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px;
  padding: 20px 0; border-bottom: 1px solid rgba(44, 68, 51, 0.18);
}
.offer-num {
  font-family: var(--serif); font-size: 15px; color: var(--malva-melye);
  padding-top: 6px;
}
.offer-name { font-family: var(--serif); font-size: clamp(21px, 3.6vw, 27px); color: var(--zold); }
.offer-note { grid-column: 2; font-size: 15.5px; color: var(--grafit-halk); }

/* Fotósor, eltérő magasságokkal */
.strip { display: grid; grid-template-columns: 1fr; gap: 18px; }
.strip figure { margin: 0; }
.strip img { width: 100%; object-fit: cover; }
.strip-big img { aspect-ratio: 4 / 3; }
.strip-tall img { aspect-ratio: 3 / 4; }
.strip-small img { aspect-ratio: 4 / 3; }
.strip figcaption {
  margin-top: 9px; font-size: 13.5px; color: var(--grafit-halk);
}

/* Szalag-átvezetés */
.ribbon { background: var(--porcelan); line-height: 0; }
.ribbon svg { display: block; width: 100%; height: 150px; }
.ribbon-fill { fill: var(--zold); }
.ribbon-line { fill: none; stroke: #A87FA1; stroke-width: 3.2; stroke-linecap: round; }
.ribbon-line-2 { stroke: rgba(168, 127, 161, 0.55); stroke-width: 1.6; }
.ribbon.anim .ribbon-line {
  stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000);
}
.ribbon.anim.drawn .ribbon-line {
  transition: stroke-dashoffset 3.4s cubic-bezier(.32,.06,.2,1);
  stroke-dashoffset: 0;
}
.ribbon.anim.drawn .ribbon-line-2 { transition-delay: .35s; }

/* Búcsúra */
.mourn { max-width: 46rem; }
.mourn-list {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 8px;
}
.mourn-list li {
  font-family: var(--serif); font-size: 17px;
  padding: 8px 16px; border: 1px solid rgba(232, 228, 220, 0.32); border-radius: 2px;
  color: var(--porcelan);
}
.mourn-note { color: var(--vilagos-halk); font-size: 16px; max-width: 38em; }
.mourn-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mourn-photos {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 54px;
  max-width: 760px;
}
.mourn-photos figure { margin: 0; }
.mourn-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Rendelés */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li {
  position: relative; padding: 0 0 34px 62px;
  border-left: 1px solid rgba(44, 68, 51, 0.2);
  margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-n {
  position: absolute; left: -15px; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--zold); color: var(--porcelan);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px;
}
.steps h3 { font-size: 22px; color: var(--zold); margin-bottom: 8px; }
.steps p { color: var(--grafit-halk); font-size: 16px; max-width: 34em; margin: 0; }
.steps a { color: var(--malva-melye); text-underline-offset: 3px; }

/* Kapcsolat */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 46px; }
.contact-grid h2 { font-size: clamp(30px, 5.2vw, 44px); color: var(--porcelan); }
.contact { margin: 30px 0 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.contact dt {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--malva-vilagos); margin-top: 18px;
}
.contact dd { margin: 4px 0 0; font-size: 17px; }
.contact a { color: var(--porcelan); text-decoration: none; border-bottom: 1px solid rgba(185, 154, 180, 0.6); }
.contact a:hover { border-bottom-color: var(--porcelan); }
.contact .ico { width: 15px; height: 15px; fill: currentColor; vertical-align: -2px; margin-right: 5px; }
.hours { border-top: 1px solid rgba(232, 228, 220, 0.25); padding-top: 26px; }
.hours h3 { font-size: 24px; color: var(--porcelan); margin-bottom: 14px; }
.hours-note { color: var(--vilagos-halk); font-size: 15.5px; max-width: 32em; }
.hours-fill { margin-bottom: 12px; }

.fill {
  display: inline-block;
  background: rgba(185, 154, 180, 0.22);
  border: 1px dashed var(--malva);
  color: inherit;
  font-size: 13px; letter-spacing: 0.08em;
  padding: 2px 9px; border-radius: 2px;
  white-space: nowrap;
}
.band-light .fill { border-color: var(--malva-melye); color: var(--malva-melye); background: rgba(185, 154, 180, 0.16); }

/* Lábléc */
.foot { background: var(--zold-melyebb); color: var(--vilagos-halk); padding: 52px 0 44px; }
.foot-mark { font-family: var(--serif); font-size: 26px; color: var(--porcelan); margin-bottom: 12px; }
.foot-mark b { color: var(--malva); font-weight: 500; }
.foot-adr { font-size: 15.5px; }
.foot-adr a { color: var(--porcelan); }
.foot-credit, .foot-demo { font-size: 13px; color: #AFBCAE; max-width: 46em; }
.foot-demo { margin-bottom: 0; }

/* Reveal */
.rv { opacity: 0; transform: translateY(16px); }
.rv.on { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

/* Fókusz */
a:focus-visible { outline: 2px solid var(--malva); outline-offset: 3px; border-radius: 2px; }

/* Mobil fejléc: egy sor, a menü a szekciókból is elérhető */
@media (max-width: 699px) {
  .topbar { padding: 10px 18px; gap: 12px; flex-wrap: nowrap; }
  .topnav { display: none; }
  .topact { margin-left: auto; }
  .topact .tel { display: none; }
  .wordmark { font-size: 22px; }
}

/* Nagyobb nézetek */
@media (min-width: 700px) {
  .strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .strip-big { grid-column: 1 / -1; }
  .mourn-photos { grid-template-columns: repeat(2, 1fr); }
  .diptych { grid-template-columns: 1fr 1fr; }
  .dip { padding: 56px 36px 62px; }
  .contact { grid-template-columns: 120px 1fr; align-items: baseline; }
  .contact dt { margin-top: 16px; }
  .contact dd { margin-top: 16px; }
}

@media (min-width: 960px) {
  body { font-size: 17.5px; }
  .hero { grid-template-columns: 1.02fr 1fr; align-items: stretch; }
  .hero-text {
    padding: 96px 56px 96px max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
    max-width: none; margin: 0;
    align-self: center;
  }
  .hero-photo img { min-height: 620px; }
  .band { padding: 104px 0 112px; }
  .strip { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px; }
  .strip-big { grid-column: 1; grid-row: 1 / span 2; }
  .strip-big img { aspect-ratio: 4 / 5; height: 100%; }
  .strip-tall { grid-column: 2; grid-row: 1 / span 2; }
  .strip-tall img { aspect-ratio: 3 / 4; height: 100%; }
  .strip { grid-template-rows: 1fr 1fr; }
  .strip-small { grid-column: 3; display: grid; grid-template-rows: 1fr auto; }
  .strip-small img { aspect-ratio: auto; height: 100%; min-height: 0; }
  .offer li { grid-template-columns: 64px 20rem 1fr; align-items: baseline; padding: 24px 0; }
  .offer-note { grid-column: 3; }
  .contact-grid { grid-template-columns: 1.25fr 1fr; gap: 70px; }
  .hours { border-top: 0; border-left: 1px solid rgba(232, 228, 220, 0.25); padding: 4px 0 4px 46px; }
  .ribbon svg { height: 210px; }
  .mourn-photos { max-width: 820px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon.anim .ribbon-line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .rv, .rv.on { opacity: 1; transform: none; transition: none; }
  .btn, .dip::after { transition: none; }
}
