/* =========================================================
   Instalatérství Vávra — styles.css
   Art direction: hluboká modrá + měděný akcent, clean & trustworthy
   ========================================================= */

:root {
  /* Barvy */
  --navy: #123A5E;
  --navy-800: #0E2E4A;
  --navy-700: #17466F;
  --navy-050: #EEF3F8;
  --copper: #C1743C;
  --copper-600: #A85F2C;
  --copper-050: #F7EDE3;
  --ink: #16222E;
  --muted: #5A6B7A;
  --line: #E2E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FB;
  --white: #FFFFFF;
  --star: #E8A33D;
  --emergency: #D64545;

  /* Typografie */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Rádiusy & stíny */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(18, 58, 94, .06);
  --shadow: 0 12px 30px -12px rgba(18, 58, 94, .18);
  --shadow-lg: 0 30px 60px -24px rgba(18, 58, 94, .30);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --topbar-h: 40px;
  --nav-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--copper-600);
}
.hl { color: var(--copper); }
.glass {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .6);
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.stars { color: var(--star); letter-spacing: 2px; font-size: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .7rem; --pad-x: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s;
}
.btn--lg { --pad-y: .95rem; --pad-x: 1.6rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 10px 24px -10px rgba(193, 116, 60, .8); }
.btn--primary:hover { background: var(--copper-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(193, 116, 60, .9); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); background: var(--navy-050); }
.btn--call { background: var(--navy); color: #fff; padding: .55rem 1.05rem; font-size: .9rem; }
.btn--call:hover { background: var(--navy-700); transform: translateY(-1px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-800); color: #cfe0ef; font-size: .85rem;
  position: sticky; top: 0; z-index: 60;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--topbar-h); }
.topbar__promise { display: flex; align-items: center; gap: .55rem; }
.topbar__promise strong { color: #fff; }
.topbar__phone { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; font-family: var(--font-head); }
.topbar__phone:hover { color: var(--copper); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: var(--topbar-h); z-index: 55;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.nav.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark { display: grid; place-items: center; }
.brand__mark svg { border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--navy); font-weight: 700; }
.brand__text small { font-size: .74rem; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.4rem); }
.nav__links a { font-weight: 500; font-size: .95rem; color: var(--ink); padding: .4rem .1rem; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--copper); transition: right .25s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }

.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; position: relative;
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .3s, opacity .2s, top .3s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(193, 116, 60, .10), transparent 60%),
    radial-gradient(70% 60% at 6% 90%, rgba(18, 58, 94, .07), transparent 55%),
    var(--bg-soft);
}
.hero__glow {
  position: absolute; z-index: -1; width: 40rem; height: 40rem; right: -12rem; top: -14rem;
  background: radial-gradient(circle, rgba(23, 70, 111, .12), transparent 62%);
  filter: blur(4px);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__copy { max-width: 40rem; }
.hero h1 { margin: .9rem 0 1.1rem; }
.hero__lead { color: var(--muted); font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--navy); font-weight: 500; font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust svg { color: var(--copper); flex: none; }

.hero__media { position: relative; }
.hero__photo {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative; aspect-ratio: 4 / 5; transform: rotate(1.2deg);
}
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 46, 74, .28)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute; padding: .8rem 1rem; border-radius: var(--r); box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.15;
}
.hero__badge-num { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.35rem; }
.hero__badge-label { font-size: .76rem; color: var(--muted); max-width: 12rem; }
.hero__badge { left: -1.2rem; bottom: 2.2rem; }
.hero__badge--2 { left: auto; right: -1rem; top: 1.6rem; bottom: auto; }
.hero__badge--2 .stars { font-size: 1rem; margin-bottom: .1rem; }

/* ---------- Promise strip ---------- */
.promise { margin-top: calc(-1 * clamp(1.5rem, 4vw, 3rem)); position: relative; z-index: 2; }
.promise__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.promise__item { display: flex; gap: 1rem; padding: clamp(1.3rem, 2.5vw, 1.9rem); background: #fff; }
.promise__icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--copper-050); color: var(--copper);
}
.promise__item h3 { color: var(--navy); margin-bottom: .25rem; }
.promise__item p { color: var(--muted); font-size: .92rem; }

/* ---------- Stats ---------- */
.stats { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stat { padding: 1rem; border-radius: var(--r); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1; }
.stat__label { display: block; margin-top: .5rem; color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--bg-soft); }
.section__head { max-width: 42rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head h2 { margin: .5rem 0 .7rem; }
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--navy-050); color: var(--navy); transition: background .25s, color .25s;
}
.card:hover .card__icon { background: var(--navy); color: #fff; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card--accent { border-color: rgba(193, 116, 60, .35); background: linear-gradient(180deg, #fff, var(--copper-050)); }
.card--accent .card__icon { background: var(--copper); color: #fff; }
.badge-emergency {
  position: absolute; top: 1.1rem; right: 1.1rem; background: var(--emergency); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .08em;
  padding: .28rem .55rem; border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); list-style: none; padding: 0; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.step__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 1rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--navy);
}
.step:nth-child(2) .step__num, .step:nth-child(4) .step__num { background: var(--copper); }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .92rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 3.6rem; right: -1rem; width: 1.4rem; height: 2px;
  background: var(--line);
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); align-items: start; }
.pricing__table { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row span:last-child { font-family: var(--font-head); font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-row--head { background: var(--navy); }
.price-row--head span, .price-row--head span:last-child { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.price-row:nth-child(even):not(.price-row--head) { background: var(--bg-soft); }

.pricing__note { background: var(--navy); color: #d9e6f2; border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 1.9rem); box-shadow: var(--shadow); }
.pricing__note h3 { color: #fff; margin-bottom: .9rem; }
.pricing__note ul { display: grid; gap: .7rem; margin-bottom: 1.3rem; }
.pricing__note li { position: relative; padding-left: 1.5rem; font-size: .95rem; }
.pricing__note li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.pricing__note strong { color: #fff; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__chip { position: absolute; left: -0.8rem; bottom: 1.4rem; padding: .8rem 1.1rem; border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.2; }
.about__chip strong { font-family: var(--font-head); color: var(--navy); }
.about__chip span { font-size: .8rem; color: var(--muted); }
.about__copy p { color: var(--muted); margin-top: 1rem; }
.about__copy h2 { margin-top: .5rem; }
.about__points { display: grid; gap: .6rem; margin: 1.4rem 0; }
.about__points li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.about__points span { color: var(--copper); font-weight: 800; }
.about__sign { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.signature { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy); font-style: italic; letter-spacing: -0.02em; }
.about__sign small { color: var(--muted); }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.area__map {
  position: relative; aspect-ratio: 1/1; max-width: 22rem; margin-inline: auto; width: 100%;
  display: grid; place-items: center;
  background: radial-gradient(circle at center, var(--navy-050), #fff 70%);
  border-radius: 50%;
}
.area__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(18, 58, 94, .18); }
.ring--1 { width: 34%; height: 34%; border-style: solid; border-color: rgba(193, 116, 60, .35); animation: ringPulse 4s ease-in-out infinite; }
.ring--2 { width: 62%; height: 62%; }
.ring--3 { width: 90%; height: 90%; }
@keyframes ringPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .7; } }
.area__pin { position: relative; z-index: 2; color: var(--copper); background: #fff; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); }
.area__map-label { position: absolute; bottom: 20%; font-family: var(--font-head); font-weight: 700; color: var(--navy); background: #fff; padding: .2rem .7rem; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .9rem; }
.area__lead { color: var(--muted); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; font-weight: 500; color: var(--navy); transition: transform .2s, border-color .2s, background .2s; }
.chips li:hover { transform: translateY(-2px); border-color: var(--copper); background: var(--copper-050); }
.area__foot { display: flex; align-items: center; gap: .55rem; margin-top: 1.4rem; color: var(--navy); font-weight: 500; }
.area__foot svg { color: var(--copper); flex: none; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 1.9rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.review blockquote { color: var(--ink); font-size: .98rem; }
.review figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; flex: none; }
.review figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.review figcaption strong { color: var(--navy); font-family: var(--font-head); }
.review figcaption small { color: var(--muted); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.faq__list { display: grid; gap: .8rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: rgba(193, 116, 60, .4); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--copper); line-height: 1; transition: transform .25s; flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.contact__info { display: grid; gap: .8rem; }
.contact__card { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s; }
a.contact__card:hover { transform: translateY(-2px); border-color: var(--copper); }
.contact__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--navy-050); color: var(--navy); flex: none; }
.contact__card--call { background: var(--navy); border-color: var(--navy); }
.contact__card--call .contact__ico { background: rgba(255, 255, 255, .14); color: #fff; }
.contact__card.contact__card--call small { color: #b9cde0; }
.contact__card.contact__card--call strong { color: #fff; }
.contact__card span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.contact__card small { font-size: .78rem; color: var(--muted); }
.contact__card strong { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.contact__map { margin-top: .4rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact__map iframe { width: 100%; height: 240px; border: 0; display: block; }

/* Form */
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--navy); font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); background: #fff; box-shadow: 0 0 0 3px rgba(193, 116, 60, .12); outline: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--emergency); background: #fdf2f2; }
.field__error { color: var(--emergency); font-size: .78rem; min-height: 0; }
.form__hint { font-size: .85rem; color: var(--muted); text-align: center; }
.form__hint a { color: var(--copper-600); font-weight: 600; text-decoration: underline; }
.form__success { background: #ecfdf3; border: 1px solid #a7e3c1; color: #16794a; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-weight: 500; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-800); color: #a9c1d6; padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2.5rem; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: var(--copper); }
.footer__note { margin-top: 1rem; max-width: 24rem; font-size: .9rem; color: #96b0c6; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .55rem; font-size: .92rem; }
.footer__col a:hover { color: var(--copper); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__bottom a { color: #fff; font-weight: 600; }
.footer__bottom a:hover { color: var(--copper); }

/* ---------- Floating call (mobil) ---------- */
.fab-call {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 80; display: none;
  align-items: center; gap: .5rem; background: var(--copper); color: #fff;
  font-family: var(--font-head); font-weight: 700; padding: .9rem 1.3rem; border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(193, 116, 60, .9); animation: fabIn .4s ease .6s both;
}
.fab-call:active { transform: scale(.97); }
@keyframes fabIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- Reveal (Intersection Observer) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 30rem; margin-inline: auto; order: -1; }
  .hero__badge { left: 0; }
  .hero__badge--2 { right: 0; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .pricing, .about, .area, .faq, .contact { grid-template-columns: 1fr; }
  .about__media, .area__map { max-width: 26rem; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Hamburger navigace na tabletu i mobilu (7 položek se do řádku nevejde) */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: calc(var(--topbar-h) + var(--nav-h)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem var(--gutter) 1.2rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s ease; z-index: 54;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: .95rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: block; }
  .fab-call { display: inline-flex; }
}

@media (max-width: 720px) {
  .topbar__promise { font-size: .78rem; }
  .topbar__promise strong { display: inline; }

  .cards, .reviews, .steps, .stats__grid, .field-row { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .promise__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .hero__cta .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  /* Kompaktní hlavička – ať se vejde hamburger i CTA */
  .topbar__phone { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__promise { justify-content: center; text-align: center; line-height: 1.25; }
  .brand__text strong { font-size: .95rem; }
  .btn--call span { display: none; }
  .btn--call { padding: .6rem .75rem; }
  .nav__actions { gap: .45rem; }
}

@media (max-width: 360px) {
  .brand__text small { display: none; }
  .brand__text strong { font-size: .88rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pulse-dot, .ring--1, .fab-call { animation: none !important; }
  .hero__photo { transform: none; }
}
