:root {
  --ink: #153b35;
  --muted: #506762;
  --green: #1c6750;
  --deep: #114638;
  --mint: #e9f6ef;
  --orange: #f15b35;
  --cream: #fff8ef;
  --line: #d8e5df;
  --blue: #397bc0;
  --blue-deep: #17364f;
  --blue-soft: #edf5fc;
  --shadow: 0 24px 65px rgba(15, 61, 48, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 104px 0; }
.kicker {
  margin: 0 0 17px;
  color: #d84925;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.037em;
  line-height: 1.06;
}
h2 { font-size: clamp(38px, 4vw, 58px); }

.topbar { background: var(--deep); color: #dcebe5; font-size: 12px; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-inner span:last-child { display: flex; align-items: center; gap: 8px; }
.topbar i { opacity: 0.55; font-style: normal; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; }
.brand img { width: 184px; }
.desktop-nav { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 700; }
.desktop-nav > a:not(.call):not(.medisan-nav) { padding: 33px 0; }
.desktop-nav > a:hover, .desktop-nav > a.active { color: var(--orange); }
.desktop-nav > a.active { box-shadow: inset 0 -2px var(--orange); }
.call {
  padding: 13px 19px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--mint);
  white-space: nowrap;
}
.medisan-nav {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 15px;
  border: 1px solid #8aadd4;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fbff, #eaf3fc);
  color: #235f9d !important;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(35, 95, 157, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.medisan-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(35, 95, 157, 0.17); }
.mobile-menu { display: none; position: relative; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
  background: linear-gradient(115deg, #edf8f2, #dceee5);
}
.page-hero::after {
  position: absolute;
  right: -90px;
  bottom: -190px;
  width: 340px;
  height: 340px;
  border: 58px solid rgba(241, 91, 53, 0.14);
  border-radius: 50%;
  content: "";
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(50px, 6vw, 76px); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.breadcrumbs strong { color: var(--deep); }

.services-lead { padding-bottom: 76px; }
.services-lead-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
.services-lead-grid > div:last-child > p { margin: 5px 0 25px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.lead-note { display: flex; gap: 22px; padding: 20px 22px; border-left: 4px solid var(--orange); background: var(--cream); }
.lead-note strong { min-width: 190px; font-size: 12px; line-height: 1.55; }
.lead-note span { color: var(--muted); font-size: 12px; line-height: 1.65; }

.offer-section { padding: 92px 0 108px; background: #f3f8f5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 46px; }
.section-heading > p { max-width: 460px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { overflow: hidden; background: #fff; box-shadow: 0 14px 45px rgba(17, 63, 50, 0.07); transition: transform 0.23s ease, box-shadow 0.23s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-image { position: relative; height: 286px; overflow: hidden; background: #eaf3ef; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-image img { transform: scale(1.04); }
.service-image span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-family: Georgia, serif;
  font-size: 18px;
}
.service-body { padding: 30px; }
.service-body h3 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.25; }
.service-body p { min-height: 94px; margin: 17px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-body b { color: var(--deep); font-size: 13px; }

.medisan-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.45fr);
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #c8dced;
  background: radial-gradient(circle at 88% 10%, rgba(118, 166, 218, 0.18), transparent 34%), linear-gradient(135deg, #fff 0%, #f4f9fe 55%, #eaf3fc 100%);
  color: var(--blue-deep);
  box-shadow: 0 16px 45px rgba(30, 77, 120, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.medisan-card:hover { transform: translateY(-5px); border-color: #84acd3; box-shadow: 0 24px 58px rgba(30, 77, 120, 0.18); }
.medisan-image { position: relative; min-height: 390px; overflow: hidden; background: #fff; }
.medisan-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(244,249,254,.72)); content: ""; }
.medisan-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.medisan-card:hover .medisan-image img { transform: scale(1.035); }
.medisan-image > span {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-family: Georgia, serif;
  font-size: 18px;
  box-shadow: 0 10px 26px rgba(31,87,144,.24);
}
.medisan-copy { align-self: center; padding: 42px 48px; }
.medisan-mark { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.medisan-mark img { width: 122px; height: auto; }
.medisan-mark > span { padding: 7px 10px; border: 1px solid #c5d9eb; color: #5f7890; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.medisan-eyebrow { margin: 0 0 12px !important; color: var(--blue) !important; font-size: 11px !important; font-weight: 850; letter-spacing: .13em; line-height: 1.55 !important; text-transform: uppercase; }
.medisan-copy h3 { max-width: 700px; margin: 0; color: var(--blue-deep); font-family: Georgia, serif; font-size: clamp(31px, 3vw, 44px); font-weight: 500; line-height: 1.12; }
.medisan-copy > p:not(.medisan-eyebrow) { max-width: 700px; margin: 19px 0 23px; color: #4d6578; font-size: 15px; line-height: 1.72; }
.medisan-action b { display: block; color: #2f72b9; font-size: 13px; letter-spacing: .04em; }
.medisan-action small { display: block; margin-top: 7px; color: #6d8191; font-size: 11px; }
.medisan-boundary { margin: 14px 0 0; color: #6d8191; font-size: 11px; line-height: 1.6; }

.detail-section { background: #fff; }
.detail-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 80px; margin-bottom: 46px; }
.detail-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-grid article { min-height: 460px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-grid article > span { color: var(--orange); font-family: Georgia, serif; font-size: 17px; }
.detail-grid h3 { margin: 56px 0 14px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; line-height: 1.25; }
.detail-grid p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.detail-grid ul { margin: 25px 0 0; padding: 0; list-style: none; }
.detail-grid li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid #edf2ef; color: var(--muted); font-size: 12px; line-height: 1.55; }
.detail-grid li::before { position: absolute; left: 0; color: var(--orange); font-weight: 800; content: "✓"; }

.final-cta { padding: 80px 0; color: #fff; background: var(--orange); }
.final-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.pale { color: #ffe0d6; }
.final-cta h2 { max-width: 760px; }
.final-cta p:last-child { max-width: 730px; margin: 22px 0 0; color: #ffe3da; font-size: 15px; line-height: 1.7; }
.final-actions { display: flex; min-width: 250px; flex-direction: column; gap: 10px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; text-align: center; }
.btn.light { color: var(--deep); background: var(--cream); }
.outline-light { border-color: rgba(255,255,255,.7); color: #fff; }

footer { padding: 76px 0 28px; color: #fff; background: #0c3027; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 60px; }
.footer-brand img { width: 190px; padding: 10px; background: #fff; }
.footer-brand p { max-width: 330px; color: #a9c0b7; font-size: 13px; line-height: 1.7; }
.footer-grid h3 { margin: 0 0 20px; color: #f3a087; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #bed1ca; font-size: 13px; }
.copyright { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); color: #78968b; font-size: 11px; }

@media (max-width: 1160px) {
  .desktop-nav { gap: 13px; font-size: 12px; }
  .desktop-nav .medisan-nav { padding-inline: 12px; }
  .desktop-nav .call { padding-inline: 15px; }
}

@media (max-width: 1000px) {
  .topbar { display: none; }
  .nav-shell { min-height: 74px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; color: var(--deep); font-weight: 800; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    position: absolute;
    top: 50px;
    right: -24px;
    display: flex;
    width: min(360px, calc(100vw - 30px));
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .mobile-menu nav > a:not(.call):not(.medisan-nav) { padding: 10px 0; font-size: 14px; font-weight: 700; }
  .mobile-menu .medisan-nav { margin: 6px 0; }
  .mobile-menu .call { text-align: center; }
  .services-lead-grid, .detail-heading, .final-grid { grid-template-columns: 1fr; gap: 44px; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; }
  .service-card:last-child .service-body { align-self: center; }
  .medisan-card { grid-template-columns: .9fr 1.1fr; }
  .medisan-copy { padding: 34px 32px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid article { min-height: 0; }
  .final-actions { min-width: 0; flex-direction: row; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(1180px, calc(100% - 30px)); }
  .section { padding: 74px 0; }
  .brand img { width: 156px; }
  .page-hero { padding: 68px 0 58px; }
  .page-hero h1 { font-size: 46px; }
  h2 { font-size: clamp(32px, 10vw, 42px); line-height: 1.12; }
  .services-lead { padding-bottom: 52px; }
  .lead-note { flex-direction: column; }
  .lead-note strong { min-width: 0; }
  .offer-section { padding: 72px 0 80px; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p { margin-top: 20px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; display: block; }
  .service-image { height: 270px; }
  .service-body p { min-height: 0; }
  .medisan-card { grid-template-columns: 1fr; margin-top: 22px; }
  .medisan-image { min-height: 0; height: 280px; }
  .medisan-image::after { background: linear-gradient(0deg, rgba(244,249,254,.75), transparent 30%); }
  .medisan-copy { padding: 30px 23px 34px; }
  .medisan-mark { align-items: flex-start; flex-direction: column; gap: 12px; }
  .medisan-copy h3 { font-size: 31px; }
  .detail-grid h3 { margin-top: 28px; }
  .final-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .copyright { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Bezpečný kontaktný formulár – pracovný náhľad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-preview-hero {
  padding: 62px 0 76px;
  background:
    radial-gradient(circle at 90% 10%, rgba(241, 91, 53, .14), transparent 30%),
    linear-gradient(115deg, #f4faf7, #e2f0e9);
}

.contact-preview-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 90px;
  margin-top: 54px;
}

.contact-preview-heading h1 {
  max-width: 800px;
  font-size: clamp(50px, 6vw, 78px);
}

.contact-preview-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.contact-preview-content {
  padding: 96px 0 112px;
  background: #f7faf8;
}

.contact-preview-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: 78px;
  align-items: start;
}

.contact-assurance {
  position: sticky;
  top: 122px;
}

.contact-assurance h2,
.contact-form-heading h2 {
  font-size: clamp(35px, 4vw, 52px);
}

.contact-assurance ol {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-assurance li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-assurance li > span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 15px;
}

.contact-assurance li strong {
  color: var(--deep);
  font-size: 14px;
}

.contact-assurance li p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-top: 30px;
  padding: 24px;
  color: #fff;
  background: var(--deep);
}

.contact-direct small {
  margin-bottom: 7px;
  color: #b8cec6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact-direct a:first-of-type {
  font-family: Georgia, serif;
  font-size: 23px;
}

.contact-direct a:last-of-type {
  color: #cce1d9;
  font-size: 13px;
}

.contact-form-panel {
  padding: 48px;
  border: 1px solid #d5e4dd;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 61, 48, .1);
}

.contact-form-heading {
  margin-bottom: 36px;
}

.contact-form-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.secure-contact-form {
  position: relative;
}

.form-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px 11px;
  border: 1px solid #f0bdad;
  border-radius: 999px;
  color: #a33b20;
  background: #fff5f1;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
}

.form-preview-label span {
  color: var(--orange);
  font-size: 7px;
}

.form-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field,
.phone-fieldset {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.form-field label,
.phone-fieldset legend {
  margin: 0;
  color: var(--deep);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
}

.form-field input,
.form-field select,
.form-field textarea,
.country-control select,
.national-number-control {
  width: 100%;
  border: 1px solid #c8d9d1;
  border-radius: 4px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-field input,
.form-field select,
.country-control select {
  min-height: 52px;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.country-control select:focus,
.national-number-control:focus-within {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(28, 103, 80, .11);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.phone-input-grid:has(input[aria-invalid="true"]) .national-number-control {
  border-color: #c63d2c;
}

.field-help {
  color: #70837c;
  font-size: 10px;
  line-height: 1.5;
}

.field-error {
  display: block;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.phone-input-grid {
  display: grid;
  grid-template-columns: minmax(210px, .92fr) minmax(220px, 1.08fr);
  gap: 10px;
}

.country-control select {
  overflow: hidden;
  text-overflow: ellipsis;
}

.national-number-control {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
}

.national-number-control > span {
  padding: 0 12px 0 14px;
  border-right: 1px solid #d8e5df;
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.national-number-control input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
  outline: none;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 2px;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  line-height: 1.6;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.consent-field a {
  color: var(--deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.turnstile-row {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 18px;
  color: #70837c;
  font-size: 10px;
}

.secure-submit {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--orange);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  transition: background .18s ease, transform .18s ease;
}

.secure-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #d84925;
}

.secure-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.secure-submit span {
  font-size: 18px;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 15px 16px;
  border-left: 3px solid transparent;
  font-size: 11px;
  line-height: 1.55;
}

.form-status strong,
.form-status span {
  display: block;
}

.form-status span {
  margin-top: 5px;
}

.form-status.sending {
  display: block;
  border-color: #88a9c9;
  color: #315f86;
  background: #eef6fc;
}

.form-status.success {
  display: block;
  border-color: var(--green);
  color: var(--deep);
  background: var(--mint);
}

.form-status.error {
  display: block;
  border-color: #c63d2c;
  color: #8c281b;
  background: #fff1ed;
}

.contact-preview-boundary {
  padding: 35px 0;
  color: #24483f;
  background: #e9f2ee;
}

.contact-preview-boundary .shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 42px;
  align-items: start;
}

.contact-preview-boundary strong {
  font-size: 12px;
}

.contact-preview-boundary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .contact-preview-heading,
  .contact-preview-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-assurance {
    position: static;
  }

  .contact-assurance ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid var(--line);
  }

  .contact-assurance li {
    padding: 22px;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .contact-preview-hero {
    padding: 46px 0 58px;
  }

  .contact-preview-heading {
    margin-top: 38px;
  }

  .contact-preview-heading h1 {
    font-size: 46px;
  }

  .contact-preview-content {
    padding: 70px 0 82px;
  }

  .contact-assurance ol,
  .form-two-columns,
  .phone-input-grid,
  .contact-preview-boundary .shell {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 30px 20px;
  }

  .contact-preview-boundary .shell {
    gap: 10px;
  }

  .turnstile-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* PSOgram NEXT – pracovný viacstránkový náhľad */
.psogram-nav { gap: 27px; }

.psogram-home-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background:
    radial-gradient(circle at 92% 8%, rgba(241, 91, 53, .13), transparent 28%),
    linear-gradient(115deg, #f5faf7 0%, #e5f2ec 56%, #d7e9e1 100%);
}
.psogram-home-hero::after {
  position: absolute;
  right: -80px;
  bottom: -210px;
  width: 390px;
  height: 390px;
  border: 62px solid rgba(18, 88, 68, .08);
  border-radius: 50%;
  content: "";
}
.psogram-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 74px;
}
.psogram-home-image {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  border-radius: 2px;
  background: #dcebe5;
  box-shadow: 0 30px 70px rgba(13, 62, 48, .16);
}
.psogram-home-image::after {
  content: none;
}
.dual-path-visual {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  background: #f4f7f5;
}
.clinical-path {
  position: relative;
  overflow: hidden;
  min-width: 0;
  color: #fff;
  background: #cddbd5;
  isolation: isolate;
}
.clinical-path img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .35s ease;
}
.active-path img { object-position: 51% center; }
.chronic-path img { object-position: 50% center; }
.path-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 40, 33, .04) 28%, rgba(8, 39, 31, .82) 100%);
  transition: background .35s ease;
}
.active-path .path-shade {
  background: linear-gradient(180deg, rgba(77, 35, 22, .03) 28%, rgba(70, 29, 17, .82) 100%);
}
.path-heading {
  position: absolute;
  z-index: 2;
  top: 27px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}
.path-heading small {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.path-heading strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1;
}
.active-path .path-heading strong { color: #ff9a7e; }
.chronic-path .path-heading strong { color: #b5e0c7; }
.path-route {
  position: absolute;
  z-index: 2;
  left: 25px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-top: 12px;
  border-top: 2px solid currentColor;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.active-path .path-route { color: #ffc1af; }
.chronic-path .path-route { color: #c7ead6; }
.path-route b { font-size: 16px; line-height: 1; transition: transform .2s ease; }
.clinical-path:hover img { transform: scale(1.045); filter: saturate(1.04) contrast(1.02); }
.clinical-path:hover .path-shade { background: linear-gradient(180deg, rgba(8, 36, 29, .01) 18%, rgba(7, 34, 27, .88) 100%); }
.active-path:hover .path-shade { background: linear-gradient(180deg, rgba(70, 29, 17, .01) 18%, rgba(64, 26, 15, .88) 100%); }
.clinical-path:hover .path-route b { transform: translateX(4px); }
.clinical-path:focus-visible { z-index: 4; outline: 4px solid #fff; outline-offset: -7px; }
.psogram-home-copy h1,
.detail-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.4vw, 78px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}
.jump-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
  padding: 14px 23px;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease;
}
.jump-link:hover { transform: translateY(-2px); background: var(--green); }

.psogram-choices { padding: 108px 0 116px; background: #fff; }
.choice-heading {
  display: grid;
  grid-template-columns: 1fr .75fr;
  align-items: end;
  gap: 82px;
  margin-bottom: 48px;
}
.choice-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.psogram-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.psogram-option {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: 38px 40px 40px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #f6faf8;
  box-shadow: 0 14px 40px rgba(15, 61, 48, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.psogram-option::after {
  position: absolute;
  right: -98px;
  bottom: -112px;
  width: 260px;
  height: 260px;
  border: 42px solid rgba(21, 92, 73, .07);
  border-radius: 50%;
  content: "";
}
.psogram-option.active { border-top: 5px solid var(--orange); background: linear-gradient(145deg, #fffaf6, #fff 60%, #fff5ee); }
.psogram-option.active::after { border-color: rgba(241, 91, 53, .09); }
.psogram-option.chronic { border-top: 5px solid var(--green); background: linear-gradient(145deg, #f2faf6, #fff 60%, #eaf6ef); }
.psogram-option:hover { transform: translateY(-8px); border-color: #abc7bb; box-shadow: 0 28px 70px rgba(15, 61, 48, .14); }
.option-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.option-topline b { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 18px; transition: transform .2s ease; }
.psogram-option.chronic .option-topline b { background: var(--green); }
.psogram-option:hover .option-topline b { transform: translateX(4px); }
.option-brand { margin: 66px 0 8px; color: var(--orange); font-family: Georgia, serif; font-size: 20px; }
.psogram-option.chronic .option-brand { color: var(--green); }
.psogram-option h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 62px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.option-description { max-width: 570px; margin: 22px 0 25px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.psogram-option ul { margin: 0; padding: 0; list-style: none; }
.psogram-option li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid rgba(21, 59, 53, .09); color: #45615a; font-size: 12px; line-height: 1.55; }
.psogram-option li::before { position: absolute; left: 2px; color: var(--orange); font-weight: 900; content: "✓"; }
.psogram-option.chronic li::before { color: var(--green); }
.option-action { position: absolute; z-index: 1; bottom: 39px; left: 40px; display: inline-flex; align-items: center; gap: 10px; color: var(--deep); font-size: 13px; }
.choice-note { display: grid; grid-template-columns: 210px 1fr; gap: 28px; margin-top: 30px; padding: 24px 28px; border-left: 4px solid var(--orange); background: var(--cream); }
.choice-note strong { font-size: 13px; }
.choice-note span { color: var(--muted); font-size: 12px; line-height: 1.68; }

.psogram-difference { padding: 100px 0; background: #0f4437; color: #fff; }
.difference-heading { max-width: 900px; }
.difference-heading .kicker { color: #f5a38c; }
.difference-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 54px; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.difference-grid article { min-height: 280px; padding: 34px 38px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.difference-grid article > span { color: #f6a28b; font-family: Georgia, serif; }
.difference-grid h3 { margin: 62px 0 14px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.difference-grid p { max-width: 480px; margin: 0; color: #c5d8d1; font-size: 14px; line-height: 1.75; }
.psogram-contact { padding: 78px 0; color: #fff; background: var(--orange); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 70px; }
.contact-actions { display: flex; min-width: 270px; flex-direction: column; gap: 10px; }
.psogram-footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }

.scroll-top {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 22px;
  display: flex;
  width: 58px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 68, 55, .93);
  box-shadow: 0 12px 28px rgba(7, 35, 28, .23);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease;
}
.scroll-top:hover { transform: translateY(-4px); background: var(--orange); }
.scroll-top span { font-size: 21px; line-height: 1; }
.scroll-top b { font-size: 9px; letter-spacing: .1em; }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--deep);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: gap .2s ease, color .2s ease;
}
.back-home:hover { gap: 13px; color: var(--orange); }
.hero-back { margin-bottom: 46px; }

.detail-hero { position: relative; overflow: hidden; padding: 52px 0 92px; background: linear-gradient(120deg, #fff7f2, #f0f7f3 72%); }
.detail-page.chronic .detail-hero { background: linear-gradient(120deg, #edf7f2, #f8fbf9 72%); }
.detail-hero::after { position: absolute; right: -80px; bottom: -230px; width: 430px; height: 430px; border: 68px solid rgba(241, 91, 53, .08); border-radius: 50%; content: ""; }
.detail-page.chronic .detail-hero::after { border-color: rgba(28, 103, 80, .08); }
.detail-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr); align-items: end; gap: 85px; }
.detail-brand { margin: 0 0 8px; color: var(--orange); font-family: Georgia, serif; font-size: 20px; }
.detail-page.chronic .detail-brand { color: var(--green); }
.hero-summary { padding: 30px 32px; border: 1px solid rgba(21, 59, 53, .12); border-top: 4px solid var(--orange); background: rgba(255,255,255,.8); box-shadow: 0 18px 48px rgba(15, 61, 48, .08); backdrop-filter: blur(14px); }
.detail-page.chronic .hero-summary { border-top-color: var(--green); }
.hero-summary > span { color: var(--orange); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.detail-page.chronic .hero-summary > span { color: var(--green); }
.hero-summary p { margin: 18px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.78; }
.hero-summary a { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); font-size: 12px; font-weight: 800; }

.suitable-section { padding: 94px 0; background: #fff; }
.suitable-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 92px; }
.suitable-grid ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.suitable-grid li { position: relative; padding: 19px 12px 19px 42px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.65; }
.suitable-grid li::before { position: absolute; top: 22px; left: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); content: ""; }
.detail-page.chronic .suitable-grid li::before { background: var(--green); }

.detail-scope { padding: 102px 0 110px; background: #f3f8f5; }
.scope-heading { max-width: 800px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid #cdded6; border-left: 1px solid #cdded6; }
.scope-grid article { min-height: 520px; padding: 32px; border-right: 1px solid #cdded6; border-bottom: 1px solid #cdded6; background: rgba(255,255,255,.54); }
.scope-grid article > span { color: var(--orange); font-family: Georgia, serif; font-size: 17px; }
.detail-page.chronic .scope-grid article > span { color: var(--green); }
.scope-grid h3 { margin: 72px 0 17px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; line-height: 1.2; }
.scope-grid p { min-height: 92px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.scope-grid ul { margin: 25px 0 0; padding: 0; list-style: none; }
.scope-grid li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid #dce7e2; color: #49635c; font-size: 12px; line-height: 1.55; }
.scope-grid li::before { position: absolute; left: 0; color: var(--orange); font-weight: 900; content: "✓"; }
.detail-page.chronic .scope-grid li::before { color: var(--green); }

.tools-section {
  padding: 104px 0 112px;
  background: linear-gradient(145deg, #fffaf6 0%, #fff 50%, #f5faf7 100%);
}
.detail-page.chronic .tools-section {
  background: linear-gradient(145deg, #eef8f3 0%, #fff 56%, #f7faf8 100%);
}
.tools-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .65fr);
  align-items: end;
  gap: 88px;
  margin-bottom: 48px;
}
.tools-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.tools-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  min-height: 178px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  transition: background .2s ease, transform .2s ease;
}
.tools-grid article:hover { z-index: 1; transform: translateY(-3px); background: #fff; }
.tools-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-family: Georgia, serif;
  font-size: 13px;
}
.detail-page.chronic .tools-grid article > span { background: var(--green); }
.tools-grid h3 {
  margin: 3px 0 10px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}
.tools-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.68;
}
.tools-disclaimer {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 28px;
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 4px solid var(--orange);
  background: var(--cream);
}
.detail-page.chronic .tools-disclaimer { border-left-color: var(--green); background: var(--mint); }
.tools-disclaimer strong { color: var(--deep); font-size: 12px; }
.tools-disclaimer p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.process-section { padding: 106px 0; background: #fff; }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 100px; }
.process-intro { position: sticky; top: 130px; }
.process-grid ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-grid ol li { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.process-grid ol li > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-family: Georgia, serif; font-size: 14px; }
.detail-page.chronic .process-grid ol li > span { background: var(--green); }
.process-grid h3 { margin: 2px 0 9px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.process-grid li p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.outputs-section { padding: 100px 0; color: #fff; background: var(--deep); }
.outputs-section .kicker { color: #f5a38c; }
.detail-page.chronic .outputs-section .kicker { color: #9fd0bc; }
.outputs-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.output-list { border-top: 1px solid rgba(255,255,255,.15); }
.output-list > div { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.output-list span { color: #f4a089; font-family: Georgia, serif; }
.detail-page.chronic .output-list span { color: #9fd0bc; }
.output-list p { margin: 0; color: #d4e3dd; font-size: 14px; line-height: 1.65; }

.clinical-boundary { padding: 40px 0; background: var(--cream); }
.boundary-inner { display: grid; grid-template-columns: 230px 1fr; align-items: start; gap: 36px; padding: 24px 28px; border-left: 4px solid var(--orange); background: #fff; }
.detail-page.chronic .boundary-inner { border-left-color: var(--green); }
.boundary-inner strong { color: var(--deep); font-size: 12px; }
.boundary-inner p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.detail-navigation { padding: 48px 0; background: #fff; }
.detail-navigation-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.other-variant { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 1000px) {
  .psogram-home-grid, .detail-hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .psogram-home-image { min-height: 460px; order: 2; }
  .choice-heading, .suitable-grid, .tools-heading, .process-grid, .outputs-grid { grid-template-columns: 1fr; gap: 48px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-grid article { min-height: 0; }
  .scope-grid p { min-height: 0; }
  .process-intro { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-actions { min-width: 0; flex-direction: row; }
}

@media (max-width: 720px) {
  .psogram-home-hero { padding: 54px 0 62px; }
  .psogram-home-copy h1, .detail-hero h1 { font-size: clamp(45px, 13vw, 59px); }
  .hero-lead { font-size: 15px; line-height: 1.74; }
  .psogram-home-image { min-height: 0; height: 430px; }
  .dual-path-visual { gap: 3px; padding: 3px; }
  .path-heading { top: 19px; left: 16px; }
  .path-heading small { max-width: 125px; font-size: 7px; line-height: 1.45; }
  .path-heading strong { font-size: clamp(21px, 7vw, 30px); }
  .path-route { left: 16px; bottom: 25px; gap: 6px; font-size: 8px; }
  .psogram-choices { padding: 76px 0 84px; }
  .psogram-option-grid, .difference-grid { grid-template-columns: 1fr; }
  .psogram-option { min-height: 610px; padding: 29px 25px 34px; }
  .option-action { left: 25px; bottom: 32px; }
  .choice-note, .boundary-inner { grid-template-columns: 1fr; gap: 12px; }
  .difference-grid article { min-height: 250px; }
  .psogram-difference { padding: 76px 0; }
  .contact-actions { flex-direction: column; }
  .psogram-footer-grid { grid-template-columns: 1fr; }
  .scroll-top { right: 10px; bottom: 13px; width: 50px; min-height: 56px; }
  .detail-hero { padding: 36px 0 70px; }
  .hero-back { margin-bottom: 35px; }
  .hero-summary { padding: 25px 24px; }
  .suitable-section, .detail-scope, .tools-section, .process-section, .outputs-section { padding: 74px 0; }
  .scope-grid { margin-top: 36px; }
  .scope-grid article { padding: 26px 23px; }
  .scope-grid h3 { margin-top: 38px; }
  .tools-grid { grid-template-columns: 1fr; }
  .tools-grid article { min-height: 0; padding: 24px 22px; }
  .tools-disclaimer { grid-template-columns: 1fr; gap: 11px; padding: 22px; }
  .process-grid ol li { grid-template-columns: 48px 1fr; gap: 15px; }
  .output-list > div { grid-template-columns: 42px 1fr; gap: 12px; }
  .detail-navigation-inner { align-items: flex-start; flex-direction: column; }
}
