/*
Theme Name: Bděle v těle
Theme URI: http://bdelevtele.test/
Author: Local redesign
Description: Lehká, přístupná šablona pro Bděle v těle.
Version: 1.0.6
Text Domain: bdele-v-tele
*/

:root {
  --bvt-ink: #20312c;
  --bvt-muted: #5c6c66;
  --bvt-forest: #355f50;
  --bvt-forest-dark: #24473c;
  --bvt-sage: #dce8df;
  --bvt-blush: #f3e5e8;
  --bvt-cream: #fbf8f1;
  --bvt-white: #fff;
  --bvt-gold: #b98245;
  --bvt-line: rgba(32, 49, 44, .14);
  --bvt-radius: 1.5rem;
  --bvt-shadow: 0 1.5rem 4rem rgba(38, 67, 57, .12);
  --bvt-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --bvt-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bvt-ink);
  background: var(--bvt-cream);
  font-family: var(--bvt-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bvt-forest-dark); text-underline-offset: .18em; }
a:hover { color: var(--bvt-gold); }
:focus-visible { outline: 3px solid #d08a39; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 9999; padding: .75rem 1rem; color: #fff; background: var(--bvt-forest-dark); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 241, .94); border-bottom: 1px solid var(--bvt-line); backdrop-filter: blur(14px); }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; gap: 1.4rem; }
.site-brand { flex: 0 0 auto; display: grid; color: var(--bvt-ink); text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--bvt-serif); font-size: clamp(1.55rem, 2vw, 2.05rem); font-weight: 600; letter-spacing: -.03em; }
.brand-tagline { margin-top: .42rem; color: var(--bvt-muted); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.primary-navigation { margin-left: auto; }
.primary-navigation ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.primary-navigation li { position: relative; }
.primary-navigation a { display: block; padding: .62rem .72rem; color: var(--bvt-ink); font-size: .88rem; font-weight: 650; text-decoration: none; border-radius: 999px; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--bvt-forest-dark); background: var(--bvt-sage); }
.primary-navigation ul ul { position: absolute; top: 100%; left: 0; min-width: 16rem; display: none; padding: .55rem; background: var(--bvt-white); border: 1px solid var(--bvt-line); border-radius: 1rem; box-shadow: var(--bvt-shadow); }
.primary-navigation li:hover > ul, .primary-navigation li:focus-within > ul { display: block; }
.primary-navigation ul ul a { border-radius: .6rem; }
.menu-toggle { display: none; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center; border: 1px solid var(--bvt-line); border-radius: 999px; color: var(--bvt-ink); background: transparent; font: inherit; }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 1.15rem; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before { position: absolute; top: -.38rem; }
.menu-toggle-lines::after { position: absolute; top: .38rem; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: .72rem 1.18rem; border: 2px solid var(--bvt-forest); border-radius: 999px; color: #fff; background: var(--bvt-forest); font-size: .9rem; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { color: #fff; background: var(--bvt-forest-dark); transform: translateY(-2px); }
.button-secondary { color: var(--bvt-forest-dark); background: transparent; }
.button-secondary:hover { color: #fff; }
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7.5rem) 0; background: linear-gradient(120deg, var(--bvt-sage), #f5eee4 72%); }
.hero::before { position: absolute; width: 28rem; height: 28rem; right: -10rem; top: -12rem; border: 1px solid rgba(53,95,80,.2); border-radius: 50%; content: ""; box-shadow: 0 0 0 4rem rgba(255,255,255,.18), 0 0 0 8rem rgba(255,255,255,.12); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: var(--bvt-forest-dark); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 2rem; height: 1px; background: currentColor; content: ""; }
.hero h1 { max-width: 11ch; margin: 0; font-family: var(--bvt-serif); font-size: clamp(3.25rem, 7.5vw, 6.8rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.hero-copy { max-width: 39rem; margin: 1.6rem 0 0; color: #40524c; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-portrait { position: relative; padding: 1rem; }
.hero-portrait::before { position: absolute; inset: 0 2.8rem 2.8rem 0; background: var(--bvt-blush); border-radius: 48% 52% 38% 62% / 46% 40% 60% 54%; content: ""; transform: rotate(-4deg); }
.hero-portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 48% 52% 42% 58% / 48% 42% 58% 52%; box-shadow: var(--bvt-shadow); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-white { background: var(--bvt-white); }
.section-heading { max-width: 43rem; margin-bottom: 2.5rem; }
.section-heading h2, .entry-header h1, .cta-panel h2 { margin: 0; font-family: var(--bvt-serif); font-size: clamp(2.35rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.section-heading p { margin: 1rem 0 0; color: var(--bvt-muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card { min-height: 19rem; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.25rem); color: var(--bvt-ink); text-decoration: none; border: 1px solid var(--bvt-line); border-radius: var(--bvt-radius); background: var(--bvt-cream); box-shadow: 0 .7rem 2rem rgba(38,67,57,.05); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { color: var(--bvt-ink); border-color: rgba(53,95,80,.3); box-shadow: 0 1rem 2.4rem rgba(38,67,57,.1); transform: translateY(-3px); }
.service-card:hover .text-link { color: var(--bvt-gold); }
.service-number { color: var(--bvt-gold); font-family: var(--bvt-serif); font-size: 1.15rem; }
.service-card h3 { margin: 1rem 0 .8rem; font-family: var(--bvt-serif); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }
.service-card p { margin: 0; color: var(--bvt-muted); font-size: .96rem; }
.text-link { align-self: flex-start; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.service-card .text-link { margin-top: auto; padding-top: 1.25rem; }
.help-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(20rem, 1.14fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.help-visual { position: relative; }
.help-visual img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--bvt-radius); box-shadow: var(--bvt-shadow); }
.help-visual::after { position: absolute; right: -1rem; bottom: -1rem; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--bvt-blush); content: ""; z-index: -1; }
.help-list { margin: 1.7rem 0 0; padding: 0; list-style: none; }
.help-list li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--bvt-line); }
.help-list li::before { position: absolute; left: .1rem; top: 1.18rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--bvt-gold); content: ""; box-shadow: 0 0 0 .35rem rgba(185,130,69,.13); }
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); color: #fff; background: var(--bvt-forest-dark); border-radius: calc(var(--bvt-radius) * 1.25); box-shadow: var(--bvt-shadow); }
.cta-panel p { max-width: 44rem; margin: .9rem 0 0; color: rgba(255,255,255,.78); }
.cta-panel .button { color: var(--bvt-forest-dark); background: #fff; border-color: #fff; }
.cta-panel .button:hover { color: #fff; background: transparent; }
.content-wrap { width: min(820px, calc(100% - 2.5rem)); margin-inline: auto; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.entry-header { margin-bottom: 2.2rem; }
.entry-content > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1040px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--bvt-serif); line-height: 1.15; }
.entry-content h2 { margin-top: 2.5rem; font-size: clamp(2rem, 4vw, 3rem); }
.entry-content h3 { margin-top: 2rem; font-size: 1.7rem; }
.entry-content p, .entry-content li { color: #384a44; }
.entry-content img { border-radius: 1rem; }
.entry-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.entry-content textarea,
.entry-content select {
  width: 100%;
  padding: .85rem 1rem;
  color: var(--bvt-ink);
  background: #fff;
  border: 1px solid rgba(32,49,44,.28);
  border-radius: .7rem;
  font: inherit;
}
.entry-content textarea { min-height: 10rem; resize: vertical; }
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus { border-color: var(--bvt-forest); box-shadow: 0 0 0 4px rgba(53,95,80,.12); }
.entry-content button[type="submit"],
.entry-content input[type="submit"] {
  min-height: 2.9rem;
  padding: .72rem 1.3rem;
  color: #fff;
  background: var(--bvt-forest);
  border: 2px solid var(--bvt-forest);
  border-radius: 999px;
  font: 750 .95rem/1 var(--bvt-sans);
  cursor: pointer;
}
.entry-content button[type="submit"]:hover,
.entry-content input[type="submit"]:hover { background: var(--bvt-forest-dark); }
.bvt-contact-section { max-width: 720px; margin: 4rem auto 0; padding-top: 3rem; border-top: 1px solid var(--bvt-line); }
.bvt-contact-section h2 { margin: 0; }
.bvt-contact-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.form-field { display: grid; gap: .45rem; }
.form-field > label { font-weight: 750; }
.form-field--check { grid-template-columns: 1.35rem 1fr; align-items: start; }
.form-field--check input { width: 1.25rem; height: 1.25rem; margin: .25rem 0 0; accent-color: var(--bvt-forest); }
.form-field--check .field-error { grid-column: 2; }
.field-error { color: #8e2929; font-size: .9rem; font-weight: 700; }
.bvt-contact-form input[aria-invalid="true"]:not([type="checkbox"]),
.bvt-contact-form textarea[aria-invalid="true"] { border-color: #a63a3a; box-shadow: 0 0 0 4px rgba(166,58,58,.12); }
.bvt-contact-form input[type="checkbox"][aria-invalid="true"] { outline: 2px solid #a63a3a; outline-offset: 3px; }
.contact-notice { margin: 1.5rem 0; padding: 1rem 1.15rem; border: 1px solid; border-radius: .8rem; }
.contact-notice ul { margin: .65rem 0 0; }
.contact-notice--success { color: #184e3b; background: #e2f2e9; border-color: #78a58f; }
.contact-notice--error { color: #762020; background: #fae9e7; border-color: #cb817a; }
.bvt-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.site-footer { padding: 3rem 0; color: rgba(255,255,255,.8); background: #172720; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand { color: #fff; font-family: var(--bvt-serif); font-size: 1.6rem; }
.footer-meta { margin: .35rem 0 0; font-size: .86rem; }
.footer-contact { color: #fff; font-weight: 750; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .primary-navigation { position: absolute; left: 1.25rem; right: 1.25rem; top: calc(100% + .6rem); display: none; margin: 0; padding: .75rem; background: var(--bvt-white); border: 1px solid var(--bvt-line); border-radius: 1rem; box-shadow: var(--bvt-shadow); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: block; }
  .primary-navigation a { padding: .75rem; }
  .primary-navigation ul ul { position: static; display: block; padding: 0 0 0 1rem; border: 0; box-shadow: none; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 2rem; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 15rem; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .site-shell { width: min(100% - 1.5rem, 1180px); }
  .brand-tagline { display: none; }
  .hero { padding-top: 3rem; }
  .hero-grid, .help-grid, .cta-panel { grid-template-columns: 1fr; }
  .hero h1 { max-width: 10ch; }
  .hero-portrait { width: min(82%, 26rem); margin-inline: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 16rem; }
  .cta-panel { text-align: left; }
  .cta-panel .button { justify-self: start; }
  .footer-inner { display: block; }
  .footer-contact { display: inline-block; margin-top: 1.2rem; }
}

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