/* ==========================================================================
   Květinářství Lila — ukázkový web (WEBSAMPLER / AASI)
   Třetí odlišný svět: měkký botanický, organický serif (Fraunces),
   blush + botanická zeleň, kulaté tvary, vzdušné.
   ========================================================================== */

:root {
  --rose: #c07884;
  --rose-d: #9e5a66;
  --green: #46603f;
  --green-d: #33472e;
  --cream: #faf5f1;
  --cream-2: #f3e9e2;
  --blush: #f7e8e6;
  --paper: #fffcf9;
  --ink: #3a2e2c;
  --ink-soft: #7c6a66;
  --line: #ecdfd8;
  --radius: 22px;         /* výrazně kulaté = organické */
  --radius-s: 14px;
  --maxw: 1140px;
  --head: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
a { color: var(--rose-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }

.eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: .26em; font-size: .7rem; font-weight: 600; color: var(--rose-d); margin-bottom: 1rem; }

.section { padding: clamp(60px, 8vw, 112px) 0; }
.section--blush { background: var(--blush); }
.section--green { background: var(--green); color: var(--cream); }
.section--green h2, .section--green h3 { color: var(--cream); }
.section--green .eyebrow { color: #d9b8bd; }

.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.center.sec-head { margin-left: auto; margin-right: auto; }

/* Buttons — plně kulaté pilulky s jemným rámečkem */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--body); font-weight: 600; font-size: .96rem; padding: .85em 1.7em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: all .18s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--rose); color: #fff; }
.btn--primary:hover { background: var(--rose-d); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.section--green .btn--outline { border-color: var(--cream); color: var(--cream); }
.section--green .btn--outline:hover { background: var(--cream); color: var(--green-d); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250,245,241,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--head); font-size: 1.7rem; font-weight: 500; color: var(--green-d); display: flex; align-items: baseline; gap: .45rem; }
.brand:hover { text-decoration: none; }
.brand .flower { color: var(--rose); }
.brand small { font-family: var(--body); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a.active { color: var(--rose-d); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* HERO — vzdušný, velký kulatý obrázek + centrovaný elegantní nadpis */
.hero { padding: clamp(30px, 5vw, 56px) 0 clamp(50px, 7vw, 90px); }
.hero__inner { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.hero h1 { margin-bottom: .3em; }
.hero p { font-size: 1.22rem; color: var(--ink-soft); max-width: 48ch; margin: 0 auto 1.8rem; }
.hero__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 21/9; object-fit: cover; }
.hero__chip { position: absolute; bottom: 20px; left: 20px; background: rgba(255,252,249,.94); border-radius: 999px; padding: .6rem 1.2rem; font-family: var(--head); font-size: 1rem; color: var(--green-d); }

/* Splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split img { border-radius: var(--radius); }

/* Feature cards — kulaté, jemné pozadí */
.grid { display: grid; gap: clamp(18px, 2.6vw, 30px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; text-align: center; }
.card .ico { font-size: 1.9rem; margin-bottom: .6rem; }
.card h3 { margin-bottom: .3rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* Nabídka / ceník — jemné karty */
.price-item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.price-item:last-child { border-bottom: 0; }
.price-item .p-name { font-family: var(--head); font-size: 1.25rem; font-weight: 500; }
.price-item .p-desc { color: var(--ink-soft); font-size: .88rem; }
.price-item .p-price { font-weight: 700; color: var(--rose-d); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-group h3 { color: var(--green-d); border-bottom: 2px solid var(--line); padding-bottom: .5rem; margin-bottom: 1rem; }
.tag { display: inline-block; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; background: var(--green); color: #fff; padding: .15em .55em; border-radius: 5px; margin-left: .4rem; vertical-align: middle; }

/* Gallery — kulaté dlaždice */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { border-radius: var(--radius-s); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.gallery .tall { grid-row: span 2; aspect-ratio: auto; }

/* Reference */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 4vw, 44px); }
.quote-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.quote-card p { font-family: var(--head); font-size: 1.2rem; font-style: italic; color: var(--ink); }
.quote-card .who { font-family: var(--body); font-style: normal; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.stars { color: var(--rose); letter-spacing: 2px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); }
.info-row { display: flex; gap: .8rem; margin-bottom: 1.1rem; }
.info-row .ico { color: var(--rose); }
.info-row b { display: block; }
form.reserve { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink-soft); }
.field input, .field textarea, .field select { width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-s); font: inherit; background: var(--cream); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rose); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin-top: .8rem; }
.map-embed { border-radius: var(--radius); height: 250px; background: var(--cream-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: .9rem; text-align: center; margin-top: 1rem; }

/* Footer */
.site-footer { background: var(--green-d); color: rgba(250,245,241,.8); padding: 58px 0 28px; font-size: .92rem; }
.site-footer h4 { color: var(--cream); font-family: var(--body); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.4rem; }
.site-footer a { color: rgba(250,245,241,.8); }
.site-footer a:hover { color: #fff; }
.footer-brand { font-family: var(--head); font-size: 1.9rem; color: var(--cream); margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: rgba(250,245,241,.55); }

/* Sample bar */
.sample-bar { background: var(--green); color: #fff; text-align: center; font-size: .82rem; padding: .5rem 1rem; }
.sample-bar a { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero__media img { aspect-ratio: 16/10; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: flex-start; background: var(--cream); padding: 1.3rem clamp(20px,5vw,44px); gap: 1rem; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .25s ease, visibility .25s; visibility: hidden; pointer-events: none; }
  .nav-links.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* === AASI: strojově dopočítaný kontrast — ZAČÁTEK ===
   Generuje tools/fix_kontrast_vlna1.py, poprvé 22. 7. 2026.
   NEUPRAVOVAT RUČNĚ — při dalším běhu se celý blok přepíše.
   Pravidlo: mění se role (barva textu / inkoust na ploše), nikdy barva značky.
   Původní paleta v :root zůstává nedotčená.
   ========================================================================= */
/* doladění textu: 3.35 -> 4.74 na #c07884 */
a.btn.btn--primary { color: #29201f !important; }
/* doladění textu: 3.35 -> 5.22 na #c07884 */
button.btn.btn--primary { color: #191919 !important; }
/* inkoust na tmavý: 4.27 -> 10.93 na #f3e9e2 */
div.map-embed { color: #3a2e2c !important; }
/* inkoust na bílou: 4.08 -> 10.09 na #33472e */
footer.site-footer div.footer-bottom span { color: #ffffff !important; }
/* ztmavení akcentu: 4.29 -> 4.66 na #f7e8e6 */
section.section.section--blush div.center.sec-head p.eyebrow { color: #965661 !important; }
/* ztmavení akcentu: 4.29 -> 4.66 na #f7e8e6 */
section.section.section--blush div.wrap.split p.eyebrow { color: #965661 !important; }
/* inkoust na tmavý: 4.29 -> 10.98 na #f7e8e6 */
section.section.section--blush div.wrap.split p.lead { color: #3a2e2c !important; }
/* ztmavení akcentu: 1.37 -> 4.64 na #46603f */
section.section.section--green div.wrap.center p.eyebrow { color: #e2ced1 !important; }
/* ztmavení akcentu: 2.82 -> 4.61 na #f7e8e6 */
span.ico { color: #905a63 !important; }
/* === AASI: strojově dopočítaný kontrast — KONEC === */
/* AASI-HYGIENA-H1 ZAČÁTEK */
.section h1{font-size:clamp(1.9rem, 3.8vw, 2.8rem);}
/* AASI-HYGIENA-H1 KONEC */
