:root {
  --slate: #5e6984;
  --slate-deep: #49536c;
  --slate-dark: #333b50;
  --cream: #efece5;
  --cream-light: #f8f5ef;
  --ink: #272b35;
  --white: #fff;
  --gold: #f1c76b;
  --orange: #df7b28;
  --line-dark: rgba(39, 43, 53, 0.16);
  --line-light: rgba(255, 255, 255, 0.44);
  --shadow: 0 18px 50px rgba(31, 37, 53, 0.16);
  --content: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--slate);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  background: var(--cream-light);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 490px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--slate-dark) url("assets/brno-panorama.png") center 55% / cover no-repeat;
  isolation: isolate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 23, 38, 0.32), rgba(17, 23, 38, 0.42)),
    radial-gradient(circle at center, transparent 10%, rgba(17, 23, 38, 0.24) 100%);
}

.hero__content {
  width: min(94%, var(--content));
  padding: 80px 24px 64px;
  text-align: center;
  color: var(--white);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.48);
}

.hero__eyebrow,
.section__kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__eyebrow {
  color: #f4ddb0;
}

.hero h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.2rem, 10vw, 7.5rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero__subtitle {
  margin: 24px 0 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(0.92rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 34px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  transform: translateX(-50%);
}

.hero__scroll span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 5px;
  background: var(--white);
  transform: translateX(-50%);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 17px); }
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 236, 229, 0.94);
  box-shadow: 0 6px 18px rgba(25, 29, 41, 0.11);
  backdrop-filter: blur(14px);
}

.main-nav__list {
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(10px, 3vw, 48px);
  list-style: none;
}

.main-nav a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  color: #333640;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.section {
  padding: clamp(74px, 9vw, 126px) 24px;
}

.section--slate {
  background: var(--slate);
  color: var(--white);
}

.section--cream {
  background: var(--cream);
  color: var(--ink);
}

.content {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.content--intro {
  width: min(100%, 1040px);
}

.section__kicker {
  color: var(--orange);
}

.section--slate .section__kicker {
  color: var(--gold);
}

.section h2 {
  max-width: 840px;
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
}

.lead {
  max-width: 840px;
  margin: 0 0 46px;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.72;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(38px, 7vw, 90px);
  align-items: start;
}

.intro-grid > div > p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.72;
}

.service-card {
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 45px rgba(33, 39, 56, 0.18);
}

.service-card__title {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.accent-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.accent-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 21px;
  line-height: 1.5;
}

.accent-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.accent-list--gold li::before {
  background: var(--gold);
}

.divider {
  position: relative;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 53, 65, 0.55), transparent);
}

.steps {
  margin: 58px 0 54px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  list-style: none;
}

.steps li {
  min-height: 210px;
  padding: 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.steps__number {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.steps h3,
.price-group h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  font-weight: 400;
}

.steps p {
  margin: 0;
  color: #555966;
  line-height: 1.65;
}

.note {
  padding: 24px 26px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
}

.note strong {
  margin-right: 6px;
}

.section-heading-row {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.section-heading-row h2,
.section-heading-row p {
  margin-bottom: 0;
}

.section-heading-row p {
  padding-bottom: 9px;
  color: var(--gold);
  font-weight: 700;
}

.price-notice {
  max-width: 760px;
  margin: 0 0 50px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.price-groups {
  display: grid;
  gap: 44px;
}

.price-group h3 {
  color: var(--white);
}

.price-table {
  border-top: 1px solid var(--line-light);
  box-shadow: 3px 14px 35px rgba(39, 46, 65, 0.22);
}

.price-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.price-row > * {
  padding: 20px 22px;
}

.price-row strong {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-left: 1px solid var(--line-light);
  color: var(--gold);
  text-align: right;
  white-space: nowrap;
}

.price-footnote {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 112px;
}

.form-copy .lead {
  margin-bottom: 28px;
}

.form-copy__small {
  color: #6a6d75;
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-form {
  padding: clamp(28px, 5vw, 52px);
  background: var(--cream-light);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 23px;
}

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

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-form small {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bab7b0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input {
  min-height: 52px;
  padding: 11px 14px;
}

.contact-form textarea {
  min-height: 170px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(94, 105, 132, 0.14);
}

.contact-form .is-invalid {
  border-color: #a63f34;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.button {
  min-height: 50px;
  padding: 12px 25px;
  border: 2px solid var(--slate-dark);
  background: transparent;
  color: var(--slate-dark);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--slate-dark);
  color: var(--white);
}

.form-status {
  margin: 0;
  color: #666a73;
  font-size: 0.88rem;
  line-height: 1.45;
}

.photo-break {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  background: var(--slate-dark) url("assets/brno-panorama.png") center 68% / cover no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}

.photo-break__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(35, 42, 59, 0.5);
}

.photo-break p {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.35);
}

.footer {
  background: var(--slate);
  color: var(--white);
}

.footer__grid {
  padding: 70px 24px 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.85fr;
  gap: clamp(36px, 7vw, 80px);
}

.footer__brand {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer__tagline {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.footer h2 {
  margin: 0 0 20px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__contact p,
.footer__legal p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer__contact a {
  color: var(--white);
  text-underline-offset: 3px;
}

.footer__legal a {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.85rem;
  text-underline-offset: 4px;
}

.placeholder {
  color: rgba(255, 255, 255, 0.57);
  font-style: italic;
}

.footer__bottom {
  background: var(--slate-deep);
}

.footer__bottom .content {
  padding: 18px 24px;
}

.footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .photo-break { background-attachment: scroll; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 58px; }

  .hero {
    min-height: 420px;
    background-position: 57% center;
  }

  .hero__content {
    padding-inline: 10px;
  }

  .hero h1 {
    font-size: clamp(3.75rem, 17vw, 6.4rem);
  }

  .main-nav {
    min-height: 58px;
  }

  .nav-toggle {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    width: 24px;
    height: 2px;
    display: block;
    background: var(--ink);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .nav-toggle__icon {
    position: relative;
  }

  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle__icon::before { top: -7px; }
  .nav-toggle__icon::after { top: 7px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

  .main-nav__list {
    position: fixed;
    top: 58px;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 0;
    padding: 36px 22px;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    background: rgba(239, 236, 229, 0.985);
  }

  .main-nav__list.is-open {
    display: flex;
  }

  .main-nav__list li {
    width: min(100%, 400px);
  }

  .main-nav a {
    height: auto;
    padding: 18px 6px;
    justify-content: center;
    border-bottom: 1px solid rgba(39, 43, 53, 0.13);
    font-size: 0.92rem;
  }

  .main-nav a::after {
    bottom: 8px;
  }

  .intro-grid,
  .form-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .form-copy {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: 0;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row p {
    padding-bottom: 0;
  }

  .photo-break {
    min-height: 260px;
    background-attachment: scroll;
  }

  .footer__grid {
    padding-inline: 24px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 68px 20px;
  }

  .hero__subtitle {
    line-height: 1.6;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .price-row strong {
    justify-content: flex-start;
    border-top: 1px solid var(--line-light);
    border-left: 0;
    text-align: left;
  }

  .steps li {
    padding: 28px 22px;
    gap: 16px;
  }

  .contact-form {
    margin-inline: -5px;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
