/* SIGMA DIGITAL – shared stylesheet */

:root {
  --primary: #1a1f26;
  --primary-dark: #3d4a57;
  --secondary: #242e38;
  --hero-dark: #2a3540;
  --background: #eef1f4;
  --text: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --header-height: 72px;
  --radius: 12px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--secondary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--white);
}

.logo:hover {
  color: rgba(255, 255, 255, 0.85);
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: transparent;
}

.site-header .logo img {
  height: 36px;
  width: auto;
  display: block;
}

.site-header .logo:hover img {
  opacity: 0.85;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--secondary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
}

.main-nav a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  font-weight: 300;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.nav-cta-item {
  margin-top: 0.5rem;
  padding: 0.5rem 1.25rem 0.75rem;
}

.nav-cta-item .header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1.1rem;
  background: #f0b429;
  color: #1a1f26;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-align: center;
}

.nav-cta-item .header-cta:hover {
  background: #e5a820;
  color: #1a1f26;
}

@media (min-width: 1280px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 0.25rem;
    align-items: center;
  }

  .main-nav a {
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    white-space: nowrap;
  }

  .nav-cta-item {
    margin-top: 0;
    margin-left: 0.35rem;
    padding: 0;
  }

  .nav-cta-item .header-cta {
    width: auto;
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Hero (Homepage) – pozadie + nadpis + postava ── */

.hero {
  position: relative;
  overflow: visible;
  min-height: clamp(360px, 52vw, 520px);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #e8ecf0 0%, #f5f7f9 45%, #ffffff 100%);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #eef1f4;
  background-image:
    url('images/hero-bg.png'),
    linear-gradient(180deg, #e8ecf0 0%, #f5f7f9 45%, #ffffff 100%);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: clamp(340px, 52vw, 520px);
  padding-top: clamp(4rem, 9vw, 6.5rem);
}

.hero__content {
  position: relative;
  z-index: 4;
  flex: 1 1 auto;
  max-width: 100%;
  padding-bottom: 0.5rem;
}

.hero__title {
  display: inline-block;
  margin: 0;
  max-width: min(36rem, 100%);
  padding: clamp(1.15rem, 2.5vw, 1.65rem) clamp(1.35rem, 3vw, 2rem);
  padding-left: clamp(1.5rem, 3.2vw, 2.15rem);
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--white);
  background: rgba(36, 46, 56, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(36, 46, 56, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0d9488 0%, #7c3aed 100%);
  border-radius: 16px 0 0 16px;
}

.hero__title-line {
  display: block;
  margin-top: 0.2em;
}

.hero__title-accent {
  position: relative;
  white-space: nowrap;
}

.hero__title-accent--data {
  color: #5eead4;
}

.hero__title-accent--automation {
  color: #c4b5fd;
}

.hero__sub {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-hero {
  background: #f0b429;
  color: #1a1f26;
  box-shadow: 0 4px 16px rgba(240, 180, 41, 0.35);
}

.btn-hero:hover {
  background: #e5a820;
  color: #1a1f26;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: var(--white);
  color: var(--secondary);
  border: 1px solid rgba(36, 46, 56, 0.15);
  box-shadow: var(--card-shadow);
}

.btn-hero-outline:hover {
  color: var(--secondary);
  background: #f8fafc;
  transform: translateY(-2px);
}

.home-cta {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #1a2832 100%);
}

.home-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-cta__copy {
  flex: 1 1 280px;
  max-width: 560px;
}

.home-cta__copy h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.home-cta__copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.55;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.home-cta__phone {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.home-cta__phone:hover {
  color: #f0b429;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero .btn-cta {
  font-size: 0.95rem;
  padding: 0.8rem 1.35rem;
}

.contact-trust {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(36, 46, 56, 0.05);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
}

.contact-trust strong {
  color: var(--secondary);
}

.contact-form__note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form__status {
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-form__status--ok {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.contact-form__status--error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.hero__person-wrap {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  width: min(100%, 300px);
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__person {
  width: 100%;
  height: auto;
  max-height: clamp(260px, 34vw, 400px);
  object-fit: contain;
  object-position: bottom center;
}

/* Karty služieb prekrývajú spodok hero sekcie */
.services--overlap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-2rem, -10vw, -2.5rem);
  padding-top: 0;
  padding-bottom: 3.5rem;
  overflow: visible;
}

.service-card-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card-slot .service-card {
  z-index: 2;
}

@media (min-width: 1100px) {
  .hero__person-wrap {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .services--overlap {
    margin-top: clamp(-2rem, -5vw, -1rem);
  }
}

@media (max-width: 767px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-bottom: 1rem;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    padding-bottom: 5rem;
  }
}

/* ── Page Hero (subpages) ── */

.page-hero {
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #dbeafe 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Sections ── */

section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── Service Cards (homepage) ── */

.services-grid {
  display: grid;
  gap: 1.5rem;
  overflow: visible;
}

.service-card {
  --card-accent: var(--secondary);
  --card-accent-text: var(--card-accent);
  --card-accent-rgb: 36, 46, 56;

  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  border-top: 4px solid var(--card-accent);
  background: var(--white);
  box-shadow: var(--card-shadow);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.service-card:hover,
.service-card:focus-visible {
  color: inherit;
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.service-card:focus-visible {
  outline: 2px solid var(--card-accent-text);
  outline-offset: 3px;
}

.service-card--data {
  --card-accent: #0d9488;
  --card-accent-rgb: 13, 148, 136;
}

.service-card--web {
  --card-accent: #2563eb;
  --card-accent-rgb: 37, 99, 235;
}

.service-card--design {
  /* svetlá – pruh, okraj, tieň (tričko z bannera) */
  --card-accent: #f0b429;
  --card-accent-rgb: 240, 180, 41;
  /* tmavšia – nadpis pri hoveri, CTA, focus (lepší kontrast) */
  --card-accent-text: #c9920a;
}

.service-card--automation {
  --card-accent: #7c3aed;
  --card-accent-rgb: 124, 58, 237;
}

.service-card h3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.service-card:hover h3,
.service-card:focus-visible h3 {
  color: var(--card-accent-text);
}

.service-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  transform: scale(1.12);
}

.service-card p {
  flex: 1;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.service-card .card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--card-accent-text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}

.service-card:hover .card-link,
.service-card:focus-visible .card-link {
  gap: 0.65rem;
}

.card-link-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.service-card:hover .card-link-arrow,
.service-card:focus-visible .card-link-arrow {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Feature sections (subpages) ── */

.feature-section {
  padding: 3rem 0;
}

.feature-section:nth-child(even) {
  background: var(--white);
}

.feature-header {
  margin-bottom: 2rem;
}

.feature-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.feature-header p {
  color: var(--text-light);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text);
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.benefits-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}

.benefits-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.benefits-box ul li {
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefits-box ul li::before {
  content: '✔';
  font-weight: 700;
}

/* ── Service list cards ── */

.service-list {
  display: grid;
  gap: 1.25rem;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.service-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Benefits grid ── */

.benefits-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.benefit-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--primary);
  transition: transform var(--transition);
}

.benefit-box:hover {
  transform: translateY(-4px);
}

.benefit-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

@media (min-width: 576px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Two-column layout ── */

.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ── Contact page ── */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
}

.contact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(36, 46, 56, 0.08);
  border-radius: 10px;
  line-height: 0;
}

.contact-item__icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.contact-item a {
  color: var(--text);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--background);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

/* ── Service pages (shared) ── */

.page-data {
  --accent: #0d9488;
  --accent-light: #5eead4;
  --accent-soft: rgba(13, 148, 136, 0.1);
  --accent-glow: rgba(13, 148, 136, 0.25);
  --accent-hover: #0f766e;
  --accent-fade: rgba(13, 148, 136, 0.15);
  --accent-highlight-bg: linear-gradient(135deg, #f0fdfa 0%, var(--white) 100%);
  --accent-border: rgba(13, 148, 136, 0.25);
  --eyebrow-border: rgba(13, 148, 136, 0.2);
  --eyebrow-shadow: rgba(13, 148, 136, 0.08);
  --hero-glow: rgba(13, 148, 136, 0.14);
  --cta-glow: rgba(13, 148, 136, 0.2);
}

.page-automation {
  --accent: #7c3aed;
  --accent-light: #c4b5fd;
  --accent-soft: rgba(124, 58, 237, 0.1);
  --accent-glow: rgba(124, 58, 237, 0.25);
  --accent-hover: #6d28d9;
  --accent-fade: rgba(124, 58, 237, 0.15);
  --accent-highlight-bg: linear-gradient(135deg, #f5f3ff 0%, var(--white) 100%);
  --accent-border: rgba(124, 58, 237, 0.25);
  --eyebrow-border: rgba(124, 58, 237, 0.2);
  --eyebrow-shadow: rgba(124, 58, 237, 0.08);
  --hero-glow: rgba(124, 58, 237, 0.14);
  --cta-glow: rgba(124, 58, 237, 0.2);
}

.page-web {
  --accent: #2563eb;
  --accent-light: #93c5fd;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent-glow: rgba(37, 99, 235, 0.25);
  --accent-hover: #1d4ed8;
  --accent-fade: rgba(37, 99, 235, 0.15);
  --accent-highlight-bg: linear-gradient(135deg, #eff6ff 0%, var(--white) 100%);
  --accent-border: rgba(37, 99, 235, 0.25);
  --eyebrow-border: rgba(37, 99, 235, 0.2);
  --eyebrow-shadow: rgba(37, 99, 235, 0.08);
  --hero-glow: rgba(37, 99, 235, 0.14);
  --cta-glow: rgba(37, 99, 235, 0.2);
}

.page-design {
  --accent: #c9920a;
  --accent-light: #f0b429;
  --accent-soft: rgba(240, 180, 41, 0.14);
  --accent-glow: rgba(240, 180, 41, 0.3);
  --accent-hover: #b8860a;
  --accent-fade: rgba(201, 146, 10, 0.18);
  --accent-highlight-bg: linear-gradient(135deg, #fffbeb 0%, var(--white) 100%);
  --accent-border: rgba(201, 146, 10, 0.3);
  --eyebrow-border: rgba(201, 146, 10, 0.25);
  --eyebrow-shadow: rgba(240, 180, 41, 0.12);
  --hero-glow: rgba(240, 180, 41, 0.18);
  --cta-glow: rgba(240, 180, 41, 0.25);
  --btn-cta-bg: #f0b429;
  --btn-cta-color: #1a1f26;
  --btn-cta-hover: #e5a820;
}

.page-hero--data,
.page-hero--automation,
.page-hero--web,
.page-hero--design,
.page-hero--contact {
  position: relative;
  overflow: hidden;
  text-align: left;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(360px, 44vw, 460px);
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
  background-color: #eef1f4;
}

.page-hero--data .page-hero__bg,
.page-hero--automation .page-hero__bg,
.page-hero--web .page-hero__bg,
.page-hero--design .page-hero__bg,
.page-hero--contact .page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #eef1f4;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.page-hero--data .page-hero__bg {
  background-image: url('images/banners/data.jpg');
}

.page-hero--automation .page-hero__bg {
  background-image: url('images/banners/automation.jpg');
}

.page-hero--web .page-hero__bg {
  background-image: url('images/banners/web.jpg');
}

.page-hero--design .page-hero__bg {
  background-image: url('images/banners/design.jpg');
}

.page-hero--contact .page-hero__bg {
  background-image: url('images/banners/contact.jpg');
  background-position: center 35%;
}

/* Full-bleed banner: ľavý overlay pre text + plynulý spodný prechod do sekcie */
.page-hero--data .page-hero__bg::after,
.page-hero--automation .page-hero__bg::after,
.page-hero--web .page-hero__bg::after,
.page-hero--design .page-hero__bg::after,
.page-hero--contact .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(238, 241, 244, 0.94) 0%,
      rgba(238, 241, 244, 0.78) 28%,
      rgba(238, 241, 244, 0.35) 52%,
      rgba(238, 241, 244, 0.12) 72%,
      rgba(238, 241, 244, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(238, 241, 244, 0.18) 0%,
      transparent 22%,
      transparent 48%,
      rgba(238, 241, 244, 0.45) 72%,
      rgba(238, 241, 244, 0.82) 88%,
      var(--background) 100%
    );
}

.page-hero--data .page-hero__inner,
.page-hero--automation .page-hero__inner,
.page-hero--web .page-hero__inner,
.page-hero--design .page-hero__inner,
.page-hero--contact .page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-data .page-hero h1,
.page-automation .page-hero h1,
.page-web .page-hero h1,
.page-design .page-hero h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--secondary);
  margin: 0 0 1rem;
  max-width: 480px;
  text-align: left;
}

.page-data .page-hero p.page-hero__lead,
.page-automation .page-hero p.page-hero__lead,
.page-web .page-hero p.page-hero__lead,
.page-design .page-hero p.page-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-light);
  max-width: 480px;
  margin: 0;
  text-align: left;
}

@media (max-width: 767px) {
  .page-data .page-hero h1,
  .page-automation .page-hero h1,
  .page-web .page-hero h1,
  .page-design .page-hero h1 {
    font-size: 28px;
  }

  .page-data .page-hero p.page-hero__lead,
  .page-automation .page-hero p.page-hero__lead,
  .page-web .page-hero p.page-hero__lead,
  .page-design .page-hero p.page-hero__lead {
    font-size: 15px;
  }
}

.page-hero--contact h1 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--secondary);
  margin: 0 0 0.75rem;
  max-width: 34rem;
  text-align: left;
}

.page-hero--contact .page-hero__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 34rem;
  margin: 0;
  text-align: left;
}

@media (max-width: 767px) {
  .page-hero--data .page-hero__bg,
  .page-hero--automation .page-hero__bg,
  .page-hero--web .page-hero__bg,
  .page-hero--design .page-hero__bg,
  .page-hero--contact .page-hero__bg {
    background-position: center center;
  }

  .page-hero--data .page-hero__bg::after,
  .page-hero--automation .page-hero__bg::after,
  .page-hero--web .page-hero__bg::after,
  .page-hero--design .page-hero__bg::after,
  .page-hero--contact .page-hero__bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(238, 241, 244, 0.82) 0%,
        rgba(238, 241, 244, 0.55) 38%,
        rgba(238, 241, 244, 0.75) 78%,
        var(--background) 100%
      );
  }
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  background: var(--white);
  border: 1px solid var(--eyebrow-border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px var(--eyebrow-shadow);
}

.page-hero__eyebrow img {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.page-hero__accent {
  color: var(--accent);
}

.page-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-light);
  max-width: 480px;
  margin: 0;
}

.content-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.content-section--alt {
  background: var(--white);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-head__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.section-head__title::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}

.section-head--center .section-head__title::before {
  margin-left: auto;
  margin-right: auto;
}

.section-head__desc {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.65;
}

.pain-grid {
  display: grid;
  gap: 1.25rem;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.07);
  cursor: default;
}

.pain-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  border-radius: 10px;
  line-height: 0;
}

.pain-card__icon img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
}

.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.45rem;
}

.pain-card p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.6;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-step {
  display: flex;
  gap: 1.15rem;
  padding: 1.35rem 0;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: 3.25rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-fade) 100%);
}

.process-step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.process-step__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.process-step__body p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.6;
}

.showcase-visual {
  margin: 0;
}

.showcase-visual img {
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.showcase-visual figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

.dashboard-preview {
  background: #1e293b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(36, 46, 56, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dashboard-preview__toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.dashboard-preview__dot:nth-child(1) { background: #ef4444; }
.dashboard-preview__dot:nth-child(2) { background: #f59e0b; }
.dashboard-preview__dot:nth-child(3) { background: #22c55e; }

.dashboard-preview__title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.dashboard-preview__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 1rem;
}

.dashboard-preview__kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.75rem 0.65rem;
}

.dashboard-preview__kpi-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.dashboard-preview__kpi-value {
  display: block;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.dashboard-preview__kpi-trend {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.dashboard-preview__kpi-trend--up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.dashboard-preview__kpi-trend--down {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.dashboard-preview__chart {
  padding: 0 1rem 1.15rem;
}

.dashboard-preview__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 100px;
  padding: 0.5rem 0.25rem 0;
}

.dashboard-preview__bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.dashboard-preview:hover .dashboard-preview__bars span {
  opacity: 1;
}

.dashboard-preview__chart-label {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* Workflow preview (automatizácia) */

.workflow-preview {
  background: #1a1625;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(36, 46, 56, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.workflow-preview__toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: #110e18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.workflow-preview__dot:nth-child(1) { background: #ef4444; }
.workflow-preview__dot:nth-child(2) { background: #f59e0b; }
.workflow-preview__dot:nth-child(3) { background: #22c55e; }

.workflow-preview__title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.workflow-preview__canvas {
  padding: 1.5rem 1rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.workflow-preview__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 340px;
}

.workflow-preview__branch {
  height: 1.25rem;
  display: flex;
  justify-content: center;
}

.workflow-node {
  flex: 1;
  max-width: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
}

.workflow-node--trigger {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.15);
}

.workflow-node--action {
  border-color: rgba(196, 181, 253, 0.4);
  background: rgba(124, 58, 237, 0.1);
}

.workflow-node__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.workflow-node__icon img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

.workflow-node__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.workflow-connector {
  flex-shrink: 0;
  width: 1.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent) 100%);
  position: relative;
}

.workflow-connector::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--accent);
}

.workflow-connector--down {
  width: 2px;
  height: 1.25rem;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 100%);
}

.workflow-connector--down::after {
  right: auto;
  left: 50%;
  top: auto;
  bottom: -1px;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--accent-light);
  border-left-color: transparent;
}

.testimonial {
  max-width: 560px;
  margin: 2.5rem auto 0;
  padding: 1.75rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-left: 4px solid var(--accent);
  text-align: center;
}

.testimonial p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.testimonial footer {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: normal;
}

/* Website preview (tvorba webov) */

.website-preview {
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(36, 46, 56, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.website-preview__toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: #e2e8f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.website-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.website-preview__dot:nth-child(1) { background: #ef4444; }
.website-preview__dot:nth-child(2) { background: #f59e0b; }
.website-preview__dot:nth-child(3) { background: #22c55e; }

.website-preview__url {
  flex: 1;
  margin-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--white);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.website-preview__speed {
  font-size: 0.68rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.website-preview__body {
  padding: 1rem;
  background: var(--white);
}

.website-preview__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.website-preview__logo {
  width: 2rem;
  height: 0.55rem;
  background: var(--secondary);
  border-radius: 3px;
  margin-right: auto;
}

.website-preview__nav-link {
  width: 1.75rem;
  height: 0.35rem;
  background: #cbd5e1;
  border-radius: 2px;
}

.website-preview__nav-cta {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.website-preview__hero {
  text-align: center;
  padding: 1.25rem 0.75rem 1rem;
  background: linear-gradient(180deg, #eff6ff 0%, var(--white) 100%);
  border-radius: 10px;
  margin-bottom: 0.85rem;
}

.website-preview__headline {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.website-preview__subline {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.website-preview__cta {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.website-preview__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.website-preview__cards span {
  height: 2.5rem;
  background: #f1f5f9;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Praktické príklady využitia */

.use-cases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.use-case {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent, var(--secondary));
}

.content-section--alt .use-case {
  background: var(--background);
}

.use-case h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.use-case p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

.use-case__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.use-case__tag--data {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

.use-case__tag--automation {
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}

.use-case__tag--web {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.use-cases__cta {
  margin: 2rem 0 0;
  text-align: center;
}

@media (min-width: 640px) {
  .use-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .use-cases--home {
    grid-template-columns: repeat(4, 1fr);
  }

  .use-cases:not(.use-cases--home) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Čo je v cene */

.includes-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.includes-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  cursor: default;
}

.includes-item__check {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.includes-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.includes-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

/* Referencie (tvorba webov) */

.refs-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.ref-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.ref-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.25);
}

.ref-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.ref-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.ref-card:hover .ref-card__media img {
  transform: scale(1.03);
}

.ref-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem 1.4rem 1.5rem;
}

.ref-card__domain {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.ref-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
}

.ref-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.55;
  flex: 1;
}

.ref-card__link {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 576px) {
  .refs-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

@media (min-width: 992px) {
  .refs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Brand kit preview (grafické práce) */

.brandkit-preview {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(36, 46, 56, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 1.25rem;
}

.brandkit-preview__header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.brandkit-preview__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.brandkit-preview__mark {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.brandkit-preview__logotype {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.03em;
}

.brandkit-preview__colors {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.brandkit-preview__colors span {
  flex: 1;
  height: 2.25rem;
  background: var(--swatch);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.brandkit-preview__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.brandkit-preview__body {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Portfolio showcase */

.portfolio-showcase {
  display: grid;
  gap: 1.5rem;
}

.portfolio-block {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 1.5rem;
  cursor: default;
}

.portfolio-block--wide {
  grid-column: 1 / -1;
}

.portfolio-block__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.15rem;
}

.portfolio-mock--apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.portfolio-app {
  position: relative;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  min-height: 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
}

.portfolio-app__label {
  position: absolute;
  top: 0.4rem;
  left: 0.45rem;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.portfolio-app--screen {
  background: var(--secondary);
}

.portfolio-app__screen-bar {
  width: 70%;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 0.25rem;
}

.portfolio-app--screen .portfolio-app__label {
  color: rgba(255, 255, 255, 0.5);
}

.portfolio-app__logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 6px;
}

.portfolio-app__logo-mark--sm {
  width: 1.25rem;
  height: 1.25rem;
}

.portfolio-app__line {
  width: 60%;
  height: 0.2rem;
  background: #cbd5e1;
  border-radius: 2px;
}

.portfolio-app__line--short {
  width: 40%;
}

.portfolio-app--merch {
  background: #334155;
}

.portfolio-app--merch .portfolio-app__label {
  color: rgba(255, 255, 255, 0.45);
}

.portfolio-mock--compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.portfolio-compare {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.portfolio-compare__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.65rem;
}

.portfolio-compare--before .portfolio-compare__tag {
  background: #f1f5f9;
  color: var(--text-light);
}

.portfolio-compare--after .portfolio-compare__tag {
  background: var(--accent-soft);
  color: var(--accent);
}

.portfolio-compare__content {
  padding: 1rem 0.75rem;
  min-height: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.portfolio-compare__content--weak span {
  display: block;
  height: 0.25rem;
  background: #cbd5e1;
  border-radius: 2px;
  width: 70%;
}

.portfolio-compare__content--weak span:nth-child(2) { width: 50%; }
.portfolio-compare__content--weak span:nth-child(3) { width: 60%; }

.portfolio-compare__content--strong {
  background: linear-gradient(180deg, #fffbeb 0%, var(--white) 100%);
}

.portfolio-compare__logo-mark {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 5px;
  margin-bottom: 0.25rem;
}

.portfolio-compare__content--strong span:not(.portfolio-compare__logo-mark) {
  display: block;
  height: 0.2rem;
  background: #e2e8f0;
  border-radius: 2px;
  width: 65%;
}

.portfolio-compare__content--strong span:nth-child(3) { width: 45%; }

.portfolio-mock--family {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.portfolio-piece {
  position: relative;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: var(--white);
  min-height: 6.5rem;
  padding: 1.75rem 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.portfolio-piece__label {
  position: absolute;
  top: 0.4rem;
  left: 0.45rem;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.portfolio-piece__accent {
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 4px;
}

.portfolio-piece__accent--round {
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
}

.portfolio-piece__accent--bar {
  width: 100%;
  height: 0.35rem;
  border-radius: 2px;
}

.portfolio-piece__line {
  height: 0.2rem;
  background: #e2e8f0;
  border-radius: 2px;
  width: 80%;
}

.portfolio-piece__line--short {
  width: 55%;
}

@media (min-width: 768px) {
  .portfolio-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-block--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .portfolio-mock--apps,
  .portfolio-mock--family {
    grid-template-columns: 1fr;
  }

  .portfolio-mock--compare {
    grid-template-columns: 1fr;
  }

  .portfolio-mock--labels,
  .portfolio-mock--rollups,
  .print-preview {
    grid-template-columns: 1fr;
  }
}

/* Print / product graphics mocks (grafické práce) */

.print-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.75fr;
  gap: 0.75rem;
  align-items: end;
  padding: 1.25rem;
  background: linear-gradient(160deg, #fffbeb 0%, #f8fafc 55%, #eef1f4 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(201, 146, 10, 0.18);
  min-height: 220px;
}

.print-preview__item {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(36, 46, 56, 0.06);
}

.print-preview__tag {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c9920a;
  background: rgba(240, 180, 41, 0.14);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.print-preview__item--label {
  height: 150px;
  padding: 2rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.print-preview__label-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0b429 0%, #c9920a 100%);
}

.print-preview__label-line,
.print-preview__banner-line,
.print-preview__rollup-line {
  display: block;
  height: 6px;
  width: 70%;
  border-radius: 999px;
  background: #e2e8f0;
}

.print-preview__label-line--short,
.print-preview__rollup-line--short {
  width: 45%;
}

.print-preview__item--banner {
  height: 110px;
  padding: 2rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.print-preview__banner-bar {
  height: 10px;
  width: 55%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0b429 0%, #c9920a 100%);
}

.print-preview__item--rollup {
  height: 190px;
  padding: 2rem 0.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  border-radius: 8px 8px 4px 4px;
}

.print-preview__rollup-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #f0b429 0%, #c9920a 100%);
  margin-top: 0.5rem;
}

.print-preview__rollup-base {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0.35rem;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
}

.portfolio-mock--labels {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.7fr;
  gap: 0.75rem;
  align-items: end;
}

.print-label {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  min-height: 7rem;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.print-label--tall {
  min-height: 8.5rem;
}

.print-label--wide {
  min-height: 6.5rem;
}

.print-label--round {
  aspect-ratio: 1;
  min-height: 0;
  border-radius: 50%;
}

.print-label__band {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0b429 0%, #c9920a 100%);
  margin-bottom: 0.35rem;
}

.print-label__title {
  width: 65%;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
}

.print-label__sub {
  width: 40%;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
}

.print-label__dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #f0b429;
  margin-bottom: 0.25rem;
}

.print-label__ring {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 3px solid #f0b429;
  box-shadow: inset 0 0 0 6px #fffbeb;
}

.portfolio-mock--banner {
  display: block;
}

.print-banner {
  min-height: 7.5rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(120deg, #242e38 0%, #3d4a57 55%, #c9920a 160%);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}

.print-banner__headline {
  width: 55%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.print-banner__line {
  width: 40%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.print-banner__cta {
  width: 28%;
  height: 16px;
  margin-top: 0.35rem;
  border-radius: 6px;
  background: #f0b429;
}

.portfolio-mock--rollups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  justify-items: center;
}

.print-rollup {
  width: 100%;
  max-width: 7.5rem;
  min-height: 11rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px 8px 3px 3px;
  padding: 1.1rem 0.7rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  position: relative;
}

.print-rollup--alt {
  background: #fffbeb;
}

.print-rollup--soft {
  background: #f1f5f9;
}

.print-rollup__top {
  width: 70%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0b429 0%, #c9920a 100%);
}

.print-rollup__mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  background: #242e38;
  margin: 0.35rem 0 0.15rem;
}

.print-rollup__line {
  display: block;
  width: 70%;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
}

.print-rollup__line--short {
  width: 45%;
}

.print-rollup__foot {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0.4rem;
  height: 5px;
  border-radius: 999px;
  background: #cbd5e1;
}

.outcome-grid {
  display: grid;
  gap: 1.25rem;
}

.outcome-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.65rem 1.35rem;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.07);
  text-align: center;
  cursor: default;
}

.outcome-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  border-radius: 50%;
  line-height: 0;
}

.outcome-card__icon img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
}

.outcome-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.45rem;
}

.outcome-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.55;
}

.case-study {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.case-study__step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem 1.5rem;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.07);
  cursor: default;
}

.case-study__step--highlight {
  background: var(--accent-highlight-bg);
  border-color: var(--accent-border);
  box-shadow: none;
}

.case-study__num {
  position: absolute;
  top: -0.65rem;
  left: 1.25rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.case-study__step--highlight .case-study__num {
  background: var(--accent);
}

.case-study__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.case-study__step p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.65;
}

.cta-banner {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-banner--data,
.cta-banner--automation,
.cta-banner--web,
.cta-banner--design {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a2832 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner--data::before,
.cta-banner--automation::before,
.cta-banner--web::before,
.cta-banner--design::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, var(--cta-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 580px;
}

.cta-banner__inner h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-banner__inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.btn-cta {
  background: var(--btn-cta-bg, var(--accent));
  color: var(--btn-cta-color, var(--white));
  box-shadow: 0 4px 20px var(--accent-glow);
  padding: 0.95rem 2rem;
}

.btn-cta:hover {
  background: var(--btn-cta-hover, var(--accent-hover));
  color: var(--btn-cta-color, var(--white));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

@media (min-width: 576px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  .two-col--showcase {
    align-items: center;
    gap: 3rem;
  }

  .case-study {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .case-study__step {
    padding-top: 2rem;
  }
}

@media (min-width: 992px) {
  .outcome-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 400px) {
  .dashboard-preview__kpis {
    grid-template-columns: 1fr;
  }

  .dashboard-preview__kpi {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 0.5rem;
  }

  .dashboard-preview__kpi-label {
    grid-column: 1;
  }

  .dashboard-preview__kpi-value {
    grid-column: 1;
    grid-row: 2;
  }

  .dashboard-preview__kpi-trend {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    margin-top: 0;
  }
}

/* ── CTA section ── */

.cta-section {
  text-align: center;
  padding: 3rem 0;
}

.cta-section .section-title {
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */

.site-footer {
  font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid .logo {
  color: var(--white);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 300;
}

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

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ── Main content wrapper ── */

main {
  flex: 1;
}

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

.tags-center {
  justify-content: center;
}
