/*
Theme Name: WebWorld
Theme URI: https://webworld.cz/
Author: WebWorld.cz
Author URI: https://webworld.cz/
Description: Moderní jednostránková šablona pro webovou agenturu WebWorld.cz. Obsahuje editovatelnou hero sekci, služby, reference, proces, recenze a kontaktní blok. Vše se nastavuje v Přizpůsobit a přes vlastní typy obsahu.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webworld
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, block-styles, wide-blocks
*/

:root {
  --ink: #111111;
  --ink-soft: #4f514d;
  --paper: #ffffff;
  --paper-warm: #f7f7f2;
  --line: #e8e8e2;
  --acid: #e6ff00;
  --acid-soft: #f4ffc1;
  --max: 1240px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow: 0 22px 60px rgba(17, 17, 17, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--ink); color: white; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; left: 16px; top: 16px; z-index: 200; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--ink); color: white; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255,255,255,.87); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(17,17,17,.04); }
.admin-bar .site-header { top: 32px; }
.nav-wrap { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; }
.logo { width: max-content; font-size: 25px; font-weight: 800; letter-spacing: -.055em; text-decoration: none; }
.logo span { position: relative; }
.logo span::after { content: ""; position: absolute; width: 8px; height: 8px; right: -9px; top: -1px; border-radius: 50%; background: var(--acid); }
.logo img { max-height: 46px; width: auto; }
.custom-logo-link { display: block; width: max-content; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 650; }
.main-nav ul { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.main-nav a { text-decoration: none; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--acid); transition: .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav .current-menu-item > a::after { right: 0; }
.main-nav .sub-menu { display: none; }
.nav-cta { justify-self: end; }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.button { min-height: 52px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 11px; border: 1px solid transparent; font-size: 14px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: var(--ink); box-shadow: 0 10px 28px rgba(210, 237, 0, .23); }
.button-primary:hover { box-shadow: 0 15px 34px rgba(210, 237, 0, .34); }
.button-secondary { background: var(--paper); border-color: #cfd0ca; }
.button-secondary:hover { border-color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.text-link { display: inline-flex; gap: 10px; font-weight: 750; text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero { min-height: 720px; padding-top: 105px; padding-bottom: 33px; display: grid; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center; gap: 52px; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; width: max-content; padding: 7px 12px; border-radius: 999px; background: var(--paper-warm); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); flex: none; }
.eyebrow.centered { margin-inline: auto; }
.hero h1 { margin: 0; max-width: 900px; font-size: clamp(40px, 3.9vw, 54px); line-height: 1.075; letter-spacing: -.063em; font-weight: 800; }
.hero mark { color: inherit; background: linear-gradient(transparent 72%, var(--acid) 0); }
.hero-lead { max-width: 600px; margin: 28px 0 0; font-size: 17px; color: var(--ink-soft); }
.hero-lead strong { display: block; margin-top: 5px; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 36px; }
.grid-icon { display: inline-flex; }
.grid-icon svg { width: 17px; height: 17px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 45px; }
.trust-item { display: flex; align-items: center; gap: 11px; }
.trust-item svg { width: 23px; height: 23px; flex: none; }
.trust-item div { display: grid; }
.trust-item strong { font-size: 16px; line-height: 1.2; }
.trust-item span { color: #74766f; font-size: 11px; }

.hero-visual { position: relative; min-height: 610px; }
.portrait-orbit { position: absolute; width: 510px; height: 510px; right: 7%; top: 48px; border-radius: 48% 52% 45% 55% / 50% 42% 58% 50%; background: radial-gradient(circle at 45% 40%, #faffd5 0 43%, #f4f6ee 44% 100%); transform: rotate(-7deg); }
.portrait-orbit::before { content: ""; position: absolute; width: 125px; height: 110px; right: -25px; top: 28px; background-image: radial-gradient(#d6d8d1 1.5px, transparent 1.5px); background-size: 12px 12px; opacity: .7; }
.portrait-orbit::after { content: ""; position: absolute; right: -30px; bottom: 120px; width: 68px; height: 170px; border-right: 2px solid var(--acid); border-radius: 50%; transform: rotate(-9deg); }
.portrait-frame { position: absolute; inset: 6px 4% 0 8%; overflow: hidden; border-radius: 46% 46% 25% 25% / 34% 34% 15% 15%; filter: drop-shadow(0 30px 35px rgba(17,17,17,.17)); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.05); }
.portrait-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, rgba(17,17,17,.08)); pointer-events: none; }
/* Fotka s průhledným pozadím – volný výřez nad podkladovou skvrnou. */
.portrait-frame.is-cutout { inset: 0 0 0 2%; overflow: visible; border-radius: 0; filter: drop-shadow(0 26px 30px rgba(17,17,17,.16)); }
.portrait-frame.is-cutout img { height: 100%; object-fit: contain; object-position: 50% 100%; transform: none; }
.portrait-frame.is-cutout::after { content: none; }
.portrait-placeholder { display: block; width: 100%; height: 100%; min-height: 480px; background: linear-gradient(165deg, #eceee6, #dcdfd4 55%, #e6e9dd); }
.portrait-frame:has(.portrait-placeholder) { filter: none; }
.portrait-placeholder::after { content: ""; position: absolute; left: 50%; top: 34%; width: 34%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50% 50% 45% 45%; background: #c9ccc0; box-shadow: 0 26vh 0 -1vh #c9ccc0; }
.float-card { position: absolute; z-index: 4; min-width: 106px; padding: 13px 15px; display: grid; justify-items: center; gap: 7px; background: rgba(255,255,255,.94); border: 1px solid rgba(17,17,17,.04); border-radius: 14px; box-shadow: 0 16px 32px rgba(17,17,17,.11); font-size: 11px; text-align: center; transform: rotate(var(--rotate, 0)); animation: float 5.5s ease-in-out infinite; }
.float-icon { position: relative; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: var(--paper-warm); }
.float-icon svg { width: 21px; height: 21px; }
.float-icon::after { content: ""; width: 8px; height: 8px; position: absolute; top: -4px; right: -5px; background: var(--acid); border-radius: 50%; }
.float-card.card-1 { left: -1%; top: 68px; --rotate: -5deg; }
.float-card.card-2 { left: 2%; top: 250px; --rotate: 4deg; animation-delay: -.8s; }
.float-card.card-3 { right: -2%; top: 130px; --rotate: 4deg; animation-delay: -1.6s; }
.float-card.card-4 { right: -1%; bottom: 93px; --rotate: -3deg; animation-delay: -2.6s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--rotate)); } 50% { transform: translateY(-9px) rotate(var(--rotate)); } }

/* ---------- Služby ---------- */
.services-strip { padding: 34px 0 48px; background: var(--paper-warm); border-block: 1px solid #efefe9; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 180px; padding: 30px; display: grid; grid-template-columns: auto 1fr; gap: 20px; background: white; border: 1px solid #ecece6; border-radius: var(--radius-sm); box-shadow: 0 11px 35px rgba(17,17,17,.04); }
.service-card h2, .service-card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.035em; }
.service-card p { margin: 0 0 15px; color: var(--ink-soft); font-size: 13px; }
.service-card a { font-size: 12px; font-weight: 750; text-underline-offset: 5px; }
.service-card a span { margin-left: 9px; box-shadow: inset 0 -5px var(--acid); }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--acid-soft); }
.service-icon svg { width: 25px; height: 25px; }

/* ---------- Reference ---------- */
.section-heading { max-width: 880px; margin: 0 auto 55px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.055em; }
.section-heading > p:not(.eyebrow) { max-width: 580px; margin: 18px auto 0; color: var(--ink-soft); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.project-card > h3 { margin: 16px 0 2px; font-size: 14px; }
.project-card > h3 a { text-decoration: none; }
.project-card > h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-card > p { margin: 0; font-size: 12px; color: #7e8079; }
.project-card > .project-excerpt { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.page-hero .project-live { margin-top: 24px; }
.entry-content .seo-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.entry-content .seo-ok { background: var(--acid-soft); }
.entry-content .seo-warn { background: #fff0cc; }
.entry-content .seo-bad { background: #ffe0dc; }
.entry-content .seo-score { font-size: 15px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper-warm); }
.entry-content .wp-block-table { max-width: 100%; overflow-x: auto; }
@media (max-width: 600px) {
  .entry-content .wp-block-table thead { display: none; }
  .entry-content .wp-block-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .entry-content .wp-block-table td { display: block; padding: 2px 0; border: 0; }
  .entry-content .wp-block-table td:first-child { font-weight: 750; }
}
.project-preview { position: relative; display: block; min-height: 255px; padding: 48px 24px 25px; overflow: hidden; border-radius: 13px; box-shadow: 0 14px 35px rgba(17,17,17,.09); text-decoration: none; }
.project-preview h3 { position: relative; z-index: 2; margin: 26px 0 20px; font-size: 21px; line-height: 1.15; letter-spacing: -.045em; }
.project-preview em { font-style: normal; box-shadow: inset 0 -6px var(--acid); }
.project-preview.has-thumb { padding: 28px 0 0; background: var(--paper-warm); }
.project-preview .project-thumb { width: 100%; height: 227px; object-fit: cover; object-position: 50% 0; transition: transform .5s ease; }
.project-preview.has-thumb:hover .project-thumb { transform: scale(1.04); }
.browser-bar { position: absolute; inset: 0 0 auto; z-index: 3; height: 28px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: rgba(255,255,255,.92); }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #c8cac3; }
.browser-bar i:first-child { background: var(--acid); }
.mini-label { position: relative; z-index: 2; font-size: 8px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.mini-button { position: relative; z-index: 2; display: inline-flex; padding: 8px 11px; border-radius: 6px; font-size: 8px; font-weight: 750; background: var(--acid); color: var(--ink); }
.preview-build { color: white; background: linear-gradient(115deg, rgba(6,10,12,.94), rgba(20,23,22,.55)), radial-gradient(circle at 75% 25%, #a37945 0 3%, transparent 4%), linear-gradient(135deg, #253039 0 30%, #7c6241 31% 55%, #293238 56%); }
.preview-build::after { content: ""; position: absolute; width: 130px; height: 130px; right: -25px; bottom: -30px; border: 16px solid rgba(230,255,0,.18); transform: rotate(35deg); }
.preview-beauty { background: linear-gradient(135deg, #fffaf4, #ead5c8); }
.preview-beauty h3 { max-width: 190px; }
.beauty-orb { position: absolute; width: 175px; height: 215px; right: -22px; bottom: -10px; border-radius: 48% 52% 48% 52%; background: radial-gradient(circle at 48% 38%, #f7d4c0 0 14%, #d8a98f 15% 24%, #312521 25% 33%, #bc8e77 34% 46%, #e8c2ae 47%); opacity: .94; }
.preview-hotel { color: white; background: linear-gradient(110deg, rgba(4,4,4,.83), rgba(4,4,4,.15)), linear-gradient(145deg, #151514 0 34%, #70492f 35% 49%, #1d2727 50% 73%, #966c45 74%); }
.preview-hotel::before { content: ""; position: absolute; inset: 35px 30px 0 62%; border-left: 5px solid rgba(255,220,170,.4); border-right: 2px solid rgba(255,255,255,.15); }
.preview-shop { background: linear-gradient(135deg, #faf8f1, #e9ebe1); }
.preview-shop h3 { max-width: 175px; }
.product-bottles { position: absolute; right: 18px; bottom: 20px; display: flex; align-items: end; gap: 8px; }
.product-bottles i { width: 28px; height: 93px; border-radius: 8px 8px 4px 4px; background: linear-gradient(#1a1c1a, #3e433e); box-shadow: inset 0 23px #c9c5b5; }
.product-bottles i:nth-child(2) { width: 38px; height: 120px; }
.product-bottles i:nth-child(3) { height: 76px; }
.center-action { margin-top: 45px; text-align: center; }

/* ---------- Proces ---------- */
.process { background: var(--paper-warm); border-block: 1px solid #efefe9; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step { position: relative; min-height: 235px; padding: 22px 30px 20px; text-align: center; border-right: 1px solid #dedfd8; }
.process-step:last-child { border-right: 0; }
.process-step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 100px; z-index: 3; width: 24px; background: var(--paper-warm); font-size: 22px; }
.step-no { position: absolute; left: 12px; top: 0; font-size: 39px; font-weight: 400; color: #d5d7d1; }
.step-icon { width: 58px; height: 58px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--acid-soft); font-size: 22px; font-weight: 800; }
.step-icon svg { width: 26px; height: 26px; }
.process-step h3 { margin: 0 0 10px; font-size: 19px; }
.process-step p { margin: 0; color: var(--ink-soft); font-size: 13px; }

/* ---------- Recenze ---------- */
.testimonials { padding-bottom: 85px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { margin: 0; min-height: 245px; padding: 31px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #ecece6; border-radius: var(--radius-sm); box-shadow: 0 12px 34px rgba(17,17,17,.04); }
.testimonial blockquote { position: relative; margin: 0; padding-top: 22px; color: var(--ink-soft); font-size: 14px; }
.testimonial blockquote p { margin: 0; }
.testimonial blockquote::before { content: "“"; position: absolute; top: -13px; left: 0; color: var(--acid); font-size: 54px; font-weight: 800; line-height: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption > span:last-child { display: grid; }
.testimonial small { color: #858780; font-size: 10px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: white; font-size: 10px; font-weight: 800; background: #4d4740; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-1 { background: #704b63; }
.avatar-2 { background: #37493d; }
.avatar-3 { background: #4d4740; }
.avatar-4 { background: #3a4a5a; }
.avatar-5 { background: #5a4438; }
.logo-cloud { margin-top: 52px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; text-align: center; color: #adb0a8; font-size: 17px; font-weight: 650; letter-spacing: .17em; }
.logo-cloud span { display: grid; }
.logo-cloud small { font-size: 6px; letter-spacing: .35em; }
.logo-cloud img { max-height: 46px; width: auto; opacity: .6; filter: grayscale(1); }

/* ---------- Kontakt ---------- */
.contact { padding-top: 20px; }
.contact-panel { position: relative; overflow: hidden; min-height: 265px; padding: 55px 58px; display: grid; grid-template-columns: 1.45fr 1fr auto; align-items: center; gap: 44px; border-radius: var(--radius-lg); background: linear-gradient(110deg, #fbfdf1 0%, #f7fcb4 63%, #e7ff35 100%); }
.contact-panel::before { content: ""; position: absolute; width: 130px; height: 130px; left: -20px; bottom: -20px; background-image: radial-gradient(#dce72d 2px, transparent 2px); background-size: 12px 12px; opacity: .8; }
.contact-copy, .contact-benefits, .contact-actions, .contact-form { position: relative; z-index: 2; }
.contact-copy h2 { margin: 0; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.08; letter-spacing: -.055em; }
.contact-benefits { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; font-size: 13px; font-weight: 650; }
.contact-benefits li::before { content: "✓"; width: 20px; height: 20px; display: inline-grid; place-items: center; margin-right: 10px; border-radius: 50%; background: var(--acid); font-size: 10px; }
.contact-actions { display: grid; gap: 16px; justify-items: start; }
.contact-panel.has-form { grid-template-columns: 1.1fr 1fr; }
.contact-form { grid-column: 2; grid-row: 1 / span 2; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea, .contact-form select {
  width: 100%; padding: 13px 16px; margin-bottom: 12px; background: rgba(255,255,255,.85); border: 1px solid rgba(17,17,17,.12); border-radius: 11px; font-size: 14px;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-form input[type="submit"] { min-height: 52px; padding: 0 23px; background: var(--ink); color: white; border: 0; border-radius: 11px; font-size: 14px; font-weight: 750; cursor: pointer; }
.contact-form .wpcf7-not-valid-tip { color: #a11212; font-size: 12px; margin: -8px 0 10px; }
.contact-form .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 14px !important; border-radius: 10px; font-size: 13px; }

/* ---------- Patička ---------- */
.site-footer { padding: 45px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; flex-wrap: wrap; }
.footer-row p, .footer-row > a:last-child { color: #72746d; font-size: 12px; margin: 0; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 38px; font-size: 14px; }
.footer-widgets h2, .footer-widgets .widget-title { margin: 0 0 12px; font-size: 14px; letter-spacing: -.02em; }
.footer-widgets ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); }

/* ---------- Vnitřní stránky / blog ---------- */
.page-hero { padding: 150px 0 40px; background: var(--paper-warm); border-bottom: 1px solid #efefe9; }
.admin-bar .page-hero { padding-top: 182px; }
.page-hero h1 { margin: 0; max-width: 900px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.055em; }
.page-hero p { margin: 14px 0 0; color: var(--ink-soft); }
.content-area { padding: 60px 0 90px; }
.content-narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.entry-content { font-size: 16px; }
.entry-content > * { margin-block: 0 22px; }
.entry-content h2 { margin-top: 44px; font-size: 30px; letter-spacing: -.04em; }
.entry-content h3 { margin-top: 34px; font-size: 22px; letter-spacing: -.03em; }
.entry-content a { text-underline-offset: 4px; }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin-inline: 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--acid); color: var(--ink-soft); }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content pre { padding: 18px; overflow: auto; background: var(--paper-warm); border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-meta { margin: 0 0 24px; color: #7e8079; font-size: 12px; }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"],
.entry-content input[type="url"], .entry-content input[type="number"], .entry-content textarea, .entry-content select {
  width: 100%; max-width: 520px; padding: 13px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; font-size: 15px;
}
.entry-content textarea { min-height: 150px; resize: vertical; }
.entry-content input:focus, .entry-content textarea:focus, .entry-content select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.entry-content input[type="submit"], .entry-content button[type="submit"], .entry-content .wpcf7-submit {
  width: auto; min-height: 52px; padding: 0 26px; background: var(--acid); color: var(--ink); border: 0; border-radius: 11px;
  font-size: 14px; font-weight: 750; cursor: pointer; box-shadow: 0 10px 28px rgba(210, 237, 0, .23);
}
.entry-content input[type="submit"]:hover, .entry-content .wpcf7-submit:hover { transform: translateY(-2px); }
.entry-content .wpcf7 p { margin-bottom: 14px; }
.entry-content .wpcf7-not-valid-tip { color: #a11212; font-size: 12px; }
.entry-content .wpcf7-response-output { margin: 14px 0 0 !important; padding: 12px 16px !important; border-radius: 10px; font-size: 13px; }
.entry-content .wp-block-details { padding: 18px 20px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.entry-content .wp-block-details summary { font-weight: 750; cursor: pointer; }
.entry-content .wp-block-details[open] summary { margin-bottom: 10px; }
.entry-content .wp-block-button__link { min-height: 52px; padding: 14px 23px; display: inline-flex; align-items: center; background: var(--acid); color: var(--ink); border-radius: 11px; font-size: 14px; font-weight: 750; text-decoration: none; }
.alignwide { width: min(100%, 1100px); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 24px 18px 0; }
.alignright { float: right; margin: 0 0 18px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-block-image figcaption { color: #7e8079; font-size: 12px; text-align: center; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: grid; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-card img { border-radius: var(--radius-sm); }
.post-card h2 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.post-card h2 a { text-decoration: none; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.pagination { margin-top: 45px; display: flex; justify-content: center; gap: 10px; font-size: 14px; font-weight: 650; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; }
.pagination .current { background: var(--acid); border-color: var(--acid); }
.comment-area { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.comment-list { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 22px; }
.comment-list ul.children { margin: 20px 0 0 24px; padding: 0; list-style: none; display: grid; gap: 20px; }
.comment-body { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 11px;
}
.comment-form .submit { min-height: 52px; padding: 0 23px; background: var(--ink); color: white; border: 0; border-radius: 11px; font-weight: 750; cursor: pointer; }
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 11px; }
.search-form button { padding: 0 20px; background: var(--ink); color: white; border: 0; border-radius: 11px; font-weight: 750; cursor: pointer; }
.error-404 { padding: 190px 0 120px; text-align: center; }
.error-404 h1 { margin: 0 0 12px; font-size: clamp(46px, 7vw, 90px); letter-spacing: -.06em; }
.error-404 p { margin: 0 0 28px; color: var(--ink-soft); }

/* ---------- Podstránky: hero ---------- */
mark { color: inherit; background: linear-gradient(transparent 70%, var(--acid) 0); }
.sub-hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.admin-bar .sub-hero { padding-top: 182px; }
.sub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 64px; }
.sub-hero.no-visual .sub-hero-grid { grid-template-columns: minmax(0, 1fr); }
.sub-hero.no-visual { padding-bottom: 50px; background: var(--paper-warm); border-bottom: 1px solid #efefe9; }
.sub-hero h1 { margin: 0; max-width: 760px; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.065em; font-weight: 800; }
.sub-hero-lead { max-width: 560px; margin: 26px 0 0; color: var(--ink-soft); font-size: 17px; }
.sub-hero-facts { display: flex; flex-wrap: wrap; gap: 18px 44px; margin: 40px 0 0; }
.sub-hero-facts dt { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.sub-hero-facts dd { margin: 2px 0 0; color: #74766f; font-size: 12px; }
.sub-hero-visual { position: relative; min-height: 440px; display: grid; align-items: center; }
.sub-hero-orbit { position: absolute; width: 380px; height: 380px; right: -110px; top: -40px; border: 2px solid var(--acid); border-radius: 50%; opacity: .55; pointer-events: none; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: white; border-radius: 12px; box-shadow: 0 14px 30px rgba(17,17,17,.12); font-size: 12px; font-weight: 750; white-space: nowrap; }
.chip b { padding: 3px 7px; border-radius: 7px; background: var(--acid); font-size: 11px; }
.chip::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: var(--acid-soft); flex: none; }
.chip:has(b)::before { content: none; }

.photo-card { position: relative; height: 490px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #f1f4e2, #e7ecc8); box-shadow: var(--shadow); }
.photo-card::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; left: 10%; top: 22%; border-radius: 50%; background: var(--acid); opacity: .55; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; border-radius: var(--radius-lg); }
.photo-card .chip-1 { left: -26px; top: 60px; transform: rotate(-4deg); }
.photo-card .chip-2 { right: -18px; bottom: 70px; transform: rotate(3deg); }

.question-card { position: relative; height: 430px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, #f4f5ec, #ecefd8); box-shadow: var(--shadow); }
.question-card::before, .question-card::after { content: ""; position: absolute; width: 110px; height: 70px; background-image: radial-gradient(#d4d7c4 1.5px, transparent 1.5px); background-size: 12px 12px; }
.question-card::before { right: 30px; top: 30px; }
.question-card::after { left: 26px; bottom: 26px; }
.question-mark { position: absolute; left: 50%; top: 50%; transform: translate(-58%, -54%); font-size: 250px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.question-dot { position: absolute; width: 58px; height: 58px; left: 62%; top: 52%; border-radius: 50%; background: var(--acid); }
.question-card .chip-1 { left: 26px; top: 82px; transform: rotate(-3deg); }
.question-card .chip-2 { right: 22px; top: 138px; transform: rotate(4deg); }
.question-card .chip-3 { left: 36px; bottom: 54px; transform: rotate(-2deg); }

.facts-card { position: relative; padding: 36px; border-radius: var(--radius-lg); background: var(--ink); color: white; box-shadow: var(--shadow); }
.facts-card-title { margin: 0 0 26px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; letter-spacing: -.03em; }
.facts-card-title span { padding: 5px 10px; border-radius: 999px; background: var(--acid); color: var(--ink); font-size: 11px; letter-spacing: 0; }
.facts-card dl { margin: 0; display: grid; gap: 4px; }
.facts-card dl div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.facts-card dt { font-size: 34px; font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.facts-card dd { margin: 4px 0 0; color: #b9bbb3; font-size: 13px; }

.form-card { position: relative; z-index: 2; padding: 34px; background: white; border: 1px solid #ecece6; border-radius: 26px; box-shadow: var(--shadow); }
.form-card h2 { margin: 0; font-size: 24px; letter-spacing: -.045em; }
.form-card > p { margin: 4px 0 22px; color: #74766f; font-size: 13px; }
.form-card .wpcf7 p { margin: 0; }
.form-card .ww-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-card .ww-form-row br { display: none; }
.form-card .ww-form-row > p { display: contents; }
.form-card .wpcf7-form-control-wrap { display: block; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card textarea {
  width: 100%; margin-bottom: 10px; padding: 15px 16px; background: var(--paper-warm); border: 1px solid #ecece6; border-radius: 11px; font-size: 14px;
}
.form-card textarea { height: 120px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: white; }
.form-card .wpcf7-submit { width: 100%; min-height: 54px; margin-top: 4px; background: var(--acid); color: var(--ink); border: 0; border-radius: 11px; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 28px rgba(210,237,0,.25); }
.form-card .wpcf7-submit:hover { transform: translateY(-2px); }
.form-card .ww-form-note { margin-top: 12px !important; color: #8a8c84; font-size: 11px; }
.form-card .wpcf7-spinner { position: absolute; }
.form-card .wpcf7-not-valid-tip { margin: -6px 0 8px; color: #a11212; font-size: 12px; }
.form-card .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 14px !important; border-radius: 10px; font-size: 13px; }

/* ---------- Podstránky: sekce ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 30px; display: block; background: white; border: 1px solid #ecece6; border-radius: var(--radius-md); box-shadow: 0 12px 34px rgba(17,17,17,.04); text-decoration: none; }
.info-card h3 { margin: 22px 0 6px; font-size: 18px; letter-spacing: -.03em; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.info-card.is-outline { box-shadow: none; }
.info-card.is-link { transition: transform .2s ease, border-color .2s ease; }
.info-card.is-link:hover { transform: translateY(-3px); border-color: var(--ink); }
.info-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--acid-soft); }
.info-icon svg { width: 20px; height: 20px; }
.marked-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: inset 0 -4px var(--acid); }

.story, .values, .steps, .topics { background: var(--paper-warm); border-block: 1px solid #efefe9; }
.story-grid { display: grid; grid-template-columns: 300px 1fr; gap: 90px; }
.story-stats { margin: 0; }
.story-stats div { padding: 24px 0; border-top: 1px solid #dedfd8; }
.story-stats dt { font-size: 48px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.story-stats dd { margin: 8px 0 0; color: #74766f; font-size: 13px; }
.story-copy h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.055em; }
.story-copy p:not(.eyebrow) { color: var(--ink-soft); }

.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.compare-card { padding: 30px; background: white; border: 1px solid #ecece6; border-radius: var(--radius-md); box-shadow: 0 12px 34px rgba(17,17,17,.04); }
.compare-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 26px; }
.compare-card h3 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.compare-tag { padding: 4px 9px; border-radius: 999px; background: var(--paper-warm); font-size: 10px; font-weight: 750; }
.compare-bar { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 18px; font-size: 12px; font-weight: 700; }
.compare-bar i { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 6px; background: #ececE6; overflow: hidden; }
.compare-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value); border-radius: 6px; background: var(--ink); }
.compare-card p { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #ecece6; color: #74766f; font-size: 12px; }
.compare-card.is-best { padding: 38px 32px; background: var(--ink); color: white; border-color: var(--ink); box-shadow: 0 26px 60px rgba(17,17,17,.22); }
.compare-card.is-best .compare-tag { background: var(--acid); color: var(--ink); }
.compare-card.is-best .compare-bar i { background: rgba(255,255,255,.15); }
.compare-card.is-best .compare-bar i::after { background: var(--acid); }
.compare-card.is-best p { color: #b9bbb3; border-color: rgba(255,255,255,.12); }

.evolution-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.evolution-grid li { position: relative; padding: 32px; border: 1px solid #ecece6; border-radius: var(--radius-md); background: white; }
.evolution-grid li:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 44px; z-index: 2; width: 14px; color: #9a9c94; font-size: 18px; }
.evolution-no { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper-warm); font-size: 13px; font-weight: 800; }
.evolution-grid h3 { margin: 20px 0 8px; font-size: 19px; letter-spacing: -.03em; }
.evolution-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.evolution-grid li.is-now { background: var(--ink); color: white; border-color: var(--ink); box-shadow: 0 26px 60px rgba(17,17,17,.2); }
.evolution-grid li.is-now .evolution-no { background: var(--acid); color: var(--ink); }
.evolution-grid li.is-now p { color: #c9cbc3; }

.ai-grid { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 20px; }
.ai-list { padding: 32px; border: 1px solid #ecece6; border-radius: var(--radius-md); }
.ai-list h3 { margin: 0 0 18px; font-size: 19px; letter-spacing: -.03em; }
.ai-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 14px; }
.ai-list li { display: flex; gap: 10px; }
.ai-list li::before { content: "→"; color: #9a9c94; }
.ai-list.is-dark { background: var(--ink); color: white; border-color: var(--ink); }
.ai-list.is-dark li::before { content: "✓"; width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: 10px; }
.ai-stat { padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--radius-md); background: linear-gradient(150deg, #f4ffc1, var(--acid)); }
.ai-stat strong { font-size: 84px; line-height: 1; letter-spacing: -.07em; }
.ai-stat p { margin: 12px 0 0; font-size: 14px; font-weight: 650; }

.contact-strip { padding: 0 0 40px; background: linear-gradient(var(--paper) 50%, var(--paper-warm) 50%); }
.person-grid { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: 80px; }
.person-photo { overflow: hidden; height: 520px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #f1f4e2, #e2e7c0); }
.person-photo img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.person-copy h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.055em; }
.person-copy > p:not(.eyebrow) { margin: 22px 0 28px; color: var(--ink-soft); }
.person-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.person-facts div { padding: 14px 16px; border: 1px solid #ecece6; border-radius: 12px; }
.person-facts dt { color: #74766f; font-size: 11px; }
.person-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 750; }
.person-facts a { text-decoration: none; }

.steps-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps-grid li { position: relative; padding-left: 64px; counter-increment: step; }
.steps-grid li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -14px; color: transparent; -webkit-text-stroke: 1px #c9cbc2; font-size: 46px; font-weight: 300; }
.steps-grid h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.03em; }
.steps-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.faq-content { max-width: none; }
.faq-content > h2, .faq-content > h3 { margin: 50px 0 18px; font-size: 22px; letter-spacing: -.035em; scroll-margin-top: 110px; }
.faq-content > h2:first-child, .faq-content > h3:first-child { margin-top: 0; }
.faq-content .faq-grid, .faq-content .faq-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq-content .faq-grid:has(> .wp-block-group__inner-container) { display: block; }
.faq-content .faq-grid > *, .faq-content .wp-block-group__inner-container > * { margin: 0; }
.faq-content .wp-block-details { margin: 0; padding: 22px 24px; background: white; border: 1px solid #ecece6; border-radius: var(--radius-sm); }
.faq-content .wp-block-details[open] { background: #fafaf6; }
.faq-content .wp-block-details summary { position: relative; padding-right: 44px; list-style: none; font-size: 15px; }
.faq-content .wp-block-details summary::-webkit-details-marker { display: none; }
.faq-content .wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--paper-warm); font-weight: 800; }
.faq-content .wp-block-details[open] summary::after { content: "–"; background: var(--acid); }
.faq-content .wp-block-details p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Kontaktní pruh na podstránkách sedí na teplém pozadí jako v návrhu. */
body:not(.home) .contact { padding: 80px 0; background: var(--paper-warm); border-top: 1px solid #efefe9; }
.sub-hero + .content-area { padding-top: 20px; }
.entry-content h2 { line-height: 1.12; }
.entry-content .wp-block-image img { margin-inline: auto; }
.content-area .entry-content .wp-block-image img, .content-area .entry-content p > a > img { max-width: min(100%, 380px); margin-inline: auto; }

/* ---------- Animace ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Na velkých displejích postava vyplní pravou část až ke spodní hraně sekce. */
@media (min-width: 861px) {
  .portrait-frame.is-cutout { inset: -40px -14% -33px -12%; }
  .hero-visual { min-height: 640px; }
  .portrait-orbit { top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 430px; gap: 24px; }
  .hero-visual { min-height: 540px; }
  .portrait-orbit { width: 430px; height: 430px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .project-preview { min-height: 300px; }
  .contact-panel { grid-template-columns: 1.3fr 1fr; }
  .contact-actions { grid-column: 1 / -1; display: flex; align-items: center; }
  .contact-panel.has-form { grid-template-columns: 1fr 1fr; }
  .contact-panel.has-form .contact-actions { grid-column: 1; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .nav-wrap { grid-template-columns: 1fr auto; min-height: 72px; }
  .menu-toggle { width: 44px; height: 44px; padding: 0; display: grid; place-content: center; gap: 7px; border: 0; border-radius: 10px; background: var(--paper-warm); cursor: pointer; }
  .menu-toggle span { width: 21px; height: 2px; background: var(--ink); transition: .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 82px; display: grid; gap: 0; padding: 12px; visibility: hidden; opacity: 0; transform: translateY(-12px); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: .2s; }
  .admin-bar .main-nav { top: 114px; }
  .main-nav ul { display: grid; gap: 0; }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .main-nav a { padding: 14px 12px; }
  .nav-cta { display: none; }
  .hero { padding-top: 82px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-lead { margin-inline: auto; }
  .hero h1 { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { width: min(100%, 560px); margin: 25px auto 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-step { border: 1px solid #dedfd8 !important; border-radius: 18px; }
  .process-step::after { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial { min-height: 210px; }
  .logo-cloud { grid-template-columns: repeat(3, 1fr); gap: 30px 10px; }
  .contact-panel, .contact-panel.has-form { grid-template-columns: 1fr; text-align: center; }
  .contact-copy .eyebrow { margin-inline: auto; }
  .contact-benefits { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .contact-actions { justify-content: center; justify-items: center; }
  .contact-form { grid-column: 1; grid-row: auto; text-align: left; }
  .page-hero { padding-top: 120px; }
  .post-grid { grid-template-columns: 1fr; }
  .sub-hero { padding: 115px 0 60px; }
  .sub-hero-grid, .story-grid, .person-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .sub-hero .eyebrow { max-width: 100%; }
  .sub-hero-visual { min-height: 0; }
  .card-grid, .compare-grid, .evolution-grid, .steps-grid { grid-template-columns: 1fr; }
  .evolution-grid li::after { display: none; }
  .ai-grid { grid-template-columns: 1fr; }
  .faq-content .faq-grid, .faq-content .faq-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .person-photo { height: 420px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .hero { min-height: auto; padding-bottom: 12px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 20px; }
  .trust-item { min-width: 130px; }
  .hero-visual { min-height: 480px; }
  .portrait-frame { inset-inline: 5%; }
  .portrait-orbit { width: 380px; height: 380px; right: 1%; }
  .float-card { min-width: 88px; padding: 10px; font-size: 9px; }
  .float-card.card-1, .float-card.card-2 { left: 0; }
  .float-card.card-3, .float-card.card-4 { right: 0; }
  .portfolio-grid, .process-grid { grid-template-columns: 1fr; }
  .project-preview { min-height: 285px; }
  .process-step { min-height: 210px; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { padding: 40px 23px; border-radius: 23px; }
  .contact-actions { display: grid; }
  .footer-row { flex-direction: column; text-align: center; }
  .sub-hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .sub-hero .hero-actions .button { width: 100%; }
  .photo-card { height: 400px; }
  .photo-card .chip-1 { left: 10px; }
  .photo-card .chip-2 { right: 10px; }
  .question-card { height: 340px; }
  .question-mark { font-size: 190px; }
  .form-card { padding: 24px 20px; }
  .form-card .ww-form-row, .person-facts { grid-template-columns: minmax(0, 1fr); }
  .facts-card { padding: 28px 24px; }
}

/* ---------- Služby s cenou, stránky služeb a případové studie (17. 11. 2026) ---------- */
.service-card p.service-price { margin: -6px 0 14px; color: var(--ink); font-size: 13px; font-weight: 800; }
.service-card.is-minor { background: transparent; border-style: dashed; box-shadow: none; }
.service-card.is-minor .service-icon { background: #ecece6; }
.service-card.is-minor h2 { font-size: 17px; }
.services-strip.is-embedded { padding: 0; background: none; border: 0; }
.services-strip.is-embedded .service-grid { grid-template-columns: repeat(2, 1fr); }
.service-others .section-heading { margin-bottom: 34px; }
.price-card dt { font-size: 28px; }
.service-content { padding-bottom: 20px; }
.service-content .entry-content ul li { margin-bottom: 6px; }
.service-faq { background: var(--paper-warm); border-block: 1px solid #efefe9; }
.service-faq .faq-content .wp-block-details summary { font-weight: 750; }
.entry-content ul.case-facts { margin: 0 0 44px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.entry-content ul.case-facts li { margin: 0; padding: 16px 18px; background: white; border: 1px solid #ecece6; border-radius: var(--radius-sm); font-size: 15px; font-weight: 750; line-height: 1.35; }
.entry-content ul.case-facts strong { display: block; margin-bottom: 4px; color: #74766f; font-size: 12px; font-weight: 700; }
@media (max-width: 860px) {
  .services-strip.is-embedded .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .price-card dt { font-size: 24px; }
  .service-others .section-heading { margin-bottom: 24px; }
}
