/* ===========================
   VARIABLES & BASE
   =========================== */

:root {
  --brand-primary: #1A2840;
  --brand-primary-hover: #111E30;
  --brand-primary-soft: #EBF3FA;
  --brand-accent: #1B72A4;
  --brand-accent-hover: #155D8A;
  --brand-accent-rgb: 27, 114, 164;

  --brand-text: #1A2840;
  --brand-text-muted: #5D7080;

  --brand-bg: #F4F7FA;
  --brand-surface: #FFFFFF;
  --brand-border: #DDE5EE;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-max: 1200px;
  --section-pad: 104px;
  --header-h: 76px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;

  --transition: 0.25s ease;
  --shadow-sm: 0 2px 8px rgba(26,40,64,.08);
  --shadow-md: 0 8px 32px rgba(26,40,64,.14);
}

[hidden] { display: none !important; }

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ===========================
   UTILITIES
   =========================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--brand-text);
}

.section-header--light .section-eyebrow { color: rgba(var(--brand-accent-rgb), 0.8); }
.section-header--light h2 { color: #fff; }
.section-header--light .section-desc { color: rgba(255,255,255,0.6); }

.section-desc {
  font-size: 17px;
  color: var(--brand-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.15s ease, box-shadow var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[aria-busy="true"] { opacity: 0.65; pointer-events: none; }

.btn-accent {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.btn-accent:hover {
  background: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  box-shadow: 0 6px 20px rgba(var(--brand-accent-rgb), 0.4);
}

.btn-white {
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
}
.btn-white:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.88);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-border);
}
.btn-outline-dark:hover {
  background: var(--brand-primary-soft);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

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

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition),
              border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(12, 22, 40, 0.62);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.04);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.04);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 36px rgba(0,0,0,.28);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--brand-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.logo-wordmark { display: flex; flex-direction: column; }

.logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

.logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.header-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 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); }

/* ===========================
   HERO — business-card split
   =========================== */

.hero {
  background: var(--brand-primary);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  background: var(--brand-accent);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) clamp(24px, 5vw, 80px) 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0 56px;
  align-items: center;
  min-height: 100svh;
}

.hero-content { padding: 40px 0; }

/* Desktop photo */
.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  align-self: center;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.03) saturate(0.92);
}

/* Mobile photo (skryto na desktopu) */
.hero-photo-mobile { display: none; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  margin-bottom: 20px;
  border-left: 3px solid var(--brand-accent);
  padding-left: 14px;
}

.eyebrow-dot { opacity: 0.35; }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 60px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-ctas .btn {
  flex: 1;
  justify-content: center;
  min-width: 160px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.hero-trust .ti {
  font-size: 15px;
  color: rgba(var(--brand-accent-rgb), 0.9);
}

/* ===========================
   ABOUT
   =========================== */

.about {
  background: var(--brand-surface);
  padding: var(--section-pad) 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px 80px;
  align-items: start;
  margin-bottom: 72px;
}

.about-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--brand-text);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.about-body p {
  font-size: 16.5px;
  color: var(--brand-text-muted);
  line-height: 1.72;
  margin-bottom: 18px;
}
.about-body p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--brand-border);
  padding-top: 56px;
}

.stat { display: flex; flex-direction: column; gap: 7px; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  color: var(--brand-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12.5px;
  color: var(--brand-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ===========================
   SERVICES
   =========================== */

.services {
  background: var(--brand-primary);
  padding: var(--section-pad) 0;
}

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

.card {
  background: var(--brand-surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--brand-border);
  transition: border-top-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-top-color: var(--brand-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.85;
}

.card-icon {
  font-size: 30px;
  color: var(--brand-accent);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--brand-text);
  letter-spacing: -0.01em;
}

.card p {
  font-size: 15px;
  color: var(--brand-text-muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 24px;
}

/* ===========================
   CTA TEASER
   =========================== */

.cta-teaser {
  background: var(--brand-accent);
  padding: 80px 0;
}

.cta-teaser-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 52px;
  align-items: center;
}

.teaser-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
}

.cta-teaser-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-teaser-content > p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  max-width: 480px;
}

.teaser-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.teaser-btns .btn {
  flex: 1;
  justify-content: center;
  min-width: 140px;
}

.teaser-perks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
}

.perk .ti { font-size: 15px; color: rgba(255,255,255,0.95); }

/* ===========================
   WHY ME
   =========================== */

.why {
  background: var(--brand-bg);
  padding: var(--section-pad) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 100px;
}

.why-icon {
  display: block;
  font-size: 30px;
  color: var(--brand-accent);
  margin-bottom: 18px;
  line-height: 1;
}

.why-item h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--brand-text);
}

.why-item p {
  font-size: 15.5px;
  color: var(--brand-text-muted);
  line-height: 1.65;
  max-width: 430px;
}

/* ===========================
   PROCESS
   =========================== */

.process {
  background: var(--brand-primary);
  padding: var(--section-pad) 0;
}

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

.step {
  border-top: 2px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  transition: border-top-color var(--transition);
}

.step:first-child { border-top-color: var(--brand-accent); }
.step:hover { border-top-color: var(--brand-accent); }

.step-num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 600;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.8;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.62;
}

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

.testimonials-section {
  background: var(--brand-surface);
  padding: var(--section-pad) 0;
}

.testimonials-viewport { overflow: hidden; }

.testimonials {
  display: flex;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial {
  background: var(--brand-bg);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--brand-border);
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--brand-accent);
  opacity: 0.22;
  position: absolute;
  top: 10px;
  left: 24px;
  line-height: 1;
  pointer-events: none;
}

.testimonial blockquote { border: none; padding: 0; }

.testimonial blockquote p {
  font-size: 15.5px;
  color: var(--brand-text);
  line-height: 1.7;
  padding-top: 36px;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 22px;
  gap: 12px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-text);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--brand-text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonials-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand-border);
  background: var(--brand-surface);
  color: var(--brand-text);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.testimonials-btn:hover {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  color: #fff;
}

.testimonials-dots { display: flex; gap: 8px; align-items: center; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--brand-accent);
  transform: scale(1.35);
}

/* ===========================
   PARTNEŘI
   =========================== */

.partners {
  background: var(--brand-primary);
  padding: 28px 0;
}

.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}

.partners-pill {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  overflow: visible;
}

.partners-sep {
  width: 1px;
  height: 32px;
  background: var(--brand-border);
  flex-shrink: 0;
}

.partner-link {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.partner-link:hover { opacity: 1; }

.partner-logo {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* ===========================
   CREDENTIALS
   =========================== */

.credentials {
  background: var(--brand-bg);
  padding: var(--section-pad) 0;
}

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

.credential {
  background: var(--brand-surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.credential:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
}

.credential-icon {
  font-size: 32px;
  color: var(--brand-accent);
}

.credential h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-text);
  letter-spacing: -0.01em;
}

.credential p {
  font-size: 14.5px;
  color: var(--brand-text-muted);
  line-height: 1.62;
}

/* ===========================
   FAQ
   =========================== */

.faq {
  background: var(--brand-surface);
  padding: var(--section-pad) 0;
}

.faq .container { max-width: 820px; }

.faq-list { border-top: 1px solid var(--brand-border); }

.faq-item { border-bottom: 1px solid var(--brand-border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--brand-text);
  font-family: var(--font-body);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--brand-accent); }

.faq-icon {
  font-size: 20px;
  color: var(--brand-accent);
  transition: transform 0.28s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  font-size: 15.5px;
  color: var(--brand-text-muted);
  line-height: 1.72;
  padding-bottom: 24px;
}

/* ===========================
   CONTACT
   =========================== */

.contact {
  background: var(--brand-primary);
  padding: var(--section-pad) 0;
}

#contact-form { scroll-margin-top: 100px; }

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

.contact-info .section-eyebrow { color: rgba(var(--brand-accent-rgb), 0.85); }

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.58);
  margin-bottom: 40px;
  line-height: 1.65;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
}

.contact-details li .ti {
  font-size: 20px;
  color: var(--brand-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-details a {
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}

.contact-details a:hover { color: #fff; }

.contact-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 3px;
  font-style: normal;
}

.map-embed {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

/* Form wrapper */
.contact-form-wrap {
  background: var(--brand-surface);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form { position: relative; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--brand-text);
  background: var(--brand-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(var(--brand-accent-rgb), 0.12);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-group--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--brand-text-muted);
  line-height: 1.5;
}

.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--brand-accent);
  padding: 0;
}

.inline-link {
  color: var(--brand-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit-wrap { margin-top: 20px; margin-bottom: 4px; }

.form-trust {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.form-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--brand-text-muted);
}

.form-trust .ti { color: var(--brand-accent); font-size: 14px; }

.form-success,
.form-error {
  text-align: center;
  padding: 40px 20px;
}

.form-success .ti { font-size: 52px; color: #16a34a; display: block; margin-bottom: 16px; }
.form-error .ti { font-size: 52px; color: #dc2626; display: block; margin-bottom: 16px; }

.form-success h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brand-text);
}

.form-success p,
.form-error p {
  color: var(--brand-text-muted);
  font-size: 15px;
}

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

.footer-cta {
  background: #0b1925;
  padding: 80px 0;
  text-align: center;
}

.footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-cta .footer-cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.52);
  margin-bottom: 32px;
}

.footer-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-main {
  background: #0f2030;
  padding: 64px 0;
}

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

.footer-brand p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  max-height: 36px;
  width: auto;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  background: #07101c;
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
}

.footer-bottom a {
  color: rgba(255,255,255,0.38);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ===========================
   STICKY CALL BAR (mobile)
   =========================== */

.sticky-call { display: none; }

/* ===========================
   BACK TO TOP
   =========================== */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  box-shadow: 0 4px 16px rgba(var(--brand-accent-rgb), 0.45);
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-accent-hover); }

/* ===========================
   REVEAL ANIMATIONS
   =========================== */

@media (prefers-reduced-motion: no-preference) {
  .cards-grid,
  .why-grid,
  .steps,
  .credentials-grid,
  .about-stats {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .cards-grid.in-view,
  .why-grid.in-view,
  .steps.in-view,
  .credentials-grid.in-view,
  .about-stats.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE 1180px — hamburger
   =========================== */

@media (max-width: 1180px) {
  .nav { display: none; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(8, 16, 30, 0.98);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    align-items: flex-start;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
  }

  .nav.open .nav-link {
    font-size: 22px;
    padding: 12px 0;
    color: rgba(255,255,255,0.82);
    width: 100%;
  }

  .hamburger { display: flex; }
  .header-cta { display: none; }
}

/* ===========================
   RESPONSIVE 960px
   =========================== */

@media (max-width: 960px) {
  :root { --section-pad: 72px; }

  /* Hero */
  .hero-desc { display: none; }

  .hero::before {
    width: 100%;
    height: 40%;
    bottom: auto;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 100svh;
    padding: calc(var(--header-h) + 20px) clamp(20px, 5vw, 40px) 100px;
    align-items: start;
  }

  /* Skrýt desktopové foto, zobrazit mobilní */
  .hero-photo { display: none; }

  .hero-photo-mobile {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin: 24px 0;
  }

  .hero-photo-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.03) saturate(0.92);
  }

  .hero-content { padding: 20px 0 0; }

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

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .about-inner h2 { position: static; }

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

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 40px; }

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

  /* Credentials */
  .credentials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-cta-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }

  /* Sticky call */
  .sticky-call {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 85;
    padding: 10px 16px max(12px, env(safe-area-inset-bottom)) 16px;
    background: rgba(8, 18, 36, 0.97);
    backdrop-filter: blur(20px) saturate(140%);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sticky-call.visible { transform: translateY(0); }

  body.has-sticky-call .back-to-top { bottom: 84px; }

  .sticky-call-inner {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .sticky-call-info { display: none; }

  .sticky-call-btns {
    display: flex;
    gap: 10px;
    flex: 1;
  }

  .sticky-call-btns .btn {
    flex: 1;
    justify-content: center;
  }

  .back-to-top { bottom: 90px; right: 16px; }
}

/* ===========================
   RESPONSIVE 720px
   =========================== */

@media (max-width: 720px) {
  .cta-teaser-inner { grid-template-columns: 1fr; gap: 24px; }

  .teaser-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .teaser-btns .btn { width: 100%; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

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

/* ===========================
   RESPONSIVE 560px — swipe carousels
   =========================== */

@media (max-width: 560px) {
  .cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 0 24px;
    scrollbar-width: none;
    grid-template-columns: unset;
  }

  .cards-grid::-webkit-scrollbar { display: none; }

  .card {
    flex: 0 0 83%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 0 24px;
    scrollbar-width: none;
    grid-template-columns: unset;
  }

  .steps::-webkit-scrollbar { display: none; }

  .step {
    flex: 0 0 83%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .hero-trust { flex-direction: column; gap: 10px; align-items: flex-start; }

  .footer-cta { padding: 56px 0; }
}
