/* ============================================================
   POZEMOK DOPRAVNÁ · RAČA — Simple Reality landing page
   Styles consolidated: single palette, grouped by component.
   ============================================================ */

/* === DESIGN TOKENS ============================================ */
:root {
  --ink: #162d3a;
  --ink-soft: #4e646c;
  --muted: #596d75;
  --cream: #f5f8f9;
  --surface: #e8eff1;
  --white: #ffffff;
  --line: #d4e0e3;
  --divider: #d9e4e7;
  --accent: #4c8392;        /* primary teal (hero em, eyebrows, links) */
  --accent-strong: #416b7b; /* hover state */
  --accent-soft: #9bc8d2;   /* on dark backgrounds */
}

/* === RESET & BASE ============================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; width: 100%; }
button { font: inherit; }

.wrap {
  max-width: 1500px;
  margin: auto;
  padding: 0 clamp(22px, 5vw, 80px);
}

/* === SHARED COMPONENTS ======================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 27px;
  height: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 54px;
  padding: 17px 22px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s;
}
.button:hover {
  background: var(--accent-strong);
  color: var(--white);
  transform: translateY(-2px);
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

/* === HEADER =================================================== */
header {
  max-width: none !important;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--divider);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.wordmark {
  font: 600 24px/1 Manrope, sans-serif;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.wordmark .slash {
  margin: 0 2px;
  color: var(--accent);
  font-weight: 400;
}

.property-name {
  padding-left: 19px;
  border-left: 1px solid #cbdadd;
  color: #607782;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}
.nav a { text-decoration: none; }
.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav .nav-cta {
  padding: 12px 19px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}
.nav .nav-cta:hover {
  background: var(--accent-strong);
  color: var(--white);
  text-decoration: none;
}

/* === HERO ===================================================== */
.hero {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
  min-height: 665px;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(35px, 4.7vw, 78px) 75px clamp(22px, 5vw, 80px);
  background: var(--white);
  color: var(--ink);
}
.hero .eyebrow { color: var(--accent); }

.hero h1 {
  margin: 26px 0 29px;
  max-width: 610px;
  font: 600 clamp(52px, 5.1vw, 84px)/1.03 Manrope, sans-serif;
  letter-spacing: -0.07em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-intro {
  max-width: 460px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.hero .text-link { color: var(--ink); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 665px;
  overflow: hidden;
  background: #596660; /* fallback until image loads */
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-note {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 26px;
  max-width: 310px;
  padding: 13px 17px;
  background: rgba(18, 42, 54, 0.94);
  color: var(--white);
}
.visual-note strong {
  display: block;
  color: #b8dbe3;
  font: 800 12px Manrope, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.visual-note span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
}

/* === FACT STRIP =============================================== */
.fact-strip {
  background: var(--ink);
  color: var(--white);
}
.fact-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 28px 35px 28px 0;
}
.fact-strip .wrap > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 35px 28px 0;
}
.fact-strip .wrap > div + div {
  padding-left: 35px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.fact-strip strong {
  font: 800 clamp(24px, 2.7vw, 39px)/1 Manrope, sans-serif;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.fact-strip span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* === SECTIONS (shared) ======================================== */
.section { padding: 110px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 42px;
}

.section h2 {
  margin: 18px 0 30px;
  font: 700 clamp(40px, 4.4vw, 68px)/1.04 Manrope, sans-serif;
  letter-spacing: -0.07em;
}
.section p { color: var(--muted); }

/* === OVERVIEW ================================================= */
.overview { background: #f7f9f9; }

.overview-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 9vw;
}

.lead {
  margin: 0 0 24px;
  font: 600 clamp(23px, 2.2vw, 31px)/1.42 Manrope, sans-serif;
  letter-spacing: -0.045em;
  color: var(--ink) !important;
}
.overview-copy p:not(.lead) { max-width: 550px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 0;
  border-top: 2px solid var(--ink);
}
.detail-grid div {
  padding: 20px 12px 21px 0;
  border-bottom: 1px solid var(--line);
}
.detail-grid div:nth-child(even) { padding-left: 22px; }
.detail-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-grid dd {
  margin: 0;
  font: 700 17px Manrope, sans-serif;
}

/* === GALLERY ================================================== */
.gallery { background: var(--surface); }
.gallery .section-head h2 { margin-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.78fr 0.78fr;
  gap: 12px;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  background: #aebbb4;
}
.gallery img {
  height: 390px;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.18);
  transition: transform 0.3s;
}
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption {
  padding: 13px 2px;
  color: #526260;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.gallery-note {
  margin-top: 18px !important;
  font-size: 13px;
}

/* === POTENTIAL (project vision) =============================== */
.potential {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.potential::before {
  content: '30%';
  position: absolute;
  right: -3vw;
  top: -120px;
  color: rgba(201, 226, 232, 0.04);
  font: 800 clamp(170px, 29vw, 470px)/1 Manrope, sans-serif;
  letter-spacing: -0.12em;
  pointer-events: none;
}
.potential-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
}
.potential .eyebrow { color: var(--accent-soft); }
.potential h2 { max-width: 580px; }
.potential p {
  max-width: 510px;
  color: #c0d0d5;
}

.list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #49626e;
}
.list li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid #49626e;
}
.list b {
  color: var(--accent-soft);
  font: 800 15px Manrope, sans-serif;
}
.list strong {
  display: block;
  font: 700 19px Manrope, sans-serif;
}
.list span {
  display: block;
  margin-top: 6px;
  color: #c0d0d5;
  font-size: 14px;
}

/* === DOCUMENTS ================================================ */
.documents { background: var(--white); }
.documents .section-head { align-items: start; }
.documents .section-head p {
  max-width: 430px;
  margin: 0;
  padding-top: 26px;
}

.planning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.planning-grid div { padding: 29px 27px 32px 0; }
.planning-grid div + div {
  padding-left: 27px;
  border-left: 1px solid var(--line);
}
.planning-grid small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.planning-grid strong {
  display: block;
  font: 700 clamp(22px, 2vw, 30px)/1.2 Manrope, sans-serif;
  letter-spacing: -0.04em;
}
.planning-grid span {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
}

.document-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.document-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 120px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s;
}
.document-link:hover { background: #dbe9ed; }
.document-link strong {
  display: block;
  font: 700 17px Manrope, sans-serif;
}
.document-link span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.document-link b {
  font-size: 21px;
  font-weight: 500;
}

.documents .caution {
  max-width: 850px;
  margin: 25px 0 0;
  font-size: 13px;
}

/* === CONTACT ================================================== */
.contact {
  background: #f7f9f9;
  color: var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}
.contact h2 { max-width: 620px; }
.contact p {
  max-width: 530px;
  color: #536c75;
}

.contact-card {
  padding: 45px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-card .role {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-card h3 {
  margin: 11px 0 25px;
  font: 700 29px Manrope, sans-serif;
  letter-spacing: -0.04em;
}
.contact-card a:not(.button) {
  display: block;
  margin: 11px 0;
  font-size: 18px;
  text-decoration: none;
}
.contact-card a:not(.button):hover { text-decoration: underline; }
.contact-card .button {
  margin-top: 24px;
  background: var(--ink);
  color: var(--white);
}
.contact-card .button:hover { background: var(--accent-strong); }
.contact-card small {
  display: block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}

/* === FOOTER =================================================== */
footer {
  padding: 29px 0;
  background: var(--ink);
  color: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #c8d1d0;
  font-size: 12px;
}
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   1100px → hide secondary brand label
   1000px → tighter hero
    900px → single-column grids, nav collapses
    760px → hero stacks vertically
    600px → phone layout
   ============================================================ */

@media (max-width: 1100px) {
  .property-name { display: none; }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 45% 55%; }
  .hero-copy {
    padding-left: 32px;
    padding-right: 25px;
  }
  .hero h1 { font-size: clamp(48px, 6vw, 68px); }
}

@media (max-width: 900px) {
  .nav { gap: 18px; }
  .nav a:not(.nav-cta) { display: none; }

  .overview-grid,
  .potential-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery .large { grid-column: span 2; }
  .gallery img { height: 310px; }

  .fact-strip .wrap > div { display: block; }
  .fact-strip span {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-image {
    order: -1;
    height: 52vw;
    min-height: 300px;
  }
  .hero-copy { padding: 45px 32px 59px; }
  .hero h1 { font-size: clamp(50px, 8vw, 68px); }
  .hero-intro { max-width: 650px; }

  .planning-grid { grid-template-columns: 1fr; }
  .planning-grid div { padding: 22px 0; }
  .planning-grid div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .document-links { grid-template-columns: 1fr; }
  .documents .section-head p { padding-top: 0; }
}

@media (max-width: 600px) {
  header { height: 72px; }
  .wrap { padding: 0 22px; }

  .brand { gap: 0; }
  .wordmark { font-size: 19px; }
  .nav .nav-cta {
    padding: 10px 11px;
    font-size: 12px;
  }

  .hero-image {
    height: 63vw;
    min-height: 260px;
  }
  .hero-copy { padding: 42px 22px 60px; }
  .hero h1 { font-size: clamp(46px, 12vw, 62px); }
  .hero-actions { gap: 19px; }

  .visual-note {
    left: 12px;
    bottom: 12px;
    padding: 8px 11px;
  }
  .visual-note strong,
  .visual-note span { font-size: 10px; }

  .fact-strip .wrap { grid-template-columns: 1fr 1fr; }
  .fact-strip .wrap > div { padding: 21px 8px 21px 0; }
  .fact-strip .wrap > div + div { padding-left: 15px; }
  .fact-strip .wrap > div:nth-child(3) {
    grid-column: span 2;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }
  .fact-strip strong { font-size: 27px; }
  .fact-strip span { font-size: 11px; }

  .section { padding: 72px 0; }
  .section h2 { font-size: 42px; }
  .section-head { display: block; }

  .gallery-grid { gap: 8px; }
  .gallery .large img { height: 250px; }
  .gallery img { height: 160px; }
  .gallery figcaption { font-size: 11px; }

  .contact-card { padding: 27px; }

  .footer-inner { display: block; }
  .footer-inner span {
    display: block;
    margin-bottom: 9px;
  }
}

/* === ACCESSIBILITY: reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .gallery img,
  .document-link { transition: none; }
  .gallery figure:hover img { transform: none; }
}
