/* ===================================================================
   ProID WEB – rekonstrukce Figma navrhu (1920w light)
   Tokeny extrahovane z Figma REST API
   =================================================================== */

:root {
  --navy: #001c34;
  --text: #454a4f;
  --muted: #91979c;
  --accent: #aeb6db;
  --bg-soft: #f5f6f8;
  --dark: #111213;
  --radius: 16px;
  --radius-deco: 120px;
  --container: 1300px;
  --font: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; padding: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding-inline: 24px;
}

.container-narrow {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- typografie ---------- */

h1 {
  font-size: clamp(48px, 4.5vw, 86px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
}

h2 {
  font-weight: 300;
  color: var(--navy);
}

.section-title {
  font-size: clamp(36px, 3vw, 58px);
  line-height: 1.155;
  text-align: center;
}

/* ---------- tlacitka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.1;
  padding: 15px 25px;
  border-radius: 40px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn-lg { font-size: 17px; padding: 18px 30px; }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: #0a3354; }

.btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- dekorativni radiusy ---------- */

.radius-bl { border-radius: var(--radius) var(--radius) var(--radius) var(--radius-deco); overflow: hidden; }
.radius-br { border-radius: var(--radius) var(--radius) var(--radius-deco) var(--radius); overflow: hidden; }
.radius-tr { border-radius: var(--radius) var(--radius-deco) var(--radius) var(--radius); overflow: hidden; }
.radius-tl { border-radius: var(--radius-deco) var(--radius) var(--radius) var(--radius); overflow: hidden; }

/* ===================================================================
   HEADER
   =================================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 21px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 100%);
}

.header-inner {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 55px;
}

.site-logo img { height: 31px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 24px;
}

.main-nav a,
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--navy);
  transition: opacity .2s ease;
}

.main-nav a:hover,
.lang-switch:hover { opacity: .65; }

.chev { margin-top: 2px; flex: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle { display: none; }

/* ===================================================================
   HERO
   =================================================================== */

.hero {
  position: relative;
  min-height: 1200px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  background: url('../assets/svg/art-hero.svg') center / cover no-repeat;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 44%, #fff 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-content { max-width: 754px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-eyebrow .eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.hero-eyebrow p {
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
}

.hero h1 { margin-bottom: 40px; }

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-side { flex: 1; }

/* ===================================================================
   SLIDER + SPECS
   =================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.media-slider {
  position: relative;
  aspect-ratio: 610 / 458;
}

.media-slider-track { position: absolute; inset: 0; }

.media-slider figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.media-slider figure.is-active { opacity: 1; }

.media-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 28, 52, .18);
}

.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }

.specs-content h2 {
  font-size: clamp(32px, 2.4vw, 46px);
  line-height: 1.2;
  margin-bottom: 28px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.specs-list li {
  font-size: 17px;
  line-height: 1.4;
}

.specs-list strong { font-weight: 700; }

.section-specs { padding-top: 0; }

/* ===================================================================
   DARK COVER CARD
   =================================================================== */

.section-cover-card { padding-top: 128px; }

.cover-card {
  position: relative;
  min-height: 561px;
  border-radius: var(--radius) 160px var(--radius) var(--radius);
  overflow: hidden;
  background: url('../assets/img/cover-minimalist.png') center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.cover-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #000 10%, rgba(0,0,0,0) 62%);
}

.cover-card-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px;
  color: #fff;
}

.cover-card-content h3 {
  font-size: clamp(32px, 2.4vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 19px;
}

.cover-card-content p {
  font-size: 17px;
  line-height: 1.7;
}

/* ===================================================================
   FEATURES
   =================================================================== */

.section-features { padding-top: 128px; }

.features-layout {
  display: grid;
  grid-template-columns: 386px 1fr;
  align-items: start;
}

.features-title {
  font-size: clamp(40px, 3vw, 58px);
  line-height: 1.155;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-soft);
}

.feature h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 11px;
}

.feature p {
  font-size: 16px;
  line-height: 1.7;
}

/* ===================================================================
   VIDEO COVER
   =================================================================== */

.section-video { padding-top: 128px; }

.video-cover {
  position: relative;
  min-height: 840px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/img/cover-video.png') center / cover no-repeat;
  overflow: hidden;
}

.video-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 98%);
}

.video-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
  padding: 96px 24px;
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border: 4px solid #fff;
  border-radius: 50%;
  transition: transform .25s ease, background-color .25s ease;
}

.play-button:hover {
  transform: scale(1.06);
  background: rgba(255,255,255,.12);
}

.play-button img { margin-left: 6px; }

.video-content h3 {
  font-size: clamp(40px, 3.6vw, 70px);
  font-weight: 300;
  line-height: 1.155;
  color: #fff;
}

/* ===================================================================
   CHOOSE YOUR STYLE – COVERS
   =================================================================== */

.section-styles { padding-top: 127px; }

.section-styles .section-title { margin-bottom: 64px; }

.styles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.style-card {
  position: relative;
  aspect-ratio: 1;
}

.style-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.style-card:hover img { transform: scale(1.04); }

.style-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000 20%, rgba(0,0,0,0) 50%);
}

.style-card-label {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  padding: 31px 32px;
  color: #fff;
}

.style-card-label h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 11px;
}

.style-card-label p {
  font-size: 16px;
  line-height: 1.7;
}

/* ===================================================================
   ALTERNATING ROWS
   =================================================================== */

.section-rows { padding-top: 128px; }

.row-item + .row-item { margin-top: 80px; }

.row-media { aspect-ratio: 610 / 458; }

.row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-content h2 {
  font-size: clamp(32px, 2.4vw, 46px);
  line-height: 1.2;
  margin-bottom: 27px;
}

.row-content > p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 1.4;
}

.check-list img { flex: none; }

.award {
  display: flex;
  align-items: center;
  gap: 16px;
}

.award-title {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.award-org {
  font-size: 15px;
  line-height: 1.4;
  color: var(--navy);
}

.row-button { padding-top: 1px; }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */

.section-testimonials {
  position: relative;
  margin-top: 127px;
  padding: 127px 0 128px;
  overflow: hidden;
}

.testimonials-art {
  position: absolute;
  inset: 0;
  background: url('../assets/svg/art-testimonials.svg') center / cover no-repeat;
}

.testimonials-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.33) 50%);
}

.testimonials-inner { position: relative; z-index: 2; }

.section-testimonials .section-title { margin-bottom: 64px; }

.testimonials-slider {
  overflow: hidden;
  padding-inline: 32px;
}

.testimonials-track {
  display: flex;
  gap: 32px;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

.testimonial-card {
  flex: 0 0 540px;
  max-width: calc(100vw - 64px);
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonial-card .quote {
  font-size: 19px;
  line-height: 1.68;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.testimonial-card .author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .name {
  font-size: 17px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 8px;
}

.testimonial-card .role {
  font-size: 15px;
  line-height: 1.2;
  color: var(--muted);
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.t-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease, transform .2s ease;
}

.t-arrow:hover { transform: scale(1.1); }

.t-arrow[disabled] {
  opacity: .45;
  cursor: default;
  transform: none;
}

/* ===================================================================
   PUBLICATIONS
   =================================================================== */

.section-publications { padding-top: 127px; }

.section-publications .section-title { margin-bottom: 64px; }

.pub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pub-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 44px 32px;
}

.pub-logo {
  flex: none;
  width: 228px;
}

.pub-card p {
  font-size: 16px;
  line-height: 1.7;
}

/* ===================================================================
   ARTICLES
   =================================================================== */

.section-articles { padding-top: 127px; }

.section-articles .section-title { margin-bottom: 64px; }

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 47px 48px;
}

.article-item {
  display: flex;
  gap: 28px;
}

.article-thumb {
  flex: none;
  width: 175px;
  height: 175px;
  border-radius: 20px;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.article-item:hover .article-thumb img { transform: scale(1.06); }

.article-content {
  padding-top: 37px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-content h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
}

.article-content h3 a { transition: opacity .2s ease; }
.article-content h3 a:hover { opacity: .7; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b4b8bb;
}

/* ===================================================================
   ACTIVITY TRACKING
   =================================================================== */

.section-activity { padding-top: 127px; }

.activity-layout {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 80px;
  align-items: center;
}

.activity-intro h2 {
  font-size: clamp(40px, 3vw, 58px);
  line-height: 1.155;
  margin-bottom: 31px;
  white-space: nowrap;
}

.activity-intro p {
  font-size: 17px;
  line-height: 1.7;
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.activity-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 240px;
  text-align: center;
}

.activity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-bottom: 16px;
}

.activity-card h3 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 12px;
}

.activity-card p {
  font-size: 15px;
  line-height: 1.72;
}

.activity-photo {
  background: url('../assets/img/activity-photo.png') center / cover no-repeat;
  padding: 0;
}

/* ===================================================================
   PRODUCTS
   =================================================================== */

.section-products { padding-top: 127px; }

.section-products .section-title { margin-bottom: 64px; }

.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.product { text-align: center; }

.product-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 23px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product:hover .product-img img { transform: scale(1.05); }

.enlarge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(90, 90, 90, .75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.product:hover .enlarge { opacity: 1; }

.product h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 11px;
}

.product p {
  font-size: 16px;
  line-height: 1.7;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer {
  margin-top: 352px;
  background: var(--dark);
  padding: 56px 24px 119px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-bottom .dot { background: var(--text); }

.footer-bottom nav {
  display: flex;
  gap: 12px;
}

.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: #fff; }

/* ===================================================================
   REVEAL ANIMACE
   =================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 1366px) {
  .hero { min-height: 880px; }
  .features-layout { grid-template-columns: 1fr; gap: 64px; }
  .video-cover { min-height: 640px; }
  .site-footer { margin-top: 200px; }
}

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .header-actions .lang-switch { display: none; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: transform .3s ease, opacity .3s ease;
  }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  body.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 28, 52, .12);
    padding: 24px;
  }

  body.nav-open .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .row-item.two-col { gap: 40px; }
  .row-item .row-media { order: -1; }

  .activity-layout { grid-template-columns: 1fr; gap: 56px; }
  .activity-intro h2 { white-space: normal; }
  .pub-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .products-row { grid-template-columns: 1fr 1fr; }
  .styles-row { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .hero { min-height: 720px; }
  :root { --radius-deco: 72px; }
  .cover-card { border-radius: var(--radius) 80px var(--radius) var(--radius); }
  .site-footer { margin-top: 128px; }

  .section-cover-card, .section-features, .section-video, .section-rows { padding-top: 96px; }
  .section-styles, .section-publications, .section-articles, .section-activity, .section-products { padding-top: 96px; }
  .section-testimonials { margin-top: 96px; padding-block: 96px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .hero { min-height: 640px; }
  .hero h1 { font-size: 40px; }
  .hero-buttons .btn-lg { font-size: 16px; padding: 15px 24px; }

  .features-grid { grid-template-columns: 1fr; }
  .products-row { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .activity-grid { grid-template-columns: 1fr; }
  .video-cover { min-height: 480px; }
  .play-button { width: 80px; height: 80px; border-width: 3px; }
  .play-button img { width: 28px; height: auto; }

  .article-item { flex-direction: column; }
  .article-content { padding-top: 0; }
  .article-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; }

  .pub-card { flex-direction: column; align-items: flex-start; }
  .testimonial-card { flex: 0 0 86vw; padding: 28px; }
  .testimonial-card .quote { font-size: 17px; }
  .cover-card-content { padding: 40px 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom .dot { display: none; }
}
