/* DTP Studio – doplňky 11/2026. Navazují na šablonu (style.css), který se nemění. */

/* Nadpisy: sémantické h1/h2/h3 se stejným vzhledem jako původní div/span */
:where(h2, h3).cavani_tm_title { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.cavani_tm_home .name { margin-top: 0; text-transform: none; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 24px; }
.cavani_tm_home .job { margin-top: 0; margin-bottom: 18px; }

/* Úvod */
.hero-eyebrow { margin: 0 0 14px; color: #7d7789; font-family: "Poppins"; font-size: 14px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; }
.hero-lead { max-width: 560px; margin: 0 0 30px; color: #555; font-size: 17px; line-height: 1.6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-buttons .cavani_tm_button { width: auto; float: none; clear: none; }
.hero-secondary a { background-color: transparent; color: #333; }
.hero-secondary a:hover { background-color: #333; color: #fff; }

/* Kdo jsem: odstavce a box DTP Workbench */
.cavani_tm_about .biography .wrapper p { margin-bottom: 16px; }
.workbench-box { margin: 26px 0 10px; padding: 20px 22px; border: 1px solid rgba(0,0,0,.1); border-left: 4px solid #333; background: #fff; }
.workbench-box p { margin: 0 0 10px; }
.cavani_tm_about .biography .wrapper .workbench-kicker { margin: 0 0 6px; color: #7d7789; font-family: "Poppins"; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.workbench-link { font-family: "Poppins"; font-weight: 600; color: #333; text-decoration: underline; text-underline-offset: 3px; }
.workbench-link:hover { color: #000; }

/* Kontakt */
.contact-intro { clear: both; max-width: 720px; padding-top: 40px; margin: 0 0 30px; font-size: 16px; line-height: 1.7; }
.cavani_tm_contact .form { margin-bottom: 40px; }
.steps-title { margin: 0 0 14px; font-size: 18px; }
.steps { margin: 0 0 18px; padding-left: 22px; }
.steps li { margin-bottom: 12px; line-height: 1.6; }
.price-note { color: #7d7789; font-size: 14px; }
.kontakt-form label { display: block; margin-bottom: 6px; font-family: "Poppins"; font-size: 14px; font-weight: 500; color: #333; }
.kontakt-form .optional { color: #7d7789; font-weight: 400; }
.kontakt-form input, .kontakt-form select, .kontakt-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(0,0,0,.18); border-radius: 0; background: #fff;
  color: #333; font-family: "Open Sans", sans-serif; font-size: 15px;
}
.cavani_tm_contact .form .fields ul li { margin-bottom: 20px; }
.cavani_tm_contact .form .fields .last textarea { height: 150px; resize: vertical; margin-bottom: 6px; border: 1px solid rgba(0,0,0,.18); background: #fff; }
.kontakt-form input:focus, .kontakt-form select:focus, .kontakt-form textarea:focus,
.cavani_tm_contact .form .fields ul li input:focus, .cavani_tm_contact .form .fields .last textarea:focus { outline: 2px solid #333; outline-offset: 1px; border-color: #333; }
.kontakt-form [aria-invalid="true"] { border-color: #c0392b !important; }
.field-error { display: block; margin-top: 6px; color: #c0392b; font-size: 13px; font-weight: 500; }
.field-error[hidden], .form-msg[hidden] { display: none; }
.kontakt-form .cavani_tm_button { margin-top: 14px; }
.cavani_tm_button button {
  display: inline-block; padding: 13px 38px; border: 2px solid #333; background-color: #333; color: #fff;
  font-family: "Poppins"; font-size: 15px; font-weight: 500; cursor: pointer; transition: all .3s ease;
}
.cavani_tm_button button:hover { background-color: transparent; color: #333; }
.cavani_tm_button button:disabled { opacity: .6; cursor: wait; }
.form-note { clear: both; padding-top: 14px; color: #7d7789; font-size: 13px; }
.form-note a, .cavani_tm_footer .copyright a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-msg { margin: 0 0 16px; padding: 12px 16px; border: 1px solid; font-size: 15px; }
.form-msg.is-ok { border-color: #2e7d32; background: #eef7ee; color: #1b5e20; }
.form-msg.is-err { border-color: #c0392b; background: #fbeeee; color: #8e2a1f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Stránka Ochrana osobních údajů */
.legal-page { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; color: #555; font-family: "Open Sans", sans-serif; line-height: 1.7; }
.legal-page h1 { margin: 0 0 8px; color: #333; font-family: "Poppins"; font-size: clamp(28px, 4vw, 40px); }
.legal-page h2 { margin: 32px 0 8px; color: #333; font-family: "Poppins"; font-size: 20px; }
.legal-page a { color: #333; text-decoration: underline; }
.legal-page .back { display: inline-block; margin-top: 28px; font-family: "Poppins"; font-weight: 600; }

@media (max-width: 1040px) {
  .contact-intro { padding-top: 30px; }
  .cavani_tm_contact .form .right { order: -1; margin-bottom: 30px; } /* na mobilu formulář před popisem spolupráce */
}
@media (max-width: 768px) {
  .cavani_tm_home .job { font-size: 18px; }
  .hero-lead { font-size: 16px; }
  .hero-buttons .cavani_tm_button a { padding: 12px 22px; }
}
