/*
Theme Name: PMSK Theme
Version: 2.0
*/

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

:root {
  --ink:    #0C1219;
  --navy:   #0D1B2A;
  --navy2:  #142233;
  --gold:   #C9A84C;
  --gold2:  #A8882A;
  --goldlt: #E4C06E;
  --cream:  #F5F0E8;
  --warm:   #FAF8F4;
  --muted:  #7A7570;
  --border: #E0DAD0;
  --white:  #FFFFFF;
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fs: 'DM Sans', system-ui, sans-serif;
  --max: 1320px;
  --ease: cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--fs); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 3rem;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(13,27,42,.96);
  backdrop-filter: blur(16px);
  border-color: rgba(201,168,76,.12);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; height: 76px; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark {
  width: 38px; height: 38px; border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-weight: 600; font-size: 1rem; color: var(--gold);
}
.nav-logo-name { font-family: var(--fd); font-weight: 600; font-size: 1.1rem; color: var(--white); letter-spacing: .06em; display: block; }
.nav-logo-sub { font-size: .6rem; color: rgba(255,255,255,.4); letter-spacing: .14em; text-transform: uppercase; display: block; }
.nav-links { display: flex; gap: 2.25rem; list-style: none; margin-left: auto; }
.nav-links a { font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--gold); border: 1px solid var(--gold); padding: .55rem 1.4rem; white-space: nowrap; transition: background .2s, color .2s; flex-shrink: 0; }
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding: 0;
  background: linear-gradient(160deg, rgba(10,15,26,.93) 0%, rgba(13,27,42,.86) 50%, rgba(10,15,26,.96) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1800&q=80') center/cover no-repeat;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: .04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
  content: ''; position: absolute; top: 0; left: 3rem; bottom: 0; z-index: 2; width: 1px;
  background: linear-gradient(to bottom, transparent 5%, rgba(201,168,76,.3) 25%, rgba(201,168,76,.3) 75%, transparent 95%);
}
.hero-content {
  flex: 1; display: flex; align-items: center;
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 120px 3rem 4rem 5.5rem;
  position: relative; z-index: 3;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 2.25rem;
}
.hero-eyebrow-line { display: block; width: 3rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-title {
  font-family: var(--fd); font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 300; line-height: 1.06; color: var(--white);
  margin-bottom: 2rem; letter-spacing: -.025em; max-width: 820px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-line { display: block; clip-path: inset(0 0 100% 0); animation: revealLine .9s var(--ease) forwards; opacity: 0; }
.hero-line:nth-child(1) { animation-delay: .15s; }
.hero-line:nth-child(2) { animation-delay: .35s; }
.hero-line:nth-child(3) { animation-delay: .55s; }
@keyframes revealLine { to { clip-path: inset(0 0 0% 0); opacity: 1; } }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.55); line-height: 1.85; margin-bottom: 2.75rem; max-width: 420px; font-weight: 300; }
.hero-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 3;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex;
}
.hero-stat { flex: 1; padding: 1.75rem 3.5rem; border-right: 1px solid rgba(255,255,255,.07); }
.hero-stat:last-child { border-right: none; }
.stat-num { font-family: var(--fd); font-size: 2.8rem; font-weight: 600; color: var(--gold); line-height: 1; letter-spacing: -.02em; display: block; }
.stat-label { font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); display: block; margin-top: .35rem; }

/* ── BUTTONS ── */
.btn-primary {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--navy); padding: .9rem 2.25rem;
  display: inline-flex; align-items: center; gap: .6rem;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--goldlt); transform: translateY(-1px); }
.btn-ghost {
  font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.65);
  display: inline-flex; align-items: center; gap: .75rem;
  transition: color .2s;
  position: relative; padding-bottom: 2px;
}
.btn-ghost::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.btn-ghost:hover { color: var(--white); }
.btn-ghost:hover::after { width: 100%; }

/* ── MARQUEE ── */
.marquee-bar { background: var(--navy2); border-top: 1px solid rgba(201,168,76,.12); border-bottom: 1px solid rgba(201,168,76,.12); padding: .9rem 0; overflow: hidden; }
.marquee-inner { display: flex; gap: 0; animation: marquee 28s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: .6rem; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); white-space: nowrap; padding: 0 2rem; }
.marquee-item::before { content: '—'; color: var(--gold); font-weight: 300; font-size: .9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION BASE ── */
section { padding: 8rem 3rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .67rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.section-kicker::before { content: ''; width: 2.5rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-title { font-family: var(--fd); font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 300; color: var(--navy); line-height: 1.14; letter-spacing: -.025em; margin-bottom: 1rem; }
.section-title em { font-style: italic; color: var(--gold); }
.section-title span { color: var(--gold); }
.section-sub { font-size: .92rem; color: var(--muted); line-height: 1.85; max-width: 520px; font-weight: 300; }

/* ── SERVICES ── */
#sluzby { background: var(--warm); }
.sluzby-header { margin-bottom: 4rem; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.svc-item {
  display: grid; grid-template-columns: 5rem 1fr; gap: 1.25rem;
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
  transition: background .25s;
}
.svc-item:nth-child(even) { border-right: none; padding-left: 2.5rem; }
.svc-item:hover { background: rgba(201,168,76,.04); }
.svc-num { font-family: var(--fd); font-size: 3.2rem; font-weight: 300; color: rgba(201,168,76,.2); line-height: 1; letter-spacing: -.02em; padding-top: .15rem; transition: color .25s; }
.svc-item:hover .svc-num { color: var(--gold); }
.svc-body h3 { font-family: var(--fd); font-size: 1.55rem; font-weight: 500; color: var(--navy); margin-bottom: .45rem; letter-spacing: -.01em; }
.svc-body p { font-size: .87rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; font-weight: 300; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.svc-tag { font-size: .65rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--border); padding: .22rem .7rem; transition: border-color .2s, color .2s; }
.svc-item:hover .svc-tag { border-color: rgba(201,168,76,.4); color: var(--gold2); }

/* ── ADVISORY ── */
#poradenstvo {
  background: var(--navy); position: relative; overflow: hidden;
}
#poradenstvo::before {
  content: ''; position: absolute; inset: 0; opacity: .025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}
#poradenstvo .section-kicker { color: rgba(201,168,76,.7); position: relative; z-index: 1; }
#poradenstvo .section-kicker::before { background: rgba(201,168,76,.7); }
#poradenstvo .section-title { color: var(--white); position: relative; z-index: 1; }
#poradenstvo .section-sub { color: rgba(255,255,255,.45); position: relative; z-index: 1; }
.advisory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.07); margin-top: 3.5rem; border: 1px solid rgba(255,255,255,.07); position: relative; z-index: 1; }
.adv-card { background: var(--navy); display: flex; flex-direction: column; transition: background .3s; }
.adv-card:hover { background: var(--navy2); }
.adv-card-top {
  padding: 3rem 2.5rem 2.5rem; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.adv-card-top::before {
  content: attr(data-num);
  position: absolute; top: -.15em; right: .4rem;
  font-family: var(--fd); font-size: 8rem; font-weight: 600; font-style: italic;
  color: rgba(255,255,255,.035); line-height: 1;
  pointer-events: none; user-select: none;
}
.adv-card-top::after { content: ''; position: absolute; bottom: 0; left: 2.5rem; right: 2.5rem; height: 1px; background: rgba(201,168,76,.18); }
.adv-kicker { font-size: .63rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.adv-card-top h3 { font-family: var(--fd); font-size: 1.6rem; font-weight: 400; color: var(--white); line-height: 1.25; letter-spacing: -.01em; }
.adv-card-body { padding: 2rem 2.5rem 2.5rem; flex: 1; display: flex; flex-direction: column; }
.adv-card-body p { font-size: .87rem; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 1.5rem; font-weight: 300; }
.adv-points { list-style: none; flex: 1; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.adv-points li { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.adv-points li::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: .55em; }
.adv-link { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--gold); display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; transition: gap .2s var(--ease); }
.adv-link:hover { gap: 1rem; }

/* ── WHY US ── */
#preco-my { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.why-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.why-img:hover img { transform: scale(1.03); }
.why-img-badge { position: absolute; bottom: 2.5rem; right: -1.5rem; background: var(--gold); color: var(--navy); padding: 1.5rem 2rem; min-width: 190px; }
.why-img-badge strong { display: block; font-family: var(--fd); font-size: 3rem; font-weight: 600; line-height: 1; }
.why-img-badge span { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; display: block; margin-top: .3rem; color: rgba(13,27,42,.65); }
.why-points { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
.why-point { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.why-point:first-child { border-top: 1px solid var(--border); }
.why-point-icon { font-size: 1.2rem; flex-shrink: 0; width: 2rem; text-align: center; padding-top: .1rem; }
.why-point h4 { font-family: var(--fd); font-size: 1.15rem; font-weight: 500; color: var(--navy); margin-bottom: .3rem; letter-spacing: -.01em; }
.why-point p { font-size: .87rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ── PROCESS ── */
#postup { background: var(--navy); position: relative; overflow: hidden; }
#postup::before { content: ''; position: absolute; inset: 0; opacity: .025; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"); }
#postup .section-kicker { color: rgba(201,168,76,.7); position: relative; z-index: 1; }
#postup .section-kicker::before { background: rgba(201,168,76,.7); }
#postup .section-title { color: var(--white); position: relative; z-index: 1; }
#postup .section-sub { color: rgba(255,255,255,.45); position: relative; z-index: 1; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; position: relative; z-index: 1; }
.process-step { padding: 2.5rem 2rem; border-right: 1px solid rgba(255,255,255,.07); transition: background .25s; }
.process-step:last-child { border-right: none; }
.process-step:hover { background: rgba(255,255,255,.03); }
.step-num { font-family: var(--fd); font-size: 3.5rem; font-weight: 300; color: rgba(201,168,76,.28); line-height: 1; margin-bottom: 1.5rem; letter-spacing: -.03em; }
.process-step h3 { font-family: var(--fd); font-size: 1.2rem; font-weight: 500; color: var(--white); margin-bottom: .65rem; }
.process-step p { font-size: .85rem; color: rgba(255,255,255,.42); line-height: 1.7; font-weight: 300; }

/* ── CONTACT ── */
#kontakt { background: var(--cream); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.cta-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 2.5rem; }
.cta-actions .btn-primary { background: var(--navy); color: var(--white); }
.cta-actions .btn-primary:hover { background: var(--navy2); }
.cta-actions .btn-ghost { color: var(--ink); }
.cta-actions .btn-ghost::after { background: var(--gold2); }
.cta-right { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-block { padding: 2rem; border: 1px solid var(--border); background: var(--white); }
.contact-block-label { font-size: .65rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.contact-block-value { font-family: var(--fd); font-size: 1.6rem; font-weight: 400; color: var(--navy); text-decoration: none; display: block; letter-spacing: -.01em; transition: color .2s; }
.contact-block-value:hover { color: var(--gold2); }
.contact-note { font-size: .78rem; color: var(--muted); margin-top: .35rem; }

/* ── FOOTER ── */
.site-footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,.05); padding: 4.5rem 3rem 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand p { font-size: .84rem; color: rgba(255,255,255,.38); line-height: 1.8; margin-top: 1rem; max-width: 280px; font-weight: 300; }
.footer-col h4 { font-size: .63rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { font-size: .84rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .73rem; color: rgba(255,255,255,.22); }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { font-size: .73rem; color: rgba(255,255,255,.22); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--gold); }

/* ── PAGE TEMPLATE ── */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 120px 3rem 6rem; }
.page-back { display: inline-flex; align-items: center; gap: .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); text-decoration: none; margin-bottom: 3rem; border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .2s; }
.page-back:hover { color: var(--gold2); }
.page-wrap h1 { font-family: var(--fd); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; color: var(--navy); margin-bottom: 2.5rem; letter-spacing: -.025em; }
.entry-content { color: var(--ink); line-height: 1.85; font-weight: 300; font-size: .95rem; }
.entry-content h2 { font-family: var(--fd); font-size: 1.7rem; color: var(--navy); margin: 2.5rem 0 .75rem; font-weight: 400; }
.entry-content h3 { font-family: var(--fd); font-size: 1.25rem; color: var(--navy); margin: 2rem 0 .5rem; font-weight: 400; }
.entry-content p { margin-bottom: 1.1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content a { color: var(--gold2); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.entry-content a:hover { border-color: var(--gold2); }

/* ── SCROLL REVEAL ── */
.sr-hidden { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sr-visible { opacity: 1 !important; transform: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .advisory-grid { grid-template-columns: 1fr 1fr; }
  .adv-card:last-child { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-img-badge { right: 0; }
}
@media (max-width: 900px) {
  .hero::after { display: none; }
  .hero-content { padding-left: 3rem; }
  .nav-links { display: none; }
  .site-nav { padding: 0 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 6rem 2rem; }
}
@media (max-width: 700px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-item { border-right: none; padding-left: 0 !important; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 1.25rem 2rem; }
  .advisory-grid { grid-template-columns: 1fr; }
  .adv-card:last-child { grid-column: span 1; }
  .site-footer { padding: 3rem 1.5rem 1.5rem; }
}
@media (max-width: 500px) {
  .process-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.8rem, 11vw, 4rem); }
}
