/* =====================================================
   PÍSMA – uložena přímo na webu (složka fonts/), bez Google Fonts
   Lora a Plus Jakarta Sans, licence SIL OFL 1.1 (viz fonts/LICENSE-*.txt)
   ===================================================== */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lora-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lora-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/lora-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/lora-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/lora-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/lora-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

  :root {
    --ink: #0E2F2C;          /* hlavní tmavá – nadpisy, tmavé sekce */
    --forest: #1E6A57;       /* akcent – tlačítka, ikony */
    --forest-deep: #175445;  /* hover */
    --sage: #A9D4BF;         /* světlý akcent na tmavém podkladu */
    --mist: #E6F0EB;         /* jemné plochy */
    --paper: #F6F9F7;        /* pozadí stránky */
    --white: #FFFFFF;
    --line: #D2E1D9;
    --text: #3A524E;         /* běžný text */
    --warn: #B4531F;         /* upozornění v ukázce */
    --serif: "Lora", Georgia, "Times New Roman", serif;
    --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --wrap: 1180px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 88px; }
  body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; }
  h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
  p { margin: 0; }

  .wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
  .skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
  .skip:focus { left: 8px; }

  :focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
  .dark :focus-visible { outline-color: var(--sage); }

  /* ---------- tlačítka ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font: 600 1rem/1 var(--sans);
    padding: 1rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
  }
  .btn-primary { background: var(--forest); color: #fff; }
  .btn-primary:hover { background: var(--forest-deep); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: #9DBBAF; }
  .btn-ghost:hover { background: var(--mist); border-color: var(--forest); }

  /* ---------- hlavička ---------- */
  header.site {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 249, 247, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
  .brand { text-decoration: none; display: grid; line-height: 1; gap: .4rem; }
  .brand b { font: 500 1.65rem/1 var(--serif); color: var(--forest); letter-spacing: -0.01em; }
  .brand span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
  nav.main { display: flex; align-items: center; gap: 2rem; }
  nav.main a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink); padding: .4rem 0; border-bottom: 2px solid transparent; }
  nav.main a:not(.btn):hover { border-bottom-color: var(--forest); }
  nav.main .btn { padding: .85rem 1.4rem; font-size: .95rem; }
  .menu-toggle { display: none; background: none; border: 1.5px solid #9DBBAF; border-radius: 12px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

  /* ---------- hero ---------- */
  .hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; right: -12%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(closest-side, rgba(169, 212, 191, .35), rgba(169, 212, 191, 0));
    pointer-events: none;
  }
  .hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 500; max-width: 12ch; }
  .hero .lead { margin-top: 1.6rem; font-size: 1.2rem; max-width: 34rem; }
  .hero .actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

  .arch {
    position: relative;
    border-radius: 999px 999px 28px 28px;
    background: linear-gradient(170deg, #DCEBE3 0%, #EEF5F1 55%, #E3EFE8 100%);
    aspect-ratio: 5 / 6;
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 0 7%;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 0; padding-bottom: 8%;
  }
  .arch::after {
    content: ""; position: absolute; inset: 14px; border-radius: 999px 999px 18px 18px;
    border: 1px solid rgba(30, 106, 87, .28); pointer-events: none;
  }
  .arch .arch-top { position: absolute; top: 12%; left: 0; right: 0; display: grid; place-items: center; }

  .check-card {
    position: relative; z-index: 2;
    background: var(--white); border-radius: 20px; padding: 1.3rem 1.3rem 1.1rem;
    box-shadow: 0 18px 40px -22px rgba(14, 47, 44, .45);
    border: 1px solid var(--line);
  }
  .check-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
  .check-card h2 { font: 600 1rem/1.3 var(--sans); letter-spacing: 0; }
  .check-card small { font-size: .75rem; color: #5F7773; }
  .rows { list-style: none; margin: 0; padding: 0; }
  .rows li { display: flex; align-items: center; gap: .75rem; padding: .62rem 0; border-top: 1px solid #E5EEE9; font-size: .88rem; line-height: 1.35; color: var(--ink); }
  .rows .state { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--forest); }
  .rows .state.warn { background: #FBEBDD; color: var(--warn); }
  .rows .state svg { width: 12px; height: 12px; }
  .rows .tag { margin-left: auto; font-size: .74rem; font-weight: 600; color: var(--forest); white-space: nowrap; }
  .rows .tag.warn { color: var(--warn); }
  .check-card footer { margin-top: .5rem; padding-top: .8rem; border-top: 1px solid #E5EEE9; font-size: .8rem; color: #4F6864; display: flex; justify-content: space-between; gap: .75rem; }
  .check-card footer b { color: var(--ink); }

  /* jediná úvodní animace: položky kontroly se postupně "odškrtnou" */
  .rows li { opacity: 0; transform: translateY(6px); animation: rowIn .5s ease forwards; }
  .rows li:nth-child(1) { animation-delay: .5s; }
  .rows li:nth-child(2) { animation-delay: 1.0s; }
  .rows li:nth-child(3) { animation-delay: 1.5s; }
  .rows li:nth-child(4) { animation-delay: 2.0s; }
  @keyframes rowIn { to { opacity: 1; transform: none; } }

  /* ---------- sekce obecně ---------- */
  section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
  .section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
  .section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 16ch; }
  h2.big { font-size: clamp(2rem, 3.8vw, 3.1rem); }

  /* ---------- o nás ---------- */
  .about { background: var(--white); border-block: 1px solid var(--line); }
  .about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
  .arch.light { aspect-ratio: 4 / 5; padding: 0; justify-content: center; align-items: center; background: linear-gradient(180deg, #E6F0EB, #F3F8F5); }
  .arch.light svg { width: 74%; height: auto; position: relative; z-index: 1; }
  .about p.big-p { margin-top: 1.5rem; max-width: 36rem; }
  .points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
  .points li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding: 1.15rem 1.3rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
  .points .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--mist); color: var(--forest); display: grid; place-items: center; }
  .points .ico svg { width: 22px; height: 22px; }
  .points b { display: block; font: 600 1.05rem/1.3 var(--sans); color: var(--ink); margin-bottom: .2rem; }
  .points span { font-size: .98rem; line-height: 1.55; }

  /* ---------- služby ---------- */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .card {
    background: var(--white); border: 1px solid var(--line); border-radius: 28px 28px 28px 120px;
    padding: 2rem 2rem 2.4rem; display: flex; flex-direction: column; gap: 1.1rem;
  }
  .card .ico { width: 56px; height: 56px; border-radius: 18px; background: var(--mist); color: var(--forest); display: grid; place-items: center; }
  .card .ico svg { width: 28px; height: 28px; }
  .card h3 { font-size: 1.55rem; margin-top: .4rem; }
  .card ul { list-style: none; padding: 0; margin: .2rem 0 0; display: grid; gap: .55rem; font-size: .96rem; }
  .card li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; align-items: start; }
  .card li svg { width: 16px; height: 16px; margin-top: .28rem; color: var(--forest); }

  /* ---------- postup (skutečná posloupnost) ---------- */
  .process { background: var(--mist); }
  .steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; position: relative; }
  .steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, #8DB3A3 0 8px, transparent 8px 16px); }
  .steps li { position: relative; padding-top: 4rem; counter-increment: s; }
  .steps li::before {
    content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); color: #fff; font: 500 1.25rem/46px var(--serif); text-align: center;
  }
  .steps h3 { font-size: 1.45rem; margin-bottom: .6rem; }
  .steps p { max-width: 24rem; }

  /* ---------- proč my (tmavá) ---------- */
  .dark { background: var(--ink); color: #BFD6CE; }
  .dark h2, .dark h3 { color: #fff; }
  .why-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
  .why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.4rem; }
  .why-items article { padding: 1.5rem; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(169, 212, 191, .22); }
  .why-items h3 { font: 600 1.08rem/1.3 var(--sans); margin-bottom: .5rem; display: flex; align-items: center; gap: .7rem; }
  .why-items h3 svg { flex: none; width: 22px; height: 22px; color: var(--sage); }
  .why-items p { font-size: .96rem; line-height: 1.6; }

  /* ---------- kontakt ---------- */
  .contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
  .contact-copy p { margin-top: 1.3rem; max-width: 30rem; }
  .facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
  .facts li { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--ink); font-size: .98rem; }
  .facts .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--mist); color: var(--forest); display: grid; place-items: center; flex: none; }
  .facts .ico svg { width: 19px; height: 19px; }
  .form { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -40px rgba(14,47,44,.45); }
  .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
  .field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
  .field input, .field textarea {
    font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
    border: 1.5px solid var(--line); border-radius: 16px; padding: .9rem 1.1rem; width: 100%;
    transition: border-color .2s, background-color .2s;
  }
  .field textarea { min-height: 150px; resize: vertical; border-radius: 20px; }
  .field input::placeholder, .field textarea::placeholder { color: #5A726E; }
  .field input:hover, .field textarea:hover { border-color: #9DBBAF; }
  .field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 3px rgba(30,106,87,.18); }
  .form .btn { width: 100%; padding: 1.1rem; }
  .hp { position: absolute; left: -9999px; }
  .status { margin-top: 1rem; font-size: .95rem; font-weight: 600; min-height: 1.4em; }
  .status.ok { color: var(--forest); }
  .status.err { color: var(--warn); }
  .consent { font-size: .84rem; color: #5F7773; margin-top: .9rem; line-height: 1.5; }

  /* ---------- patička ---------- */
  footer.site { background: #E3EEE8; padding: 3.5rem 0 2rem; font-size: .96rem; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #C5D8CF; }
  .foot-grid p.about-line { margin-top: 1.1rem; max-width: 24rem; }
  .foot-grid h2 { font: 700 .95rem/1 var(--sans); color: var(--ink); margin-bottom: 1rem; letter-spacing: 0; }
  .foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
  .foot-grid a { text-decoration: none; }
  .foot-grid a:hover { color: var(--forest); text-decoration: underline; }
  .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; padding-top: 1.5rem; font-size: .86rem; }

  /* ---------- responzivita ---------- */
  @media (max-width: 980px) {
    .hero-grid, .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 14ch; }
    .section-head { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 1.6rem; }
    .steps::before { display: none; }
    .steps li { padding: 0 0 0 4rem; }
    .steps li::before { top: .1rem; }
    .arch.light { max-width: 420px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-grid > :first-child { grid-column: 1 / -1; }
    .menu-toggle { display: inline-flex; }
    nav.main {
      position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
      flex-direction: column; align-items: stretch; gap: .25rem; padding: 1rem 1.25rem 1.5rem; display: none;
    }
    nav.main.open { display: flex; }
    nav.main a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
    nav.main .btn { margin-top: .8rem; }
  }
  @media (max-width: 620px) {
    .why-items, .form .two { grid-template-columns: 1fr; }
    .brand b { font-size: 1.4rem; }
    .brand span { font-size: .64rem; }
    .foot-grid { grid-template-columns: 1fr; }
    .arch { padding-inline: 5%; }
    .check-card { padding: 1rem; }
    .rows li { font-size: .82rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rows li { animation: none; opacity: 1; transform: none; }
  }

/* =====================================================
   STRÁNKA „O NÁS“
   ===================================================== */
nav.main a[aria-current="page"]:not(.btn) { border-bottom-color: var(--forest); }

.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -12%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(169, 212, 191, .32), rgba(169, 212, 191, 0)); pointer-events: none;
}
.page-hero .hero-grid { grid-template-columns: 1.15fr .85fr; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; }
.page-hero .arch.light { aspect-ratio: 1 / 1.1; width: min(100%, 400px); }
.page-hero .arch.light svg { width: 70%; }

.who { background: var(--white); border-block: 1px solid var(--line); }
.who-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.who h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 14ch; }
.who .prose { display: grid; gap: 1.2rem; max-width: 40rem; }

.values { background: var(--mist); }
.values-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.values-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 18ch; }
.values-head p { margin-top: 1.2rem; }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: 0 2rem; border-left: 2px solid #9DBBAF; }
.value:first-child { padding-left: 0; border-left: 0; }
.value:last-child { padding-right: 0; }
.value .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--white); color: var(--forest); display: grid; place-items: center; margin-bottom: 1.2rem; }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.6rem; margin-bottom: .7rem; }

.team-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.team-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 16ch; }
.team-head p { margin-top: 1.2rem; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.person .avatar {
  aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px;
  background: linear-gradient(170deg, #DCEBE3, #EEF5F1); display: grid; place-items: center;
  font: 500 2.4rem/1 var(--serif); color: var(--forest); margin-bottom: 1.1rem;
}
.person h3 { font: 600 1.1rem/1.3 var(--sans); }
.person .role { color: var(--forest); font-weight: 600; font-size: .95rem; margin-top: .15rem; }
.person p.focus { font-size: .94rem; margin-top: .35rem; }

.cta-band { padding-top: 0; }
.cta-box {
  background: var(--ink); color: #BFD6CE; border-radius: 36px 36px 36px 120px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.8rem, 5vw, 4.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 18ch; }
.cta-box p { margin-top: 1rem; max-width: 32rem; }
.cta-box .btn-primary { background: var(--sage); color: var(--ink); }
.cta-box .btn-primary:hover { background: #BFE2D0; }
.cta-box a:focus-visible { outline-color: var(--sage); }

@media (max-width: 980px) {
  .page-hero .hero-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; gap: 2rem; }
  .value { padding: 0 0 0 1.4rem; border-left: 2px solid #9DBBAF; }
  .value:first-child { padding-left: 1.4rem; border-left: 2px solid #9DBBAF; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .team { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .person .avatar { font-size: 1.8rem; }
}

[hidden] { display: none !important; }

.page-hero .lead { margin-top: 1.6rem; font-size: 1.2rem; max-width: 34rem; }
.page-hero .actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.cta-band { padding-top: clamp(3.5rem, 8vw, 6rem); }

/* ---------- revize úhrad: nové prvky ---------- */
.card .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pill { display: inline-block; background: var(--mist); color: var(--forest-deep); font-weight: 600; font-size: .82rem; line-height: 1; padding: .5rem .85rem; border-radius: 999px; }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.process .big-p { margin-top: 1.5rem; max-width: 30rem; }
.process .points { margin-top: 0; }
.process .points li { background: var(--white); }
@media (max-width: 980px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- úvod: ukázka v obdélníkovém panelu místo oblouku ---------- */
.hero .arch {
  border-radius: 28px;
  aspect-ratio: auto;
  width: min(100%, 540px);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  justify-content: center;
  background: linear-gradient(160deg, #DCEBE3 0%, #EAF3EE 100%);
}
.hero .arch::after { display: none; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 16ch; }

/* ---------- úvod: nenápadná poznámka pod textem ---------- */
.hero-note {
  margin-top: 1.4rem; max-width: 33rem;
  padding-left: 1rem; border-left: 3px solid var(--sage);
  font-size: 1rem; line-height: 1.6; font-weight: 500; color: var(--ink);
}
.nowrap { white-space: nowrap; }

/* ---------- sekce „Jistota…“: ilustrace v obdélníkovém panelu ---------- */
.about .arch.light {
  border-radius: 28px;
  aspect-ratio: 5 / 4;
  width: 100%;
  background: linear-gradient(160deg, #DCEBE3 0%, #EAF3EE 100%);
}
.about .arch.light::after { display: none; }
.about .arch.light svg { width: 52%; }

/* ---------- karty služby: jednotné zaoblení jako u ostatních panelů ---------- */
.card { border-radius: 28px; }

/* =====================================================
   STRÁNKA „O NÁS“ – sjednocení s ostatními panely
   ===================================================== */
.page-hero .arch.light {
  border-radius: 28px;
  aspect-ratio: 5 / 4;
  width: min(100%, 520px);
  background: linear-gradient(160deg, #DCEBE3 0%, #EAF3EE 100%);
}
.page-hero .arch.light::after { display: none; }
.page-hero .arch.light svg { width: 48%; }

.value-list { gap: 1.5rem; }
.value,
.value:first-child,
.value:last-child {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}
.value .ico { background: var(--mist); margin-bottom: 1.2rem; }

.cta-box { border-radius: 28px; }

/* ---------- tým: karty s fotografií ---------- */
.team { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.person {
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: 1rem 1rem 1.6rem; text-align: center;
}
.person .photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; margin-bottom: 1.2rem;
  background: linear-gradient(160deg, #DCEBE3 0%, #EAF3EE 100%);
  display: grid; place-items: center;
}
.person .initials { font: 500 2.6rem/1 var(--serif); color: var(--forest); }
.person .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person h3 { font: 500 1.2rem/1.3 var(--serif); color: var(--ink); }
.person .role { color: var(--forest-deep); font-weight: 600; font-size: .95rem; margin-top: .3rem; }
.person .focus { font-size: .9rem; margin-top: .3rem; color: #5A726E; padding-inline: .4rem; }
@media (max-width: 980px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .team { gap: .8rem; }
  .person { padding: .7rem .7rem 1.2rem; border-radius: 22px; }
  .person h3 { font-size: 1.02rem; }
  .person .role, .person .focus { font-size: .85rem; }
}

.hero-note { font-weight: 700; }

/* ---------- jedna kontaktní osoba ---------- */
.team.solo-list { grid-template-columns: 1fr; max-width: 760px; }
.person.solo {
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center;
  text-align: left; padding: 1rem 2rem 1rem 1rem;
}
.person.solo .photo { margin-bottom: 0; }
.person.solo h3 { font-size: 1.6rem; }
.person.solo .role { font-size: 1.05rem; margin-top: .4rem; }
.person.solo .btn { margin-top: 1.5rem; }
@media (max-width: 620px) {
  .person.solo { grid-template-columns: 1fr; gap: 1.2rem; padding: .8rem .8rem 1.5rem; }
  .person.solo .photo { max-width: 260px; }
  .person.solo h3 { font-size: 1.35rem; }
}

.person.solo .mail {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem;
  font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid transparent;
}
.person.solo .mail svg { width: 20px; height: 20px; color: var(--forest); flex: none; }
.person.solo .mail:hover { border-bottom-color: var(--forest); }
.person.solo .who-text { display: flex; flex-direction: column; align-items: flex-start; }
.person.solo .who-text .btn { margin-top: 1.3rem; }

/* ---------- název firmy v logu: „s.r.o.“ menším písmem ---------- */
@media (max-width: 420px) { .brand b { font-size: 1.22rem; } }

/* ---------- sekce o odměně ---------- */
.fee { background: var(--white); border-block: 1px solid var(--line); }
.fee-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.fee h2 { max-width: 20ch; }
.fee .big-p { margin-top: 1.5rem; max-width: 36rem; }
.fee .points { margin: 0; }
@media (max-width: 980px) { .fee-grid { grid-template-columns: 1fr; } }



/* ---------- „Proč my“: bez ilustrace, karty přes celou šířku ---------- */
.why-grid { grid-template-columns: 1fr; }
.why-items { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .why-items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .why-items { grid-template-columns: 1fr; } }

/* ---------- odměna jako druhý blok: světle zelené pozadí, aby se nesléval s další bílou sekcí ---------- */
.fee { background: var(--mist); border-block: 0; }
.fee .points li { background: var(--white); }

/* ---------- logo: celý název včetně „s.r.o.“ stejným písmem, na úzkých telefonech menší ---------- */
@media (max-width: 380px) { .brand b { font-size: 1.1rem; } .brand span { font-size: .58rem; } }

/* ---------- kontaktní osoba: karta uprostřed ---------- */
.team.solo-list { margin-inline: auto; }
#tym .section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; }
#tym .section-head h2 { max-width: none; }

/* ---------- kontakt: věta s alternativním kontaktem ---------- */
.alt-contact { margin-top: 1.8rem; max-width: 30rem; font-size: 1rem; line-height: 1.65; }
.alt-contact a { color: var(--forest-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.alt-contact a:hover { color: var(--ink); }

/* ---------- kontakt mimo formulář: přehlednější členění ---------- */
.contact-copy .alt-contact { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); max-width: 30rem; }
.contact-copy .alt-contact p { margin: 0; max-width: none; }
.contact-copy .alt-lead { font: 600 1.1rem/1.4 var(--sans); color: var(--ink); margin-bottom: 1rem; }
.contact-copy .alt-line { display: flex; flex-direction: column; gap: .15rem; font-size: .95rem; line-height: 1.5; color: #5A726E; }
.contact-copy .alt-line + .alt-line { margin-top: 1rem; }
.contact-copy .alt-line a { font: 600 1.2rem/1.35 var(--sans); color: var(--forest-deep); text-decoration: none; border-bottom: 1.5px solid transparent; align-self: flex-start; }
.contact-copy .alt-line a:hover { border-bottom-color: var(--forest); color: var(--ink); }
.contact-copy .alt-contact .alt-lead { margin-bottom: 1.1rem; }

/* ---------- kontakt mimo formulář: úprava velikostí písma ---------- */
.contact-copy .alt-contact .alt-lead { font-size: 1.4rem; margin-bottom: 1.2rem; }
.contact-copy .alt-line a { font-size: 1rem; }
.contact-copy .alt-line { font-size: .9rem; }

/* ---------- dvě kontaktní osoby vedle sebe ---------- */
.duo { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 760px; }
.duo .person { text-align: center; padding: 1rem 1rem 1.8rem; }
.duo .person .photo { aspect-ratio: 5 / 4; }
.duo .person h3 { font-size: 1.35rem; }
.duo .person .role { font-size: 1.02rem; }
.duo .mail { display: inline-block; margin-top: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--sage); }
.duo .mail:hover { border-bottom-color: var(--forest); }
.duo-cta { text-align: center; margin-top: 2rem; }
@media (max-width: 620px) { .duo { grid-template-columns: 1fr; } .duo .person .photo { max-width: 100%; } }



/* ---------- Průběh a vstupy: tři kroky ---------- */
.pc-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: 2.6rem; }
.pc-head h2 { max-width: 12ch; }
.pc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; position: relative; }
.pc-steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, #8DB3A3 0 8px, transparent 8px 16px); }
.pc-steps > li { position: relative; padding-top: 4rem; counter-increment: s; }
.pc-steps > li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 1.25rem/46px var(--serif); text-align: center; z-index: 1; }
.pc-steps h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.pc-steps p { font-size: .98rem; }
.pc-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .6rem; font-size: .96rem; line-height: 1.55; }
.pc-list li { position: relative; padding-left: 1.4rem; }
.pc-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
@media (max-width: 980px) {
  .pc-head { grid-template-columns: 1fr; }
  .pc-steps { grid-template-columns: 1fr; gap: 2rem; }
  .pc-steps::before { display: none; }
  .pc-steps > li { padding: 0 0 0 4rem; }
  .pc-steps > li::before { top: .1rem; }
}

/* ---------- formulář: označení nepovinného pole ---------- */
.field label .opt { font-weight: 500; color: #5A726E; }

/* ---------- Náš tým: zkušenost nahoře, pak kontakt ---------- */
#tym .section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; margin-bottom: 2.2rem; }
#tym .section-head p { max-width: 44rem; font-size: 1.08rem; }
.team-contact-lead { text-align: center; font-weight: 600; color: var(--ink); margin: 0 0 1.2rem; }

/* ---------- štítek nad nadpisem sekce ---------- */
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--forest-deep); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .85rem; margin-bottom: 1.1rem; }

/* ---------- patička: odkazy v řádku s © a v kontaktech ---------- */
.legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--forest); }
.consent a { color: var(--forest-deep); font-weight: 600; }

/* ---------- stránka Ochrana osobních údajů ---------- */
.legal-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.legal-page .wrap { max-width: 46rem; }
.legal-page h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 1.2rem; }
.legal-page .lead { font-size: 1.1rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.55rem; margin: 2.4rem 0 .8rem; }
.legal-page h3 { font: 600 1.05rem/1.4 var(--sans); color: var(--ink); margin: 1.4rem 0 .4rem; }
.legal-page p + p, .legal-page ul + p { margin-top: .9rem; }
.legal-page ul { margin: .6rem 0 0; padding-left: 1.3rem; }
.legal-page li + li { margin-top: .4rem; }
.legal-page a { color: var(--forest-deep); font-weight: 600; text-underline-offset: 3px; }
.legal-page .updated { margin-top: 2rem; font-size: .9rem; color: #5A726E; }
.legal-page .todo { background: #FBEBDD; color: var(--warn); font-weight: 600; padding: 0 .35em; border-radius: 4px; }

/* ---------- formulář: termín konzultace ---------- */
.field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 16px; padding: .9rem 2.6rem .9rem 1.1rem; width: 100%;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6A57' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
  transition: border-color .2s, background-color .2s;
}
.field select:hover { border-color: #9DBBAF; }
.field select:focus { outline: none; border-color: var(--forest); background-color: #fff; box-shadow: 0 0 0 3px rgba(30,106,87,.18); }
.field input[type="date"] { color-scheme: light; min-height: 3.3rem; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .75; }
.field-note { font-size: .84rem; color: #5A726E; margin: -.3rem 0 1.1rem; }
.form .two { align-items: end; }
