/* Farby a font podľa dizajn manuálu sympoia */
:root {
  --beige: #ffe4d2;
  --blue: #c8deed;
  --grey: #d8d8d8;
  --black: #333132;
  --white: #ffffff;
  --text-muted: #8c8a8b;

  --font: "Myriad Pro", "Source Sans 3", "Segoe UI", sans-serif;

  --gutter: clamp(8px, 0.9vw, 18px);
  --radius: clamp(20px, 2.2vw, 44px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Úvodná karta ---------- */

.hero {
  position: relative;
  margin: var(--gutter);
  height: calc(100vh - 2 * var(--gutter));
  height: calc(100svh - 2 * var(--gutter));
  min-height: 420px;
  border-radius: var(--radius);
  background: var(--beige);
  overflow: hidden;
}

/* Prepínač jazyka – nenápadne v pravom hornom rohu */
.lang {
  position: absolute;
  top: clamp(20px, 3.5vh, 40px);
  right: clamp(22px, 3vw, 56px);
  z-index: 1;
  display: flex;
  gap: 0.9em;
  font-size: clamp(14px, 1vw, 18px);
}

.lang a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.lang a:hover,
.lang a:focus-visible,
.lang a[aria-current="page"] { color: var(--black); }

.hero__logo {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero__mark {
  position: relative;
  display: block;
  width: clamp(150px, 11.5vw, 280px);
}

.hero__mark img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

/* Grafický prvok – pásy z manuálu, tónované na svetlo, prechádzajú cez „m“ */
.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero__lines polygon {
  fill: var(--white);
  fill-opacity: 0.45;
}

/* ---------- Sekcie ---------- */

.section {
  margin: var(--gutter);
  padding: clamp(40px, 7vw, 120px) clamp(24px, 8vw, 160px);
  border-radius: var(--radius);
}

/* Symbol „m“ z loga v pravom dolnom rohu, orezaný spodným okrajom */
.section:has(.section__mark) {
  position: relative;
  overflow: hidden;
}

.section:has(.section__mark) > :not(.section__mark) {
  position: relative;
  z-index: 1;
}

.section__mark {
  position: absolute;
  right: clamp(24px, 6vw, 110px);
  bottom: 0;
  width: clamp(80px, 13vw, 240px);
  height: auto;
  transform: translateY(28%);
  pointer-events: none;
}

.section--blue .section__mark polygon,
.section--grey .section__mark polygon  { fill: var(--white); fill-opacity: 0.5; }
.section--black .section__mark polygon { fill: var(--white); fill-opacity: 0.07; }

/* Poradie farieb podľa manuálu: béžová (úvod) → modrá → sivá → čierna */
.section--blue  { background: var(--blue);  color: var(--black); }
.section--grey  { background: var(--grey);  color: var(--black); }
.section--black { background: var(--black); color: var(--white); }

.section h2 {
  margin: 0 0 1.2em;
  font-size: clamp(28px, 3vw, 52px);
  font-weight: 300;
}

.section p,
.section address {
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.6;
  font-style: normal;
}

.placeholder { opacity: 0.65; }

address a { border-bottom: 1px solid currentColor; }

/* Kontakt – fotka a jeden stĺpec textu, všetko na spoločnej ľavej hrane a hornej línii */
.contact {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(32px, 5vw, 96px);
}

.contact__photo {
  display: block;
  width: clamp(150px, 14vw, 240px);
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
}

.section .contact__details p { margin: 0 0 1.2em; }
.section .contact__details p:first-child { margin-top: -0.3em; } /* horná línia textu = vrch fotky */
.section .contact__details p:last-child { margin-bottom: 0; }

.contact__details strong { font-weight: 600; }

@media (max-width: 640px) {
  .contact { grid-template-columns: 1fr; }
}

/* ---------- Pätička – logo ukotvené dole ---------- */

.footer {
  display: grid;
  place-items: center;
  padding: clamp(48px, 6vw, 96px) 16px;
}

.footer img {
  width: 110px;
  height: auto;
}
