/* SG Bridge – statická verze (migrace z Wix) */

/* ---------- Fonty (self-hosted, OFL) ---------- */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/anton-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/anton-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/barlow-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/barlow-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Základ ---------- */
:root {
  --blue: #1083c2;
  --blue-card: #0089ce;
  --grey-card: #c7c7c7;
  --grey-price: #e8e6e6;
  --bg-soft: #fafafa;
  --text: #000;
  --head: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'DIN Next', 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 300 16px/1.2 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; position: relative; }

/* ---------- Hero ---------- */
.hero { height: 247px; background: var(--bg-soft) url(../img/hero.jpg) center / cover no-repeat; }
.hero__inner { height: 100%; }
.hero__arcs { position: absolute; right: -12px; bottom: -18px; width: 251px; z-index: 2; }

/* ---------- Úvod ---------- */
.intro { padding: 80px 0 70px; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.intro__logo { justify-self: end; }
.intro__logo img { width: 217px; }
.intro__nav { display: flex; flex-direction: column; gap: 2px; margin: 0 0 30px -40px; }
.intro__nav a { font: 16px/1.4 var(--head); color: var(--blue); text-decoration: none; }
.intro__nav a:hover { text-decoration: underline; }
.intro h1 { font-size: 50px; line-height: 1.08; }
.intro__sub { margin-top: 50px; }
.intro__down { display: inline-block; margin: 26px 0 0 12px; }
.intro__down svg { transform: rotate(180deg); fill: #000; transition: transform .2s; }
.intro__down:hover svg { transform: rotate(180deg) translateY(-4px); }

/* ---------- Pásy s obrázky ---------- */
.band { background: var(--bg-soft) center / cover no-repeat; }
.band--lattice  { height: 105px; background-image: url(../img/lattice.webp); }
.band--rails    { height: 105px; background-image: url(../img/hero.jpg); background-position: center bottom; }
.band--bridge   { height: 38px;  background-image: url(../img/rail.webp); }
.band--keyboard { height: 249px; background-image: url(../img/keyboard.webp); background-position: center bottom; }

/* ---------- Benefity ---------- */
.benefits { padding: 100px 0; scroll-margin-top: 20px; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit { display: flex; align-items: center; gap: 12px; padding-left: 18px; }
.benefit__icon { flex: 0 0 102px; height: 102px; background: var(--blue); display: grid; place-items: center; }
.benefit__icon svg { width: 61px; height: 61px; fill: #fff; }
.benefit__icon svg.pin { width: 43px; }
.benefit__icon--img img { width: 102px; max-width: none; }
.benefit p { font: 20px/1.2 var(--head); }

/* ---------- Galerie ---------- */
.gallery {
  height: 410px; overflow: hidden;
  background: linear-gradient(rgba(250,250,250,.72), rgba(250,250,250,.72)), url(../img/bridge-bg.webp) center / cover no-repeat;
}
.gallery__inner { height: 100%; display: flex; align-items: center; }
.gallery__arc {
  width: 168px; height: 288px; flex: 0 0 168px; margin-left: 0;
  background: url(../img/arcs.png) 0 -17px / 462px auto no-repeat;
}
.gallery__strips { display: flex; gap: 6px; margin-left: auto; margin-right: 60px; align-self: flex-start; }
.gallery__strips img { width: 141px; height: 403px; object-fit: cover; background: var(--grey-card); }

/* ---------- Detaily ---------- */
.details { padding: 90px 0 100px; scroll-margin-top: 20px; }
.details__title { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; font-size: 28px; line-height: 1.15; margin-left: 50px; }
.details__title img { width: 203px; }
.details__title span { padding-bottom: 8px; }
.details__grid { display: grid; grid-template-columns: 1fr 428px; gap: 40px; align-items: start; margin-top: 30px; }
.details__list { margin: 30px 0 0 75px; padding: 0 0 0 20px; font-size: 20px; line-height: 1.6; }
.details__list li::marker { font-size: .8em; }
.details__img { width: 428px; }

/* ---------- Standardy ---------- */
.standards { padding: 50px 0; }
.standards__grid { display: flex; align-items: center; gap: 90px; padding-left: 90px; min-height: 140px; }
.standard { display: flex; align-items: center; gap: 16px; }
.standard p { font: 20px/1.2 var(--head); white-space: nowrap; }
.check-box { flex: 0 0 44px; height: 44px; background: var(--blue); display: grid; place-items: center; }
.check-box svg { width: 22px; height: 18px; fill: #fff; }
.standards__arcs { width: 159px; margin-left: auto; margin-right: 20px; transform: rotate(90deg); }

/* ---------- Ceny ---------- */
.pricing { padding: 110px 0 20px; scroll-margin-top: 20px; }
.pricing__title { font-size: 30px; line-height: 1.1; text-align: center; margin-bottom: 70px; }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 30px; color: #fff; padding: 20px 14px 14px; position: relative; }
.plan h3::after { content: ""; display: block; height: 1px; background: rgba(255,255,255,.9); margin-top: 18px; }
.plan ul { list-style: none; margin: 0; padding: 4px 14px 30px; flex: 1; color: #fff; min-height: 270px; }
.plan li { position: relative; padding-left: 28px; margin-bottom: 22px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='24.959 40.069 150.022 119.895'%3E%3Cpath fill='%23fff' d='M173 56.1L77.7 157.6c-2.8 3.1-7.7 3.1-10.8.3L27.4 121c-3.1-2.8-3.3-7.6-.3-10.7l4.5-5.7c2.8-3.1 7.7-3.3 10.8-.3L73 132.1 158.1 43c2.8-3.1 6.9-4.3 10.9-.8l3.6 3.3c3 2.9 3.2 7.7.4 10.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan h3, .plan ul { background: var(--blue-card); }
.plan--trial h3, .plan--trial ul { background: var(--grey-card); }
.plan__price { margin-top: 30px; background: var(--grey-price); color: var(--blue); font-size: 30px; text-align: center; padding: 10px 0; }
.plan--trial .plan__price { color: #fff; }

/* ---------- Kontakt ---------- */
.contact { padding: 80px 0 140px; text-align: center; }
.contact h2 { font-size: 30px; margin-bottom: 30px; }
.contact p { font: 18px/1.3 var(--head); color: #3f3f3f; }
.contact a { color: inherit; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* ---------- Patička ---------- */
.footer { background: var(--blue); color: #000; padding: 50px 0 40px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.footer__col { padding: 30px 24px; display: flex; justify-content: center; }
.footer__col + .footer__col { border-left: 1px solid rgba(0,0,0,.35); }
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__brand img { width: 143px; }
.footer__brand span { font-size: 13px; }
.footer__up { font: 19px var(--head); }
.footer__mail { font-size: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 50px; font-size: 16px; }

/* ---------- Mobil / tablet ---------- */
@media (max-width: 900px) {
  .gallery__strips { margin-right: 0; }
  .gallery__arc { display: none; }
  .gallery__inner { justify-content: center; }
  .details__grid { grid-template-columns: 1fr; }
  .details__title, .details__list { margin-left: 0; }
  .details__img { justify-self: center; }
  .standards__grid { padding-left: 16px; gap: 40px; }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { height: 170px; }
  .hero__arcs { width: 150px; right: 8px; bottom: -12px; }
  .intro { padding: 50px 0; }
  .intro__grid { grid-template-columns: 1fr; text-align: left; }
  .intro__logo { justify-self: start; }
  .intro__nav { margin-left: 0; flex-direction: row; gap: 16px; }
  .intro h1 { font-size: 42px; }
  .intro__sub { margin-top: 24px; }
  .benefits { padding: 50px 0; }
  .benefits__grid { grid-template-columns: 1fr; gap: 20px; }
  .benefit { padding-left: 0; }
  .gallery { height: auto; padding: 20px 0; }
  .gallery__strips { gap: 4px; width: 100%; }
  .gallery__strips img { width: 25%; height: 260px; flex: 1 1 0; min-width: 0; }
  .details { padding: 50px 0; }
  .details__title { font-size: 24px; }
  .details__list { font-size: 18px; }
  .standards__grid { flex-direction: column; align-items: flex-start; gap: 20px; }
  .standard p { white-space: normal; }
  .standards__arcs { display: none; }
  .pricing { padding-top: 60px; }
  .pricing__title { font-size: 26px; margin-bottom: 40px; }
  .pricing__grid { grid-template-columns: 1fr; gap: 30px; }
  .plan ul { min-height: 0; }
  .plan__price { margin-top: 0; }
  .band--keyboard { height: 160px; }
  .contact { padding: 60px 0 80px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__col + .footer__col { border-left: 0; border-top: 1px solid rgba(0,0,0,.35); }
  .footer__bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}
