:root {
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #1e2527;
  --muted: #687579;
  --line: #ded8ce;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --red: #b33f31;
  --gold: #d9a441;
  --shadow: 0 18px 60px rgba(30, 37, 39, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-150%);
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid rgba(222, 216, 206, 0.75);
  backdrop-filter: blur(18px);
}

.site-header.menu-open {
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  padding: 0 18px;
  color: #fff;
  background: var(--teal);
}

.button {
  padding: 12px 18px;
  border: 1px solid transparent;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.2);
}

.primary {
  color: #fff;
  background: var(--teal);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 253, 249, 0.9);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 42, 43, 0.82), rgba(11, 42, 43, 0.34) 58%, rgba(11, 42, 43, 0.17)),
    url("assets/prague-hero-optimized.jpg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 76px) clamp(40px, 10vh, 96px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c96b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 6vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.intro > p,
.split p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.service-grid,
.price-grid,
.quote-grid,
.steps {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.price-grid article,
.quote-grid blockquote,
.steps div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card {
  padding: 26px;
}

.service-card p,
.price-grid p,
.steps p,
.quote-grid p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 34px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-dark);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 7vw, 96px);
  background: #e8f0ed;
}

.split h2 {
  margin-bottom: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 18px 18px 46px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.76);
}

.check-list li::before {
  position: absolute;
  left: 18px;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.urgent {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
}

.urgent-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.urgent-panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.urgent-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.urgent-panel .primary {
  background: #fff;
  color: var(--teal-dark);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 0.95fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  background: var(--paper);
}

.about-portrait {
  display: grid;
  min-height: 420px;
  align-items: end;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.15), rgba(217, 164, 65, 0.18)),
    #e8f0ed;
  padding: 22px;
}

.portrait-card {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
}

.portrait-initials {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.portrait-card p,
.about-copy p {
  color: var(--muted);
}

.about-copy > p {
  margin: 22px 0 0;
  font-size: 19px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.proof-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.locations {
  background: #173d3a;
  color: #fff;
}

.locations .eyebrow {
  color: #f3c96b;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.location-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.location-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.cases {
  background: var(--bg);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-grid article {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.case-grid span {
  display: inline-block;
  margin-bottom: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(179, 63, 49, 0.1);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.case-grid p {
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps div {
  padding: 24px;
}

.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--gold);
  color: #2f260d;
  font-weight: 900;
}

.prices {
  background: var(--paper);
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-grid article {
  padding: 28px;
}

.price-grid .featured {
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: var(--shadow);
}

.price {
  margin: 18px 0 14px;
  color: var(--teal-dark) !important;
  font-size: 30px;
  font-weight: 900;
}

.comparison-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #f0ebe3;
  color: var(--ink);
  font-size: 14px;
  text-transform: uppercase;
}

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.guide {
  background: #f0ebe3;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-grid article {
  min-width: 0;
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--paper);
}

.guide-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--red);
  font-weight: 900;
}

.guide-grid p {
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.checklist p {
  color: var(--muted);
  font-size: 19px;
}

.print-button,
.checklist-actions {
  margin-top: 24px;
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checklist-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: checklist;
  list-style: none;
}

.checklist-list li {
  position: relative;
  min-height: 76px;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.checklist-list li::before {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  content: counter(checklist);
  counter-increment: checklist;
  font-weight: 900;
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-grid blockquote {
  margin: 0;
  padding: 26px;
}

.quote-grid cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 7vw, 96px);
  background: #173d3a;
  color: #fff;
}

.contact .eyebrow {
  color: #f3c96b;
}

.contact p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.prepared-link {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  color: var(--teal-dark);
  font-weight: 800;
  text-align: center;
}

.prepared-link.is-visible {
  display: block;
}

.request-preview {
  display: none;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.06);
}

.request-preview.is-visible {
  display: grid;
}

.request-preview textarea {
  min-height: 150px;
  background: #fff;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.messenger-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 76px);
  color: var(--muted);
  background: var(--paper);
}

.legal-page {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) 0;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(38px, 7vw, 72px);
}

.legal-page > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.legal-page section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  font-size: clamp(24px, 4vw, 34px);
}

.legal-page section p {
  max-width: 760px;
  color: var(--muted);
}

.legal-page a {
  color: var(--teal);
  font-weight: 800;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.standalone-checklist {
  display: grid;
  gap: 24px;
}

.standalone-checklist .checklist-list {
  margin-top: 8px;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.quick-contact a {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav {
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(30, 37, 39, 0.08);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 78vh;
  }

  .intro,
  .split,
  .urgent,
  .about,
  .checklist,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-grid,
  .quote-grid,
  .guide-grid,
  .case-grid,
  .proof-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
  }

  .brand span:last-child {
    max-width: 118px;
    line-height: 1.12;
  }

  .header-action {
    min-height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 46px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(11, 42, 43, 0.35), rgba(11, 42, 43, 0.88)),
      url("assets/prague-hero-optimized.jpg") center / cover;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
  }

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

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .quick-contact {
    left: 12px;
    right: 12px;
    justify-content: stretch;
  }

  .quick-contact a {
    flex: 1;
    text-align: center;
  }
}

@media print {
  .site-header,
  .hero,
  .trust-strip,
  .services,
  .split,
  .urgent,
  .about,
  .locations,
  .cases,
  .process,
  .prices,
  .guide,
  .faq,
  .testimonials,
  .contact,
  .site-footer,
  .quick-contact,
  .print-button,
  .skip-link {
    display: none !important;
  }

  .checklist {
    display: block;
    padding: 0;
  }

  body {
    background: #fff;
  }
}
