:root {
  --ink: #171310;
  --ink-soft: #433a33;
  --stone: #f6f0e6;
  --stone-2: #e8ded0;
  --sand: #c7a467;
  --sand-dark: #8d6937;
  --brown: #2a221d;
  --white: #fffaf3;
  --muted: #746a60;
  --line: rgba(42, 34, 29, .12);
  --shadow: 0 26px 70px rgba(24, 19, 16, .16);
  --shadow-soft: 0 16px 42px rgba(24, 19, 16, .10);
  --radius: 26px;
  --radius-lg: 44px;
  --container: 1180px;
  --header: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(199, 164, 103, .18), transparent 34rem),
    linear-gradient(180deg, #fffaf3 0%, #f8f2e8 48%, #efe6d8 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header);
  color: #fff;
  transition: background .28s ease, color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.site-header.is-scrolled,
.page-service .site-header,
.page-contact .site-header,
.page-404 .site-header {
  background: rgba(255, 250, 243, .88);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(35, 28, 24, .10);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 243, .90);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
  transition: background .28s ease, box-shadow .28s ease, padding .28s ease;
}

.site-header.is-scrolled .brand,
.page-service .brand,
.page-contact .brand,
.page-404 .brand {
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand img {
  width: 248px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .22));
  transition: filter .28s ease;
}

.site-header.is-scrolled .brand img,
.page-service .brand img,
.page-contact .brand img,
.page-404 .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav > a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 750;
  font-size: .94rem;
  letter-spacing: .01em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.main-nav > a:hover,
.nav-dropdown:hover > button,
.nav-dropdown > button:focus-visible,
.main-nav > a.is-active {
  background: rgba(199, 164, 103, .22);
  color: var(--sand);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 310px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 24px;
  background: rgba(29, 24, 20, .92);
  color: #fff;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.site-header.is-scrolled .nav-dropdown__panel,
.page-service .nav-dropdown__panel,
.page-contact .nav-dropdown__panel,
.page-404 .nav-dropdown__panel {
  background: rgba(255, 250, 243, .98);
  color: var(--ink);
  border-color: var(--line);
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-dropdown__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: inherit;
  font-weight: 680;
  transition: background .2s ease, transform .2s ease;
}

.nav-dropdown__panel a:hover {
  background: rgba(199, 164, 103, .18);
  transform: translateX(4px);
}

.header-phone {
  display: grid;
  gap: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  font-weight: 850;
  line-height: 1.1;
}

.site-header.is-scrolled .header-phone,
.page-service .header-phone,
.page-contact .header-phone,
.page-404 .header-phone {
  border-color: rgba(42, 34, 29, .14);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.header-phone span {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--sand);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-slide img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.1s ease, transform 7s ease;
  transform: scale(1.04);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 9, 7, .74) 0%, rgba(12, 9, 7, .44) 38%, rgba(12, 9, 7, .12) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, .15) 34%, rgba(0, 0, 0, .64));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header);
  max-width: var(--container);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--sand);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 7.6rem);
  line-height: .88;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.hero-lead,
.page-hero__content p {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: rgba(255, 255, 255, .86);
}

.hero-actions,
.cta-card .btn {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #dfbf7a, #9b7338);
  color: #fff;
  box-shadow: 0 16px 38px rgba(142, 106, 53, .34);
}

.btn-ghost {
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(14px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-dot {
  min-height: 72px;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 20px;
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hero-dot span {
  display: block;
  margin-bottom: 4px;
  color: var(--sand);
  font-weight: 900;
}

.hero-dot.is-active,
.hero-dot:hover {
  background: rgba(255, 250, 243, .92);
  color: var(--ink);
  transform: translateY(-3px);
}

.contact-strip {
  margin-top: -1px;
  background: var(--ink);
  color: #fff;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .10);
}

.strip-grid a {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  background: #211b17;
  transition: background .2s ease;
}

.strip-grid a:hover {
  background: #2c241e;
}

.strip-grid strong {
  font-size: 1.04rem;
}

.strip-grid span {
  color: rgba(255, 255, 255, .66);
  font-size: .92rem;
}

.section {
  padding: clamp(74px, 9vw, 128px) 0;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.intro-copy h2,
.material-panel h2,
.cta-card h2,
.service-detail__copy h2,
.contact-info h2,
.contact-form h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.section-heading p,
.intro-copy p,
.material-panel p,
.material-card p,
.process-card p,
.service-card p,
.cta-card p,
.service-detail__copy p,
.contact-info p,
.contact-form p {
  margin: 0;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 42px;
  align-items: end;
}

.intro-copy p:not(.section-kicker) {
  margin-top: 22px;
  font-size: 1.08rem;
}

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

.stat-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, .78);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--sand-dark);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.section-services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, 0)),
    radial-gradient(circle at bottom right, rgba(42, 34, 29, .08), transparent 38rem);
}

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

.service-card {
  position: relative;
  display: grid;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .78));
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 34px;
  opacity: 0;
  transition: opacity .2s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover img {
  transform: scale(1.07);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .7s ease;
}

.service-card__num {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 28px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 250, 243, .88);
  color: var(--ink);
  font-weight: 900;
}

.service-card__body {
  position: relative;
  z-index: 3;
  align-self: end;
  padding: 28px;
}

.service-card__body span {
  color: var(--sand);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.service-card p {
  color: rgba(255, 255, 255, .78);
}

.section-materials {
  background: var(--ink);
  color: #fff;
}

.material-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.material-panel {
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)),
    #241f1b;
  border: 1px solid rgba(255, 255, 255, .10);
}

.material-panel p:not(.section-kicker) {
  margin-top: 22px;
  color: rgba(255, 255, 255, .72);
}

.material-cards {
  display: grid;
  gap: 14px;
}

.material-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
}

.material-card h3,
.process-card h3,
.location-card h3,
.company-card h3,
.service-aside h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.material-card p {
  color: rgba(255, 255, 255, .70);
}

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

.partner-logos img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
}

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

.process-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, .74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 60px;
  color: var(--sand-dark);
  font-weight: 900;
  letter-spacing: .14em;
}

.section-gallery {
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--stone-2);
  box-shadow: 0 12px 26px rgba(24, 19, 16, .08);
}

.gallery-item:nth-child(6n + 1),
.gallery-item:nth-child(6n + 4) {
  grid-row: span 2;
  min-height: 520px;
}

.gallery-item::after {
  content: "Zvětšit";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 243, .88);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.section-cta {
  padding-top: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 5vw, 62px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42)),
    radial-gradient(circle at top right, rgba(199, 164, 103, .32), transparent 32rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-card p:not(.section-kicker) {
  margin-top: 16px;
}

.page-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.page-hero__media,
.page-hero__media img,
.page-hero__shade {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 9, 7, .72), rgba(12, 9, 7, .28) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .72));
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header) + 80px) 0 72px;
}

.breadcrumb {
  color: var(--sand);
  font-weight: 800;
}

.page-hero__content > span {
  display: inline-block;
  margin-left: 8px;
  color: rgba(255, 255, 255, .66);
}

.page-hero__content h1 {
  margin-top: 18px;
  max-width: 920px;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: start;
}

.service-detail__copy p:not(.section-kicker) {
  margin-top: 22px;
  font-size: 1.1rem;
}

.service-aside,
.contact-form,
.company-card,
.location-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 250, 243, .86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  font-weight: 680;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfbf7a, #9b7338);
  box-shadow: 0 0 0 4px rgba(199, 164, 103, .16);
}

.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-list a {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: 36px;
  align-items: start;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0;
}

.contact-list a {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 250, 243, .86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-list strong {
  color: var(--sand-dark);
}

.contact-list span {
  color: var(--muted);
  font-size: .92rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.location-card a,
.company-card a {
  color: var(--sand-dark);
  font-weight: 850;
}

.company-card {
  margin-top: 14px;
}

.contact-form {
  position: sticky;
  top: calc(var(--header) + 24px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(42, 34, 29, .14);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sand);
  box-shadow: 0 0 0 4px rgba(199, 164, 103, .16);
}

.contact-form .btn {
  width: 100%;
  margin-top: 18px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.form-status {
  min-height: 24px;
  margin-top: 14px !important;
  font-weight: 750;
}

.form-status.is-ok {
  color: #256f42;
}

.form-status.is-error {
  color: #9f2d20;
}

.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(12, 9, 7, .88);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86svh;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
  object-fit: contain;
}

.lightbox__close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.site-footer {
  padding: 70px 0 28px;
  background: #171310;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 240px;
  max-width: 100%;
  margin-bottom: 18px;
  filter: invert(1) hue-rotate(180deg) contrast(.9) brightness(1.2);
}

.site-footer p {
  max-width: 360px;
  color: rgba(255, 255, 255, .62);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand);
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, .72);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .54);
  font-size: .9rem;
}

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

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

@media (max-width: 1100px) {
  :root {
    --header: 76px;
  }

  .header-phone {
    display: none;
  }

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

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

  .intro-grid,
  .material-layout,
  .service-detail__grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    position: static;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 208px;
  }

  .main-nav {
    position: fixed;
    top: var(--header);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    max-height: calc(100svh - var(--header) - 28px);
    overflow: auto;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 250, 243, .98);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a,
  .nav-dropdown > button {
    width: 100%;
    text-align: left;
    border-radius: 14px;
  }

  .nav-dropdown {
    padding-block: 0;
    margin-block: 0;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown > button {
    position: relative;
    padding-right: 42px;
  }

  .nav-dropdown > button::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sand-dark);
  }

  .nav-dropdown.is-open > button::after {
    content: "−";
  }

  .nav-dropdown__panel {
    position: static;
    width: 100%;
    margin-top: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: rgba(42, 34, 29, .05) !important;
    color: var(--ink) !important;
    box-shadow: none;
    border-width: 0;
    border-color: var(--line);
    transition: max-height .25s ease, padding .25s ease, margin-top .25s ease, border-width .25s ease;
  }

  .nav-dropdown.is-open .nav-dropdown__panel {
    margin-top: 6px;
    padding: 8px;
    max-height: 720px;
    border-width: 1px;
  }

  .nav-dropdown__panel a {
    transform: none !important;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 44px;
  }

  .hero-content {
    align-self: end;
    padding-top: calc(var(--header) + 42px);
    padding-bottom: 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.5rem, 11vw, 4.5rem);
  }

  .hero-controls {
    display: none;
  }

  .strip-grid,
  .stats-grid,
  .contact-list,
  .locations-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .service-card {
    min-height: 380px;
  }

  .gallery-item,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(6n + 4) {
    min-height: 260px;
    grid-row: auto;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn-ghost {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 180px;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 26px;
  }

  .hero-content {
    padding-top: calc(var(--header) + 28px);
    padding-bottom: 20px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 9.8vw, 3.6rem);
    line-height: .94;
  }

  .hero-lead,
  .page-hero__content p {
    font-size: .98rem;
  }

  .services-grid,
  .gallery-grid,
  .partner-logos {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

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

/* V2 úpravy podle připomínek */
:root {
  --container: 1360px;
}

.brand {
  min-width: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand--text {
  display: grid;
  gap: 3px;
  line-height: .9;
}

.brand--text strong {
  display: block;
  max-width: 150px;
  color: currentColor;
  font-size: 1.12rem;
  font-weight: 920;
  letter-spacing: -.055em;
}

.brand--text span {
  color: var(--sand);
  font-size: .57rem;
  font-weight: 900;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand,
.page-service .brand,
.page-contact .brand,
.page-404 .brand {
  padding: 0;
}

.main-nav > a,
.nav-dropdown > button {
  letter-spacing: .025em;
}

.nav-dropdown {
  position: relative;
  padding-block: 13px;
  margin-block: -13px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -22px;
  right: -22px;
  top: calc(100% - 13px);
  height: 24px;
}

.nav-dropdown__panel {
  top: calc(100% - 2px);
  z-index: 2;
  transform: translate(-50%, 6px);
}

.nav-dropdown > button.is-active {
  background: rgba(199, 164, 103, .22);
  color: var(--sand);
}

.hero h1,
.page-hero h1 {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .96;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 5.65vw, 6.15rem);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.25vw, 5.7rem);
}

.hero-lead,
.page-hero__content p {
  margin-top: 22px;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.intro-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 16px;
}

.stat-card {
  position: relative;
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255, 250, 243, .86);
  box-shadow: 0 12px 34px rgba(24, 19, 16, .08);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -46px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(199, 164, 103, .14);
}

.stat-card:first-child {
  grid-row: span 2;
  min-height: 310px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 191, 122, .34), transparent 15rem),
    linear-gradient(145deg, #2c251f, #171310);
  box-shadow: var(--shadow);
}

.stat-card:first-child::before {
  background: rgba(255, 250, 243, .10);
}

.stat-card strong {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--sand-dark);
  font-size: clamp(2.25rem, 3.4vw, 4.1rem);
  letter-spacing: -.055em;
}

.stat-card:first-child strong {
  color: #fff;
  font-size: clamp(4.2rem, 7vw, 7.8rem);
  letter-spacing: -.085em;
}

.stat-card span {
  position: relative;
  z-index: 1;
  max-width: 230px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.35;
}

.stat-card:first-child span {
  color: rgba(255, 255, 255, .72);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.service-card {
  grid-column: span 4;
  min-height: 420px;
  border-radius: 38px;
}

.service-card--featured {
  grid-column: span 8;
  min-height: 520px;
}

.service-card:nth-last-child(-n + 2) {
  grid-column: span 6;
  min-height: 390px;
}

.service-card::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .24) 38%, rgba(0, 0, 0, .82));
}

.service-card__num {
  top: 24px;
  left: 24px;
  width: auto;
  height: auto;
  min-width: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 243, .90);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
  font-size: .88rem;
  letter-spacing: .12em;
}

.service-card__body {
  padding: 30px;
}

.service-card--featured .service-card__body {
  padding: clamp(34px, 4.2vw, 52px);
}

.service-card--featured h3 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.25vw, 5.15rem);
  letter-spacing: -.06em;
}

.service-card--featured p {
  max-width: 690px;
  font-size: 1.15rem;
}

.section-materials {
  background:
    radial-gradient(circle at top left, rgba(199, 164, 103, .18), transparent 34rem),
    linear-gradient(180deg, #171310, #211b17);
}

.material-layout {
  grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr);
  gap: 22px;
}

.material-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035)),
    #2a241f;
}

.material-panel h2 {
  font-size: clamp(2.45rem, 4vw, 4.9rem);
}

.material-cards {
  gap: 16px;
}

.material-card {
  display: grid;
  grid-template-columns: minmax(132px, 172px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 176px;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .075);
}

.material-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}

.material-card__icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(199, 164, 103, .18);
  color: var(--sand);
  font-size: 2rem;
}

.material-card h3 {
  margin-bottom: 8px;
}

.partner-logos {
  gap: 14px;
  margin-top: 34px;
}

.partner-logos img {
  height: 92px;
  padding: 18px;
  border-radius: 22px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.cta-card h2 {
  font-size: clamp(2.05rem, 3.15vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.cta-card .btn {
  min-width: 178px;
  min-height: 64px;
  margin-top: 0;
  padding-inline: 28px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 920;
  line-height: .98;
  letter-spacing: -.055em;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }

  .service-card--featured {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .brand--text strong {
    max-width: 135px;
    font-size: 1rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.7rem);
    line-height: .98;
  }

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

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

  .stat-card:first-child {
    grid-row: auto;
    min-height: 230px;
  }

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

  .service-card,
  .service-card--featured,
  .service-card:nth-last-child(-n + 2) {
    grid-column: auto;
    min-height: 370px;
  }

  .service-card--featured h3 {
    font-size: clamp(2.15rem, 11vw, 4rem);
  }

  .material-card {
    grid-template-columns: 1fr;
  }

  .material-card img {
    height: 210px;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-card h2 {
    white-space: normal;
    font-size: clamp(2.15rem, 10vw, 3.7rem);
  }
}

@media (max-width: 560px) {
  .brand--text strong {
    max-width: 116px;
    font-size: .92rem;
  }

  .brand--text span {
    font-size: .5rem;
  }

  .stat-card,
  .service-card__body {
    padding: 24px;
  }

  .partner-logos {
    grid-template-columns: 1fr;
  }
}


/* V3 mobilní a layout fixy */
.cta-card > div {
  min-width: 0;
}

.page-home .cta-card h2 {
  white-space: nowrap;
}

.page-service .cta-card h2,
.page-contact .cta-card h2,
.page-404 .cta-card h2 {
  max-width: min(860px, 100%);
}

.page-service .cta-card .btn,
.page-contact .cta-card .btn,
.page-404 .cta-card .btn {
  justify-self: end;
}

.process-card {
  min-height: 0;
}

@media (max-width: 1100px) {
  .page-home .cta-card h2 {
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .site-header {
    background: rgba(18, 14, 12, .14);
    color: #fff;
  }

  .site-header.is-scrolled,
  .page-service .site-header,
  .page-contact .site-header,
  .page-404 .site-header {
    background: rgba(255, 250, 243, .94);
    color: var(--ink);
  }

  .main-nav {
    grid-auto-rows: min-content;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .btn,
  .btn-ghost {
    margin: 0;
    width: 100%;
  }

  .page-service .cta-card .btn,
  .page-contact .cta-card .btn,
  .page-404 .cta-card .btn {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero-controls {
    display: none !important;
  }

  .main-nav {
    padding: 14px;
  }

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

  .process-card {
    padding: 24px;
  }

  .process-card span {
    margin-bottom: 30px;
  }
}


/* V4 jemný polishing */
html {
  scroll-behavior: smooth;
}

body {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  will-change: background, color, box-shadow;
}

.header-inner {
  position: relative;
}

.brand--text strong {
  transition: letter-spacing .2s ease, transform .2s ease;
}

.brand--text:hover strong {
  letter-spacing: -.04em;
}

.main-nav > a,
.nav-dropdown > button,
.header-phone,
.menu-toggle {
  -webkit-tap-highlight-color: transparent;
}

.main-nav > a,
.nav-dropdown > button {
  position: relative;
}

@media (hover: hover) {
  .main-nav > a::after,
  .nav-dropdown > button::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .2s ease, transform .2s ease;
  }

  .main-nav > a:hover::after,
  .nav-dropdown:hover > button::before,
  .main-nav > a.is-active::after,
  .nav-dropdown > button.is-active::before {
    opacity: .35;
    transform: scaleX(1);
  }

  .service-card {
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 72px rgba(24, 19, 16, .24);
  }

  .material-card,
  .process-card,
  .stat-card,
  .contact-list a,
  .location-card,
  .company-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  }

  .material-card:hover,
  .process-card:hover,
  .stat-card:hover,
  .contact-list a:hover,
  .location-card:hover,
  .company-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 164, 103, .34);
  }
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .28) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.hero h1,
.page-hero h1 {
  max-width: 11.4ch;
}

.hero-lead {
  max-width: 720px;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 9, 7, .76) 0%, rgba(12, 9, 7, .47) 40%, rgba(12, 9, 7, .16) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, .13) 38%, rgba(0, 0, 0, .66));
}

.hero-slide img,
.page-hero__media img {
  filter: saturate(1.03) contrast(1.02);
}

.service-card::after {
  opacity: .35;
  border-color: rgba(255, 255, 255, .14);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__num {
  backdrop-filter: blur(14px);
}

.process-grid {
  align-items: stretch;
}

.process-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-card h3 {
  max-width: 9.5em;
}

.cta-card {
  overflow: hidden;
}

.cta-card .btn {
  white-space: nowrap;
}

.page-service .cta-card,
.page-contact .cta-card,
.page-404 .cta-card {
  grid-template-columns: minmax(0, 1fr) minmax(220px, max-content);
}

.page-service .cta-card h2,
.page-contact .cta-card h2,
.page-404 .cta-card h2 {
  font-size: clamp(2rem, 2.75vw, 3rem);
}

@media (max-width: 860px) {
  :root {
    --header: 72px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .header-inner {
    min-height: var(--header);
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
    background: rgba(255, 250, 243, .14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  }

  .site-header.is-scrolled .menu-toggle,
  .page-service .menu-toggle,
  .page-contact .menu-toggle,
  .page-404 .menu-toggle {
    background: #fff;
    border-color: rgba(42, 34, 29, .10);
  }

  .main-nav {
    top: calc(var(--header) + 10px);
    left: 16px;
    right: 16px;
    z-index: 1002;
    max-height: calc(100dvh - var(--header) - 24px);
    border-radius: 30px;
    padding: 18px;
    box-shadow: 0 28px 80px rgba(24, 19, 16, .26);
  }

  .main-nav > a,
  .nav-dropdown > button {
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 1.05rem;
  }

  .nav-dropdown__panel a {
    padding: 13px 14px;
    border-radius: 16px;
    font-size: .98rem;
  }

  .hero {
    min-height: clamp(660px, 88dvh, 780px);
  }

  .hero-content {
    align-self: end;
    padding-top: calc(var(--header) + 34px);
    padding-bottom: clamp(28px, 6dvh, 54px);
  }

  .hero h1 {
    max-width: 10.2ch;
    font-size: clamp(2.45rem, 10.8vw, 4.05rem);
    line-height: .95;
  }

  .hero-lead {
    max-width: 34rem;
    margin-top: 18px;
    font-size: clamp(.98rem, 3.5vw, 1.08rem);
    line-height: 1.45;
  }

  .hero-actions {
    max-width: 360px;
  }

  .contact-strip {
    display: none;
  }

  .section-heading h2,
  .intro-copy h2,
  .material-panel h2,
  .cta-card h2,
  .service-detail__copy h2,
  .contact-info h2,
  .contact-form h2 {
    letter-spacing: -.045em;
  }

  .process-card {
    min-height: auto;
    border-radius: 32px;
  }

  .process-card span {
    margin-bottom: 26px;
  }

  .page-service .cta-card,
  .page-contact .cta-card,
  .page-404 .cta-card {
    grid-template-columns: 1fr;
  }

  .page-service .cta-card h2,
  .page-contact .cta-card h2,
  .page-404 .cta-card h2 {
    max-width: 100%;
  }

  .page-service .cta-card .btn,
  .page-contact .cta-card .btn,
  .page-404 .cta-card .btn {
    justify-self: start;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .hero {
    min-height: clamp(600px, 84dvh, 720px);
  }

  .hero-content {
    padding-top: calc(var(--header) + 22px);
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.1rem, 9.2vw, 3.35rem);
    letter-spacing: -.04em;
  }

  .hero-lead {
    font-size: .95rem;
  }

  .hero-actions .btn {
    min-height: 48px;
    padding-block: 12px;
  }

  .eyebrow,
  .section-kicker {
    letter-spacing: .15em;
  }

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

  .section-heading h2,
  .intro-copy h2,
  .material-panel h2,
  .cta-card h2,
  .service-detail__copy h2,
  .contact-info h2,
  .contact-form h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  .service-card,
  .service-card--featured,
  .service-card:nth-last-child(-n + 2) {
    min-height: 335px;
    border-radius: 32px;
  }

  .service-card--featured h3,
  .service-card h3 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .material-card img {
    height: 190px;
  }

  .cta-card {
    border-radius: 36px;
    padding: 28px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(2rem, 8.7vw, 3.05rem);
  }

  .hero-lead {
    font-size: .92rem;
  }

  .brand--text strong {
    font-size: .88rem;
  }

  .brand--text span {
    letter-spacing: .26em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* V5 finální opravy podle testu */
.page-home .hero h1 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 4.55vw, 5.15rem) !important;
  line-height: .98;
  letter-spacing: -.032em;
}

.page-home .hero-lead {
  max-width: 760px;
  font-size: clamp(1rem, 1.28vw, 1.14rem);
}

.section-gallery .section-heading p {
  display: none;
}

.page-service .cta-card,
.page-contact .cta-card,
.page-404 .cta-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
}

.page-service .cta-card h2,
.page-contact .cta-card h2,
.page-404 .cta-card h2 {
  max-width: 760px !important;
  white-space: normal !important;
  overflow-wrap: normal;
  font-size: clamp(2rem, 2.35vw, 2.75rem) !important;
  line-height: 1.05;
}

.page-service .cta-card .btn,
.page-contact .cta-card .btn,
.page-404 .cta-card .btn {
  justify-self: end;
  min-width: 190px;
  white-space: nowrap;
}

.contact-form h2 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 3vw, 3.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em;
}

.contact-form > p {
  margin-bottom: 22px !important;
}

.contact-form label:first-of-type {
  margin-top: 18px;
}

@media (min-width: 861px) {
  .contact-form {
    max-width: 520px;
  }
}

@media (max-width: 860px) {
  .nav-dropdown {
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-dropdown::after {
    content: none !important;
    display: none !important;
  }

  .nav-dropdown__panel {
    display: none !important;
    position: static !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    margin: 8px 0 0 !important;
    padding: 10px !important;
    overflow: visible !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    border: 1px solid var(--line) !important;
    border-radius: 22px !important;
    background: rgba(42, 34, 29, .045) !important;
    color: var(--ink) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .nav-dropdown.is-open .nav-dropdown__panel {
    display: grid !important;
    gap: 2px;
  }

  .nav-dropdown__panel a {
    display: block !important;
    width: 100%;
    color: var(--ink) !important;
    padding: 12px 14px !important;
    border-radius: 15px !important;
    font-size: .96rem !important;
    font-weight: 760;
    transform: none !important;
  }

  .nav-dropdown__panel a:hover,
  .nav-dropdown__panel a:focus-visible {
    background: rgba(199, 164, 103, .16) !important;
  }

  .page-service .cta-card,
  .page-contact .cta-card,
  .page-404 .cta-card {
    grid-template-columns: 1fr !important;
  }

  .page-service .cta-card h2,
  .page-contact .cta-card h2,
  .page-404 .cta-card h2 {
    max-width: 100% !important;
  }

  .page-service .cta-card .btn,
  .page-contact .cta-card .btn,
  .page-404 .cta-card .btn {
    justify-self: start;
  }

  .contact-form h2 {
    font-size: clamp(2rem, 9vw, 2.9rem) !important;
  }
}

@media (max-width: 560px) {
  .page-home .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2rem, 8.6vw, 3.1rem) !important;
  }

  .page-home .hero-lead {
    font-size: .92rem;
  }

  .contact-form h2 {
    font-size: clamp(1.95rem, 8vw, 2.45rem) !important;
  }
}
