:root {
  --ink: #121920;
  --ink-soft: #2b353c;
  --paper: #f5f2eb;
  --canvas: #fbfaf7;
  --panel: #ffffff;
  --wine: #762b3b;
  --wine-dark: #5f1f2d;
  --gold: #8a642e;
  --gold-light: #c49a5a;
  --sage: #50685a;
  --line: #d9d3c9;
  --muted: #5e6970;
  --shadow: 0 24px 64px rgba(18, 25, 32, 0.13);
  --radius: 6px;
  --max: 1180px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(184, 143, 84, 0.72);
  outline-offset: 4px;
}

.page-loader {
  display: none;
}

.js .page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff;
  background: var(--ink);
  transition: opacity 460ms ease, visibility 460ms ease;
}

.page-loader > img {
  width: 56px;
  height: 56px;
}

.page-loader > span {
  font-weight: 750;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-line {
  width: 180px;
  height: 2px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.loader-line span {
  display: block;
  width: 44%;
  height: 100%;
  background: var(--gold-light);
  animation: loadSlide 900ms ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - 1360px) / 2));
  background: rgba(245, 242, 235, 0.91);
  border-bottom: 1px solid rgba(217, 211, 201, 0.78);
  backdrop-filter: blur(18px);
}

.js body:not(.page-ready) .site-header {
  opacity: 0;
  transform: translateY(-14px);
}

.page-ready .site-header {
  animation: headerDrop 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 13px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 600;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-ready .brand-mark {
  animation: markSettle 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #344047;
  font-size: 0.92rem;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--wine);
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--wine);
}

.nav-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(18, 25, 32, 0.22);
}

.button:hover,
.nav-cta:hover,
.button:focus-visible,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--wine-dark);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 104px max(28px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--ink);
}

.hero-media,
.hero-media img,
.hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(0.76) contrast(0.96) brightness(0.91);
  transform: scale(1.025);
}

.page-ready .hero-media img {
  animation: heroSettle 1300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero::before {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(18, 25, 32, 0.96) 0%, rgba(18, 25, 32, 0.82) 42%, rgba(18, 25, 32, 0.12) 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.estimate-section .eyebrow,
.contact-section .eyebrow,
.article-featured .article-kicker {
  color: var(--gold-light);
}

.hero h1,
.section-heading h2,
.split-copy h2,
.contact-copy h2,
.estimate-copy h2,
.article-page h1,
.legal-page h1,
.hub-hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: 6.4rem;
}

.hero-tagline {
  max-width: 670px;
  margin: 22px 0 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-copy {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

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

.hero-note {
  position: absolute;
  z-index: 2;
  right: max(28px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
}

.page-ready .hero-content .eyebrow {
  animation: softSlideIn 720ms cubic-bezier(0.22, 1, 0.36, 1) 210ms both;
}

.page-ready .hero-content h1 {
  animation: heroTitleIn 880ms cubic-bezier(0.22, 1, 0.36, 1) 290ms both;
}

.page-ready .hero-tagline,
.page-ready .hero-copy {
  animation: softSlideIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 430ms both;
}

.page-ready .hero-copy {
  animation-delay: 520ms;
}

.page-ready .hero-actions .button {
  animation: buttonFloatIn 760ms cubic-bezier(0.22, 1, 0.36, 1) 620ms both;
}

.page-ready .hero-actions .button:nth-child(2) {
  animation-delay: 700ms;
}

.trust-band {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 40px));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-band div {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

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

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

.trust-band strong {
  font-size: 1.02rem;
}

.trust-band span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-ready .trust-band div {
  animation: cardTiltIn 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-ready .trust-band div:nth-child(1) { animation-delay: 760ms; }
.page-ready .trust-band div:nth-child(2) { animation-delay: 850ms; }
.page-ready .trust-band div:nth-child(3) { animation-delay: 940ms; }

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

#sluzby,
#odhad,
#postup,
#clanky,
#reference,
#kontakt {
  scroll-margin-top: 104px;
}

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

.section-heading h2,
.split-copy h2,
.contact-copy h2,
.estimate-copy h2,
.hub-hero h1 {
  font-size: 3.45rem;
}

.section-heading p:not(.eyebrow),
.split-copy > p,
.contact-copy p,
.estimate-copy p,
.hub-hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-list {
  border-top: 1px solid var(--ink);
}

.service-row {
  display: grid;
  grid-template-columns: 64px minmax(220px, 0.9fr) minmax(280px, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: 32px 4px;
  border-bottom: 1px solid var(--line);
}

.service-row h3,
.service-row p {
  margin: 0;
}

.service-row h3 {
  font-size: 1.35rem;
  line-height: 1.3;
}

.service-row p {
  color: var(--muted);
}

.service-number {
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 850;
}

.estimate-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: 72px;
  align-items: center;
  width: 100%;
  padding: 90px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--ink);
}

.estimate-copy {
  max-width: 720px;
}

.estimate-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
}

.estimate-panel {
  padding: 28px;
  color: var(--ink);
  background: var(--canvas);
  border-radius: var(--radius);
}

.estimate-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.estimate-list {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding-left: 22px;
}

.estimate-panel .button {
  width: 100%;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 78px;
  align-items: center;
}

.feature-photo {
  margin: 0;
}

.feature-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 54% center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(0.8) contrast(0.97);
}

.feature-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1rem;
  font-style: italic;
}

.split-copy {
  max-width: 610px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

.process-band {
  background: #e9e7e1;
}

.process {
  padding-top: 92px;
  padding-bottom: 96px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #bbb7ae;
}

.process-step {
  min-height: 238px;
  padding: 28px 24px 18px 0;
  border-right: 1px solid #cbc7be;
}

.process-step + .process-step {
  padding-left: 24px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--sage);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 850;
}

.process-step h3 {
  margin: 36px 0 10px;
  font-size: 1.2rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 56px;
  align-items: end;
}

.article-heading > p {
  margin: 0 0 6px;
}

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

.article-card {
  min-height: 326px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: #bdb4a7;
  box-shadow: 0 18px 42px rgba(18, 25, 32, 0.1);
}

.article-featured {
  grid-column: span 2;
  min-height: 360px;
  padding: 34px;
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.article-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card h2,
.article-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.16;
}

.article-featured h2,
.article-featured h3 {
  max-width: 620px;
  font-size: 2.55rem;
}

.article-card > p:not(.article-kicker) {
  margin: 0;
  color: var(--muted);
}

.article-featured > p:not(.article-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.article-card a,
.text-link {
  justify-self: start;
  color: var(--wine);
  font-weight: 800;
  border-bottom: 1px solid rgba(118, 43, 59, 0.36);
}

.article-featured a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.all-articles-link {
  display: inline-flex;
  margin-top: 28px;
}

.testimonials {
  overflow: hidden;
  padding-top: 72px;
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}

.carousel-viewport {
  min-width: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 320px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.review-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(.68) contrast(.94) brightness(.98);
}

.review-card p {
  margin: 10px 0 0;
  color: #3d474d;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.08rem;
}

.review-card h3 {
  margin: 18px 0 0;
  font-size: 0.96rem;
}

.stars {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--panel);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--canvas);
}

.carousel-dots {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c6beb2;
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 25px;
  border-radius: 8px;
  background: var(--wine);
}

.carousel-toggle {
  grid-column: 3;
  justify-self: end;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--panel);
  font-size: 0.75rem;
  cursor: pointer;
}

.faq-section {
  padding-top: 56px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 6px;
  color: var(--wine);
  font-size: 1.6rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 820px;
  margin: -6px 0 24px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.65fr);
  gap: 72px;
  align-items: center;
  width: 100%;
  padding: 86px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--ink);
}

.contact-copy {
  max-width: 720px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-link {
  display: grid;
  gap: 3px;
  padding: 20px;
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  background: var(--wine-dark);
}

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

.contact-link span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: 2rem;
}

.contact-options p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 0.7fr auto;
  gap: 32px;
  align-items: start;
  padding: 38px max(24px, calc((100vw - 1360px) / 2));
  color: rgba(255, 255, 255, 0.7);
  background: #090e13;
}

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

.site-footer strong,
.site-footer a {
  color: #fff;
}

.site-footer a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.subpage {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 104px;
}

.article-page,
.legal-page {
  max-width: var(--reading);
  margin: 0 auto;
}

.article-page h1,
.legal-page h1 {
  margin-bottom: 22px;
  font-size: 4rem;
}

.article-page h2,
.legal-page h2 {
  margin: 42px 0 12px;
  font-size: 1.72rem;
  line-height: 1.25;
}

.article-page h3,
.legal-page h3 {
  margin: 30px 0 8px;
  font-size: 1.15rem;
}

.article-page p,
.article-page li,
.legal-page p,
.legal-page li {
  color: #455158;
  font-size: 1.03rem;
}

.article-page p,
.legal-page p {
  margin: 0 0 18px;
}

.article-page .lead,
.legal-page .lead {
  color: var(--ink-soft);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.34rem;
  line-height: 1.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.article-meta span + span,
.article-meta time + span {
  position: relative;
}

.article-meta span + span::before,
.article-meta time + span::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--wine);
  font-weight: 800;
  border-bottom: 1px solid rgba(118, 43, 59, 0.32);
}

.article-intro-list {
  margin: 22px 0 32px;
  padding: 20px 24px 20px 44px;
  border-left: 3px solid var(--gold);
  background: #efebe2;
}

.action-box,
.note-box,
.source-note {
  margin: 24px 0 30px;
  padding: 24px;
  border-radius: var(--radius);
}

.action-box {
  border: 1px solid rgba(80, 104, 90, 0.28);
  background: #edf1eb;
}

.note-box {
  border-left: 4px solid var(--gold);
  background: #efebe2;
}

.source-note {
  border: 1px solid var(--line);
  background: var(--canvas);
}

.action-box h2,
.action-box h3,
.note-box h2,
.note-box h3,
.source-note h2,
.source-note h3 {
  margin-top: 0;
}

.action-box ul,
.note-box ul,
.source-note ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.source-note a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-table-wrap {
  margin: 24px 0 32px;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--panel);
}

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

.article-table th {
  color: var(--ink);
  background: #ebe7df;
  font-size: 0.85rem;
}

.article-table td {
  color: #455158;
  font-size: 0.94rem;
}

.article-cta {
  margin-top: 48px;
  padding: 30px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.article-cta h2 {
  margin: 0 0 10px;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.article-disclaimer {
  margin-top: 24px !important;
  color: var(--muted) !important;
  font-size: 0.84rem !important;
}

.related-articles {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 100px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.related-articles h2 {
  margin: 0 0 24px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-grid a {
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-weight: 750;
}

.hub-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 58px;
  border-bottom: 1px solid var(--line);
}

.hub-hero > div {
  max-width: 820px;
}

.hub-hero p:not(.eyebrow) {
  max-width: 720px;
}

.hub-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hub-grid .article-card {
  min-height: 340px;
}

.legal-page ul {
  display: grid;
  gap: 8px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes loadSlide {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(80%); }
  100% { transform: translateX(250%); }
}

@keyframes heroSettle {
  to { transform: scale(1); }
}

@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes markSettle {
  from { opacity: 0; transform: rotate(-7deg) scale(0.92); }
  to { opacity: 1; transform: rotate(0deg) scale(1); }
}

@keyframes softSlideIn {
  from { opacity: 0; transform: translateY(18px) rotate(-0.45deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(28px) rotate(-0.7deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes buttonFloatIn {
  from { opacity: 0; transform: translateY(18px) rotate(0.7deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes cardTiltIn {
  from { opacity: 0; transform: translateY(16px) rotate(-0.8deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-delay: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 5.3rem;
  }

  .service-row {
    grid-template-columns: 52px minmax(200px, 0.85fr) minmax(250px, 1.15fr);
  }

  .estimate-section,
  .contact-section {
    gap: 42px;
  }

  .split-section {
    gap: 48px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid #cbc7be;
  }

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

  .review-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    padding: 10px 16px 7px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .main-nav {
    gap: 20px;
    padding: 2px 0 4px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 720px;
    padding: 88px 20px 110px;
    align-items: end;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(18, 25, 32, 0.93), rgba(18, 25, 32, 0.54));
  }

  .hero-media img {
    object-position: 69% center;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-tagline {
    font-size: 1.24rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-note {
    right: 20px;
    bottom: 26px;
  }

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

  .trust-band {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin-top: -26px;
  }

  .trust-band div {
    padding: 19px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .section,
  .hub-hero,
  .hub-grid,
  .related-articles {
    width: calc(100% - 28px);
  }

  .section {
    padding: 76px 0;
  }

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

  .section-heading h2,
  .split-copy h2,
  .contact-copy h2,
  .estimate-copy h2,
  .hub-hero h1 {
    font-size: 2.55rem;
  }

  .service-row {
    grid-template-columns: 42px 1fr;
    gap: 10px 16px;
    padding: 26px 0;
  }

  .service-row p {
    grid-column: 2;
  }

  .estimate-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 68px 18px;
  }

  .estimate-panel,
  .contact-options {
    padding: 20px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .feature-photo img {
    height: 420px;
  }

  .process {
    padding: 72px 0;
  }

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

  .process-step,
  .process-step + .process-step {
    min-height: auto;
    padding: 24px 0 28px;
    border-right: 0;
    border-bottom: 1px solid #cbc7be;
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step h3 {
    margin-top: 20px;
  }

  .article-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-grid,
  .hub-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-featured {
    grid-column: auto;
    min-height: 340px;
    padding: 28px;
  }

  .article-featured h3 {
    font-size: 2.05rem;
  }

  .article-card {
    min-height: 300px;
  }

  .carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .review-card {
    flex-basis: 100%;
    min-height: 350px;
    padding: 22px;
  }

  .carousel-dots {
    grid-column: 1 / 3;
  }

  .carousel-toggle {
    grid-column: 3;
  }

  .contact-link strong {
    font-size: 1.72rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .subpage {
    width: calc(100% - 28px);
    padding: 56px 0 80px;
  }

  .article-page h1,
  .legal-page h1 {
    font-size: 2.8rem;
  }

  .article-page .lead,
  .legal-page .lead {
    font-size: 1.2rem;
  }

  .article-cta {
    padding: 24px;
  }

  .article-cta .button {
    width: 100%;
  }

  .hub-hero {
    padding: 64px 0 44px;
  }

  .hub-grid {
    padding: 36px 0 80px;
  }
}

@media (max-width: 420px) {
  .brand-copy strong {
    font-size: 0.92rem;
  }

  .nav-cta {
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-note {
    font-size: 0.7rem;
  }

  .service-row {
    grid-template-columns: 34px 1fr;
  }

  .article-page h1,
  .legal-page h1 {
    font-size: 2.45rem;
  }
}

/* Refined presentation; the original palette and page structure are retained. */
html { scroll-padding-top: 105px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 20px; color: white; background: var(--wine); border-radius: 4px; }
.skip-link:focus { top: 12px; }
.brand-copy small { letter-spacing: .09em; font-weight: 600; }
.brand { gap: 9px; }
.nav-cta, .button { font-weight: 650; min-height: 48px; }
.eyebrow { font-weight: 650; letter-spacing: .12em; }
.hero { min-height: 660px; padding-top: 100px; padding-bottom: 120px; }
.hero-content { width: min(620px, 55%); }
.hero h1 { font-size: clamp(4.1rem, 7vw, 5.7rem); font-weight: 500; letter-spacing: -.035em; }
.hero-tagline { max-width: 510px; font-size: 1.45rem; font-weight: 550; }
.hero-copy { max-width: 500px; color: #e0e3e5; font-size: 1.04rem; line-height: 1.75; }
.hero-media img { filter: saturate(.76) contrast(.94) brightness(.94); transform: none; object-position: 66% center; }
.hero::before { background: linear-gradient(90deg, rgba(18,25,32,.94), rgba(18,25,32,.80) 35%, rgba(18,25,32,.23) 60%, rgba(18,25,32,0) 76%); }
.hero-note { letter-spacing: .12em; color: #fff; text-shadow: 0 1px 8px #121920; }
.page-ready .site-header, .page-ready .brand-mark, .page-ready .hero-media img,
.page-ready .hero-content .eyebrow, .page-ready .hero-content h1,
.page-ready .hero-tagline, .page-ready .hero-copy, .page-ready .hero-actions .button { animation: none; }
.section-heading h2, .split-copy h2, .contact-copy h2, .estimate-copy h2 { line-height: 1.12; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.feature-photo img { filter: saturate(.76) contrast(.94) brightness(.98); object-position: 64% center; }
.trust-band { box-shadow: 0 12px 36px rgba(18,25,32,.07); }
.review-initials { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--wine); font-family: Georgia, serif; font-size: 1.2rem; }
.carousel { touch-action: pan-y; }
.carousel-dots button { min-height: 24px; border-radius: 4px; }
.js .reveal { opacity: 1; transform: none; }
@media (min-width: 761px) and (max-width: 1080px) {
  html { scroll-padding-top: 140px; }
  .hero-content { width: min(580px, 66%); }
  .hero h1 { font-size: 4.5rem; }
  .hero::before { background: linear-gradient(90deg, rgba(18,25,32,.95), rgba(18,25,32,.78) 40%, rgba(18,25,32,.04) 88%); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 124px; }
  .site-header { gap: 6px 10px; }
  .main-nav { gap: 23px; }
  .main-nav a { min-height: 40px; display: inline-flex; align-items: center; }
  .nav-cta { min-height: 42px; }
  .hero { display: block; min-height: 0; padding: 320px 24px 78px; }
  .hero-media { height: 380px; }
  .hero-media img { object-position: 73% 24%; }
  .hero::before { background: linear-gradient(180deg, transparent 190px, rgba(18,25,32,.22) 260px, #121920 380px); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(3rem, 11.8vw, 4.2rem); }
  .hero-tagline { font-size: 1.25rem; margin-top: 20px; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .hero-note { bottom: 35px; left: 24px; right: auto; font-size: .65rem; }
  .hero-actions .button { min-height: 50px; }
  .feature-photo img { height: auto; aspect-ratio: 1 / 1; object-position: 66% center; }
  .section-heading h2, .split-copy h2, .contact-copy h2, .estimate-copy h2 { font-size: 2.3rem; }
}
.carousel-dots { gap: 2px; }
.carousel-dots button, .carousel-dots button.is-active { width: 24px; height: 28px; min-height: 28px; border-radius: 0; background: transparent; display: grid; place-items: center; }
.carousel-dots button::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b4aa9c; }
.carousel-dots button.is-active::after { width: 16px; border-radius: 8px; background: var(--wine); }
@media (max-width: 760px) { .main-nav { gap: 12px; justify-content: space-between; font-size: .8rem; } }
@media (max-width: 360px) { .main-nav { gap: 8px; font-size: .74rem; } .carousel-dots { gap: 0; } .carousel-dots button, .carousel-dots button.is-active { width: 22px; } }
