/* ==========================================================================
   Svadobný salón Marta · MS Fashion — štýly
   Farby vychádzajú z loga (zlatá + šedá) a z pôvodnej hlavičky (staroružová)
   ========================================================================== */

:root {
  --porcelan: #FAF6F4;   /* podklad – jemne ružová biela */
  --pudr:     #F2E4E7;   /* púdrová plocha */
  --mauve:    #9C5670;   /* staroružová z pôvodného webu */
  --mauve-d:  #7E4259;
  --slivka:   #3A2230;   /* text a tmavé sekcie */
  --zlato:    #B48A3C;   /* zlatá z loga – linky, ornament */
  --zlato-t:  #87642A;   /* zlatá čitateľná ako text na svetlom */
  --seda:     #6B6266;   /* šedá z loga – sekundárny text */
  --linka:    #E3D3D6;

  --f-display: "Lora", Georgia, "Times New Roman", serif;
  --f-text: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--porcelan);
  color: var(--slivka);
  font-family: var(--f-text);
  font-size: 1.0938rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--mauve); }
:focus-visible { outline: 2px solid var(--zlato); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--slivka); color: #fff; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Typografia ---------- */
h1, h2, h3, .display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
/* vyvážené zalamovanie nadpisov – riadky približne rovnako dlhé, žiadne osamotené slovo */
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
p { margin: 0 0 1.1em; max-width: 64ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--seda); max-width: 52ch; }
.muted { color: var(--seda); }

/* zlatá linka – podpisový prvok z loga (linka pod „MS FASHION“) */
.rule { display: block; width: 4.5rem; height: 1px; background: var(--zlato); margin: 0 0 1.75rem; border: 0; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .8rem 1.7rem;
  font-family: var(--f-text); font-size: .98rem; font-weight: 450; letter-spacing: .02em;
  text-decoration: none; border: 1px solid var(--slivka); border-radius: 999px;
  background: var(--slivka); color: var(--porcelan);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--mauve-d); border-color: var(--mauve-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--slivka); }
.btn--ghost:hover { background: var(--slivka); color: var(--porcelan); border-color: var(--slivka); }
.btn--light { background: var(--porcelan); color: var(--slivka); border-color: var(--porcelan); }
.btn--light:hover { background: transparent; color: var(--porcelan); border-color: var(--porcelan); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.link-more {
  font-weight: 450; text-decoration: none;
  border-bottom: 1px solid var(--zlato); padding-bottom: .15rem;
}
.link-more:hover { color: var(--mauve); border-color: var(--mauve); }

/* ---------- Horná lišta + hlavička ---------- */
.topbar {
  background: var(--mauve-d);
  color: #F6E9EE;
  font-size: .86rem;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--zlato);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 2.75rem; }
.topbar a { text-decoration: none; color: inherit; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.topbar__list li { display: flex; align-items: center; }
.topbar__list li + li::before {
  content: ""; width: 1px; height: 1rem; margin: 0 1.25rem; background: rgba(255, 255, 255, .22);
}
.topbar__item { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; flex: none; stroke: #E3C68C; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.topbar__label { opacity: .72; }
.topbar__value { font-weight: 500; }
a.topbar__item:hover .topbar__value { text-decoration: underline; text-underline-offset: .25em; }

.topbar__social { display: flex; align-items: center; gap: .5rem; }
.topbar__social span { opacity: .72; margin-right: .35rem; }
.topbar__social a {
  display: grid; place-items: center; width: 1.85rem; height: 1.85rem;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  transition: background .2s, border-color .2s;
}
.topbar__social a:hover { background: var(--zlato); border-color: var(--zlato); }
.topbar__social svg { width: 14px; height: 14px; fill: currentColor; fill-rule: evenodd; }

@media (max-width: 1100px) { .topbar__address { display: none !important; } }
@media (max-width: 860px) { .topbar__social span { display: none; } }
@media (max-width: 640px) {
  .topbar__extra { display: none !important; }
  .topbar .wrap { min-height: 2.5rem; }
}

.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--porcelan) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--linka); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.25rem; }
.logo img { width: clamp(150px, 16vw, 190px); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a { text-decoration: none; font-size: .98rem; font-weight: 400; padding: .4rem 0; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--zlato);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--mauve-d); }
.nav .btn { min-height: 2.6rem; padding: .5rem 1.25rem; font-size: .92rem; }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; margin-right: -.6rem; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--slivka); margin: 7px 0; transition: transform .3s var(--ease), opacity .2s; }

@media (max-width: 960px) {
  /* backdrop-filter by z hlavičky urobil kontajner pre fixed menu – na mobile ho vypíname */
  .header { backdrop-filter: none; background: var(--porcelan); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; top: var(--header-h, 5.25rem);
    background: var(--porcelan); padding: 2rem var(--gutter);
    transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .nav a { font-family: var(--f-display); font-size: 1.9rem; }
  .nav .btn { font-family: var(--f-text); font-size: 1rem; margin-top: 1rem; min-height: 3rem; padding-inline: 1.8rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Fotografie – čistý módny lookbook: ostré hrany, bez rámov ---------- */
.arch, .frame { position: relative; display: block; overflow: hidden; background: var(--pudr); }
.arch img, .frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
a:hover .arch img, .item:hover .arch img, .item:hover .frame img { transform: scale(1.04); }
/* jemné stmavenie spodku pri prejdení myšou – fotka „ožije“ */
.item .arch::after, .item .frame::after, .arches .arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(46, 24, 36, .28), rgba(46, 24, 36, 0) 45%);
  opacity: 0; transition: opacity .5s var(--ease);
}
a:hover .arch::after, .item:hover .arch::after, .item:hover .frame::after { opacity: 1; }

/* ---------- Úvod (hero) ---------- */
/* fotografia cez celú šírku, text vľavo na jemnom slivkovom závoji */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, calc(100vh - 8rem), 860px);
  display: flex; align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--slivka);
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(46, 24, 36, .82) 0%, rgba(46, 24, 36, .55) 38%, rgba(46, 24, 36, .08) 70%, rgba(46, 24, 36, 0) 100%),
    linear-gradient(0deg, rgba(46, 24, 36, .35) 0%, rgba(46, 24, 36, 0) 35%);
}
/* dole šev zo zlatých stehov (definovaný v sekcii Krajčírske motívy) */
.hero__text { max-width: 44rem; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); max-width: 14ch; }
.hero h1 { margin-bottom: .45em; color: #fff; text-shadow: 0 2px 30px rgba(30, 12, 22, .35); }
.hero .lead { color: #F1E3E8; max-width: 34rem; }
.hero__sign { font-family: var(--f-display); font-style: italic; color: #E3C68C; font-size: 1.2rem; margin-bottom: 1.4rem; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: #fff; color: var(--slivka); border-color: #fff; }

/* jediný orchestrovaný moment: fotka sa pomaly odhalí, text sa vynorí */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg { animation: reveal 2.2s var(--ease) both; }
  .hero__text > * { animation: rise .9s .35s var(--ease) both; }
  .hero__text > *:nth-child(2) { animation-delay: .43s; }
  .hero__text > *:nth-child(3) { animation-delay: .51s; }
  .hero__text > *:nth-child(4) { animation-delay: .59s; }
}
@keyframes reveal { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* na mobile: fotka hore v plnej kráse, text pod ňou na slivkovom podklade */
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 0 0 3.25rem; }
  .hero__bg { position: relative; inset: auto; z-index: 0; height: 56vh; min-height: 320px; max-height: 520px; object-position: 64% 50%; }
  .hero::before { display: none; }
  .hero .wrap { padding-top: 2.25rem; }
  .hero h1 { text-shadow: none; }
}

/* ---------- Sekcie ---------- */
.section { padding: var(--section) 0; }
.section--pudr { background: var(--pudr); }
.section--dark { background: var(--slivka); color: var(--porcelan); }
.section--dark .muted, .section--dark .lead { color: #CDB9C2; }
.section--dark a:hover { color: #E7C9D4; }
/* ---------- Krajčírske motívy: švy na prechodoch a ihla s niťou v pozadí ---------- */
:root {
  /* steh = krátka čiarka so zaoblenými koncami, opakuje sa ako šev */
  --stitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='4'%3E%3Cline x1='2' y1='2' x2='12' y2='2' stroke='%23B48A3C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.section--pudr, .section--dark, .footer, .hero { position: relative; }
.section--pudr, .section--dark { overflow: clip; }
.section--pudr > .wrap, .section--dark > .wrap { position: relative; z-index: 1; }

/* šev pri hornom a dolnom okraji farebného bloku – vyzerá, akoby boli plochy zošité */
.section--pudr::before, .section--dark::before, .footer::before, .hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px;
  background: var(--stitch) repeat-x left center; opacity: .9; pointer-events: none;
}
/* farebné bloky majú šev hore aj dole */
.section--pudr::before, .section--dark::before {
  top: 12px; bottom: 12px; height: auto;
  background: var(--stitch) repeat-x left top, var(--stitch) repeat-x left bottom;
}
.section--pudr { box-shadow: inset 0 1px 0 rgba(58, 34, 48, .06), inset 0 -1px 0 rgba(58, 34, 48, .06); }
.hero::after { top: auto; bottom: 12px; height: 4px; background-color: transparent; opacity: 1; }

/* ihla s niťou – v rohu púdrových blokov */
.section--pudr::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: clamp(-140px, -6vw, -40px); top: 2.5rem;
  width: clamp(300px, 34vw, 520px); aspect-ratio: 520 / 360;
  background: url("../img/ihla-nit.svg") no-repeat center / contain;
  opacity: .45;
}
/* striedanie: každý druhý púdrový blok má motív vľavo dole a zrkadlovo */
.section--pudr:nth-of-type(even)::after {
  right: auto; left: clamp(-140px, -6vw, -40px); top: auto; bottom: 2rem; transform: scaleX(-1);
}
/* slučka nite so špendlíkom – tmavý blok */
.section--dark::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: clamp(-120px, -5vw, -30px); bottom: 1.5rem;
  width: clamp(320px, 38vw, 560px); aspect-ratio: 520 / 260;
  background: url("../img/nit-slucka.svg") no-repeat center / contain;
  opacity: .3;
}
/* podstránky: ihla jemne v hlavičke stránky */
.page-hero { position: relative; overflow: clip; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: clamp(-120px, -4vw, -20px); top: 1rem;
  width: clamp(260px, 30vw, 460px); aspect-ratio: 520 / 360;
  background: url("../img/ihla-nit.svg") no-repeat center / contain;
  opacity: .35;
}
/* kvetinárstvo: namiesto ihly kvetinová vetvička */
.motif-kvety::after { background-image: url("../img/kvety.svg") !important; opacity: .55; }
.section--pudr.motif-kvety::after { width: clamp(320px, 36vw, 560px); }

@media (max-width: 760px) {
  .section--pudr::after, .page-hero::after { opacity: .25; }
  .motif-kvety::after { opacity: .3; }
  .section--dark::after { opacity: .2; }
}

.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin: 0; }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }

/* zoznam ponuky – riadky s linkami, nie karty */
.offer { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.offer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linka); }
.offer__list li {
  display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--linka);
}
.offer__list h3 { margin: 0; font-size: 1.45rem; }
.offer__list p { margin: 0; color: var(--seda); }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; }
  .offer__list li { grid-template-columns: 1fr; gap: .35rem; }
}

/* citát z dielne */
.atelier { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.atelier blockquote { margin: 0; }
.atelier blockquote p {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.22; max-width: 22ch; margin-bottom: 1.5rem;
}
.atelier cite { font-style: normal; color: #CDB9C2; font-size: .95rem; }
.atelier .rule { background: var(--zlato); }
.atelier__facts { display: grid; gap: 1.6rem; }
.atelier__facts p { margin: 0; }
@media (max-width: 860px) { .atelier { grid-template-columns: 1fr; } }

/* náhľad kolekcie – štyri šaty v rade, formát 2 : 3 ako originálne fotky */
.arches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.arches a { text-decoration: none; display: block; }
.arches .arch { aspect-ratio: 2 / 3; }
.arches .name { font-family: var(--f-display); font-size: 1.35rem; margin-top: 1rem; display: block; }
.arches .meta { color: var(--seda); font-size: .92rem; }
@media (max-width: 860px) {
  .arches { grid-template-columns: repeat(2, 1fr); }
}

/* kvetinárstvo – split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.duo { position: relative; padding-bottom: 18%; }
.duo .arch { width: 68%; aspect-ratio: 3 / 4; }
.duo__second { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: .6rem solid var(--pudr); overflow: hidden; }
.duo__second img { width: 100%; height: 100%; object-fit: cover; }
.tags { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { border: 1px solid #D9BFC6; border-radius: 999px; padding: .3rem .9rem; font-size: .92rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* postup návštevy – skutočná postupnosť, preto čísla */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--zlato); padding-top: 1.4rem; }
.steps li::before {
  content: counter(step); display: block;
  font-family: var(--f-display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--zlato-t); margin-bottom: 1rem;
}
.steps h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.steps p { color: var(--seda); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* široká fotografia neviest */
.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 60%; }
.wide-photo figcaption { margin-top: 1rem; color: var(--seda); font-size: .95rem; }
@media (max-width: 640px) { .wide-photo img { aspect-ratio: 4 / 3; } }

/* odporúčaný fotograf – nenápadný riadok pod fotkou neviest */
.partner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem 2rem;
  margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid #DCC6CC;
}
.partner p { margin: 0; color: var(--seda); font-size: .96rem; max-width: 52ch; }
.partner__logo { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--slivka); }
.partner__mono {
  position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px;
  background: #1F1C19; color: #F5F1EA; font-family: "Cormorant Garamond", var(--f-display); font-size: 1.15rem; letter-spacing: -.02em;
  padding-bottom: .25rem;
}
.partner__mono::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: .55rem; height: 1.5px; border-radius: 1px; background: #C99472; }
.partner__name { font-family: "Cormorant Garamond", var(--f-display); font-size: 1.35rem; line-height: 1.1; }
.partner__name small { display: block; font-family: var(--f-text); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--seda); margin-top: .3rem; }
.partner__logo:hover { color: var(--mauve-d); }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; gap: 1rem; } }

/* výzva na konci */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Podstránky ---------- */
.page-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.breadcrumb { font-size: .9rem; color: var(--seda); margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* filtre galérie */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filters button {
  background: none; border: 1px solid var(--linka); border-radius: 999px;
  padding: .5rem 1.15rem; font-size: .95rem; transition: background .2s, border-color .2s, color .2s;
}
.filters button:hover { border-color: var(--mauve); }
.filters button[aria-pressed="true"] { background: var(--slivka); border-color: var(--slivka); color: var(--porcelan); }
.filters .count { opacity: .6; margin-left: .3rem; font-size: .85em; }

/* galéria – lookbook: šaty v troch stĺpcoch (väčšie fotky), kvety v štyroch */
.gallery {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1rem, 2vw, 1.75rem);
}
.gallery--flowers { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .gallery--flowers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .gallery, .gallery--flowers { grid-template-columns: repeat(2, 1fr); gap: 2rem .9rem; } }
.gallery li[hidden] { display: none; }
.item { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.item .arch { aspect-ratio: 2 / 3; }
.gallery--flowers .item .frame { aspect-ratio: 3 / 4; }
.item__name { display: block; font-family: var(--f-display); font-size: 1.3rem; margin-top: 1.1rem; line-height: 1.2; transition: color .3s; }
.item__meta { display: block; color: var(--seda); font-size: .9rem; margin-top: .2rem; }
.item:hover .item__name, .arches a:hover .name { color: var(--mauve-d); }
.gallery--flowers .item__name { font-size: 1.15rem; }
@media (max-width: 760px) { .item__name { font-size: 1.1rem; } .item__meta { font-size: .82rem; } }

.note { border-left: 1px solid var(--zlato); padding: .2rem 0 .2rem 1.4rem; color: var(--seda); max-width: 60ch; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(38, 20, 30, .88); }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; }
.lightbox figcaption { color: #fff; font-family: var(--f-display); font-size: 1.3rem; text-align: center; }
.lightbox figcaption span { display: block; font-family: var(--f-text); font-size: .9rem; opacity: .75; }
.lightbox__close, .lightbox__nav {
  position: fixed; background: rgba(250, 246, 244, .12); color: #fff; border: 1px solid rgba(255,255,255,.35);
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(250, 246, 244, .25); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav--prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* o nás */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.about-grid .arch { aspect-ratio: 3 / 4.2; position: sticky; top: 7rem; }
.facts { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--linka); }
.facts li { padding: 1.1rem 0; border-bottom: 1px solid var(--linka); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .arch { position: static; max-width: 420px; }
}

/* ---------- Kontakt a formulár ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-card { padding: 1.6rem 0; border-bottom: 1px solid var(--linka); }
.contact-card:first-child { border-top: 1px solid var(--linka); }
.contact-card h3 { margin-bottom: .6rem; }
.contact-card p { margin: 0 0 .3rem; }
.contact-card a { text-decoration: none; }
.contact-card .ficon { gap: .85rem; }
.contact-card .ficon svg { width: 19px; height: 19px; margin-top: .18em; }
.contact-card p { margin-bottom: .55rem; }
.contact-card a.ficon:hover svg { stroke: var(--mauve-d); }
.contact-card a.ficon:hover svg.fill, .contact-card a.ficon:hover svg .dot { fill: var(--mauve-d); }
.contact-card .link-more.ficon { padding-bottom: .2rem; margin-top: .4rem; }
.contact-card a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: #fff; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--linka); }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .93rem; font-weight: 450; }
.field .opt { color: var(--seda); font-weight: 350; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--slivka);
  background: var(--porcelan); border: 1px solid var(--linka); border-radius: 2px;
  padding: .8rem .9rem; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mauve); background: #fff; box-shadow: 0 0 0 3px rgba(156, 86, 112, .15); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field .error { color: #B3261E; font-size: .88rem; min-height: 0; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .93rem; color: var(--seda); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--mauve); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 1.6rem; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-left: 2px solid; display: none; }
.form-status.is-ok { display: block; border-color: #3E7B5A; background: #EEF5F0; }
.form-status.is-err { display: block; border-color: #B3261E; background: #FBEDEC; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.map { margin-top: clamp(3rem, 6vw, 5rem); aspect-ratio: 21 / 8; background: var(--pudr); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 1.5rem; gap: .6rem; }
.map__placeholder p { margin: 0 auto; color: var(--seda); max-width: 46ch; font-size: .95rem; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Právne texty ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.8rem; }
.legal h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.5rem; }
.legal th, .legal td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--linka); vertical-align: top; }
.legal th { font-weight: 500; }
.todo { background: #FFF4CC; padding: 0 .3em; }

/* ---------- Pätička ---------- */
.footer { background: var(--slivka); color: #DCCAD2; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .97rem; }
.footer a { text-decoration: none; color: #DCCAD2; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
/* logo v pätičke – jednofarebná šampanská verzia, aby bola šedá časť loga čitateľná na tmavom podklade */
.footer__logo { display: inline-block; margin-bottom: 1.4rem; }
.footer__logo img { width: 230px; filter: brightness(0) invert(1) sepia(.45) saturate(1.5) brightness(.95); opacity: .95; }
.footer__logo:hover img { opacity: 1; }
.footer__brand { font-family: var(--f-display); font-size: 2rem; color: var(--porcelan); line-height: 1.1; margin-bottom: .7rem; }
.footer__brand span { display: block; font-family: var(--f-text); font-size: .95rem; color: var(--zlato); letter-spacing: .18em; margin-top: .4rem; }
.footer h3 { font-family: var(--f-text); font-size: 1rem; font-weight: 500; color: var(--porcelan); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ficon { display: inline-flex; align-items: flex-start; gap: .7rem; }
.ficon svg {
  width: 17px; height: 17px; flex: none; margin-top: .2em;
  fill: none; stroke: var(--zlato); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .2s, fill .2s;
}
.ficon svg.fill { fill: var(--zlato); stroke: none; }
.ficon svg .dot { fill: var(--zlato); stroke: none; }
a.ficon:hover svg { stroke: #E3C68C; }
a.ficon:hover svg.fill, a.ficon:hover svg .dot { fill: #E3C68C; }
.footer p { margin: 0 0 .4rem; }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: #B9A3AE; }
.footer__bottom p { margin: 0; display: flex; flex-wrap: wrap; row-gap: .4rem; }
.footer__credit { margin-left: 1.25rem; padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
@media (max-width: 640px) { .footer__credit { display: block; margin: .4rem 0 0; padding: 0; border: 0; } }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__bottom button { background: none; border: 0; padding: 0; color: #DCCAD2; font-size: inherit; }
.footer__bottom button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Cookie lišta ---------- */
.cookie {
  position: fixed; z-index: 200; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem; margin-left: auto;
  background: var(--porcelan); color: var(--slivka);
  border: 1px solid var(--linka);
  box-shadow: 0 30px 60px -30px rgba(58, 34, 48, .55);
  padding: 1.5rem 1.6rem;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.cookie p { font-size: .94rem; color: var(--seda); margin-bottom: 1rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie .btn { min-height: 2.7rem; padding: .55rem 1.2rem; font-size: .92rem; }
.cookie__prefs { border-top: 1px solid var(--linka); margin: 0 0 1.1rem; padding-top: .4rem; }
.cookie__prefs[hidden] { display: none; }
.pref { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--linka); }
.pref strong { font-weight: 500; display: block; }
.pref small { color: var(--seda); font-size: .86rem; line-height: 1.45; display: block; }
.switch { position: relative; width: 2.8rem; height: 1.6rem; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #D8C8CD; border-radius: 999px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--mauve); }
.switch input:checked + span::after { transform: translateX(1.2rem); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--zlato); outline-offset: 2px; }
@media (max-width: 520px) { .cookie { left: .5rem; right: .5rem; bottom: .5rem; padding: 1.2rem; } }
