/*
Theme Name: IShark
Theme URI: https://ishark.cz
Author: IShark.cz
Author URI: https://ishark.cz
Description: Moderní tmavý WordPress theme pro IShark.cz — tvorba webových stránek na míru.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ishark
Tags: dark, modern, business, responsive, one-page
*/

/* ===================================
   CSS VARIABLES
=================================== */
:root {
  --bg:        #080c14;
  --bg-2:      #0d1520;
  --bg-3:      #111827;
  --bg-card:   #0f172a;
  --blue:      #0ea5e9;
  --neon:      #00d4ff;
  --neon-dim:  rgba(0, 212, 255, 0.15);
  --neon-glow: rgba(0, 212, 255, 0.35);
  --accent:    #6366f1;
  --text:      #f1f5f9;
  --text-muted:#94a3b8;
  --text-dim:  #475569;
  --border:    #1e293b;
  --border-2:  rgba(0, 212, 255, 0.2);
  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-neon: 0 0 24px rgba(0,212,255,0.25);
  --transition: 0.3s ease;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Merriweather', Georgia, 'Times New Roman', serif;
}

/* ===================================
   RESET
=================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
img[loading="lazy"],
iframe[loading="lazy"] { content-visibility: auto; }
a { color: var(--neon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ===================================
   TYPOGRAPHY
=================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-neon {
  color: var(--neon);
  text-shadow: 0 0 12px var(--neon-glow), 0 0 28px rgba(0,212,255,0.15);
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   LAYOUT
=================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--neon);
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  margin-bottom: 14px;
}

.section-tag:empty { display: none; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===================================
   BUTTONS
=================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--neon));
  color: var(--bg);
  box-shadow: 0 0 20px var(--neon-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 35px var(--neon-glow), 0 4px 20px rgba(0,212,255,0.25);
  transform: translateY(-2px);
  color: var(--bg);
}

#cf-submit {
  position: relative;
  min-height: 48px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

#cf-submit.is-loading {
  padding-right: 52px;
}

#cf-submit.is-loading::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid rgba(8,12,20,0.35);
  border-top-color: rgba(8,12,20,0.95);
  animation: cfSpin 0.8s linear infinite;
}

#cf-submit.is-success {
  background: linear-gradient(135deg, #22c55e, #34d399);
  box-shadow: 0 0 20px rgba(52,211,153,0.25);
}

#cf-submit.is-error {
  border-color: rgba(239,68,68,0.6);
  animation: cfShake 0.28s ease 1;
}

@keyframes cfSpin {
  to { transform: rotate(360deg); }
}

@keyframes cfShake {
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}

.btn-outline {
  border-color: var(--border-2);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: var(--neon-dim);
  transform: translateY(-2px);
}

.btn-call {
  background: rgba(16,185,129,0.12);
  border: 2px solid rgba(16,185,129,0.35);
  color: #34d399;
}

.btn-call:hover {
  background: rgba(16,185,129,0.2);
  border-color: #34d399;
  box-shadow: 0 0 20px rgba(52,211,153,0.25);
  transform: translateY(-2px);
  color: #34d399;
}

/* ===================================
   NAVIGATION
=================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text) !important;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: left 0.28s cubic-bezier(.2,.8,.2,1), transform 0.28s cubic-bezier(.2,.8,.2,1), color 0.2s ease;
  z-index: 1001;
}

.site-logo span {
  color: var(--neon);
  text-shadow: 0 0 10px var(--neon-glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.current-menu-item {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  min-height: 42px;
  padding: 10px 18px;
  border-width: 2px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.nav-btn-call {
  border-color: rgba(16,185,129,0.42);
}

.nav-btn-primary {
  box-shadow: 0 0 16px rgba(0,212,255,0.22);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition);
  position: relative;
  z-index: 1003;
}

.hamburger:hover { background: rgba(255,255,255,0.05); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(8,12,20,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px 24px 28px;
  flex-direction: column;
  gap: 9px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(.22,.8,.22,1), visibility 0s linear 0.26s;
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(.22,.8,.22,1), visibility 0s linear 0s;
}

.mobile-menu .mobile-menu-link {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(15,23,42,0.42);
  transition: all var(--transition);
}

.mobile-menu .mobile-menu-link:hover {
  color: var(--neon);
  background: var(--neon-dim);
  border-color: var(--border-2);
}

.mobile-menu-cta {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  border-width: 2px;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================================
   HERO
=================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Animated background grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neon-dim);
  border: 1px solid var(--border-2);
  border-radius: 99px;
  padding: 6px 16px 6px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: 0;
}

.hero h1 .text-gradient {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 22px;
  line-height: 1.65;
}

.hero-seo-intro {
  max-width: 580px;
  margin: 0 0 28px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #a8b9d4;
  border-left: 2px solid rgba(0,212,255,0.35);
  padding-left: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

.hero-actions .btn {
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================
   SERVICES CARDS
=================================== */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 54px; height: 54px;
  background: var(--neon-dim);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-card .price-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon);
  background: var(--neon-dim);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--border-2);
}

/* ===================================
   PROCESS / HOW IT WORKS
=================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--border-2), var(--neon), var(--border-2));
}

.process-step {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  background: var(--neon-dim);
  border: 2px solid var(--border-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--neon);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.process-step h4 { margin-bottom: 8px; }

/* ===================================
   REFERENCE / PORTFOLIO
=================================== */
.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.ref-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.ref-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ref-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(99,102,241,0.05));
}

.ref-content { padding: 22px 22px 24px; }
.ref-content h4 { margin-bottom: 6px; }
.ref-content p { font-size: 0.88rem; }
.ref-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 99px;
  margin-top: 10px;
}

/* ===================================
   TESTIMONIALS
=================================== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--neon));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg);
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--text-dim); }

/* ===================================
   CTA SECTION
=================================== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-box {
  text-align: center;
  padding: 70px 40px;
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.cta-box h2 { margin-bottom: 14px; }
.cta-box p { margin-bottom: 32px; font-size: 1.05rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ===================================
   ABOUT PAGE
=================================== */
.about-hero {
  padding: 140px 0 70px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-avatar-wrap {
  display: flex;
  justify-content: center;
}

.about-avatar {
  width: 260px; height: 260px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 2px solid var(--border-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--neon);
  text-shadow: 0 12px 38px rgba(0, 229, 255, 0.26);
  position: relative;
}

.about-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--blue), var(--neon)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.about-content .section-tag { margin-bottom: 12px; }
.about-content h1 { margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; }

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.skill-badge {
  background: var(--neon-dim);
  border: 1px solid var(--border-2);
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 99px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.value-icon {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  color: var(--neon);
  margin-bottom: 14px;
  display: block;
}

.value-card h4 { margin-bottom: 8px; }

/* ===================================
   SERVICES PAGE
=================================== */
.services-hero {
  padding: 112px 0 46px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.services-hero .section-tag {
  margin-bottom: 8px;
}

.services-hero h1 {
  margin: 8px 0 10px !important;
}

.services-hero p {
  line-height: 1.55;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-full-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--neon));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-full-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.service-full-card:hover::before { opacity: 1; }

.service-full-card .icon-wrap {
  width: 60px; height: 60px;
  background: var(--neon-dim);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--neon);
  margin-bottom: 22px;
}

.service-full-card h3 { margin-bottom: 12px; }

.service-features {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-feature::before {
  content: '✓';
  color: var(--neon);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-note .from { font-size: 0.8rem; color: var(--text-dim); }
.pricing-note .price { font-size: 1.4rem; font-weight: 800; color: var(--neon); }
.pricing-note .unit { font-size: 0.8rem; color: var(--text-dim); }

/* ===================================
   CONTACT PAGE
=================================== */
.contact-hero {
  padding: 140px 0 70px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: sticky;
  top: 90px;
}

.contact-info-card h3 { margin-bottom: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--neon-dim);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--neon);
  flex-shrink: 0;
}

.contact-item-text .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.contact-item-text a,
.contact-item-text span {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-item-text a:hover { color: var(--neon); }

.contact-cta-call {
  display: block;
  margin-top: 24px;
  text-align: center;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 28px; }

.contact-form-wrap.is-submitting {
  border-color: rgba(14,165,233,0.55);
  box-shadow: 0 10px 28px rgba(14,165,233,0.16);
}

.contact-form-wrap.is-sent {
  border-color: rgba(52,211,153,0.55);
  box-shadow: 0 12px 30px rgba(52,211,153,0.16);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
  display: block;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 8px;
  padding: 0 20px;
  color: #34d399;
  margin-top: 0;
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.24s ease, transform 0.24s ease, padding 0.24s ease, margin-top 0.24s ease;
}

.form-error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  padding: 0 20px;
  color: #f87171;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.24s ease, transform 0.24s ease, padding 0.24s ease, margin-top 0.24s ease;
}

.form-success.is-visible,
.form-error.is-visible {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
  padding: 14px 18px;
  margin-top: 12px;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  #cf-submit.is-loading::after {
    animation: none;
  }

  #cf-submit.is-error {
    animation: none;
  }

  .form-success,
  .form-error,
  .contact-form-wrap,
  #cf-submit {
    transition: none;
  }
}

/* ===================================
   FOOTER
=================================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--neon); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--neon); }

/* ===================================
   PAGE HERO (inner pages)
=================================== */
.page-hero {
  padding: 130px 0 60px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner { max-width: 680px; }
.page-hero .section-tag { margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 14px; }

/* ===================================
   404 PAGE
=================================== */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-404 .code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-404 h2 { margin-bottom: 12px; }
.error-404 p { margin-bottom: 28px; }

/* ===================================
   SCROLL ANIMATIONS
=================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   AMBIENT BORDER TRACE
=================================== */
@property --ambient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.ambient-trace {
  position: relative;
  isolation: isolate;
  --ambient-angle: 0deg;
  --ambient-inner: var(--bg-card);
  --ambient-border:
    conic-gradient(
      from var(--ambient-angle),
      rgba(30, 41, 59, 0.65) 0deg,
      rgba(30, 41, 59, 0.65) 44deg,
      rgba(34, 211, 238, 0.48) 78deg,
      rgba(99, 102, 241, 0.42) 112deg,
      rgba(244, 114, 182, 0.32) 146deg,
      rgba(249, 115, 22, 0.28) 178deg,
      rgba(74, 222, 128, 0.36) 212deg,
      rgba(30, 41, 59, 0.65) 260deg,
      rgba(30, 41, 59, 0.65) 360deg
    );
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--ambient-inner), var(--ambient-inner)) padding-box,
    var(--ambient-border) border-box;
}

.pf-card.ambient-trace,
.service-full-card.ambient-trace {
  border-color: transparent;
  animation: ambientBorderFlow 8.5s linear infinite;
}

.cta-box.ambient-trace {
  --ambient-inner: rgba(13, 21, 32, 0.78);
  border-radius: 22px;
  animation: ambientBorderFlow 10s linear infinite;
}

.pf-card.ambient-trace:hover,
.service-full-card.ambient-trace:hover {
  border-color: transparent;
}

.ambient-trace::after {
  content: none;
}

@keyframes ambientBorderFlow {
  to { --ambient-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-card.ambient-trace,
  .service-full-card.ambient-trace,
  .cta-box.ambient-trace {
    animation: none;
  }
}

/* ===================================
   CONTACT SHARK TRANSITION
=================================== */
html.contact-transition-preload body {
  opacity: 0;
}

.contact-swim-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

.contact-swim-current {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.78), rgba(8, 12, 20, 0.92)),
    rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: opacity;
}

.contact-swim-water {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 12, 20, 0.96), rgba(7, 44, 70, 0.9) 42%, rgba(14, 165, 233, 0.34) 58%, rgba(8, 12, 20, 0.96)),
    radial-gradient(circle at 30% 48%, rgba(0, 212, 255, 0.18), transparent 34%);
  transform: translate3d(105%, 0, 0);
  will-change: transform, opacity;
}

.contact-swim-line {
  position: absolute;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), rgba(99, 102, 241, 0.22), transparent);
  opacity: 0;
}

.contact-swim-line-1 { top: 34%; }
.contact-swim-line-2 { top: 50%; }
.contact-swim-line-3 { top: 66%; }

.contact-swim-shark {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(300px, 48vw, 620px);
  transform: translate3d(118vw, -50%, 0);
  transform-origin: 52% 52%;
  will-change: transform, opacity;
  backface-visibility: hidden;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(0, 212, 255, 0.13));
}

.shark-shadow {
  fill: rgba(0, 0, 0, 0.2);
  transform: translate(7px, 9px);
}

.shark-body {
  fill: #72c3d8;
}

.shark-back,
.shark-fin,
.shark-tail {
  fill: #132f45;
}

.shark-snout,
.shark-head,
.shark-upper-jaw {
  fill: #bdeff7;
}

.shark-lower-jaw {
  fill: #d6fbff;
}

.shark-mouth-dark {
  fill: #06111b;
}

.shark-teeth path {
  fill: #ffffff;
  stroke: rgba(8, 12, 20, 0.35);
  stroke-width: 0.9;
  stroke-linejoin: round;
}

.shark-pectoral {
  fill: #10283b;
}

.shark-belly {
  fill: rgba(225, 251, 255, 0.72);
}

.shark-eye {
  fill: #08101c;
}

.shark-eye-glint {
  fill: rgba(255, 255, 255, 0.8);
}

.shark-gill {
  fill: none;
  stroke: rgba(8, 12, 20, 0.48);
  stroke-width: 3;
  stroke-linecap: round;
}

.shark-gill-2 {
  opacity: 0.65;
}

.shark-gill-3 {
  opacity: 0.45;
}

.contact-swim-transition.is-leaving .contact-swim-current {
  animation: contactCurrentFade 1580ms ease forwards;
}

.contact-swim-transition.is-leaving .contact-swim-water {
  animation: contactWaterLeave 1580ms cubic-bezier(0.24, 0.78, 0.22, 1) forwards;
}

.contact-swim-transition.is-leaving .contact-swim-shark {
  animation: contactSharkLeave 1580ms cubic-bezier(0.18, 0.84, 0.18, 1) forwards;
}

.contact-swim-transition.is-leaving .contact-swim-line {
  animation: contactLineWake 1580ms ease forwards;
}

.contact-swim-transition.is-entering .contact-swim-current {
  background: rgba(8, 12, 20, 0.9);
  animation: contactEnterFade 980ms ease forwards;
}

.contact-swim-transition.is-entering .contact-swim-water {
  transform: translate3d(0, 0, 0);
  animation: contactWaterEnter 980ms cubic-bezier(0.24, 0.78, 0.22, 1) forwards;
}

.contact-swim-transition.is-entering .contact-swim-shark {
  display: none;
}

.contact-transition-leave .site-main,
.contact-transition-leave main,
.contact-transition-leave .hero,
.contact-transition-leave .page-hero,
.contact-transition-leave .services-hero,
.contact-transition-leave .site-footer {
  animation: contactPageGlideOut 1320ms cubic-bezier(0.22, 0.78, 0.25, 1) forwards;
}

.contact-transition-enter .page-hero,
.contact-transition-enter .contact-layout,
.contact-transition-enter .site-footer {
  animation: contactPageGlideIn 980ms cubic-bezier(0.18, 0.85, 0.24, 1) both;
}

@keyframes contactCurrentFade {
  0% { opacity: 0; }
  28% { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes contactEnterFade {
  0% { opacity: 1; }
  62% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes contactWaterLeave {
  0% { transform: translate3d(105%, 0, 0); opacity: 0.92; }
  56% { transform: translate3d(0, 0, 0); opacity: 1; }
  100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

@keyframes contactWaterEnter {
  0% { transform: translate3d(0, 0, 0); opacity: 1; }
  70% { transform: translate3d(-18%, 0, 0); opacity: 0.94; }
  100% { transform: translate3d(-105%, 0, 0); opacity: 0; }
}

@keyframes contactSharkLeave {
  0% { transform: translate3d(118vw, -50%, 0) rotate(-1deg); opacity: 0; }
  12% { opacity: 1; }
  48% { transform: translate3d(45vw, -55%, 0) rotate(-2deg); }
  78% { transform: translate3d(8vw, -50%, 0) rotate(1deg); opacity: 1; }
  100% { transform: translate3d(-165%, -49%, 0) rotate(0deg); opacity: 1; }
}

@keyframes contactLineWake {
  0% { opacity: 0; transform: translate3d(18%, 0, 0); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-24%, 0, 0); }
}

@keyframes contactPageGlideOut {
  to {
    transform: translateX(-18px);
    opacity: 0.18;
  }
}

@keyframes contactPageGlideIn {
  0% {
    transform: translateX(16px);
    opacity: 0.34;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .contact-swim-water {
    background:
      linear-gradient(100deg, rgba(8, 12, 20, 0.96), rgba(7, 44, 70, 0.92) 42%, rgba(14, 165, 233, 0.38) 58%, rgba(8, 12, 20, 0.96)),
      radial-gradient(circle at 30% 48%, rgba(0, 212, 255, 0.2), transparent 40%);
  }

  .contact-swim-shark {
    width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-swim-transition,
  .contact-transition-leave .site-main,
  .contact-transition-leave main,
  .contact-transition-leave .hero,
  .contact-transition-leave .page-hero,
  .contact-transition-leave .services-hero,
  .contact-transition-leave .site-footer,
  .contact-transition-enter .page-hero,
  .contact-transition-enter .contact-layout,
  .contact-transition-enter .site-footer {
    animation: none;
  }
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar-wrap { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 65px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 24px; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-box { padding: 50px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .contact-form-wrap { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-badge { font-size: 0.75rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
}

/* ===================================
   FORM CONSENT CHECKBOXES
=================================== */
.form-consents {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
  transition: color var(--transition);
}

.consent-label:hover {
  color: var(--text);
}

.consent-label input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 17px;
  height: 17px;
  min-width: 17px;
  border: 1.5px solid rgba(0, 212, 255, 0.25);
  border-radius: 4px;
  background: var(--bg-card);
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.consent-label input[type="checkbox"]:hover {
  border-color: rgba(0, 212, 255, 0.55);
}

.consent-label input[type="checkbox"]:checked {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.consent-label input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid #080c14;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.consent-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.consent-label a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0, 212, 255, 0.35);
  transition: color var(--transition), text-decoration-color var(--transition);
}

.consent-label a:hover {
  color: #fff;
  text-decoration-color: var(--neon);
}

.consent-label.consent-error {
  color: #f87171;
}

.consent-label.consent-error input[type="checkbox"] {
  border-color: #f87171;
}

/* ===================================
   PORTFOLIO SEKCE – UKÁZKY WEBŮ
=================================== */
.portfolio-section {
  padding: 96px 0 100px;
  background: var(--bg-2);
  position: relative;
}
.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-glow), transparent);
}

.portfolio-header {
  text-align: center;
  margin-bottom: 56px;
}
.portfolio-tag {
  display: inline-block;
  background: rgba(0,212,255,.10);
  border: 1px solid rgba(0,212,255,.22);
  color: var(--neon);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.portfolio-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.portfolio-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Karta */
.pf-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  cursor: pointer;
}
.pf-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,.35);
  box-shadow: 0 20px 48px rgba(0,0,0,.5), 0 0 32px rgba(0,212,255,.10);
}

/* Thumbnail */
.pf-thumb {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.pf-thumb-blue   { background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0e5a8e 100%); }
.pf-thumb-orange { background: linear-gradient(135deg, #0d1117 0%, #2a1506 50%, #4a2000 100%); }
.pf-thumb-gold   { background: linear-gradient(135deg, #1a0e05 0%, #3d2010 50%, #5c3520 100%); }
.pf-thumb-salon  { background: linear-gradient(135deg, #171211 0%, #3a2625 52%, #7d4650 100%); }

.pf-thumb-icon {
  font-size: 3.2rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.6));
  transition: transform .3s ease;
}
.pf-card:hover .pf-thumb-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Dekorativní linky v thumbnailu */
.pf-thumb-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.pf-thumb-lines span {
  position: absolute;
  height: 1px;
  left: 10%; right: 10%;
  background: rgba(255,255,255,.04);
}
.pf-thumb-lines span:nth-child(1) { top: 30%; }
.pf-thumb-lines span:nth-child(2) { top: 50%; }
.pf-thumb-lines span:nth-child(3) { top: 70%; }

/* Neon accent overlay on hover */
.pf-thumb-blue::after,
.pf-thumb-orange::after,
.pf-thumb-gold::after,
.pf-thumb-salon::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
}
.pf-thumb-blue::after   { background: radial-gradient(circle at 50% 50%, rgba(0,212,255,.12), transparent 70%); }
.pf-thumb-orange::after { background: radial-gradient(circle at 50% 50%, rgba(249,115,22,.15), transparent 70%); }
.pf-thumb-gold::after   { background: radial-gradient(circle at 50% 50%, rgba(184,146,58,.15), transparent 70%); }
.pf-thumb-salon::after  { background: radial-gradient(circle at 52% 42%, rgba(248,180,190,.18), transparent 68%); }
.pf-card:hover .pf-thumb-blue::after,
.pf-card:hover .pf-thumb-orange::after,
.pf-card:hover .pf-thumb-gold::after,
.pf-card:hover .pf-thumb-salon::after { opacity: 1; }

/* Body */
.pf-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pf-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--neon);
  opacity: .8;
}
.pf-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -.01em;
}
.pf-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 4px 0 0;
  flex: 1;
}
.pf-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--neon);
  margin-top: 14px;
  transition: gap .2s;
}
.pf-card:hover .pf-cta { gap: 10px; }
.pf-arrow {
  transition: transform .2s;
}
.pf-card:hover .pf-arrow { transform: translateX(4px); }

/* Portfolio overview page cards */
.portfolio-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform .28s, box-shadow .28s, border-color .28s; }
.portfolio-card-link:hover .portfolio-card { transform: translateY(-8px); border-color: rgba(0,212,255,.35); box-shadow: 0 20px 48px rgba(0,0,0,.5); }
.pc-thumb { height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.pc-thumb-blue   { background: linear-gradient(135deg,#0a1628,#1a3a5c,#0e5a8e); }
.pc-thumb-orange { background: linear-gradient(135deg,#0d1117,#2a1506,#4a2000); }
.pc-thumb-gold   { background: linear-gradient(135deg,#1a0e05,#3d2010,#5c3520); }
.pc-thumb-salon  { background: linear-gradient(135deg,#171211,#3a2625,#7d4650); }
.pc-thumb-icon { font-size: 3rem; }
.pc-thumb-word { font-family: Georgia, serif; color: #fff; font-size: 2.35rem; font-style: italic; letter-spacing: -.04em; }
.pc-thumb-label { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .08em; text-transform: uppercase; }
.pc-body { padding: 24px 24px 28px; }
.pc-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.pc-body p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; margin: 0 0 16px; }
.pc-cta { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--neon); }

/* Responsive */
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-section { padding: 72px 0 80px; }
}

/* ===================================
   MOBILE POLISH (2026-05-16)
=================================== */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }

  .site-header {
    background: rgba(8, 12, 20, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
  }

  .nav-inner {
    height: 64px;
    justify-content: flex-start;
    padding-right: 48px;
  }

  .site-header .site-logo {
    font-size: 1.12rem;
    max-width: calc(100% - 54px);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-header.menu-open .site-logo {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .site-header .custom-logo,
  .site-header .site-logo img {
    max-height: 34px;
    width: auto;
  }

  .mobile-menu {
    top: 64px;
    padding: 14px 14px 22px;
    gap: 6px;
  }

  .mobile-menu .mobile-menu-link {
    font-size: 1rem;
    padding: 11px 12px;
    border-radius: 10px;
  }

  .mobile-menu-cta .btn {
    font-size: 0.93rem;
    padding: 11px 14px;
  }

  .hamburger {
    margin-left: auto;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148,163,184,0.24);
    background: rgba(15,23,42,0.5);
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header p {
    font-size: 0.96rem;
  }

  .hero {
    min-height: auto;
    padding: 96px 0 44px;
  }

  .hero::before {
    background-size: 42px 42px;
    opacity: 0.55;
  }

  .hero::after {
    width: 560px;
    height: 560px;
    top: -170px;
  }

  .hero-badge {
    margin-bottom: 14px;
    font-size: 0.72rem;
    padding: 5px 12px 5px 8px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 8.3vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.58;
    margin-bottom: 22px;
  }

  .hero-seo-intro {
    display: none;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.92rem;
  }

  .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hero-stat {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.72);
  }

  .hero-stat .num {
    font-size: 1.4rem;
    margin-bottom: 2px;
  }

  .hero-stat .label {
    font-size: 0.72rem;
  }

  .service-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .process-steps {
    gap: 14px;
  }

  .process-step {
    padding: 18px 8px;
  }

  .step-num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .ref-content,
  .testimonial-card,
  .value-card,
  .service-full-card,
  .contact-info-card,
  .contact-form-wrap,
  .pf-body,
  .pc-body {
    border-radius: 14px;
  }

  .cta-box {
    padding: 38px 18px;
  }

  .cta-box p {
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .cta-actions {
    width: 100%;
    gap: 10px;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.92rem;
  }

  .about-hero,
  .services-hero,
  .contact-hero,
  .page-hero {
    padding: 96px 0 44px;
  }

  .services-hero {
    padding: 78px 0 28px;
  }

  .about-grid {
    gap: 24px;
  }

  .about-avatar {
    width: 180px;
    height: 180px;
    font-size: 2.9rem;
  }

  .values-grid {
    margin-top: 28px;
  }

  .services-grid {
    gap: 16px;
  }

  .service-full-card {
    padding: 26px 20px;
  }

  .service-full-card .icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 0.68rem;
    margin-bottom: 14px;
  }

  .pricing-note .price {
    font-size: 1.25rem;
  }

  .contact-layout {
    gap: 18px;
  }

  .contact-info-card {
    padding: 22px 18px;
  }

  .contact-item {
    gap: 12px;
    padding: 12px 0;
  }

  .contact-item-icon {
    width: 38px;
    height: 38px;
    font-size: 0.6rem;
  }

  .contact-form-wrap {
    padding: 22px 18px;
  }

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

  .form-group label {
    font-size: 0.78rem;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 11px 12px;
    font-size: 0.92rem;
  }

  .form-group textarea {
    min-height: 120px;
  }

  .consent-label {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .form-success.is-visible,
  .form-error.is-visible {
    padding: 12px 14px;
    margin-top: 12px;
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 44px 0 0;
  }

  .footer-grid {
    gap: 24px;
    padding-bottom: 30px;
  }

  .footer-brand p {
    max-width: none;
    font-size: 0.88rem;
  }

  .footer-bottom {
    padding: 14px 0;
    font-size: 0.78rem;
  }

  .portfolio-section {
    padding: 64px 0 70px;
  }

  .portfolio-header {
    margin-bottom: 34px;
  }

  .portfolio-sub {
    font-size: 0.94rem;
  }

  .portfolio-grid {
    gap: 14px;
  }

  .pf-thumb,
  .pc-thumb {
    height: 140px;
  }

  .pf-thumb-icon,
  .pc-thumb-icon {
    font-size: 2.4rem;
  }

  .pf-body,
  .pc-body {
    padding: 18px 16px 20px;
  }

  .pf-body p,
  .pc-body p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .pf-cta,
  .pc-cta {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .nav-inner {
    height: 60px;
    padding-right: 44px;
  }

  .site-header .site-logo {
    font-size: 1.02rem;
    max-width: calc(100% - 48px);
  }

  .site-header .custom-logo,
  .site-header .site-logo img {
    max-height: 30px;
  }

  .mobile-menu {
    top: 60px;
    padding: 14px 12px 18px;
  }

  .mobile-menu .mobile-menu-link {
    font-size: 0.95rem;
    padding: 10px 11px;
  }

  .hero {
    padding: 86px 0 36px;
  }

  .hero::before {
    animation: none;
    background-size: 36px 36px;
    opacity: 0.45;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8.6vw, 1.95rem);
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 18px;
  }

  .hero-seo-intro {
    display: none;
  }

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

  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .service-card,
  .service-full-card,
  .contact-info-card,
  .contact-form-wrap,
  .pf-body,
  .pc-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .service-card,
  .service-full-card,
  .contact-info-card,
  .contact-form-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .portfolio-section {
    padding: 56px 0 64px;
  }
}

/* ===================================
   HOMEPAGE COMPACT (2026-05-16)
=================================== */
.home-portfolio {
  padding: 64px 0 68px;
}

.home-portfolio .portfolio-header {
  margin-bottom: 34px;
}

.home-portfolio .portfolio-sub {
  font-size: 0.94rem;
  max-width: 500px;
}

.home-portfolio .portfolio-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  gap: 16px;
}

.home-portfolio .pf-thumb {
  height: 132px;
}

.home-portfolio .pf-thumb-icon {
  font-size: 2.35rem;
}

.home-portfolio .pf-body {
  padding: 16px 16px 18px;
  gap: 6px;
}

.home-portfolio .pf-body h3 {
  font-size: 1rem;
}

.home-portfolio .pf-body p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-portfolio .pf-cta {
  margin-top: 10px;
  font-size: 0.8rem;
}

.home-services {
  padding: 64px 0 !important;
}

.home-services .section-tag {
  display: none !important;
}

#sluzby .section-tag {
  display: none !important;
}

.home-services .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-services .service-full-card {
  padding: 20px 16px;
  border-radius: 12px;
}

.home-services .service-full-card .icon-wrap {
  width: 42px;
  height: 42px;
  font-size: 0.66rem;
  border-radius: 10px;
  margin-bottom: 10px;
}

.home-services .service-full-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.home-services .service-full-card > p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-services .service-features {
  margin-top: 8px;
  gap: 5px;
}

.home-services .service-feature {
  font-size: 0.79rem;
  line-height: 1.4;
}

.home-services .service-feature:nth-child(n+3) {
  display: none;
}

.home-services .pricing-note {
  margin-top: 10px;
  padding-top: 10px;
}

.home-services .pricing-note .from {
  font-size: 0.72rem;
}

.home-services .pricing-note .price {
  font-size: 1.12rem;
}

.home-services .pricing-note .unit {
  font-size: 0.72rem;
}

@media (max-width: 1100px) {
  .home-services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-portfolio {
    padding: 54px 0 58px;
  }

  .home-portfolio .portfolio-header {
    margin-bottom: 24px;
  }

  .home-portfolio .portfolio-grid {
    gap: 12px;
  }

  .home-portfolio .pf-thumb {
    height: 120px;
  }

  .home-portfolio .pf-body {
    padding: 14px 13px 16px;
  }

  .home-services {
    padding: 54px 0 !important;
  }

  .home-services .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-services .service-full-card {
    padding: 16px 13px;
  }

  .home-services .service-full-card h3 {
    font-size: 0.95rem;
  }

  .home-services .service-full-card > p {
    font-size: 0.79rem;
    -webkit-line-clamp: 2;
  }

  .home-services .service-feature {
    font-size: 0.76rem;
  }

  .home-services .service-feature:nth-child(n+2) {
    display: none;
  }
}

@media (max-width: 1100px) {
  .home-portfolio .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ===================================
   SALES CONVERSION SECTIONS (2026-05-18)
=================================== */
.buyer-fit-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  padding-top: 72px;
  padding-bottom: 76px;
}

.buyer-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.buyer-fit-item {
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.buyer-fit-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.buyer-fit-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.buyer-fit-item small {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.starter-package-section {
  background: var(--bg-2);
  padding: 76px 0;
}

.services-starter {
  padding-top: 28px;
  padding-bottom: 54px;
}

.starter-package {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.08), transparent 42%),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.starter-package-copy h2 {
  margin-bottom: 14px;
}

.starter-package-copy p {
  max-width: 520px;
}

.package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.starter-package-list {
  display: grid;
  gap: 10px;
}

.starter-package-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background: rgba(8, 12, 20, 0.42);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
}

.starter-package-list span {
  flex: 0 0 auto;
  color: var(--neon);
  font-weight: 900;
}

.mini-audit-section {
  padding: 0 0 76px;
  background: var(--bg-2);
}

.mini-audit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(8, 12, 20, 0.66);
}

.mini-audit-box h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.mini-audit-box p {
  max-width: 650px;
}

@media (max-width: 900px) {
  .buyer-fit-grid,
  .starter-package {
    grid-template-columns: 1fr;
  }

  .mini-audit-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .buyer-fit-section,
  .starter-package-section {
    padding: 54px 0;
  }

  .buyer-fit-grid {
    gap: 10px;
  }

  .buyer-fit-item,
  .starter-package,
  .mini-audit-box {
    padding: 20px 16px;
  }

  .package-actions .btn,
  .mini-audit-box .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================
   HOMEPAGE HERO PANEL + PORTFOLIO TOPS RESTORE (2026-05-18)
=================================== */
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 46px;
  align-items: center;
}

.hero-layout .hero-inner {
  max-width: 760px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 27, 41, 0.96), rgba(10, 20, 32, 0.96));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  padding: 24px;
}

.hero-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-panel-head span {
  color: #93a4b7;
  font-size: 0.86rem;
}

.hero-panel-head strong {
  color: #f8fafc;
  font-size: 1.05rem;
  text-align: right;
}

.hero-panel-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-panel-row > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.20);
  color: #bfefff;
  font-size: 0.76rem;
  font-weight: 860;
}

.hero-panel-row strong {
  display: block;
  color: #f8fafc;
  margin-bottom: 3px;
}

.hero-panel-row p {
  margin: 0;
  color: #aebccb;
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-panel-link {
  display: inline-flex;
  margin-top: 18px;
  color: #7dd3fc;
  font-weight: 760;
}

.hero-panel-link:hover {
  color: #ffffff;
}

.home-portfolio .pf-thumb {
  height: 156px;
  padding: 16px;
  align-items: stretch;
  justify-content: stretch;
  background:
    radial-gradient(circle at 20% 10%, rgba(125, 211, 252, 0.18), transparent 36%),
    linear-gradient(135deg, #0a1424 0%, #101827 100%) !important;
}

.home-portfolio .pf-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 78% 20%, rgba(255,255,255,.10), transparent 24%);
  background-size: 26px 26px, auto;
  opacity: .32;
}

.home-portfolio .pf-thumb-pneu {
  background:
    radial-gradient(circle at 78% 12%, rgba(251, 146, 60, 0.22), transparent 34%),
    linear-gradient(135deg, #10131e 0%, #26190e 100%) !important;
}

.home-portfolio .pf-thumb-bistro {
  background:
    radial-gradient(circle at 22% 12%, rgba(251, 113, 198, 0.20), transparent 34%),
    linear-gradient(135deg, #10131e 0%, #231826 62%, #221b10 100%) !important;
}

.home-portfolio .pf-thumb-salon {
  background:
    radial-gradient(circle at 76% 18%, rgba(248, 180, 190, 0.23), transparent 34%),
    linear-gradient(135deg, #15100f 0%, #2a1e1d 52%, #4f2b34 100%) !important;
}

.home-portfolio .pf-preview {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(7, 17, 28, 0.74);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  transform: rotate(-1.2deg);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.home-portfolio .pf-card:nth-child(2) .pf-preview {
  transform: rotate(1deg);
}

.home-portfolio .pf-card:nth-child(3) .pf-preview {
  transform: rotate(-.5deg);
}

.home-portfolio .pf-card:nth-child(4) .pf-preview {
  transform: rotate(.7deg);
}

.home-portfolio .pf-card:hover .pf-preview {
  transform: translateY(-2px) rotate(0deg);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
}

.home-portfolio .pf-preview-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.home-portfolio .pf-preview-bar span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
}

.home-portfolio .pf-preview-hero,
.home-portfolio .pf-preview-split,
.home-portfolio .pf-preview-menu,
.home-portfolio .pf-preview-editorial {
  position: relative;
  min-height: 76px;
  padding: 14px;
}

.home-portfolio .pf-preview-hero {
  background:
    linear-gradient(135deg, rgba(56,189,248,.24), rgba(45,212,191,.12)),
    rgba(255,255,255,.025);
}

.home-portfolio .pf-preview-split,
.home-portfolio .pf-preview-menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: center;
}

.home-portfolio .pf-preview-split {
  background:
    linear-gradient(135deg, rgba(251,146,60,.22), rgba(248,113,113,.12)),
    rgba(255,255,255,.025);
}

.home-portfolio .pf-preview-menu {
  background:
    linear-gradient(135deg, rgba(251,113,198,.22), rgba(253,230,138,.12)),
    rgba(255,255,255,.025);
}

.home-portfolio .pf-preview-editorial {
  background:
    linear-gradient(135deg, rgba(248,180,190,.22), rgba(184,107,115,.14)),
    rgba(255,255,255,.025);
}

.home-portfolio .pf-preview small {
  display: inline-flex;
  margin-bottom: 5px;
  color: rgba(248,251,255,.66);
  font-size: .62rem;
  font-weight: 800;
}

.home-portfolio .pf-preview strong {
  display: block;
  color: #fff;
  font-size: .92rem;
  line-height: 1.14;
  font-weight: 850;
}

.home-portfolio .pf-preview-split em,
.home-portfolio .pf-preview-menu em {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, transparent 32%, rgba(255,255,255,.92) 33% 46%, transparent 47%),
    linear-gradient(135deg, rgba(255,255,255,.90), rgba(255,255,255,.28));
  opacity: .90;
}

.home-portfolio .pf-preview-menu em {
  border-radius: 50% 50% 44% 44%;
  background:
    radial-gradient(circle at 44% 34%, rgba(255,255,255,.96) 0 9px, transparent 10px),
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(253,230,138,.36));
}

.home-portfolio .pf-preview-grid,
.home-portfolio .pf-preview-table,
.home-portfolio .pf-preview-pills,
.home-portfolio .pf-preview-lines,
.home-portfolio .pf-preview-footer {
  display: grid;
  gap: 7px;
  padding: 10px 12px 12px;
}

.home-portfolio .pf-preview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.home-portfolio .pf-preview-grid i,
.home-portfolio .pf-preview-table span,
.home-portfolio .pf-preview-pills span,
.home-portfolio .pf-preview-lines span,
.home-portfolio .pf-preview-footer span,
.home-portfolio .pf-preview-footer b {
  display: block;
  min-height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.home-portfolio .pf-preview-grid i {
  height: 18px;
  border-radius: 7px;
}

.home-portfolio .pf-preview-table span:nth-child(1) { width: 88%; }
.home-portfolio .pf-preview-table span:nth-child(2) { width: 68%; }
.home-portfolio .pf-preview-table span:nth-child(3) { width: 78%; }

.home-portfolio .pf-preview-pills {
  grid-template-columns: 1fr .8fr .7fr;
}

.home-portfolio .pf-preview-lines span:nth-child(1) { width: 92%; }
.home-portfolio .pf-preview-lines span:nth-child(2) { width: 64%; }
.home-portfolio .pf-preview-lines span:nth-child(3) { width: 80%; }

.home-portfolio .pf-preview-pills span {
  height: 18px;
  background: rgba(255,255,255,.16);
}

.home-portfolio .pf-preview-footer {
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
}

.home-portfolio .pf-preview-footer b {
  height: 18px;
  background: #7dd3fc;
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .hero-panel {
    padding: 20px;
  }

  .home-portfolio .pf-thumb {
    height: 138px;
    padding: 12px;
  }

  .home-portfolio .pf-preview-hero,
  .home-portfolio .pf-preview-split,
  .home-portfolio .pf-preview-menu,
  .home-portfolio .pf-preview-editorial {
    min-height: 66px;
    padding: 12px;
  }

  .home-portfolio .pf-preview strong {
    font-size: .84rem;
  }
}
