/* Areál PDP – štýly webu (vizuál zladený s pdp.sk) */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  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: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  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 {
  --accent: #f35f4c;
  --accent-strong: #c8412c;
  --accent-soft: #fdebe7;
  --ink: #14161a;
  --ink-2: #1f2228;
  --ink-3: #2c3038;
  --text: #2a2e35;
  --muted: #5b626e;
  --line: #e5e1db;
  --bg: #ffffff;
  --bg-alt: #f6f4f1;
  --on-dark: #f3f1ee;
  --on-dark-muted: #b5b9c1;

  --radius: 10px;
  --radius-lg: 18px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .06), 0 2px 8px rgba(20, 22, 26, .05);
  --shadow: 0 2px 4px rgba(20, 22, 26, .05), 0 12px 32px rgba(20, 22, 26, .08);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, iframe { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }

h1, h2, h3 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

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

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); }

.eyebrow {
  margin: 0 0 .8em;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

/* Tlačidlá */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 2px solid var(--accent-strong); border-radius: var(--radius);
  background: var(--accent-strong); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 1.25rem; letter-spacing: -.01em; }
.brand img { width: 46px; height: auto; }
.brand strong { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--accent-strong); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}

/* Úvod – letecká fotka areálu na pozadí */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 160px) 0 clamp(48px, 7vw, 96px);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,22,26,.88) 0%, rgba(20,22,26,.7) 45%, rgba(20,22,26,.25) 100%),
    linear-gradient(0deg, rgba(20,22,26,.6) 0%, rgba(20,22,26,0) 40%);
}
.hero h1 { color: #fff; max-width: 14em; }
.hero .eyebrow { color: var(--accent); }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--on-dark); max-width: 36em; opacity: .9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }

.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero-facts li {
  background: rgba(255,255,255,.96); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.hero-facts strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 2px; }
.hero-facts span { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.hero-facts li:first-child { background: var(--accent-strong); }
.hero-facts li:first-child strong { color: #fff; font-size: 1.35rem; }
.hero-facts li:first-child span { color: rgba(255,255,255,.85); }

@media (max-width: 900px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(20,22,26,.85), rgba(20,22,26,.7)); }
}

/* Sekcie */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:last-child { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Karty priestorov */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 3; background: var(--bg-alt); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .97rem; }
.specs { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .92rem; }
.specs div { display: flex; justify-content: space-between; gap: 12px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 650; color: var(--ink); }

/* Vybavenie */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.features li { padding-top: 18px; border-top: 2px solid var(--ink); }
.features h3 { font-size: 1.08rem; margin-bottom: .3em; }
.features p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* Lokalita */
.address { font-style: normal; margin: 8px 0 24px; padding-left: 16px; border-left: 3px solid var(--accent); line-height: 1.7; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Kontakt */
.section-dark { background: var(--ink); color: var(--on-dark-muted); }
.section-dark h2 { color: var(--on-dark); }
.section-dark .eyebrow { color: var(--accent); }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a { color: var(--on-dark); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.form { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; color: var(--on-dark); font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--on-dark);
  background: var(--ink); border: 1px solid var(--ink-3); border-radius: var(--radius);
  padding: 12px 14px;
}
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: var(--accent); }
.form .btn { justify-self: start; }
.form .btn:hover { background: var(--accent); border-color: var(--accent); }
.form-note { margin: 0; font-size: .85rem; }
.form-note a { color: var(--on-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-alert { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-strong); color: #fff; font-size: .95rem; }
.form-alert a { color: #fff; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Päta */
.site-footer { background: var(--ink); border-top: 1px solid var(--ink-3); color: var(--on-dark-muted); font-size: .9rem; line-height: 1.6; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.4fr; gap: 28px 40px; padding-top: 40px; padding-bottom: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid p { margin: 0; }
.footer-title { margin: 0 0 8px !important; color: var(--on-dark); font-weight: 700; font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--ink-3); }

/* Podstránky (ďakujeme, ochrana osobných údajov) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose h1 + p { color: var(--muted); }

/* Navigácia – aktuálna stránka */
.nav a[aria-current="page"]:not(.btn) { color: var(--accent-strong); }

/* Úvod podstránok */
.hero--page { padding: clamp(44px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero--page h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 16em; }
.breadcrumbs { margin: 0 0 22px; font-size: .88rem; color: var(--on-dark-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--on-dark); }
.price-chip { display: inline-flex; align-items: baseline; gap: 8px; margin: 26px 0 0; padding: 10px 18px; border-radius: 99px; background: var(--accent-strong); color: #fff; font-weight: 800; font-size: 1.1rem; }
.price-chip small { font-weight: 500; font-size: .9rem; opacity: .9; }

/* Text podstránok */
.text-block p { font-size: 1.04rem; }
.text-block h2 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 15px; height: 8px; border-left: 3px solid var(--accent-strong); border-bottom: 3px solid var(--accent-strong); transform: rotate(-45deg); }
.checklist strong { color: var(--ink); }

/* Na čo sa priestory hodia */
.usecases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.usecases li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.usecases h3 { font-size: 1.06rem; margin-bottom: .35em; }
.usecases p { margin: 0 0 12px; color: var(--muted); font-size: .96rem; }
.usecases a { margin-top: auto; font-weight: 700; font-size: .92rem; text-decoration: none; }
.usecases a::after, .card-link::after { content: " →"; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }

/* Ako prebieha prenájom */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: krok; }
.steps li { counter-increment: krok; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(krok); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--accent-strong); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.06rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Vzdialenosti */
.distances { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: .97rem; }
.distances th, .distances td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.distances th:not(:first-child), .distances td:not(:first-child) { text-align: right; white-space: nowrap; }
.distances th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.distances a { font-weight: 600; }
.note { font-size: .88rem; color: var(--muted); }

/* Časté otázky */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 32px 17px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 11px; font-size: 1.5rem; font-weight: 500; color: var(--accent-strong); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.section-alt .faq details { box-shadow: var(--shadow-sm); }

/* Odkazy na ďalšie stránky */
.link-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.link-cards a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; transition: border-color .2s, transform .2s; }
.link-cards a:hover { border-color: var(--accent-strong); transform: translateY(-2px); }
.link-cards span { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: .92rem; }
.sub-head { margin: 40px 0 16px; font-size: 1.15rem; }

/* Zvýraznený odsek (napr. úpravy priestoru na mieru) */
.callout { margin: 22px 0 18px; padding: 18px 20px; border-left: 4px solid var(--accent-strong); border-radius: var(--radius); background: var(--accent-soft); }
.callout h3 { margin: 0 0 .35em; font-size: 1.08rem; }
.callout p { margin: 0; color: var(--text); }
