/* Anjelské služby — onepage v2. Čiernobiela. Mobile-first, bez frameworku, farby len cez premenné. */

@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/lora-variable.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/inter-latin.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 {
  /* svetlé plochy */
  --bg:            #f1f1f0;
  --surface:       #ffffff;
  --tint:          #e4e4e3;
  --ink:           #1a1a1a;
  --ink-soft:      #4d4d4d;   /* 6,5:1 aj na --tint */
  /* tmavé plochy: hlavička, úvod, kontakt, päta */
  --night:         #000000;
  --night-raised:  #1c1c1c;
  --night-hover:   #2b2b2b;
  --on-night:      #ffffff;
  --on-night-soft: #bdbdbd;   /* 11:1 na čiernej */
  --focus:         #1d5fa8;
  --focus-night:   #ffffff;

  --ff-head: 'Lora', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .35);
  --header-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  padding-bottom: 4.5rem; /* miesto pre call-bar na mobile */
}

h1, h2, h3 {
  font-family: var(--ff-head);
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; }

p, ul, dl, address { margin: 0 0 1rem; }
address { font-style: normal; }

a { color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--on-night); color: var(--night); padding: .6rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.lead { font-size: 1.15em; color: var(--ink-soft); }

/* ---------- tmavé plochy: spoločné ---------- */
.site-header, .hero, .contact, .site-footer { background: var(--night); color: var(--on-night); }
.site-header a, .hero a, .contact a, .site-footer a { color: var(--on-night); }
.site-header :focus-visible, .hero :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-night); }

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem;
  min-height: var(--header-h); padding-block: .6rem;
}
/* flex: 1 1 0 + min-width: 0 — na úzkom displeji sa zalomí podnadpis, nie tlačidlo Menu */
.brand {
  text-decoration: none; line-height: 1.15; margin-right: auto;
  flex: 1 1 0; min-width: 0;
  display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center;
}
.brand-logo { grid-row: 1 / span 2; display: block; }
.brand-logo img { display: block; width: 35px; height: 56px; }
.brand-name { font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; }
.brand-sub { font-size: .9rem; color: var(--on-night-soft); }
@media (max-width: 379px) {
  .brand { column-gap: .55rem; }
  .brand-name { font-size: 1.15rem; }
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.site-header .nav a {
  display: block; padding: .45rem .85rem; border-radius: 999px;
  text-decoration: none; font-weight: 500;
}
.site-header .nav a:hover { background: var(--night-hover); }
.site-header .nav a[aria-current] { background: var(--night-raised); box-shadow: inset 0 -3px 0 var(--on-night); }

.nav-toggle { display: none; }

.site-header .header-call {
  display: none;
  background: var(--on-night); color: var(--night);
  padding: .55rem 1.25rem; border-radius: 999px;
  font-weight: 650; text-decoration: none; white-space: nowrap;
}
.site-header .header-call:hover { background: var(--tint); }

/* s JS na mobile: menu za tlačidlom; bez JS ostane zoznam viditeľný */
@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-block;
    font: inherit; font-weight: 600; color: var(--on-night);
    background: var(--night-hover); border: 0; border-radius: 999px;
    padding: .5rem 1.1rem; cursor: pointer;
  }
  .js .nav { display: none; width: 100%; }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; padding-bottom: .75rem; }
  .js .site-header .nav a { padding: .75rem 1rem; }
  .nav { width: 100%; }
}
@media (min-width: 900px) {
  .site-header .header-call { display: inline-block; }
  .brand { flex: 0 0 auto; }
}
/* 900–1099 px: menu, logo aj telefón sa zmestia do jedného riadku len bez podnadpisu */
@media (min-width: 900px) and (max-width: 1099px) {
  .brand-sub { display: none; }
  .brand-logo { grid-row: auto; }
  .site-header .nav a { padding-inline: .55rem; }
}

/* ---------- úvod: fotka + telefón ---------- */
.hero { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: 1.75rem; }
.hero-photo { display: block; margin-inline: calc(-1 * var(--gutter)); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hero h1 { max-width: 18ch; }
.hero-phone {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(2.6rem, 1rem + 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.015em;
  margin: .15em 0 .35em;
  font-variant-numeric: lining-nums tabular-nums;
}
.hero-phone a { text-decoration: none; white-space: nowrap; }
.hero-phone a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.hero-lead { font-size: 1.2em; max-width: 32em; color: var(--on-night-soft); }
.hero-alt { margin: 0; font-weight: 600; }

@media (min-width: 900px) {
  .hero { padding-top: clamp(2.5rem, 5vw, 4rem); }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
    gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
  }
  .hero-photo { grid-column: 2; grid-row: 1; margin: 0; }
  .hero-photo img { aspect-ratio: 4 / 5; border-radius: var(--radius); }
  .hero-text { grid-column: 1; grid-row: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo img { animation: photo-in 1.4s ease-out both; }
}
@keyframes photo-in { from { opacity: 0; } to { opacity: 1; } }

.facts {
  list-style: none; padding: 0; margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  display: grid; gap: .75rem;
}
.facts li {
  background: var(--night-raised);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: var(--on-night-soft);
}
.facts strong { display: block; color: var(--on-night); }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- sekcie ---------- */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section-tint { background: var(--tint); }

/* nadpis vľavo (na desktope ostáva pri scrolle), obsah vpravo */
.split { display: grid; gap: 1.5rem; }
.split-head .lead { margin-bottom: 0; }
.split-body { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .split-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.split-body > h3:first-child, .split-body > .accordion:first-child { margin-top: 0; }

.section-head { max-width: 40rem; margin-bottom: 2rem; }

/* akordeón: samostatné zaoblené panely, nie čiary */
.accordion { display: grid; gap: .6rem; margin-bottom: 2rem; align-content: start; }
.accordion details { background: var(--surface); border-radius: var(--radius-sm); }
.accordion summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.15rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ''; flex: none;
  width: .65rem; height: .65rem;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  border-radius: 2px;
  transform: translateY(-25%) rotate(45deg);
}
.accordion details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.details-body { padding: 0 1.25rem 1.1rem; }
.details-body p:last-child { margin-bottom: 0; }
.inline-call { font-weight: 650; white-space: nowrap; }

/* dôležité upozornenie: jediná čierna plocha vo svetlej časti */
.note {
  background: var(--night); color: var(--on-night);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
}
.note h3 { margin-top: 0; }
.note p { color: var(--on-night-soft); }
.note p:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding: 0; display: grid; gap: .45rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: ''; position: absolute; left: .2rem; top: .6em;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--ink);
}

/* služby: biele plochy na tónovanej sekcii */
.services { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.services li { background: var(--surface); border-radius: var(--radius-sm); padding: 1.15rem 1.3rem; }
.services h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.services p { margin: 0; color: var(--ink-soft); }
@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ceny: tri stĺpce na desktope */
.prices { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.price {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
}
.price h3 { margin: 0; }
.price-sum {
  font-family: var(--ff-head); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem);
  line-height: 1.1; margin: .35rem 0 1rem; white-space: nowrap;
}
.price ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.price-note { margin: auto 0 0; font-size: .95rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.payment { max-width: 44rem; }
.payment h3 { margin-top: 0; }

/* príspevok: suma ako hlavný údaj */
.allowance-sum {
  font-family: var(--ff-head); font-weight: 600;
  font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; margin: 0;
}

/* ---------- kontakt (tmavý) ---------- */
.contact-grid { display: grid; gap: 1rem; }
.contact-main { margin-bottom: 1rem; }
.contact-main p { color: var(--on-night-soft); }
.contact-phone {
  font-family: var(--ff-head); font-weight: 600;
  font-size: clamp(2.3rem, 1rem + 6vw, 4.25rem); line-height: 1.05; margin-bottom: .5rem;
}
.contact .contact-phone a { text-decoration: none; white-space: nowrap; }
.contact-mail { font-size: 1.15em; }
.contact-mail a { white-space: nowrap; }
.contact-box { background: var(--night-raised); border-radius: var(--radius); padding: 1.3rem 1.5rem; min-width: 0; color: var(--on-night-soft); }
.contact-box h3 { margin-top: 0; color: var(--on-night); }
.contact-box p:last-child { margin-bottom: 0; }
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-main { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1.25rem; }
  .contact-main { grid-column: auto; margin-bottom: 0; }
}
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding: .2rem 0; }
.hours dt { font-weight: 600; color: var(--on-night); }
.hours dd { margin: 0; }

/* päta: pokračuje čiernou plochou kontaktu */
.site-footer { padding-block: 0 2.5rem; font-size: .95rem; color: var(--on-night-soft); }
.site-footer .wrap { padding-top: 2rem; box-shadow: 0 -2px 0 var(--night-raised); }
.site-footer strong { color: var(--on-night); }

/* mobilné tlačidlo volania — biely lem, aby bolo vidieť na čiernej aj na svetlej ploche */
.call-bar {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 60;
  display: block; text-align: center;
  background: var(--night); color: var(--on-night);
  padding: .9rem 1rem; border-radius: 999px;
  font-weight: 650; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 0 0 2px var(--on-night), 0 12px 28px -10px rgba(0, 0, 0, .6);
}
.call-bar:hover { background: var(--night-hover); color: var(--on-night); }
@media (min-width: 900px) {
  .call-bar { display: none; }
  body { padding-bottom: 0; }
}

/* lišta súhlasu s cookies — na mobile nad tlačidlom volania, aby ho neprekryla */
.consent {
  position: fixed; left: .75rem; right: .75rem; bottom: 5rem; z-index: 70;
  max-width: 34rem; margin-inline: auto;
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius-sm); padding: 1rem 1.15rem;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5);
  font-size: 1rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .8rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-btn {
  flex: 1 1 8rem; min-height: 2.75rem;
  font: inherit; font-weight: 600; cursor: pointer;
  border: 2px solid var(--night); border-radius: 999px;
  background: var(--surface); color: var(--night);
}
.consent-btn:first-child { background: var(--night); color: var(--on-night); }
.consent-btn:hover { background: var(--night-hover); border-color: var(--night-hover); color: var(--on-night); }
.consent-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.link-btn {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
.link-btn[hidden] { display: none; }
@media (min-width: 900px) {
  .consent { bottom: 1.25rem; }
}

@media print {
  .site-header, .call-bar, .skip-link, .consent, .hero-photo { display: none; }
  .hero, .contact, .site-footer, .note { background: none; color: var(--night); }
  .accordion details > * { display: block; }
}

/* ---------- grafické prvky: ikony (src/icons.svg) a ľalia z loga ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* fakty v úvode: ikona vľavo */
.facts li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.facts .icon { width: 1.75rem; height: 1.75rem; color: var(--on-night); margin-top: .1rem; }

/* služby: ikona v kruhu vľavo od textu */
.services li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-content: start; }
.services li > :not(.icon-badge) { grid-column: 2; }
.services .icon-badge {
  grid-row: 1 / span 2;
  width: 3rem; height: 3rem; padding: .5rem;
  border-radius: 50%; background: var(--tint); color: var(--ink);
  stroke-width: 1.4;
}

/* kontakt: ikona pred nadpisom boxu */
.contact-box h3 { display: flex; align-items: center; gap: .6rem; }
.contact-box h3 .icon { width: 1.4rem; height: 1.4rem; }

/* päta: ľalia z loga ako podpis, vpravo */
.site-footer .wrap { position: relative; }
.site-footer .wrap::after {
  content: ''; position: absolute; pointer-events: none;
  right: var(--gutter); top: 1.5rem;
  height: 8rem; aspect-ratio: 173 / 279;
  background: image-set(url(../img/lily-mark.webp) type('image/webp'), url(../img/lily-mark.png) type('image/png')) center / contain no-repeat;
  opacity: .14;
}
@media (min-width: 700px) {
  .site-footer .wrap::after { height: 13rem; top: 50%; transform: translateY(-50%); opacity: .2; }
}

/* ľalia z loga nad nadpisom sekcie (tmavá na svetlej ploche, biela v kontakte) */
.split-head h2::before, .section-head h2::before, .contact-main h2::before {
  content: ''; display: block;
  height: 3.25rem; aspect-ratio: 87 / 140; margin-bottom: 1rem;
  background: image-set(url(../img/logo.webp) type('image/webp'), url(../img/logo.png) type('image/png')) left center / contain no-repeat;
}
.contact-main h2::before {
  background-image: image-set(url(../img/logo-white.webp) type('image/webp'), url(../img/logo-white.png) type('image/png'));
}
