/*
Theme Name: MG web
Theme URI: https://mgweb.cz
Author: Miroslav Gluch
Description: Osobní web freelance web designera, brandéra a grafika.
Version: 1.0.0
License: Private
Text Domain: mgweb
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* --- Background --- */
  --bg:           #0D0D0D;
  --bg-surface:   #141414;
  --bg-elevated:  #1A1A1A;
  --bg-subtle:    #111111;

  /* --- Borders --- */
  --border:       #242424;
  --border-hover: #383838;

  /* --- Text --- */
  --text:         #F5F5F0;
  --text-soft:    #A8A89F;
  --text-muted:   #5A5A54;
  --text-inverse: #0D0D0D;

  /* --- Accent (warm amber) --- */
  --accent:        #FF9F1C;
  --accent-hover:  #FFB347;
  --accent-press:  #E08A0E;
  --accent-subtle: rgba(255,159,28,.10);
  --accent-glow:   rgba(255,159,28,.25);

  /* --- Status --- */
  --success:    #22C55E;
  --success-bg: #052E16;
  --error:      #EF4444;
  --error-bg:   #1F0707;

  /* --- Typography --- */
  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs:   0.6875rem;  /* 11px */
  --text-sm:   0.8125rem;  /* 13px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  3rem;       /* 48px */
  --text-5xl:  3.75rem;    /* 60px */
  --text-6xl:  4.5rem;     /* 72px */
  --text-7xl:  5.625rem;   /* 90px */

  /* --- Spacing (4px base) --- */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* --- Layout --- */
  --max-w:    1280px;
  --px:       clamp(24px, 5vw, 80px);

  /* --- Radius --- */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* --- Transitions --- */
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --t-fast:  150ms;
  --t-base:  250ms;
  --t-slow:  400ms;

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.6);
  --shadow-accent: 0 0 40px var(--accent-glow);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

::selection {
  background: var(--accent);
  color: var(--text-inverse);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
}

.section--alt {
  background: var(--bg-subtle);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
}

.btn--accent {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn--accent:active { background: var(--accent-press); transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

.btn--outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn--outline-accent:hover {
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(13,13,13,.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease);
}
.nav.scrolled {
  border-bottom-color: rgba(36,36,36,.6);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.nav__logo { line-height: 1; }
.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav__menu a {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--t-fast) var(--ease);
}
.nav__menu a:hover,
.nav__menu a.active { color: var(--text); }

.nav__cta {
  padding: 10px 20px;
  font-size: 14px !important;
  border-radius: var(--r-full) !important;
  color: var(--text-inverse) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13,13,13,.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: color var(--t-fast);
  opacity: 0;
  transform: translateY(-20px);
}
.nav__mobile.open a {
  animation: mobileNavIn var(--t-slow) var(--ease) forwards;
}
.nav__mobile.open a:nth-child(1) { animation-delay: 50ms; }
.nav__mobile.open a:nth-child(2) { animation-delay: 100ms; }
.nav__mobile.open a:nth-child(3) { animation-delay: 150ms; }
.nav__mobile.open a:nth-child(4) { animation-delay: 200ms; }
.nav__mobile.open a:nth-child(5) { animation-delay: 250ms; }
.nav__mobile a:hover { color: var(--text); }

@keyframes mobileNavIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO — 90s TRANSFORMACE
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ----- HERO BACKGROUND GRID ----- */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,159,28,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,159,28,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, black 0%, transparent 100%);
}

/* ----- HERO CONTENT WRAPPER ----- */
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: var(--sp-16);
  width: 100%;
}


.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px 6px 10px;
  background: var(--accent-subtle);
  border: 1px solid rgba(255,159,28,.25);
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .05em;
  margin-bottom: var(--sp-8);
}

.hero__tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: tagDot 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255,159,28,.6);
}

@keyframes tagDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,159,28,.6); }
  50%  { box-shadow: 0 0 0 6px rgba(255,159,28,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,159,28,0); }
}

.hero__title {
  font-size: clamp(var(--text-5xl), 8vw, var(--text-7xl));
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-6);
  max-width: 16ch;
}

.hero__accent {
  font-style: normal;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

/* Subtle underline on accent */
.hero__accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .4;
}

.hero__desc {
  font-size: clamp(var(--text-base), 2vw, var(--text-md));
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Cursor glow in hero */
.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,159,28,.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity var(--t-base) var(--ease);
  opacity: 0;
}
.hero:hover .hero__glow { opacity: 1; }

/* ============================================================
   HERO ORBS - floating amber blobs
   ============================================================ */
.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  animation: orbFloat ease-in-out infinite, orbPulse ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,159,28,.26) 0%, rgba(255,159,28,.10) 40%, transparent 70%);
  top: -15%;
  right: 2%;
  animation-duration: 20s, 6s;
  animation-delay: 0s, 0s;
}

.hero__orb--2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,179,71,.22) 0%, rgba(255,159,28,.08) 50%, transparent 70%);
  bottom: 5%;
  right: 22%;
  animation-duration: 16s, 8s;
  animation-delay: -6s, -2s;
}

.hero__orb--3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,159,28,.20) 0%, transparent 70%);
  top: 35%;
  right: -3%;
  animation-duration: 24s, 5s;
  animation-delay: -12s, -4s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-65px, 40px); }
  40%  { transform: translate(-30px, -60px); }
  60%  { transform: translate(50px, -30px); }
  80%  { transform: translate(40px, 55px); }
  100% { transform: translate(0, 0); }
}

@keyframes orbPulse {
  0%   { opacity: .75; filter: blur(65px); }
  50%  { opacity: 1;   filter: blur(50px); }
  100% { opacity: .75; filter: blur(65px); }
}

/* ============================================================
   HERO SCAN LINE
   ============================================================ */
.hero__scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,159,28,.0) 10%,
    rgba(255,159,28,.3) 40%,
    rgba(255,159,28,.5) 50%,
    rgba(255,159,28,.3) 60%,
    rgba(255,159,28,.0) 90%,
    transparent 100%
  );
  top: 0;
  animation: scanLine 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes scanLine {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: var(--sp-12);
}

.service-card {
  display: block;
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-subtle) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  border-radius: inherit;
}

.service-card:hover {
  border-color: rgba(255,159,28,.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(255,159,28,.1);
}
.service-card:hover::before { opacity: 1; }

.service-card__num {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
  position: relative;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  position: relative;
  transition: background var(--t-base) var(--ease);
}
.service-card:hover .service-card__icon { background: rgba(255,159,28,.18); }
.service-card__icon svg { color: var(--accent); }

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  position: relative;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
  position: relative;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  position: relative;
}
.service-card__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-soft);
  transition: color var(--t-fast);
}
.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: .6;
  transition: opacity var(--t-fast);
}
.service-card:hover .service-card__list li { color: var(--text-soft); }
.service-card:hover .service-card__list li::before { opacity: 1; }

.service-card__arrow {
  position: absolute;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-base) var(--ease);
}
.service-card:hover .service-card__arrow {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
  transform: translate(2px, -2px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

/* Levý sloupec - dvě karty pod sebou */
.about__visual {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
}

/* Karta 1 - nástroje */
.about__expertise-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
}

.about__expertise-top {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}

.about__expertise-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-subtle);
  border: 1px solid rgba(255,159,28,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.about__expertise-label {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}

.about__expertise-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.about__tools-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.about__tool {
  padding: 5px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-soft);
  transition: all var(--t-fast) var(--ease);
  cursor: default;
}
.about__tool:hover {
  border-color: rgba(255,159,28,.4);
  color: var(--accent);
}

/* Karta 2 - feats + badge */
.about__feats-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.about__feats {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.about__feat {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-soft);
}

.about__feat-icon {
  color: var(--accent);
  flex-shrink: 0;
}

/* Badge "5+ let" - inline ve feats-card */
.about__badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.about__badge-num {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.about__badge-label {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.4;
}

/* Pravý sloupec */
.about__content {
  position: relative;
}

.about__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--sp-6);
  margin-top: var(--sp-3);
}

.about__text {
  font-size: var(--text-base);
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-8) 0;
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__stat-num {
  font-family: var(--font-head);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.about__stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  margin-top: var(--sp-12);
  position: relative;
}

/* Connecting line between steps */
@keyframes flowLine {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg,
    var(--border) 0%,
    var(--accent) 25%,
    var(--border) 50%,
    var(--accent) 75%,
    var(--border) 100%);
  background-size: 200% 100%;
  animation: flowLine 2.5s linear infinite;
  opacity: .6;
}

.process__step {
  position: relative;
  padding: var(--sp-6);
  text-align: center;
}

.process__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto var(--sp-6);
  position: relative;
  z-index: 1;
  transition: all var(--t-base) var(--ease);
}
.process__step:hover .process__step-num {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.process__step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.process__step-desc {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.65;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
  flex-wrap: wrap;
}

.reviews__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.reviews__stars {
  display: flex;
  gap: 3px;
}
.reviews__stars svg { color: var(--accent); }

.reviews__rating-num {
  font-family: var(--font-head);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.reviews__rating-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.review-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-4);
}
.review-card__stars svg { color: var(--accent); width: 14px; height: 14px; }

.review-card__text {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.review-card__name {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
}
.review-card__source {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1000 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,159,28,.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--sp-5);
  position: relative;
}

.cta-banner__desc {
  font-size: var(--text-md);
  color: var(--text-soft);
  max-width: 44ch;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
  position: relative;
}

.cta-banner__actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding-block: var(--sp-16) var(--sp-10);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: var(--sp-12);
}

.footer__brand { margin-bottom: var(--sp-4); }
.footer__brand-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 34ch;
  margin-bottom: var(--sp-6);
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin-bottom: var(--sp-2);
  transition: color var(--t-fast);
}
.footer__contact a:hover { color: var(--accent); }

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-base) var(--ease);
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-inverse);
}

.footer__heading {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-soft);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer__bottom span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.footer__bottom a {
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer__bottom a:hover { color: var(--accent); }

/* ============================================================
   PAGE: SLUZBY
   ============================================================ */
.page-hero {
  padding-top: calc(64px + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--sp-5);
}

.page-hero__desc {
  font-size: var(--text-md);
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.7;
}

.sluzby__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(var(--sp-16), 6vw, var(--sp-24));
  border-bottom: 1px solid var(--border);
}

.sluzby__item:nth-child(even) { direction: rtl; }
.sluzby__item:nth-child(even) > * { direction: ltr; }

.sluzby__num {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.sluzby__head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

.sluzby__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.sluzby__price {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(255,159,28,.2);
  border-radius: var(--r-full);
  padding: 3px 12px;
  white-space: nowrap;
  letter-spacing: .02em;
  flex-shrink: 0;
}

.sluzby__quote {
  border-left: 2px solid var(--accent);
  padding-left: var(--sp-4);
  margin: var(--sp-8) 0 0;
  font-style: normal;
}
.sluzby__quote p {
  font-size: var(--text-sm);
  color: var(--text);
  margin-bottom: var(--sp-1);
  line-height: 1.6;
}
.sluzby__quote cite {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.sluzby__process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.sluzby__process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.sluzby__process-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid rgba(255,159,28,.25);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sluzby__process-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sluzby__process-text strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}
.sluzby__process-text span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.sluzby__desc {
  font-size: var(--text-md);
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
}

.sluzby__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.sluzby__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-soft);
}
.sluzby__feature-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid rgba(255,159,28,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sluzby__feature-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.sluzby__visual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.sluzby__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-subtle) 0%, transparent 70%);
}

/* ============================================================
   PAGE: PORTFOLIO
   ============================================================ */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: var(--sp-12);
}

.portfolio__card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.portfolio__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio__card-img {
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.portfolio__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.portfolio__card:hover .portfolio__card-img img {
  transform: scale(1.04);
}

.portfolio__card-body {
  padding: var(--sp-5) var(--sp-6);
}
.portfolio__card-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}
.portfolio__card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============================================================
   PAGE: KONTAKT
   ============================================================ */
.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: var(--sp-12);
}

.kontakt__info-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}

.kontakt__info-desc {
  font-size: var(--text-base);
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.kontakt__detail {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.kontakt__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-subtle);
  border: 1px solid rgba(255,159,28,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.kontakt__detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.kontakt__detail-value {
  font-size: var(--text-md);
  font-weight: 500;
  transition: color var(--t-fast);
}
.kontakt__detail-value:hover { color: var(--accent); }

/* ---- CF7 Layout ---- */
.mgweb-cf7 { display: flex; flex-direction: column; gap: var(--sp-5); }
.mgweb-cf7__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.mgweb-cf7__field { display: flex; flex-direction: column; }
.mgweb-cf7__label {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-soft);
  margin-bottom: var(--sp-2);
}
.mgweb-cf7__label span { color: var(--accent); margin-left: 2px; }

/* Span wrappy od CF7 – musí být block */
.mgweb-cf7 .wpcf7-form-control-wrap { display: block; }

/* Vstupy */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }

/* Select - šipka */
.mgweb-cf7__field:has(select) { position: relative; }
.mgweb-cf7__field:has(select) .wpcf7-form-control-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}
.wpcf7-form select { padding-right: 38px; cursor: pointer; }
.wpcf7-form select option { background: var(--bg-elevated); color: var(--text); }

/* Submit button */
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--accent);
  color: #000 !important;
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  width: 100%;
  letter-spacing: .02em;
  margin-top: var(--sp-2);
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* Validace + odeslání */
.wpcf7-not-valid-tip {
  color: #F87171;
  font-size: var(--text-sm);
  margin-top: var(--sp-1);
}
.wpcf7-response-output {
  margin-top: var(--sp-4) !important;
  padding: var(--sp-4) var(--sp-5) !important;
  border-radius: var(--r-md) !important;
  font-size: var(--text-sm) !important;
  border: none !important;
}
.wpcf7-mail-sent-ok,
.sent .wpcf7-response-output {
  background: rgba(52,211,153,.1) !important;
  color: #34D399 !important;
}
.wpcf7-validation-errors,
.invalid .wpcf7-response-output,
.unaccepted .wpcf7-response-output {
  background: rgba(248,113,113,.1) !important;
  color: #F87171 !important;
}

@media (max-width: 600px) {
  .mgweb-cf7__row--2 { grid-template-columns: 1fr; }
}

/* ============================================================
   REVEAL ANIMATIONS (IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .process__steps::before { animation: none; }
  .hero__orb { animation: none; }
  .hero__tag::before { animation: none; }
  .hero__scanline { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid    { grid-template-columns: 1fr 1fr; }
  .reviews__grid     { grid-template-columns: 1fr 1fr; }
  .about__grid       { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
  .sluzby__item      { grid-template-columns: 1fr; }
  .sluzby__item:nth-child(even) { direction: ltr; }
  .sluzby__process   { grid-template-columns: 1fr; gap: var(--sp-4); }
  .process__steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__hamburger      { display: flex; }
  .services__grid      { grid-template-columns: 1fr; }
  .reviews__grid       { grid-template-columns: 1fr; }
  .kontakt__grid       { grid-template-columns: 1fr; }
  .process__steps      { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer__grid        { grid-template-columns: 1fr; gap: var(--sp-10); }
  .footer__bottom      { flex-direction: column; text-align: center; }
  .about__badge        { right: 0; bottom: -12px; }
  .hero__actions       { flex-direction: column; }
  .hero__actions .btn  { width: 100%; justify-content: center; }
  .reviews__header     { flex-direction: column; align-items: flex-start; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .services__grid { gap: var(--sp-4); }
  .review-card    { padding: var(--sp-5); }
}

/* ---- Mobilní výkon — vypnout nákladné efekty při scrollu ---- */
@media (max-width: 768px) {
  /* mask-image (radial gradient) způsobuje compositing problémy při scrollu */
  .hero__bg { -webkit-mask-image: none; mask-image: none; }
  /* backdrop-filter na headeru je na mobilech drahý */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
