/* ROOH CAFFÉ · úvod na výšku obrazovky, ostatní sekce plynule */
:root {
  --rooh-dark: #114e56;
  --rooh-blue: #4d91a0;
  --rooh-peach: #dc9b7d;
  --rooh-cream: #f0e6dc;
  --rooh-white: #fff;
  --font-text: "Montserrat", Arial, sans-serif;
  --font-heading: "Fahkwang", "Montserrat", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--rooh-dark);
  background-color: var(--rooh-white);
  background-image: url("../img-new/pattern.png");
  background-size: max(1000px, 100vw) auto;
  background-position: center top;
  background-repeat: repeat-y;
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--rooh-peach); outline-offset: 6px; border-radius: 2px; }
img, svg { display: block; }

/* První blok vyplní obrazovku, na nízkých zařízeních může přirozeně růst. */
.intro-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(30px, 4.5svh, 50px);
  padding: clamp(30px, 5svh, 60px) 24px;
}
.hero { display: flex; justify-content: center; text-align: center; flex: none; }
.brand { display: inline-block; }
.brand img { width: clamp(194px, 23svh, 235px); max-width: 100%; height: auto; }

.content-section { width: min(100% - 48px, 890px); margin-inline: auto; }
.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-align: center;
}
.section-rule {
  display: block;
  width: 142px;
  height: 1px;
  margin: 0 auto;
  background: rgba(17, 78, 86, .34);
  flex: none;
}
.story .section-rule { margin-bottom: clamp(20px, 3svh, 34px); }
.section-kicker {
  margin: 0 0 clamp(10px, 1.7svh, 18px);
  color: var(--rooh-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: .19em;
}
.story h1, .location h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -.047em;
  line-height: 1.25;
}
.story h1 {
  max-width: 720px;
  margin: 0 auto clamp(20px, 3svh, 34px);
  font-size: clamp(31px, 3.7vw, 46px);
}
.story h1 span { display: block; }
.story__copy { max-width: 720px; margin: 0 auto; }
.story__copy p {
  margin: 0 auto clamp(13px, 2svh, 21px);
  font-size: clamp(15px, 1.42vw, 16px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -.014em;
}
.story__copy .story__emphasis { margin-top: clamp(13px, 2.4svh, 25px); font-weight: 700; }
.story__copy .story__invitation { margin-top: 2px; margin-bottom: 0; }

/* Kontakty navazují přirozeně pod úvodem, bez umělého vyplnění obrazovky. */
.connect-screen {
  --connect-gap: clamp(52px, 5.5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--connect-gap);
  padding: clamp(54px, 6vw, 76px) 24px clamp(58px, 6vw, 78px);
}
.contact, .social { width: min(100%, 620px); margin: 0 auto; text-align: center; }
.section-heading {
  margin: 0;
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.018em;
}
.link-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  align-items: start;
  margin-inline: auto;
}
.link-pair--contact, .link-pair--social {
  width: min(100%, 420px);
  column-gap: 24px;
  margin-top: clamp(19px, 3svh, 29px);
}
.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.025em;
  transition: color .18s ease;
}
.icon-link img { width: 27px; height: 27px; object-fit: contain; transition: transform .18s ease; }
.icon-link:hover { color: var(--rooh-blue); }
.icon-link:hover img { transform: translateY(-2px); }
.icon-link span { white-space: nowrap; }
.social { position: relative; }
.social::before {
  content: "";
  display: block;
  position: absolute;
  top: calc(-0.5 * var(--connect-gap));
  left: 50%;
  transform: translateX(-50%);
  width: 142px;
  height: 1px;
  background: rgba(17, 78, 86, .34);
}

/* Mapa a praktické údaje: běžné, konzistentní vertikální mezery. */
.visit-screen {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 74px);
  padding: clamp(58px, 6vw, 80px) 24px clamp(50px, 6vw, 78px);
}
.location { width: min(100%, 970px); text-align: center; }
.location .section-rule { margin-bottom: clamp(20px, 3svh, 36px); }
.location h2 { margin: 0 0 clamp(22px, 3svh, 34px); font-size: clamp(30px, 3.15vw, 41px); }
.map-frame {
  overflow: hidden;
  width: 100%;
  background: #f3f5f5;
  border: 1px solid rgba(17, 78, 86, .14);
  border-radius: 3px;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 36vw, 430px);
  border: 0;
}
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(17, 78, 86, .4);
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease, border-color .18s ease;
}
.map-link svg { width: 17px; height: 17px; color: var(--rooh-peach); }
.map-link:hover { color: var(--rooh-blue); border-color: var(--rooh-blue); }

.practical-info { width: 100%; }
.details-grid {
  display: grid;
  grid-template-columns: 1.06fr 1.30fr .82fr;
  width: min(100%, 780px);
  margin-inline: auto;
  align-items: start;
  text-align: left;
}
.detail {
  position: relative;
  min-height: 64px;
  padding-left: 36px;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -.018em;
}
.detail::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 8px;
  width: 22px;
  height: 1px;
  background: rgba(17, 78, 86, .45);
}
.detail p { margin: 0; }
.detail__lead, .detail strong { font-weight: 700; }

/* Patička */
.site-footer {
  width: min(100% - 48px, 970px);
  margin: 0 auto;
  padding: 27px 0 25px;
  border-top: 1px solid rgba(17, 78, 86, .22);
}
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 65px;
}
.site-footer img { width: 112px; height: auto; }
.site-footer a { font-size: 13px; font-weight: 700; }
.site-footer a span { margin-left: 6px; color: var(--rooh-peach); }
.site-footer a:hover { color: var(--rooh-blue); }
.site-footer__copyright {
  margin: 28px 0 0;
  color: rgba(17, 78, 86, .58);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .005em;
  text-align: center;
}

/* Menší zařízení: víc prostoru pro zalomený text a přirozené délky sekcí. */
@media (max-width: 720px) {
  .intro-screen { padding: 38px 18px 48px; gap: 30px; }
  .brand img { width: clamp(184px, 27vw, 225px); }
  .story h1 { margin-bottom: 26px; font-size: clamp(30px, 5vw, 39px); }
  .story__copy p { line-height: 1.75; }
  .connect-screen { --connect-gap: 60px; padding: 54px 22px 58px; }
  .visit-screen { gap: 52px; padding: 56px 20px 70px; }
  .details-grid { grid-template-columns: 1fr 1.15fr; max-width: 560px; column-gap: 24px; row-gap: 25px; }
  .detail--company { grid-column: 1 / -1; display: flex; gap: 24px; }
  .map-frame iframe { height: 350px; }
}
@media (max-width: 430px) {
  .intro-screen { padding: 30px 18px 44px; gap: 28px; }
  .brand img { width: 202px; }
  .content-section, .site-footer { width: min(100% - 40px, 970px); }
  .story .section-rule { margin-bottom: 22px; }
  .story h1 { font-size: 31px; }
  .story__copy p { line-height: 1.7; margin-bottom: 17px; }
  .connect-screen { padding-inline: 20px; }
  .link-pair--contact, .link-pair--social { width: 100%; column-gap: 10px; }
  .details-grid { column-gap: 14px; }
  .desktop-break { display: none; }
  .visit-screen { padding: 54px 20px 64px; }
  .map-frame iframe { height: 290px; }
}
@media (max-width: 390px) {
  .intro-screen { padding-top: 26px; }
  .brand img { width: 194px; }
  .story h1 { font-size: 30px; }
  .link-pair--contact { grid-template-columns: 1fr; row-gap: 19px; }
  .details-grid { grid-template-columns: 1fr; row-gap: 21px; }
  .detail--company { grid-column: auto; display: block; }
}

/* Na nízkých desktopových monitorech jemně zkrátit pouze první sekci. */
@media (min-width: 721px) and (max-height: 740px) {
  .intro-screen { padding-block: 24px; gap: 22px; }
  .brand img { width: 190px; }
  .story .section-rule { margin-bottom: 15px; }
  .story h1 { font-size: clamp(29px, 3.3vw, 40px); margin-bottom: 19px; }
  .story__copy p { line-height: 1.6; margin-bottom: 13px; }
  .story__copy .story__emphasis { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
