/* ============================================================
   Katarína Buzássy — Fotografka | style.css
   Responzívne: mobil 360px → tablet 768px → desktop 1280px → 2K 2560px
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:  #faf8f4;
  --linen:  #f0ebe1;
  --blush:  #e8ddd0;
  --rose:   #c9a98a;
  --warm:   #b8926e;
  --clay:   #9a7355;
  --slate:  #6b6059;
  --ink:    #2c231c;
  --fog:    #d9d0c4;
  --white:  #fdfcfa;
  --max-w:  1600px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Didact Gothic', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR (len desktop) ── */
.cursor, .cursor-ring { display: none; }

@media (pointer: fine) {
  .cursor {
    display: block; position: fixed; width: 6px; height: 6px;
    background: var(--warm); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
  }
  .cursor-ring {
    display: block; position: fixed; width: 32px; height: 32px;
    border: 1px solid rgba(184,146,110,.45); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%,-50%);
    transition: width .3s, height .3s, border-color .3s;
  }
  .cursor-ring.hover { width: 52px; height: 52px; border-color: var(--warm); }
  body { cursor: none; }
}

/* Grain texture */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 8999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: .7;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 68px;
  background: rgba(250,248,244,.97);
  border-bottom: 1px solid var(--fog);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 24px rgba(44,35,28,.05);
}
.nav-logo {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: clamp(.85rem, 2vw, 1rem); letter-spacing: .08em;
  color: var(--ink); text-decoration: none;
  opacity: 0; animation: fadeDown .9s .4s forwards; white-space: nowrap;
}
.nav-logo em { font-style: italic; color: var(--clay); }

nav ul {
  display: flex; gap: clamp(16px, 2.5vw, 36px); list-style: none;
  opacity: 0; animation: fadeDown .9s .6s forwards;
}
nav a {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  position: relative; padding-bottom: 3px; transition: color .3s;
}
nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--warm);
  transition: width .4s cubic-bezier(.25,.46,.45,.94);
}
nav a:hover::after { width: 100%; }

/* Burger — mobilný */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 201;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: all .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* OPRAVA #4 — Hamburger menu tmavý overlay */
body.menu-open::before {
  background-image: none;
  background-color: rgba(44,35,28,.42);
  backdrop-filter: blur(2px);
  opacity: 1;
  z-index: 8999;
  animation: fadeOverlay .3s ease;
}
@keyframes fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── HERO ── */
#hero {
  height: calc(100vh - 68px);
  min-height: 560px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  margin-top: 68px;
  overflow: hidden;
}

.hero-left {
  padding: 0 clamp(24px,5vw,80px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.hero-overline {
  font-size: clamp(.6rem,.9vw,.68rem); letter-spacing: .38em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 24px;
  opacity: 0; animation: fadeUp .9s 1s forwards;
}
.hero-name {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: 1.06;
  color: var(--ink);
  opacity: 0; animation: fadeUp .9s 1.15s forwards;
}
.hero-name em { font-style: italic; color: var(--clay); display: block; }
.hero-rule {
  display: flex; align-items: center; gap: 12px; margin: 28px 0;
  opacity: 0; animation: fadeUp .9s 1.3s forwards;
}
.hero-rule-line { width: 40px; height: 1px; background: linear-gradient(90deg, var(--warm), transparent); }
.hero-rule-ornament { font-size: .55rem; color: var(--rose); letter-spacing: .3em; }
.hero-desc {
  font-size: clamp(.82rem,1.2vw,.9rem); line-height: 2; color: var(--slate); max-width: 380px;
  opacity: 0; animation: fadeUp .9s 1.45s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 44px;
  opacity: 0; animation: fadeUp .9s 1.6s forwards;
}
.btn-gold {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--white); background: var(--warm);
  padding: 14px 34px; text-decoration: none; border: 1px solid var(--warm);
  transition: background .35s, color .35s; white-space: nowrap;
}
.btn-gold:hover { background: var(--white); color: var(--warm); }
.btn-outline {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay); text-decoration: none;
  border-bottom: 1px solid var(--fog); padding-bottom: 2px;
  transition: border-color .3s, color .3s; white-space: nowrap;
}
.btn-outline:hover { color: var(--warm); border-color: var(--warm); }

.hero-right {
  position: relative; overflow: hidden; background: var(--linen);
  height: 100%;
}
.hero-right img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250,248,244,.3) 0%, transparent 35%),
              linear-gradient(180deg, transparent 60%, rgba(250,248,244,.25) 100%);
}
.hero-img-label {
  position: absolute; bottom: 28px; left: 28px; z-index: 2;
  font-size: .58rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.hero-deco-line {
  position: absolute; top: 0; bottom: 0; width: 1px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(184,146,110,.18), transparent);
  pointer-events: none;
}
.hero-deco-line:nth-child(1) { left: 33%; }
.hero-deco-line:nth-child(2) { left: 66%; opacity: .5; }
.hero-scroll {
  position: absolute; bottom: 36px; right: 0; left: clamp(24px,5vw,80px); z-index: 1;
  display: flex; align-items: center; gap: 12px;
  font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: var(--rose);
  opacity: 0; animation: fadeUp .9s 2s forwards;
}
.scroll-tick {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, var(--rose));
  animation: pulseTick 2s 2.2s infinite;
}
@keyframes pulseTick { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ── SECTION HELPERS ── */
.section-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 20px;
}
.section-badge::before { content: ''; display: block; width: 18px; height: 1px; background: var(--rose); }
.sec-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.sec-title {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: clamp(2rem,4vw,3.5rem); color: var(--ink); white-space: nowrap;
}
.sec-title em { font-style: italic; color: var(--clay); }
.sec-rule { flex: 1; height: 1px; background: var(--fog); align-self: center; min-width: 20px; }

/* ── ABOUT ── */
#about {
  padding: clamp(40px,4vw,64px) clamp(24px,5vw,80px);
  background: var(--white);
}
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,5vw,80px); align-items: center;
  max-width: var(--max-w); margin: 0 auto;
}
.about-heading {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: clamp(1.8rem,3.2vw,3rem); line-height: 1.2;
  color: var(--ink); margin-bottom: 24px;
}
.about-heading em { font-style: italic; color: var(--clay); }
.about-body { font-size: clamp(.82rem,1.1vw,.88rem); line-height: 2.1; color: var(--slate); margin-bottom: 18px; }
.about-pullquote {
  border-left: 2px solid var(--rose); padding: 16px 22px; margin: 28px 0;
  background: var(--linen);
}
.about-pullquote p {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: clamp(.9rem,1.3vw,1.05rem); line-height: 1.7; color: var(--clay);
}
.about-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--fog); margin-top: 36px; border: 1px solid var(--fog);
}
.stat-box { background: var(--white); padding: 22px 16px; text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: clamp(1.8rem,2.5vw,2.2rem); color: var(--warm); line-height: 1;
}
.stat-lbl { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); margin-top: 6px; }

/* About photo slots */
.about-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.about-photo-slot {
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--linen); position: relative;
}
.about-photo-slot:nth-child(2) { margin-top: 32px; }

/* ── GALLERY ── */
#galeria {
  padding: clamp(40px,4vw,64px) clamp(24px,5vw,80px);
  background: var(--paper);
  max-width: var(--max-w); margin: 0 auto;
}
.gallery-filters { display: flex; gap: 4px; margin-bottom: 44px; flex-wrap: wrap; }
.f-btn {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); background: none; border: 1px solid transparent;
  padding: 9px 18px; cursor: pointer; transition: all .3s;
}
.f-btn:hover, .f-btn.active {
  color: var(--warm); border-color: var(--rose);
  background: rgba(201,169,138,.07);
}

/* Galéria — responzívna mriežka */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(6px, 1vw, 12px);
}
.gallery-item {
  position: relative; overflow: hidden;
  background: var(--linen); cursor: pointer;
  transition: opacity .45s;
}
.gallery-item.portrait  { aspect-ratio: 3/4; }
.gallery-item.landscape { aspect-ratio: 4/3; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.gallery-item:hover img { transform: scale(1.06); }
.gi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(232,221,208,.92) 100%);
  opacity: 0; transition: opacity .5s cubic-bezier(.25,.46,.45,.94);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-cat { font-size: .56rem; letter-spacing: .25em; text-transform: uppercase; color: var(--rose); margin-bottom: 3px; }
.gi-title { font-family: 'Playfair Display', serif; font-weight: 300; font-size: 1.1rem; color: var(--ink); font-style: italic; }

/* ── SERVICES ── */
#produkty {
  padding: clamp(40px,4vw,64px) clamp(24px,5vw,80px);
  background: var(--linen);
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,280px),1fr));
  gap: clamp(16px,2vw,20px); margin-top: 52px;
}
.srv-card {
  background: var(--white); padding: clamp(32px,4vw,48px) clamp(24px,3vw,40px);
  border: 1px solid var(--fog); transition: border-color .4s, box-shadow .4s;
}
.srv-card:hover { border-color: var(--rose); box-shadow: 0 16px 48px rgba(184,146,110,.1); }
.srv-icon-wrap {
  width: 44px; height: 44px; margin-bottom: 22px;
  border: 1px solid var(--rose);
  display: flex; align-items: center; justify-content: center;
}
.srv-icon-wrap svg { width: 20px; height: 20px; stroke: var(--warm); fill: none; stroke-width: 1.3; }
.srv-n { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 300; color: rgba(201,169,138,.14); line-height:1; margin-bottom: 4px; }
.srv-title { font-family: 'Playfair Display', serif; font-weight: 300; font-size: clamp(1.3rem,2vw,1.55rem); color: var(--ink); margin-bottom: 10px; }
.srv-desc { font-size: clamp(.78rem,1.1vw,.82rem); line-height: 1.9; color: var(--slate); }
.srv-divider { width: 24px; height: 1px; background: var(--rose); margin: 22px 0; }
.srv-price { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.1rem,1.8vw,1.3rem); color: var(--warm); }
.srv-price-note { font-size: .62rem; letter-spacing: .12em; color: var(--rose); margin-left: 4px; }

/* ── CONTACT ── */
#kontakt {
  padding: clamp(40px,4vw,64px) clamp(24px,5vw,80px) clamp(56px,5vw,80px);
  background: var(--paper);
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px,6vw,90px);
  max-width: var(--max-w); margin: 0 auto;
}
.ct-intro-text {
  font-family: 'Playfair Display', serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.4rem,2.5vw,2.4rem); line-height: 1.38;
  color: var(--ink); margin: 18px 0 40px;
}
.ct-info { display: flex; flex-direction: column; gap: 16px; }
.ct-row { display: flex; gap: 14px; align-items: flex-start; }
.ct-ico {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid var(--fog); display: flex; align-items: center; justify-content: center;
  margin-top: 1px; transition: border-color .3s;
}
.ct-row:hover .ct-ico { border-color: var(--rose); }
.ct-ico svg { width: 13px; height: 13px; stroke: var(--warm); fill: none; stroke-width: 1.5; }
.ct-lbl { font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); margin-bottom: 2px; }
.ct-val { font-size: clamp(.8rem,1.2vw,.88rem); color: var(--ink); }
.ct-val a { color: inherit; text-decoration: none; transition: color .25s; }
.ct-val a:hover { color: var(--warm); text-decoration: underline; text-underline-offset: 3px; }
.ct-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.ct-social a {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: 8px 14px;
  transition: border-color .3s, color .3s, opacity .3s;
}

/* Instagram — gradient border, stále viditeľný */
.ct-social a#instagramLink {
  border-color: transparent;
  background-image: linear-gradient(var(--linen), var(--linen)),
                    linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
  color: #cc2366;
  opacity: .75;
}
.ct-social a#instagramLink:hover { opacity: 1; }

/* Facebook — modrá, stále viditeľná */
.ct-social a#facebookLink {
  border: 1px solid #1877F2;
  color: #1877F2;
  opacity: .75;
}
.ct-social a#facebookLink:hover { opacity: 1; }

/* Form */
.ct-form { display: flex; flex-direction: column; }
.cf-group {
  position: relative; border-bottom: 1px solid var(--fog);
}
.cf-group:first-child { border-top: 1px solid var(--fog); }
.cf-field {
  width: 100%; background: none; border: none; outline: none;
  font-family: 'Didact Gothic', sans-serif;
  font-size: clamp(.8rem,1.1vw,.86rem); color: var(--ink);
  padding: 18px 0; letter-spacing: .03em; transition: padding-left .3s;
}
.cf-field::placeholder { color: var(--fog); }
.cf-field:focus { padding-left: 12px; }
.cf-group::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px; background: var(--warm);
  transition: width .5s cubic-bezier(.25,.46,.45,.94);
}
.cf-group:focus-within::after { width: 100%; }
textarea.cf-field { resize: none; height: 105px; padding-top: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; }
.cf-row .cf-group:first-child { border-right: 1px solid var(--fog); padding-right: 20px; }
.cf-row .cf-group:last-child  { padding-left: 20px; }
.btn-send {
  margin-top: 28px; align-self: flex-start;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--white); background: var(--warm);
  border: 1px solid var(--warm); padding: 14px 40px;
  cursor: pointer; position: relative; overflow: hidden; transition: color .4s;
}
.btn-send::before {
  content: ''; position: absolute; inset: 0;
  background: var(--clay); transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.btn-send:hover::before { transform: translateX(0); }
.btn-send span { position: relative; z-index: 1; }

/* ── FOOTER ── */
footer {
  background: var(--ink); padding: clamp(32px,4vw,48px) clamp(24px,5vw,60px);
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.ft-logo { font-family: 'Playfair Display', serif; font-weight: 300; font-size: .95rem; letter-spacing: .06em; color: var(--blush); }
.ft-logo em { font-style: italic; color: var(--rose); }
.ft-copy { font-size: .6rem; letter-spacing: .14em; color: rgba(196,180,164,.4); }
.ft-links { display: flex; gap: 20px; }
.ft-links a { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(196,180,164,.4); text-decoration: none; transition: color .3s; }
.ft-links a:hover { color: var(--rose); }
.ft-links a#ftInstagram:hover { color: #cc2366; }
.ft-links a#ftFacebook:hover  { color: #1877F2; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(250,248,244,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
  padding: 80px 60px 60px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-close {
  position: absolute; top: 24px; right: 40px;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); background: none; border: none; cursor: pointer; transition: color .3s;
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: .6rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--slate); background: none; border: none;
  cursor: pointer; padding: 16px 20px; transition: color .3s;
}
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { color: var(--warm); }
.lb-box { display: flex; flex-direction: column; align-items: center; max-width: min(90vw,900px); }
.lb-box img { max-width: 100%; max-height: 78vh; object-fit: contain; box-shadow: 0 24px 80px rgba(44,35,28,.12); }
.lb-caption { margin-top: 16px; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); text-align: center; }

/* ── NOTIFICATION ── */
.notif {
  position: fixed; bottom: 28px; right: 40px; z-index: 300;
  background: var(--white); border: 1px solid var(--rose);
  padding: 14px 26px; font-size: .76rem; letter-spacing: .06em; color: var(--clay);
  transform: translateY(60px); opacity: 0;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94), opacity .45s;
}
.notif.show { transform: translateY(0); opacity: 1; }

/* ── SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, var(--linen) 25%, var(--blush) 50%, var(--linen) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.25,.46,.45,.94), transform .85s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .12s; }
.rd2 { transition-delay: .24s; }

/* ── KEYFRAMES ── */
@keyframes fadeDown { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(16px)}  to{opacity:1;transform:translateY(0)} }

/* ════════════════════════════════════════
   BREAKPOINTS
   ════════════════════════════════════════ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; height: auto; margin-top: 68px; }
  .hero-left { padding: clamp(40px,6vw,64px) clamp(24px,5vw,60px); max-width: 640px; justify-content: flex-start; }
  .hero-right { height: min(70vw, 520px); }
  .about-inner { grid-template-columns: 1fr; }
  .about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-photo-slot:nth-child(2) { margin-top: 0; }
  #kontakt { grid-template-columns: 1fr; }
  .sec-title { white-space: normal; }
}

/* ── MOBILNÉ OPRAVY ── */
@media (max-width: 768px) {
  /* Odstráň backdrop-filter — inak nav vytvára containing block */
  nav {
    backdrop-filter: none !important;
    z-index: 9001 !important;
  }
  nav ul {
    animation: none !important;
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: 50vw !important; height: 100vh !important;
    flex-direction: column !important; gap: 0 !important;
    background: #fdfcfa !important;
    box-shadow: -6px 0 28px rgba(44,35,28,.18) !important;
    padding: 90px 0 40px !important;
    overflow-y: auto !important;
    transform: translateX(110%) !important;
    transition: transform .3s ease !important;
    border-left: 1px solid #d9d0c4 !important;
    z-index: 9000 !important;
    opacity: 1 !important; pointer-events: all !important;
  }
  nav ul.open { transform: translateX(0) !important; }
  nav ul li a {
    display: block !important; padding: 18px 36px !important;
    font-size: .82rem !important; letter-spacing: .15em !important;
    border-bottom: 1px solid #f0ebe1 !important; color: #2c231c !important;
  }
  nav ul li:last-child a { border-bottom: none !important; }
  .nav-burger { display: flex; }

  /* Hero na mobile — vlastná výška, obsah vycentrovaný */
  #hero { height: auto; min-height: calc(100svh - 68px); }
  .hero-left {
    padding: clamp(32px,6vw,56px) clamp(20px,5vw,48px);
    justify-content: center;
  }

  .hero-name { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-right { height: min(100vw, 420px); }
  .hero-scroll { display: none; }

  .about-inner { grid-template-columns: 1fr; }
  .about-photos { grid-template-columns: 1fr; }
  .about-photo-slot:nth-child(2) { margin-top: 0; }

  /* OPRAVA #2 — Galéria 2 stĺpce na mobile (od 480px 1 stĺpec) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .gallery-item.landscape { aspect-ratio: 3/4; }

  /* OPRAVA #3 — Formulár — viditeľné polia */
  .cf-group {
    background: var(--linen);
    padding: 0 12px;
  }
  .cf-field {
    padding: 16px 0;
  }
  .cf-group:focus-within {
    background: var(--blush);
  }
  .cf-row { grid-template-columns: 1fr; }
  .cf-row .cf-group:first-child { border-right: none; }
  .cf-row .cf-group:last-child  { padding-left: 12px; }

  /* Social tlačidlá na mobile — fallback pre gradient border */
  .ct-social a#instagramLink {
    background-image: none;
    background-clip: unset;
    border: 1px solid #cc2366;
  }

  /* OPRAVA #5 — Balíčky padding na mobile */
  .srv-card {
    padding: 24px 22px;
  }
  .srv-n {
    font-size: 2rem;
    margin-bottom: 2px;
  }

  .lightbox { padding: 60px 12px 40px; }
  .lb-prev { left: 4px; } .lb-next { right: 4px; }

  footer { flex-direction: column; text-align: center; gap: 12px; }
  .ft-links { justify-content: center; }
}

/* OPRAVA #2 — 1 stĺpec od 480px */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gallery-item.landscape { aspect-ratio: 4/3; }
}

/* ── FULL HD OPRAVY ── */
@media (min-width: 1440px) {
  /* OPRAVA #6 — Hero grid — fotografia dominuje */
  #hero {
    grid-template-columns: 1fr 1.2fr;
  }

  /* OPRAVA #7 — Hero right prirodzene vypĺňa výšku gridu */
  .hero-right {
    height: 100%;
    min-height: unset;
  }
  .hero-right img {
    object-fit: cover;
    object-position: center top;
  }

  /* OPRAVA #9 — Galéria max 4 stĺpce */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(8px, 1vw, 14px);
  }

  /* OPRAVA #10 — Kontakt align-items */
  #kontakt {
    align-items: start;
  }
  .ct-left {
    position: sticky;
    top: calc(68px + 40px);
  }
}

/* 2K — 1920px+ */
@media (min-width: 1920px) {
  /* OPRAVA #11 — rozšírenie max-w */
  :root { --max-w: 1800px; }

  /* OPRAVA #15 — Grain viditeľnejší na HiDPI */
  body::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .85;
  }
}

/* 2K — 2000px+ */
@media (min-width: 2000px) {
  /* Hero: limituj výšku aby fotka nevyzerala malá, cover vždy vypĺňa */
  #hero {
    max-height: 900px;
  }
  .hero-right img {
    object-fit: cover;
  }

  /* OPRAVA #14 — Galéria 4 stĺpce s väčšími medzerami */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* 2K — 2400px+ */
@media (min-width: 2400px) {
  /* OPRAVA #11 — ešte širší max-w */
  :root { --max-w: 2100px; }

  /* OPRAVA #12 — väčší font na 2K */
  body {
    font-size: 19px;
    line-height: 1.8;
  }
  .hero-desc, .about-body, .srv-desc {
    font-size: 1rem;
  }
}
