@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #080d0b;
  --gold: #f2cb82;
  --gold-light: #ffe2a0;
  --body-font: "Source Sans 3", "Segoe UI", sans-serif;
  --display-font: "Cormorant Garamond", Georgia, serif;
  --header-height: clamp(88px, calc(4.8vw + 32px), 120px);
  --headline-size: clamp(48px, 6.1vw, 118px);
  --hero-top: 0px;
  --hero-bottom: clamp(32px, 4vh, 64px);
}

* { box-sizing: border-box; }
html { min-width: 280px; background: var(--ink); }
body { margin: 0; color: var(--gold); font-family: var(--body-font); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 6px; }
::selection { color: var(--ink); background: var(--gold); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: calc(100% - 8vw); max-width: 1620px; margin-inline: auto; }

.landing { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; background: var(--ink); }
.landscape { position: absolute; inset: 0; z-index: -2; background: url("assets/bohemian-sunset.jpg") center top / cover no-repeat; }
.landscape::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 6 6 / 49%) 0%, rgb(0 6 6 / 27%) 36%, transparent 69%), linear-gradient(180deg, rgb(0 4 4 / 20%) 0%, transparent 24%, transparent 78%, rgb(0 4 4 / 52%) 100%); }

.header { position: relative; z-index: 2; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-height); padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 15px; white-space: nowrap; }
.brand__mark { width: clamp(55px, 4.8vw, 80px); height: auto; }
.brand span { font-family: var(--display-font); font-size: clamp(28px, 3.05vw, 52px); font-weight: 500; letter-spacing: -.025em; line-height: 1; text-shadow: 0 2px 12px rgb(0 0 0 / 25%); }

.download { display: inline-flex; align-items: center; justify-content: center; gap: 17px; border: 1px solid var(--gold); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.download svg { flex: 0 0 auto; }
.download--outline { min-height: 49px; padding: 10px 26px; border-radius: 999px; background: rgb(9 12 10 / 36%); color: #ffdfa0; font-size: 18px; font-weight: 500; backdrop-filter: blur(8px); }
.download--outline:hover { background: rgb(235 195 117 / 12%); box-shadow: 0 0 24px rgb(221 172 76 / 9%); }
.download--primary { max-width: 100%; min-height: clamp(62px, 5vw, 78px); padding: 15px clamp(22px, 2.5vw, 40px); gap: clamp(12px, 1.1vw, 17px); border-color: #f6d99b; border-radius: 18px; color: #16170f; background: linear-gradient(180deg, #f9dc9b 0%, #e9be75 57%, #c6954f 100%); box-shadow: inset 0 1px 0 rgb(255 243 202 / 60%), 0 8px 28px rgb(0 0 0 / 20%); font-size: clamp(20px, 1.95vw, 32px); font-weight: 600; }
.download--primary svg { width: clamp(28px, 2vw, 38px); height: auto; }
.download--primary:hover { background: linear-gradient(180deg, #ffe9b2 0%, #f1cc87 57%, #d2a05c 100%); box-shadow: inset 0 1px 0 rgb(255 243 202 / 65%), 0 8px 36px rgb(216 168 83 / 20%); transform: translateY(-2px); }
.download:active { transform: translateY(1px); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(16px, 2vw, 40px); flex: 1; }
.hero__copy { position: relative; z-index: 1; min-width: 0; padding-left: clamp(0px, 1vw, 20px); }
h1 { margin: 0; background: linear-gradient(180deg, #ffe6a9 0%, #f4ce88 52%, #e6b461 100%); color: var(--gold-light); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--display-font); font-size: var(--headline-size); font-weight: 600; line-height: .98; letter-spacing: -.026em; text-shadow: 0 4px 24px rgb(0 0 0 / 8%); }
.hero__tagline { display: flex; align-items: center; gap: clamp(10px, 1.1vw, 18px); margin: clamp(16px, 1.5vw, 29px) 0 clamp(24px, 2vw, 39px); color: #e8cf9c; font-size: clamp(13px, 1.35vw, 24px); font-weight: 400; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.hero__tagline span { font-size: .7em; letter-spacing: 0; }
.hero__visual { position: relative; min-width: 0; justify-self: end; align-self: start; margin: 0; pointer-events: none; }
.hero__phones { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgb(0 0 0 / 32%)); }

@media (max-width: 700px), (max-width: 1100px) and (orientation: portrait) {
  :root { --headline-size: clamp(46px, calc(20px + 8vw), 84px); }
  .shell { width: calc(100% - 40px); }
  .landscape { background-position: 57% top; }
  .landscape::after { background: linear-gradient(180deg, rgb(0 6 6 / 28%), rgb(0 6 6 / 30%) 30%, rgb(0 6 6 / 20%) 65%, rgb(0 6 6 / 70%)), linear-gradient(90deg, rgb(0 6 6 / 25%), transparent); }
  .hero { grid-template-columns: minmax(0, 1fr); align-content: start; gap: clamp(12px, 2vh, 24px); padding-block: clamp(20px, 3vh, 40px) clamp(28px, 4vh, 48px); }
  .hero__copy { width: 100%; max-width: 680px; padding: 0; justify-self: center; text-align: center; }
  h1 { letter-spacing: -.035em; }
  .hero__tagline { justify-content: center; gap: clamp(9px, 1.6vw, 14px); margin: 12px 0 18px; font-size: clamp(12px, 2vw, 18px); letter-spacing: .18em; }
  .download--primary { min-height: 62px; padding: 12px 25px; border-radius: 15px; font-size: clamp(20px, 2.8vw, 24px); }
  .download--primary svg { width: 29px; }
  .hero__visual { width: min(100%, 680px, max(280px, calc(100svh - var(--header-height) - var(--headline-size) * 2 - 220px))); justify-self: center; }
}

@media (max-width: 700px) {
  .header { min-height: 88px; gap: 12px; padding-block: 15px; }
  .brand { gap: 8px; }
  .brand__mark { width: 46px; }
  .brand span { font-size: clamp(24px, 4.8vw, 33px); }
  .download--outline { width: 44px; min-height: 44px; padding: 9px; }
  .download--outline span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 30px); }
  .brand span { font-size: 23px; }
  .brand__mark { width: 39px; }
  .hero__tagline { gap: 9px; letter-spacing: .13em; }
  .download--primary { font-size: 20px; padding-inline: 22px; }
}

@media (max-width: 340px) {
  :root { --headline-size: clamp(40px, 14.3vw, 48px); }
  .brand span { font-size: clamp(20px, 6.5vw, 22px); }
  .brand__mark { width: 34px; }
  .download--primary { padding-inline: 16px; gap: 9px; font-size: 18px; }
  .download--primary svg { width: 24px; }
}

@media (min-width: 2400px) and (min-height: 1200px) {
  :root { --headline-size: clamp(118px, 5vw, 144px); }
  .shell { max-width: 2080px; }
  .hero__visual { width: min(100%, calc(100svh - 216px), 1040px); }
}

@media (min-width: 520px) and (max-height: 600px) and (orientation: landscape) {
  :root { --header-height: 72px; --headline-size: clamp(36px, 5.5vw, 72px); }
  .header { min-height: var(--header-height); padding-block: 10px; }
  .brand { gap: 10px; }
  .brand__mark { width: 46px; }
  .brand span { font-size: clamp(26px, 3vw, 36px); }
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-content: center; gap: 18px; padding-block: 16px 24px; }
  .hero__copy { max-width: none; text-align: left; }
  .hero__tagline { justify-content: flex-start; gap: 8px; margin: 12px 0 20px; font-size: clamp(10px, 1.35vw, 15px); letter-spacing: .14em; }
  .download--primary { min-height: 48px; padding: 10px 14px; gap: 8px; font-size: clamp(16px, 2.7vw, 26px); }
  .download--primary svg { width: 24px; }
  .hero__visual { width: min(100%, calc(100svh - 128px)); justify-self: end; align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}


/* Hlášení frameworku jsou oddělená od statického obsahu landing page. */
.none { display: none; }
#sp_message { position: fixed; z-index: 20; right: 20px; bottom: 20px; left: 20px; width: auto; max-width: 640px; margin-inline: auto; }
#sp_message:empty { display: none; }
#sp_message .sp_message { margin-top: 10px; padding: 16px 20px; border: 1px solid var(--gold); border-radius: 14px; background: #171c1c; color: #f3dfc0; box-shadow: 0 8px 28px rgb(0 0 0 / 30%); }
#sp_message .sp_message.error { border-color: #e78276; }
#sp_message .sp_message.ok { border-color: #6bcb70; }
#sp_message .sp_message button { float: right; margin-left: 16px; padding: 0 6px; border: 0; background: transparent; color: inherit; font-size: 24px; line-height: 1; }
