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

:root {
  --primary: #1F3D2B;
  --secondary: #F4F1EA;
  --accent: #d95f22;
  --text: #2B2B2B;
  --ui: #E5E5E5;
  --white: #FFFFFF;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --light: #eb976d;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ui);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  line-height: 1;
}

.nav-logo img {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 28px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #b84501 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(calc(100vh - 60px), auto);
  grid-template-rows: minmax(calc(100dvh - 60px), auto);
  overflow: hidden;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px max(40px, calc((100vw - 1200px) / 2 + 24px));
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--white);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  color: white;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 21px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #b84501;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--secondary);
  padding: 12px 21px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--secondary);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: #e1996f;
  color: #e1996f;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  width: 100%;
  justify-content: flex-start;
}

.hero-point {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}

.hero-point-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-point-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.hero-point-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  text-align: left;
  display: block;
  min-height: calc(2 * 1.25 * 1em);
}

.hero-image {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  z-index: 0;
  overflow: hidden;
  min-height: 0;
}

/* ── HERO SLIDESHOW ── */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.hero-slide.active {
  transform: translateX(0%);
}

.hero-slide.leaving {
  transform: translateX(-100%);
}

/* tečky */
.hero-dots {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Ztmavení hlavně vlevu u textu; vpravo fotka zůstává světlá */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #210c02e8 0%, #3a1d0499 38%, #3a1d0438 52%, rgba(0, 0, 0, 0) 62%);
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a3f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* ── PROBLEM ── */
.problem {
  padding: 100px 0;
  background: var(--secondary);
}

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

.section-label {
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 16px;
}

.problem h2,
.solution h2,
.why-us h2,
.values h2,
.how h2,
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text);
}

.problem-text {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 24px;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #555;
}

.problem-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.problem-highlight {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.problem-visual {
  display: flex;
  justify-content: center;
}

.problem-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  max-width: 440px;
  width: 100%;
}


.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.problem-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #555;
}

.problem-card-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #EF4444;
}

/* ── SOLUTION ── */
.solution {
  padding: 100px 0;
  background: var(--white);
}

.solution .container {
  max-width: 900px;
  text-align: center;
}

.solution h2 {
  margin-bottom: 16px;
}

.solution-sub {
  font-size: 18px;
  color: #555;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.solution-card {
  background: var(--secondary);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.solution-card:hover {
  transform: translateY(-4px);
}

.solution-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-bottom: 20px;
}

.solution-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.solution-footer {
  margin-top: 48px;
  font-size: 18px;
  color: var(--text);
}

.solution-footer strong {
  color: var(--primary);
}

/* ── WHY US ── */
.why-us {
  padding: 100px 0;
  background: var(--secondary);
}

.why-us .container {
  text-align: center;
}

.why-us h2 {
  margin-bottom: 16px;
}

.why-us-sub {
  font-size: 18px;
  color: #555;
  margin-bottom: 56px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.why-us-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 24px;
  transition: transform 0.2s;
}

.why-us-card:hover {
  transform: translateY(-4px);
}

.why-us-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--secondary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.why-us-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-us-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* ── REFERENCES ── */
.references {
  padding: 100px 0;
  background: var(--white);
}

.references .container {
  text-align: center;
}

.references h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.references-sub {
  font-size: 18px;
  color: #555;
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.ref-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ui);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* iframe náhled */
.ref-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--secondary);
}

.ref-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 160%;
  /* iframe je škálovaný dolů na 62.5% */
  height: 160%;
  border: none;
  transform: scale(0.625);
  transform-origin: top left;
  pointer-events: none;
}

/* overlay s CTA */
.ref-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 61, 43, 0);
  transition: background 0.3s;
  text-decoration: none;
}

.ref-card:hover .ref-overlay {
  background: rgba(31, 61, 43, 0.55);
}

.ref-overlay-btn {
  background: var(--accent);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.ref-card:hover .ref-overlay-btn {
  opacity: 1;
  transform: translateY(0);
}

/* info pod náhledem */
.ref-info {
  padding: 20px 24px 24px;
}

.ref-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.ref-info h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.ref-info p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

@media (max-width: 968px) {
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .references-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── VALUES ── */
.values {
  padding: 100px 0;
  background: var(--primary);
  color: var(--white);
}

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

.values h2 {
  color: var(--white);
}

.values .section-label {
  color: var(--accent);
}

.values-text {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.values-highlight {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.values-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 0;
  background: var(--white);
}

.how .container {
  text-align: center;
}

.how h2 {
  margin-bottom: 56px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.how-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
}

.how-step h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-step p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--ui);
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 100px 0;
  background: var(--secondary);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ── */
.footer {
  padding: 48px 0;
  background: var(--primary) !important;
  color: rgba(255, 255, 255, 0.7);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo svg path {
  fill: var(--white);
}

.footer-logo svg rect:first-of-type {
  fill: rgba(255, 255, 255, 0.15);
}

.footer-logo svg line {
  stroke: var(--accent);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 13px;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* ── PRICING ── */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing .container {
  text-align: center;
}

.pricing h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.pricing-sub {
  font-size: 18px;
  color: #555;
  max-width: 560px;
  margin: 0 auto 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--ui);
  border-radius: 16px;
  padding: 25px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: auto;
  text-align: left;
}

.pricing-card--featured {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.pricing-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
}

.pricing-tag--basic {
  background: #f0f0f0;
  color: #666;
}

.pricing-tag--middle {
  background: #fef3e2;
  color: #c07a1a;
  border: 1px solid #f5d9a0;
}

.pricing-tag--featured {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-tagline {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

.pricing-card--featured .pricing-tagline {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.pricing-card--featured .pricing-amount {
  color: var(--white);
}

.pricing-period {
  font-size: 13px;
  color: #999;
}

.pricing-card--featured .pricing-period {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-recurring {
  font-size: 15px;
  color: #555;
  padding-top: 4px;
  border-top: 1px solid var(--ui);
}

.pricing-card--featured .pricing-recurring {
  color: rgba(255, 255, 255, 0.8);
  border-top-color: rgba(255, 255, 255, 0.15);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.pricing-card--featured .pricing-features li {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-features li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.pricing-card--featured .pricing-features li svg {
  color: #7ecca0;
}


.pricing-extra {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: #666;
}

/* RESPONSIVE PRICING */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-card {
    min-height: auto;
    padding: 25px 24px;
  }

  .pricing-name {
    font-size: 18px;
  }

  .pricing-amount {
    font-size: 28px;
  }

  .pricing-features li {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .pricing {
    padding: 80px 0;
  }

  .pricing h2 {
    font-size: clamp(24px, 2.5vw, 32px);
  }

  .pricing-sub {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .pricing-name {
    font-size: 16px;
  }

  .pricing-amount {
    font-size: 24px;
  }

  .pricing-period {
    font-size: 12px;
  }

  .pricing-recurring {
    font-size: 14px;
    padding-top: 3px;
  }

  .pricing-features {
    gap: 10px;
  }

  .pricing-features li {
    font-size: 12px;
    gap: 8px;
  }

  .pricing-features li svg {
    width: 15px;
    height: 15px;
  }

  .pricing-extra {
    margin-top: 30px;
    font-size: 14px;
  }
}

/* ── PRICING CTA + UNSURE ── */
.pricing-cta {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--ui);
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-top: auto;
}

.pricing-cta:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pricing-cta--featured {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.pricing-cta--featured:hover {
  background: #bf5320;
  border-color: #bf5320;
}

.pricing-unsure {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  color: #666;
}

.pricing-unsure a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.pricing-unsure a:hover {
  text-decoration: underline;
}

/* ── CONTACT ── */
.contact {
  padding: 100px 0;
  background: var(--primary);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-label {
  color: var(--light);
}

.contact-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.contact-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ui);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group input.input-error {
  border-color: #d93025;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.form-error {
  display: none;
  font-size: 12px;
  color: #d93025;
  margin-top: 4px;
}

.form-error.visible {
  display: block;
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 0;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--primary);
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.form-success p {
  color: #666;
  font-size: 15px;
}

/* ── PAGE HERO (non-homepage) ── */
.page-hero {
  background: var(--secondary);
  padding: 128px 0 72px;
  text-align: center;
}

.page-hero .section-label {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 36px;
  opacity: 0.85;
}

.page-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 14px;
  color: var(--text);
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ── REFERENCE DETAIL (showcase + features side by side) ── */
.ref-detail {
  padding: 80px 0;
  background: var(--white);
}

.ref-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.ref-detail-layout .ref-showcase-inner {
  height: 100%;
  min-height: 400px;
}

.ref-features-side>h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 28px;
}

.ref-features-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ref-features-stack .ref-feature-card {
  padding: 24px 22px;
}

/* ── REFERENCE FULL PREVIEW ── */
.ref-showcase {
  padding: 80px 0;
  background: var(--white);
}

.ref-showcase-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ui);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.10);
  background: #f5f5f5;
  height: 520px;
}

.ref-showcase-inner iframe {
  width: 160%;
  height: 160%;
  border: none;
  transform: scale(0.625);
  transform-origin: top left;
  pointer-events: none;
}

.ref-showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 36px;
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.35));
}

.ref-showcase-overlay a {
  background: var(--white);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ref-showcase-overlay a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ── REFERENCE FEATURES ── */
.ref-features {
  padding: 72px 0;
  background: var(--secondary);
}

.ref-features h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 48px;
  text-align: center;
}

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

.ref-feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ref-feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.ref-feature-card-header h3 {
  margin-bottom: 0;
}

.ref-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(31, 61, 43, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.ref-feature-icon svg {
  width: 24px;
  height: 24px;
}

.ref-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.ref-feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ── REFERENCE CTA ── */
.ref-cta {
  padding: 80px 0;
  background: var(--primary);
  text-align: center;
}

.ref-cta .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.ref-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin: 12px 0 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.ref-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ── OTHER REFERENCES ── */
.ref-others {
  padding: 72px 0;
  background: var(--white);
}

.ref-others h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
}

.ref-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ref-other-card {
  background: var(--secondary);
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ref-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.ref-other-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ref-other-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.ref-other-card p {
  font-size: 14px;
  color: #666;
}

.ref-other-card .arrow {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ── MOBILE ── */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--ui);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 48px 24px 80px;
  }

  /* Na mobilu zobraz vždy pravou část fotky */
  .hero-slide {
    object-position: right center;
  }

  .hero-points {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-point {
    align-items: center;
  }

  .problem .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-step::after {
    display: none;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 28px 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .ref-features-grid {
    grid-template-columns: 1fr;
  }

  .ref-others-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ref-showcase-inner {
    height: 380px;
  }

  .ref-detail-layout {
    grid-template-columns: 1fr;
  }

  .ref-detail-layout .ref-showcase-inner {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .values-stats {
    grid-template-columns: 1fr;
  }

  .ref-others-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
}

@media (max-width: 450px) {
  .hero-slide {
    object-position: -750px center;
  }
}