/*
Theme Name: Stankovi Pro
Theme URI: https://stankovi.net/
Author: Karel Stanko
Description: Lehká vlastní šablona pro prezentaci IT služeb Stankovi.NET.
Version: 1.0.1
Text Domain: stankovi-pro
*/

:root {
  --ink: #09111f;
  --ink-soft: #344054;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dce3ec;
  --blue: #0b63f6;
  --blue-dark: #0746ad;
  --cyan: #35d4e6;
  --lime: #b9f552;
  --navy: #081a35;
  --navy-light: #102b50;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(8, 26, 53, 0.12);
  --wrap: min(1160px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button, input, textarea, select { font: inherit; }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid rgba(220, 227, 236, 0.75);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(11, 99, 246, 0.26);
  font-size: 15px;
  letter-spacing: -0.08em;
}
.brand-dot { color: var(--blue); }
.desktop-nav { margin-left: auto; }
.desktop-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.desktop-nav a { display: block; padding: 10px 12px; color: var(--ink-soft); font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 10px; }
.desktop-nav a:hover, .desktop-nav .current-menu-item > a { color: var(--ink); background: var(--white); }
.header-cta { padding: 11px 17px; color: var(--white); background: var(--ink); border-radius: 12px; font-size: 15px; font-weight: 800; text-decoration: none; }
.header-cta:hover { color: var(--white); background: var(--blue); }
.mobile-nav { display: none; margin-left: auto; }
.mobile-nav summary { display: grid; width: 44px; height: 44px; place-items: center; cursor: pointer; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::before { content: "☰"; font-size: 21px; line-height: 1; }
.mobile-nav[open] summary::before { content: "×"; font-size: 28px; }
.mobile-nav-panel { position: absolute; top: 72px; right: 20px; left: 20px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.mobile-nav-panel ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav-panel a { display: block; padding: 11px 12px; color: var(--ink); font-weight: 750; text-decoration: none; border-radius: 9px; }
.mobile-nav-panel a:hover { background: var(--paper); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) 0 clamp(82px, 10vw, 145px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 15%, rgba(53, 212, 230, 0.22), transparent 23%),
    radial-gradient(circle at 15% 85%, rgba(11, 99, 246, 0.3), transparent 30%),
    linear-gradient(135deg, #061329 0%, #0b2447 58%, #071a36 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr); align-items: center; gap: clamp(54px, 8vw, 110px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--lime); font-size: 14px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(185,245,82,.13); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { color: var(--cyan); }
.hero-lead { max-width: 660px; margin: 30px 0 0; color: #c8d6e8; font-size: clamp(19px, 2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 850; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--lime); box-shadow: 0 12px 28px rgba(185,245,82,.18); }
.button-primary:hover { color: var(--navy); background: #caff72; }
.button-secondary { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.button-secondary:hover { color: var(--white); background: rgba(255,255,255,.14); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; color: #aebfd3; font-size: 14px; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof li::before { content: "✓"; color: var(--cyan); font-weight: 900; }

.diagnostic-card { position: relative; padding: 24px; background: rgba(6, 15, 31, .72); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.32); backdrop-filter: blur(12px); transform: rotate(1.2deg); }
.diagnostic-card::after { content: ""; position: absolute; z-index: -1; inset: 18px -18px -18px 18px; border: 1px solid rgba(53,212,230,.28); border-radius: 24px; }
.window-top { display: flex; align-items: center; gap: 7px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.window-top i { width: 9px; height: 9px; background: #ff6b6b; border-radius: 50%; }
.window-top i:nth-child(2) { background: #ffd166; }
.window-top i:nth-child(3) { background: #5be28c; }
.window-top span { margin-left: auto; color: #8396ad; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.terminal { padding: 22px 2px 2px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; line-height: 1.8; }
.terminal p { margin: 0; color: #94a9c2; }
.terminal strong { color: var(--white); font-weight: 600; }
.terminal .ok { color: var(--lime); }
.terminal .cyan { color: var(--cyan); }
.resolution { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding: 16px; color: var(--ink); background: var(--white); border-radius: 15px; font-family: inherit; }
.resolution-icon { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: var(--navy); background: var(--lime); border-radius: 50%; font-weight: 900; }
.resolution strong { display: block; font-size: 14px; }
.resolution small { display: block; color: #667085; }

.trust-strip { position: relative; z-index: 3; margin-top: -35px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.trust-item { padding: 24px 30px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--blue); font-size: 28px; line-height: 1.1; letter-spacing: -.04em; }
.trust-item span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 14px; }

.section { padding: clamp(82px, 9vw, 124px) 0; }
.section-white { background: var(--white); }
.section-dark { color: var(--white); background: var(--navy); }
.section-kicker { margin: 0 0 12px; color: var(--blue); font-size: 14px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.section-dark .section-kicker { color: var(--cyan); }
.section-heading { max-width: 760px; margin: 0; font-size: clamp(35px, 5vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.section-lead { max-width: 710px; margin: 22px 0 0; color: var(--ink-soft); font-size: 19px; }
.section-dark .section-lead { color: #bbcadc; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.service-card { position: relative; min-height: 280px; padding: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #b8c8dd; box-shadow: 0 20px 45px rgba(8,26,53,.09); }
.service-icon { display: grid; width: 50px; height: 50px; place-items: center; color: var(--blue); background: #eaf2ff; border-radius: 14px; font-size: 23px; font-weight: 900; }
.service-card h3 { margin: 23px 0 10px; font-size: 23px; line-height: 1.2; letter-spacing: -.03em; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.service-card a { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 800; text-decoration: none; }

.split { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(55px, 8vw, 110px); }
.sticky-copy { position: sticky; top: 115px; }
.feature-list { display: grid; gap: 15px; }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.feature-number { display: grid; width: 46px; height: 46px; place-items: center; color: var(--navy); background: var(--cyan); border-radius: 13px; font-weight: 900; }
.feature h3 { margin: 1px 0 5px; font-size: 20px; }
.feature p { margin: 0; color: #b8c8da; font-size: 15px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.process-step { padding: 27px; background: var(--paper); border-radius: 20px; }
.process-step span { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.process-step h3 { margin: 17px 0 8px; font-size: 22px; }
.process-step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.reviews-section { background: #eef4ff; }
.reviews-widget { margin-top: 42px; padding: clamp(18px, 3vw, 30px); background: var(--white); border: 1px solid #d7e3f6; border-radius: 22px; box-shadow: 0 18px 45px rgba(8,26,53,.07); }
.reviews-widget-detail { margin: 24px 0 38px; padding: 18px; }
.reviews-widget:empty::before { content: "Google recenze se právě načítají."; display: block; color: var(--ink-soft); }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.reviews-actions-detail { margin: -18px 0 38px; }
.google-button { color: var(--white); background: var(--blue); }
.google-button:hover { color: var(--white); background: var(--blue-dark); }
.review-button { color: var(--ink); background: var(--white); border-color: var(--line); }
.review-button:hover { color: var(--ink); background: #f8fbff; }
.stankovi-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

.pricing-box { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 36px; padding: clamp(32px, 5vw, 58px); color: var(--white); background: linear-gradient(130deg, var(--blue-dark), var(--blue)); border-radius: 28px; box-shadow: 0 28px 70px rgba(11,99,246,.2); }
.pricing-box h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.pricing-box p { margin: 16px 0 0; color: #dbe9ff; }
.price-card { padding: 27px; color: var(--ink); background: var(--white); border-radius: 20px; }
.price-card small { display: block; color: var(--ink-soft); }
.price { display: block; margin: 7px 0; font-size: 45px; font-weight: 900; line-height: 1; letter-spacing: -.055em; }
.price em { font-size: 17px; font-style: normal; font-weight: 700; letter-spacing: 0; }

.other-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.other-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 29px; color: var(--white); background: var(--navy); border-radius: 22px; text-decoration: none; }
.other-card:nth-child(2) { background: linear-gradient(135deg, #173b50, #0b6f7b); }
.other-card:hover { color: var(--white); transform: translateY(-3px); }
.other-card small { color: var(--cyan); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.other-card strong { display: block; margin-top: 32px; font-size: 28px; line-height: 1.15; letter-spacing: -.03em; }
.other-card span { display: block; margin-top: 8px; color: #c3d2e2; font-size: 15px; }

.contact-section { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 130px) 0; color: var(--white); background: #061329; text-align: center; }
.contact-section::before { content: ""; position: absolute; width: 520px; height: 520px; top: -330px; left: 50%; background: rgba(53,212,230,.17); border-radius: 50%; filter: blur(10px); transform: translateX(-50%); }
.contact-inner { position: relative; }
.contact-section h2 { max-width: 830px; margin: 0 auto; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.contact-section p { max-width: 620px; margin: 22px auto 0; color: #bdcde0; font-size: 19px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 30px; color: #94a9c2; font-size: 14px; }

.site-footer { padding: 36px 0; color: #64748b; background: var(--white); border-top: 1px solid var(--line); font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #475569; text-decoration: none; }

.page-shell { padding: clamp(60px, 8vw, 105px) 0; }
.page-head { max-width: 790px; margin-bottom: 42px; }
.page-head .eyebrow { color: var(--blue); }
.page-title { margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing: -.055em; }
.entry-content { max-width: 880px; padding: clamp(28px, 5vw, 55px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 45px rgba(8,26,53,.06); }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3 { line-height: 1.2; letter-spacing: -.03em; }
.entry-content h2 { margin-top: 1.7em; font-size: 30px; }
.entry-content h3 { margin-top: 1.6em; font-size: 24px; }
.entry-content p, .entry-content li { color: var(--ink-soft); }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content img { border-radius: 16px; }
.entry-content img[role="img"] { display: inline !important; width: 1em !important; max-width: 1em !important; height: 1em !important; margin: 0 .08em; border-radius: 0; vertical-align: -.12em; }
.entry-content input:not([type="submit"]), .entry-content textarea, .entry-content select { width: 100%; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.entry-content input[type="submit"] { padding: 12px 19px; color: var(--white); background: var(--blue); border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; }
.it-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.it-detail-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; }
.it-detail-card h2 { margin: 0 0 10px; font-size: 22px; }
.it-detail-card ul { margin: 0; }
.detail-callout { margin: 36px 0 0; padding: 27px; color: var(--white); background: var(--navy); border-radius: 18px; }
.detail-callout h2 { margin: 0; color: var(--white); }
.detail-callout p { color: #c5d3e3; }
.detail-callout .button { margin: 6px 8px 0 0; }
.reality-hero { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: clamp(28px, 5vw, 56px); max-width: 930px; padding: clamp(28px, 5vw, 52px); color: var(--white); background: linear-gradient(135deg, #102c40, #0b6f7b); border-radius: 26px; box-shadow: var(--shadow); }
.reality-photo { width: 180px; aspect-ratio: 1; object-fit: cover; border: 5px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.reality-hero .eyebrow { margin-bottom: 13px; color: var(--cyan); }
.reality-hero h1 { margin: 0; font-size: clamp(37px, 5vw, 60px); line-height: 1.04; letter-spacing: -.05em; }
.reality-role { margin: 15px 0 0; color: #d4edf0; font-size: 20px; }
.reality-contact { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.reality-contact .button-secondary { background: rgba(255,255,255,.12); }
.reality-content { margin-top: 28px; }
.reality-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.reality-service { padding: 23px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.reality-service strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 19px; }
.reality-service span { color: var(--ink-soft); font-size: 15px; }
.contact-card { margin-top: 34px; padding: 27px; color: var(--white); background: var(--navy); border-radius: 18px; }
.contact-card h2 { margin: 0; color: var(--white); }
.contact-card p { color: #c5d3e3; }
.contact-card a:not(.button) { color: var(--cyan); }
.post-list { display: grid; gap: 18px; }
.post-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.post-card h2 { margin: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }

@media (max-width: 960px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .hero-inner, .split, .pricing-box { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .diagnostic-card { max-width: 600px; transform: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-copy { position: static; }
}

@media (max-width: 680px) {
  :root { --wrap: min(100% - 28px, 1160px); }
  body { font-size: 16px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 35px; height: 35px; }
  .mobile-nav-panel { top: 64px; right: 14px; left: 14px; }
  .hero { padding-top: 63px; }
  .hero-inner { gap: 50px; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .diagnostic-card { padding: 18px; }
  .diagnostic-card::after { display: none; }
  .terminal { font-size: 12px; }
  .trust-grid, .services-grid, .process-grid, .other-services { grid-template-columns: 1fr; }
  .it-detail-grid { grid-template-columns: 1fr; }
  .reality-hero { grid-template-columns: 1fr; text-align: center; }
  .reality-photo { width: 150px; margin-inline: auto; }
  .reality-hero .eyebrow, .reality-contact { justify-content: center; }
  .reality-service-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); border-left: 0; }
  .service-card { min-height: 0; }
  .feature { grid-template-columns: 42px 1fr; padding: 20px; }
  .feature-number { width: 42px; height: 42px; }
  .price { font-size: 39px; }
  .contact-actions, .contact-actions .button { width: 100%; }
  .reviews-actions, .reviews-actions .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
