:root {
  --navy: #102737;
  --navy-soft: #1d3948;
  --gold: #c7aa69;
  --gold-dark: #80632e;
  --cream: #f7f4ed;
  --ink: #253641;
  --muted: #5f655f;
  --line: #e6e0d4;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.15; letter-spacing: -.035em; color: var(--navy); }
h1 { font-size: clamp(44px, 4.5vw, 64px); margin-bottom: 20px; }
h2 { font-size: clamp(34px, 3vw, 44px); margin-bottom: 18px; }
h3 { font-size: 21px; line-height: 1.35; font-weight: 600; }
em { font-style: normal; color: var(--gold); }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { color: var(--navy); text-decoration: none; font: 700 22px/1.1 Georgia, serif; white-space: nowrap; }
.brand span { display: block; font: 600 10px/1.8 system-ui, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark); }
.site-header nav { display: flex; align-items: center; gap: 19px; margin-left: auto; }
.site-header nav a, .cart-link { font-size: 13px; font-weight: 500; text-decoration: none; }
.site-header nav a:hover { color: var(--gold-dark); }
.cart-link { border-left: 1px solid var(--line); padding-left: 18px; }
.header-phone { flex-shrink: 0; background: var(--gold); color: var(--navy); border-radius: 30px; padding: 10px 16px; font-size: 13px; font-weight: 700; text-decoration: none; }
.hero-shell { position: relative; isolation: isolate; background: var(--navy); }
.hero { position: static; min-height: 536px; display: flex; align-items: center; padding-block: 52px; }
.hero-image { position: absolute; z-index: -2; inset: 0; }
.hero-image .photo { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; object-fit: cover; object-position: center top; }
.hero-shell::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(9,29,43,.98) 0%, rgba(9,29,43,.90) 29%, rgba(9,29,43,.60) 47%, rgba(9,29,43,.05) 75%); }
.hero-copy { width: 51%; max-width: 570px; }
.hero h1 { color: #fffdf7; }
.eyebrow { color: var(--gold-dark); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .17em; margin-bottom: 16px; }
.hero .eyebrow { color: #ddc58e; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 660px; }
.hero .lead { color: #f0eee6; max-width: 475px; font-size: 17px; line-height: 1.65; margin-bottom: 25px; }
.button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { display: inline-block; border: 0; border-radius: 30px; background: var(--navy); color: #fff; padding: 13px 22px; font: 600 15px/1.5 system-ui, sans-serif; text-align: center; text-decoration: none; white-space: normal; cursor: pointer; transition: background .15s ease; }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--navy-soft); color: #fff; }
.button-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.button-gold:hover, .header-phone:hover { background: #dbc18a; color: var(--navy); }
.trust { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 30px; color: #f3efe4; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.trust span::before { content: '✓'; color: #e0c688; margin-right: 6px; }
.photo { display: block; width: 100%; object-fit: cover; aspect-ratio: 3/2; border-radius: var(--radius); }
.section { padding-block: 64px; }
.cream { background: var(--cream); }
.section-intro { max-width: 660px; margin-bottom: 0; }
.services-intro { display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: center; margin-bottom: 26px; }
.services-intro .lead { max-width: 440px; margin-bottom: 0; }
.services-image .photo { aspect-ratio: 2.15/1; object-position: center 43%; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.service-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 5px 16px #10273706; }
.service-card .photo { aspect-ratio: 1.85/1; border-radius: 0; }
.service-card > div { padding: 17px 18px 20px; }
.service-card h3 { font: 400 21px/1.25 Georgia, serif; margin-bottom: 10px; color: var(--navy); }
.service-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 0; }
.programs-section { background: var(--navy); color: #e6e3db; }
.programs-section h2 { color: #fffdf7; }
.programs-section .eyebrow { color: #ddc58e; }
.products-grid { display: grid; gap: 22px; margin-top: 28px; }
.programs { grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; }
.product-card { min-width: 0; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; box-shadow: 0 8px 22px #10273708; }
.product-card h3 { margin-bottom: 12px; color: var(--navy); }
.product-card h3 a { text-decoration: none; }
.programs .product-card { border-top: 3px solid #dcd2bc; }
.programs .product-card:nth-child(3) { border-color: var(--gold); background: #faf4e5; box-shadow: 0 0 0 1px var(--gold), 0 10px 24px #00000014; }
.programs .product-card h3 { font-size: 16px; font-weight: 700; letter-spacing: .16em; }
.price { color: var(--navy); font: 44px/1.1 Georgia, serif; margin: 3px 0 12px; }
.price del { display: block; color: var(--muted); font: 20px/1.4 Georgia, serif; margin-bottom: 5px; }
.price ins { color: var(--navy); text-decoration: none; font-weight: 400; }
.price small { display: block; color: var(--muted); font: 14px/1.5 system-ui, sans-serif; margin-top: 5px; }
.sale-note { align-self: flex-start; color: #715523; background: #eee4ca; border-radius: 5px; font-size: 12px; padding: 5px 9px; margin-bottom: 18px; }
.description { color: var(--muted); font-size: 15px; line-height: 1.6; }
.description strong { color: var(--navy); }
.description p { margin-bottom: 12px; }
.visit-count { border-top: 1px solid var(--line); padding-top: 16px; }
.description .visit-count strong { font-size: 18px; }
.description ul { padding-left: 20px; }
.description li { margin-bottom: 7px; }
.product-card form { margin-top: auto; padding-top: 20px; }
.product-card form .button { width: 100%; }
.programs .product-card:nth-child(3) .button { background: var(--gold); color: var(--navy); }
.programs .product-card:nth-child(3) .button:hover { background: #dbc18a; }
.product-card > .button { margin-top: 20px; }
.program-details { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.program-details summary { color: var(--navy); cursor: pointer; font-weight: 600; line-height: 1.5; }
.program-details > div { padding-top: 14px; }
.program-details ul { padding-left: 20px; }
.program-details li { margin-bottom: 7px; }
.extras-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 24px; margin-top: 28px; }
.extras-section { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fffdf8; }
.extras-heading { display: flex; align-items: flex-start; gap: 13px; }
.group-mark { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--gold-dark); background: #f1e8d4; font: 18px Georgia, serif; }
.extras-heading h3 { font: 400 28px/1.2 Georgia, serif; color: var(--navy); margin-bottom: 10px; }
.extras-heading p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.audience-note { font-size: 13px; line-height: 1.55; color: #715523; margin: 0 0 12px; }
.client-extras, .oneoff-extras { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.client-extras .product-card, .oneoff-extras .product-card { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 16px; padding: 22px 0 0; margin-top: 16px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.client-extras h3, .oneoff-extras h3 { font-size: 17px; line-height: 1.45; margin-bottom: 8px; }
.client-extras .price, .oneoff-extras .price { font-size: 31px; text-align: right; margin: 0; }
.client-extras .price small, .oneoff-extras .price small { font-size: 12px; }
.client-extras .description, .oneoff-extras .description { grid-column: 1/-1; font-size: 14px; }
.client-extras form, .oneoff-extras form { grid-column: 1/-1; padding-top: 8px; }
.client-extras form .button, .oneoff-extras form .button { width: auto; padding: 10px 18px; font-size: 14px; }
.family { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.family .photo { aspect-ratio: 1.25/1; object-position: 46% center; }
.values { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 16px; margin-block: 24px; }
.values li::before { content: '✓'; color: var(--gold-dark); padding-right: 9px; }
.family-note { border-left: 3px solid var(--gold); padding: 20px 24px; background: var(--cream); border-radius: 0 12px 12px 0; }
.family-note h3 { font: 400 23px/1.3 Georgia, serif; margin-bottom: 10px; }
.family-note p { font-size: 16px; margin: 0; }
.important { background: var(--navy); color: #e6e3db; }
.important .eyebrow { color: #ddc58e; }
.important h2 { color: #fffdf7; font-size: clamp(32px, 3vw, 42px); }
.narrow { max-width: 720px; }
.important p:last-child { font-size: 17px; line-height: 1.75; margin: 0; }
.contact { text-align: center; }
.contact h2 { max-width: 720px; margin-inline: auto; }
.contact .button { margin-top: 6px; }
.contact p:last-child { color: var(--muted); margin: 18px 0 0; font-size: 16px; }
.site-footer { background: var(--navy); color: #e6e3db; padding-block: 30px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer .brand { color: #fffdf7; }
.site-footer .brand span { color: #ddc58e; }
.site-footer p { margin: 10px 0 0; }
.site-footer a:hover { color: #e0c688; }
.content-page { padding-block: 44px; min-height: 55vh; }
.content-page h1 { font-size: 42px; max-width: 720px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { display: block; padding: 15px; background: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 4px; }
.hero a:focus-visible, .programs-section a:focus-visible, .programs-section button:focus-visible, .important a:focus-visible, .site-footer a:focus-visible { outline-color: #e0c688; }
input, select, textarea { font: inherit; max-width: 100%; padding: 12px; border: 1px solid #858780; border-radius: 6px; }
.woocommerce ul.products li.product .price { font: 24px Georgia, serif; color: var(--navy); }
.woocommerce div.product p.price { color: var(--navy); }
.woocommerce div.product p.price del { font-size: 22px; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce table.shop_table { border-radius: 12px; }
.woocommerce form .form-row input.input-text { padding: 12px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--gold-dark); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold-dark); }
.hcpp-product-note { color: var(--muted); font-size: 15px; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
@media (max-width: 1080px) {
  .header-inner { gap: 16px; flex-wrap: wrap; padding-block: 13px; min-height: 72px; }
  .site-header nav { order: 3; width: 100%; justify-content: center; margin: 0; flex-wrap: wrap; gap: 10px 22px; }
  .cart-link { margin-left: auto; }
  .hero-copy { width: 58%; }
  .hero { min-height: 510px; }
  .services-intro, .family { gap: 32px; }
  .product-card { padding: 23px; }
  .extras-section { padding: 21px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero-copy { width: 64%; }
  .hero h1 { font-size: 45px; }
  .hero .lead { font-size: 16px; }
  .hero-shell::after { background: linear-gradient(90deg, rgba(9,29,43,.96), rgba(9,29,43,.78) 49%, rgba(9,29,43,.10)); }
  .section { padding-block: 50px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .programs { grid-template-columns: 1fr; gap: 20px; }
  .programs .product-card { padding: 26px; }
  .price { font-size: 39px; }
  .programs .description, .program-details { font-size: 14px; }
  .sale-note { font-size: 11px; padding: 5px 7px; }
  .extras-groups { gap: 18px; }
  .extras-heading h3 { font-size: 25px; }
  .values { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; padding-block: 12px; }
  .brand { font-size: 21px; }
  .header-phone { padding: 9px 12px; font-size: 12px; }
  .cart-link { font-size: 12px; padding-left: 10px; }
  .site-header nav { justify-content: flex-start; gap: 8px 17px; }
  .site-header nav a { font-size: 13px; }
  .hero { display: block; width: 100%; min-height: 0; padding: 34px 0 0; }
  .hero-copy { width: auto; max-width: none; padding-inline: 20px; }
  .hero h1 { font-size: clamp(36px, 9vw, 48px); letter-spacing: -.04em; }
  .hero .lead { font-size: 16px; max-width: 470px; }
  .hero-image { position: relative; z-index: 0; height: 275px; margin-top: 20px; }
  .hero-image .photo { object-position: 74% 38%; }
  .hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy), transparent 32%); }
  .hero-shell::after { display: none; }
  .trust { gap: 10px 14px; font-size: 9px; margin-top: 24px; }
  .section { padding-block: 42px; }
  h2 { font-size: 34px; }
  .lead { font-size: 17px; }
  .services-intro, .family { grid-template-columns: 1fr; gap: 24px; }
  .services-intro { margin-bottom: 20px; }
  .services-intro h2 br { display: none; }
  .services-image .photo { aspect-ratio: 1.8/1; }
  .service-grid { gap: 14px; }
  .service-card > div { padding: 14px; }
  .service-card h3 { font-size: 20px; }
  .service-card p { font-size: 14px; }
  .service-card .photo { aspect-ratio: 1.4/1; }
  .programs { grid-template-columns: 1fr; gap: 20px; }
  .programs .product-card { padding: 26px; }
  .programs .description { font-size: 15px; }
  .price { font-size: 44px; }
  .sale-note { font-size: 12px; padding: 5px 9px; }
  .extras-groups { grid-template-columns: 1fr; }
  .extras-section { padding: 22px; }
  .extras-heading h3 { font-size: 27px; }
  .values { grid-template-columns: 1fr 1fr; font-size: 15px; }
  .family .photo { aspect-ratio: 1.6/1; }
  .family-note { padding: 18px 20px; }
  .important p:last-child { font-size: 16px; }
  .contact h2 br { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .content-page h1 { font-size: 34px; }
  .woocommerce table.shop_table { font-size: 14px; }
}
@media (max-width: 380px) {
  .header-phone { padding-inline: 10px; }
  .header-inner { gap: 10px; }
  .brand { font-size: 19px; }
  .cart-link { border: 0; padding: 0; }
  .values { grid-template-columns: 1fr; }
  .hero-image { height: 240px; }
  .extras-section { padding: 18px; }
}
@media (max-width: 340px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card .photo { aspect-ratio: 1.9/1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Shared visit comparison: every rule is limited to the extras section. */
#doplnkove { padding-block: 48px; }
#doplnkove h2 { max-width: 960px; font-size: clamp(28px, 2.5vw, 36px); margin-bottom: 12px; }
#doplnkove .hcpp-extras-intro { max-width: 800px; color: var(--muted); font-size: 16px; margin-bottom: 22px; }
#doplnkove .hcpp-visit-cards { display: grid; gap: 18px; }
#doplnkove .hcpp-visit-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.8fr); gap: 24px; padding: 18px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; box-shadow: 0 5px 16px #10273706; }
#doplnkove .hcpp-visit-summary { align-self: center; min-width: 0; }
#doplnkove .hcpp-visit-summary h3 { font: 400 27px/1.25 Georgia, serif; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: -.025em; }
#doplnkove .hcpp-visit-summary p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
#doplnkove .hcpp-visit-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#doplnkove .hcpp-visit-rate { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 0 24px; }
#doplnkove .hcpp-visit-rate-client { border-inline: 1px solid var(--line); background: linear-gradient(90deg, #f7f0df80, transparent); }
#doplnkove .hcpp-rate-eyebrow { min-height: 15px; color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; margin-bottom: 6px; }
#doplnkove .hcpp-visit-rate-client .hcpp-rate-eyebrow { color: var(--gold-dark); }
#doplnkove .hcpp-rate-audience { color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
#doplnkove .hcpp-rate-context { color: var(--muted); font-size: 12px; line-height: 1.5; margin-bottom: 8px; }
#doplnkove .hcpp-visit-price { color: var(--navy); font: 36px/1.2 Georgia, serif; margin-bottom: 12px; }
#doplnkove .hcpp-visit-rate-client .hcpp-visit-price { color: var(--gold-dark); }
#doplnkove .hcpp-visit-price ins { text-decoration: none; }
#doplnkove .hcpp-visit-price del { display: block; font-size: 20px; color: var(--muted); }
#doplnkove .hcpp-visit-rate form, #doplnkove .hcpp-visit-rate > .button { margin-top: auto; }
#doplnkove .hcpp-visit-rate .button { padding: 10px 18px; font-size: 14px; }
#doplnkove .hcpp-visit-rate-client .button { background: var(--gold); color: var(--navy); }
#doplnkove .hcpp-visit-rate-client .button:hover { background: #dbc18a; }
#doplnkove .hcpp-rate-unavailable { color: var(--muted); font-size: 14px; margin: 8px 0; }
#doplnkove .hcpp-visit-scope { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
#doplnkove .hcpp-visit-scope h3 { color: var(--navy); font: 400 23px/1.3 Georgia, serif; margin-bottom: 8px; }
#doplnkove .hcpp-visit-scope p { max-width: 900px; color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
#doplnkove .hcpp-visit-scope .hcpp-visit-eligibility { font-size: 13px; margin: 0; }
@media (max-width: 950px) {
  #doplnkove .hcpp-visit-card { grid-template-columns: 1fr; gap: 18px; }
  #doplnkove .hcpp-visit-summary h3 { font-size: 24px; margin-bottom: 6px; }
  #doplnkove .hcpp-visit-rate-client { border-left: 0; }
  #doplnkove .hcpp-visit-rate { padding-inline: 20px; }
}
@media (max-width: 600px) {
  #doplnkove { padding-block: 32px; }
  #doplnkove .hcpp-extras-intro { font-size: 16px; }
  #doplnkove .hcpp-visit-card { padding: 20px; gap: 14px; }
  #doplnkove .hcpp-visit-rates { grid-template-columns: 1fr; }
  #doplnkove .hcpp-visit-rate { padding: 16px 0; }
  #doplnkove .hcpp-visit-rate-client { border: 0; border-bottom: 1px solid var(--line); background: none; }
  #doplnkove .hcpp-visit-rate:last-child { padding-bottom: 0; }
  #doplnkove .hcpp-rate-eyebrow { min-height: 0; margin-bottom: 6px; }
  #doplnkove .hcpp-rate-context { margin-bottom: 9px; }
  #doplnkove .hcpp-visit-price { font-size: 34px; margin-bottom: 12px; }
}

/* WordPress Custom Logo: header branding only. */
.site-header .site-branding { flex: 0 1 auto; min-width: 0; }
.site-header .custom-logo-link { display: flex; align-items: center; text-decoration: none; }
.site-header .custom-logo { display: block; width: auto; height: auto; max-width: 220px; max-height: 52px; object-fit: contain; }
@media (max-width: 640px) {
  .site-header .custom-logo { max-width: 140px; max-height: 40px; }
}
@media (max-width: 380px) {
  .site-header .custom-logo { max-width: 120px; max-height: 36px; }
}
@media (max-width: 340px) {
  .site-header .custom-logo { max-width: 96px; max-height: 34px; }
}

/* Brand signature: reuses the selected Custom Logo only in the closing CTA. */
#kontakt .hcpp-brand-signature { width: 340px; max-width: calc(100% - 40px); margin: 24px auto 0; line-height: 0; }
#kontakt .hcpp-brand-signature .custom-logo-link { display: block; width: 100%; }
#kontakt .hcpp-brand-signature .custom-logo { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 640px) {
  #kontakt .hcpp-brand-signature { width: 240px; margin-top: 20px; }
}
