/* ============================================================
   Jakub Chovanec — realitný maklér
   Minimalistický luxusný realitný štýl
   ============================================================ */

:root {
  --cream: #f8f7f4;
  --cream-2: #f1efe9;
  --ink: #1a1a1a;
  --ink-soft: #2c2a27;
  --muted: #6f6a61;
  --muted-2: #9a948a;
  --line: #e3e0d8;
  --line-strong: #d6d2c8;
  --accent: #9a7b4f;     /* tlmená bronzová / zlatá */
  --accent-dark: #7e6440;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Typografia ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05em 2.2em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.6rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:not(.nav-cta):hover::after {
  width: 100%;
}
.nav-cta {
  padding: 0.7em 1.5em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(60px, 10vh, 120px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.hero-title {
  font-size: clamp(3.6rem, 11vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0.2em 0 0.3em;
}
.hero-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--accent);
  margin: 0 0 1.4rem;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 30em;
  margin: 0 0 2.4rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}
.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-2);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease);
}
.hero-media:hover .hero-portrait img {
  transform: scale(1.04);
}
.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px -32px rgba(26, 26, 26, 0.4);
}
.hero-badge-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
}
.hero-badge-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ---------- Intent / CTA karty ---------- */
.intent {
  padding-bottom: clamp(20px, 5vh, 60px);
}
.intent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.6vw, 38px);
}
.intent-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.intent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -42px rgba(26, 26, 26, 0.5);
  border-color: var(--line-strong);
}
.intent-media {
  position: absolute;
  inset: 0;
}
.intent-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.9s var(--ease);
}
.intent-card:hover .intent-media img {
  transform: scale(1.05);
}
.intent-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0) 38%,
    rgba(26, 26, 26, 0.18) 58%,
    rgba(26, 26, 26, 0.78) 100%
  );
}
.intent-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(24px, 3.5vw, 44px);
  color: var(--cream);
}
.intent-copy h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.intent-copy p {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.86);
  margin: 0.5rem 0 0;
}
.intent-copy::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.1rem;
  transform-origin: left;
  transform: scaleX(0.6);
  transition: transform 0.5s var(--ease);
}
.intent-card:hover .intent-copy::before {
  transform: scaleX(1);
}

@media (max-width: 720px) {
  .intent-grid {
    grid-template-columns: 1fr;
  }
  .intent-card {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- O mne ---------- */
.about {
  padding-block: clamp(70px, 12vh, 140px);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
}
.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.about-text p {
  margin: 0 0 1.2rem;
}
.about-stats {
  display: flex;
  gap: clamp(24px, 5vw, 56px);
  margin: 2.6rem 0;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}
.about-link {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.about-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Príbeh / Spoznajte Jakuba ---------- */
.story {
  padding-block: clamp(70px, 12vh, 140px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(154, 123, 79, 0.05), transparent 60%),
    var(--cream);
}
.story-head {
  max-width: 60rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.story-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-top: 0.6rem;
}
.story-body {
  max-width: 44rem;
  margin: 0 auto;
}
.story-body p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.story-lead {
  font-size: 1.32rem !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
  margin-bottom: 2rem !important;
}
.story-sub {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  margin: 3.2rem 0 1.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.story-sub::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}
.pullquote {
  margin: 2.4rem 0;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  color: var(--ink);
}
.story-highlight {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  margin: 1.8rem 0 2.4rem;
}
.story-highlight-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(154, 123, 79, 0.5);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  margin-bottom: 1.1rem;
}
.story-highlight-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--cream) !important;
  margin: 0 !important;
}
.story-why {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
  line-height: 1.3 !important;
  color: var(--ink) !important;
  margin-bottom: 1.4rem !important;
}
.story-cta {
  margin-top: 1.4rem;
}

/* ---------- Ponuka ---------- */
.listings {
  padding-block: clamp(70px, 12vh, 140px);
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.listings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filters {
  display: flex;
  gap: 0.5rem;
}
.filter {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.6em 1.3em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.filter.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 38px);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 70px -40px rgba(26, 26, 26, 0.45);
  border-color: var(--line-strong);
}
.card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream-2);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.07);
}
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 28px);
}
.badge {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42em 0.8em;
  background: rgba(248, 247, 244, 0.92);
  color: var(--ink);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.badge-accent {
  background: var(--accent);
  color: var(--white);
}
.card-status {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45em 0.9em;
  background: rgba(26, 26, 26, 0.82);
  color: var(--cream);
  border-radius: 2px;
}
.card-body {
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-location {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.card-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.card-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
}
.card-meta strong {
  color: var(--ink-soft);
  font-weight: 500;
}
.card-price {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ink);
  margin-top: 1.1rem;
}
.card-price span {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 4rem 0;
}

/* ---------- Služby ---------- */
.services {
  padding-block: clamp(70px, 12vh, 140px);
  border-top: 1px solid var(--line);
}
.services-head {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  padding: 2.6rem 1.8rem 2.6rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-left: 1.8rem;
  transition: background 0.4s var(--ease);
}
.service:first-child {
  padding-left: 0;
}
.services-grid .service:nth-child(4) {
  border-right: none;
}
.service:hover {
  background: var(--cream-2);
}
.service-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.service h3 {
  font-size: 1.5rem;
  margin: 1rem 0 0.8rem;
}
.service p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Kontakt ---------- */
.contact {
  padding-block: clamp(70px, 12vh, 140px);
  background: var(--ink);
  color: var(--cream);
}
.contact .section-label {
  color: var(--accent);
}
.contact .section-title {
  color: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-desc {
  color: var(--muted-2);
  font-size: 1.05rem;
  margin: 1.4rem 0 2.6rem;
  max-width: 28em;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.4rem;
}
.contact-list a,
.contact-list span:not(.contact-label) {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
.contact-list a:hover {
  color: var(--accent);
}

/* Formulár */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
}
.field {
  margin-bottom: 1.3rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.6rem;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.6rem 0;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form .btn-primary {
  background: var(--cream);
  color: var(--ink);
  margin-top: 0.6rem;
}
.contact-form .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}
.form-note {
  margin: 1.2rem 0 0;
  font-size: 0.85rem;
  color: var(--accent);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  display: block;
}
.footer-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}
.footer-nav {
  display: flex;
  gap: 1.8rem;
}
.footer-nav a {
  font-size: 0.82rem;
  color: var(--muted-2);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover {
  color: var(--cream);
}
.footer-meta {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

/* ---------- Modal detail ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  background: var(--cream);
  width: min(960px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  transform: translateY(24px);
  transition: transform 0.5s var(--ease);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
}
.modal[aria-hidden="false"] .modal-dialog {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(248, 247, 244, 0.9);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.modal-close:hover {
  background: var(--white);
}
.modal-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-2);
}
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-content {
  padding: clamp(24px, 4vw, 48px);
}
.modal-location {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.modal-content h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-bottom: 1.2rem;
}
.modal-price {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.8rem;
  overflow: hidden;
}
.spec {
  flex: 1 1 0;
  min-width: 120px;
  padding: 1.2rem 1.3rem;
  border-right: 1px solid var(--line);
}
.spec:last-child {
  border-right: none;
}
.spec-label {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}
.spec-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
}
.modal-desc {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.modal-actions .btn-ghost {
  border-color: var(--line-strong);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Responzívne
   ============================================================ */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid .service:nth-child(2) {
    border-right: none;
  }
  .service {
    padding-left: 1.8rem;
  }
  .service:nth-child(odd) {
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    background: var(--cream);
    padding: 2rem var(--gutter);
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav.open {
    transform: translateX(0);
  }
  .nav a {
    font-size: 1.1rem;
  }
  .nav-toggle {
    display: flex;
    z-index: 110;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-media {
    max-width: 440px;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    order: 2;
  }
}

@media (max-width: 620px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service,
  .service:nth-child(odd) {
    padding: 2rem 0;
    border-right: none;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    left: 0;
    bottom: 16px;
  }
  .modal-specs {
    flex-direction: column;
  }
  .spec {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .spec:last-child {
    border-bottom: none;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
