@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
  --het-ink: #1b1814;
  --het-ink-soft: #4a443d;
  --het-cream: #f7f2ea;
  --het-cream-deep: #efe6d8;
  --het-sand: #e3d7c3;
  --het-line: rgba(27, 24, 20, 0.12);
  --het-line-soft: rgba(27, 24, 20, 0.08);
  --het-clay: #b6563a;
  --het-clay-dark: #8e3f28;
  --het-gold: #c9a35c;
  --het-gold-soft: #e2c07a;
  --het-white: #ffffff;
  --het-radius-sm: 10px;
  --het-radius: 18px;
  --het-radius-lg: 28px;
  --het-shadow-sm: 0 10px 28px rgba(27, 24, 20, 0.09);
  --het-shadow: 0 24px 64px rgba(27, 24, 20, 0.16);
  --het-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --het-font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --het-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --het-header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--het-font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--het-ink);
  background-color: var(--het-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--het-clay-dark);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover,
a:focus {
  color: var(--het-clay);
}

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

section {
  scroll-margin-top: 110px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.het-display {
  margin: 0 0 0.6em;
  font-family: var(--het-font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--het-ink);
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

h4 {
  font-size: 1.25rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.15rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

.het-container {
  width: min(1220px, 100% - 48px);
  margin-inline: auto;
}

.het-container--narrow {
  width: min(880px, 100% - 48px);
  margin-inline: auto;
}

.het-section {
  position: relative;
  padding: clamp(64px, 8.5vw, 124px) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.het-section--sand {
  background-color: var(--het-cream-deep);
}

.het-section--dark {
  background-color: var(--het-ink);
  color: rgba(247, 242, 234, 0.82);
}

.het-section--dark h1,
.het-section--dark h2,
.het-section--dark h3,
.het-section--dark h4,
.het-section--dark .het-display {
  color: var(--het-cream);
}

.het-section--dark a {
  color: var(--het-gold-soft);
}

.het-section--dark a:hover {
  color: var(--het-white);
}

.het-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-family: var(--het-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--het-clay-dark);
}

.het-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.het-section--dark .het-eyebrow {
  color: var(--het-gold);
}

.het-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: var(--het-ink-soft);
  max-width: 62ch;
}

.het-section--dark .het-lead {
  color: rgba(247, 242, 234, 0.82);
}

.het-text-soft {
  color: var(--het-ink-soft);
}

.het-section--dark .het-text-soft {
  color: rgba(247, 242, 234, 0.76);
}

.het-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--het-font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--het-ease), background-color 0.3s ease,
    color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s var(--het-ease);
}

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

.het-btn--solid {
  background: var(--het-clay);
  color: var(--het-white);
  box-shadow: 0 14px 30px rgba(142, 63, 40, 0.28);
}

.het-btn--solid:hover,
.het-btn--solid:focus {
  background: var(--het-clay-dark);
  color: var(--het-white);
}

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

.het-btn--ink:hover,
.het-btn--ink:focus {
  background: #332d26;
  color: var(--het-cream);
}

.het-btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--het-ink);
}

.het-btn--ghost:hover,
.het-btn--ghost:focus {
  background: var(--het-ink);
  border-color: var(--het-ink);
  color: var(--het-cream);
}

.het-section--dark .het-btn--ghost {
  color: var(--het-cream);
}

.het-section--dark .het-btn--ghost:hover,
.het-section--dark .het-btn--ghost:focus {
  background: var(--het-cream);
  border-color: var(--het-cream);
  color: var(--het-ink);
}

.het-btn--gold {
  background: var(--het-gold);
  color: var(--het-ink);
}

.het-btn--gold:hover,
.het-btn--gold:focus {
  background: var(--het-gold-soft);
  color: var(--het-ink);
}

.het-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1040;
  padding: 16px 0;
  background: transparent;
  transition: background-color 0.4s var(--het-ease), box-shadow 0.4s ease,
    padding 0.4s var(--het-ease);
}

.het-header.is-scrolled {
  padding: 8px 0;
  background: rgba(247, 242, 234, 0.96);
  box-shadow: 0 12px 34px rgba(27, 24, 20, 0.12);
  backdrop-filter: blur(10px);
}

.het-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.het-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--het-font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--het-cream);
}

.het-header.is-scrolled .het-brand {
  color: var(--het-ink);
}

.het-brand:hover,
.het-brand:focus {
  color: var(--het-gold-soft);
}

.het-header.is-scrolled .het-brand:hover,
.het-header.is-scrolled .het-brand:focus {
  color: var(--het-clay-dark);
}

.het-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  color: rgba(247, 242, 234, 0.84);
}

.het-header.is-scrolled .het-topbar {
  color: var(--het-ink-soft);
}

.het-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.het-topbar__item i {
  color: var(--het-gold);
}

.het-header.is-scrolled .het-topbar__item i {
  color: var(--het-clay-dark);
}

.het-topbar a {
  color: inherit;
}

.het-topbar a:hover {
  color: var(--het-gold-soft);
}

.het-header.is-scrolled .het-topbar a:hover {
  color: var(--het-clay-dark);
}

.het-nav .nav-link {
  position: relative;
  padding: 0.5rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.88);
  transition: color 0.25s ease;
}

.het-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.25rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--het-ease);
}

.het-nav .nav-link:hover,
.het-nav .nav-link:focus,
.het-nav .nav-link.active {
  color: var(--het-gold-soft);
}

.het-nav .nav-link:hover::after,
.het-nav .nav-link:focus::after,
.het-nav .nav-link.active::after {
  transform: scaleX(1);
}

.het-header.is-scrolled .het-nav .nav-link {
  color: var(--het-ink-soft);
}

.het-header.is-scrolled .het-nav .nav-link:hover,
.het-header.is-scrolled .het-nav .nav-link:focus,
.het-header.is-scrolled .het-nav .nav-link.active {
  color: var(--het-clay-dark);
}

.het-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(247, 242, 234, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--het-cream);
  font-size: 1.05rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.het-nav-toggle:hover,
.het-nav-toggle:focus {
  background: rgba(247, 242, 234, 0.14);
  color: var(--het-white);
}

.het-header.is-scrolled .het-nav-toggle {
  border-color: var(--het-line);
  color: var(--het-ink);
}

.het-header.is-scrolled .het-nav-toggle:hover,
.het-header.is-scrolled .het-nav-toggle:focus {
  background: var(--het-cream-deep);
  color: var(--het-clay-dark);
}

@media (max-width: 991.98px) {
  .het-nav {
    margin-top: 14px;
    padding: 18px 20px;
    border-radius: var(--het-radius);
    background: rgba(27, 24, 20, 0.98);
  }

  .het-nav .nav-link {
    padding: 0.7rem 0;
    color: rgba(247, 242, 234, 0.9);
  }

  .het-header.is-scrolled .het-nav .nav-link {
    color: rgba(247, 242, 234, 0.9);
  }

  .het-nav .nav-link::after {
    left: 0;
    right: auto;
    width: 28px;
  }
}

.het-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 92vh, 900px);
  padding: calc(var(--het-header-h) + 60px) 0 100px;
  background-color: var(--het-ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--het-cream);
  overflow: hidden;
}

.het-hero h1,
.het-hero h2 {
  color: var(--het-cream);
}

.het-hero p {
  color: rgba(247, 242, 234, 0.88);
}

.het-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.het-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.het-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.7);
}

.het-hero__scroll i {
  animation: het-bounce 2.4s infinite ease-in-out;
}

@keyframes het-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.het-slider {
  position: relative;
  border-radius: var(--het-radius-lg);
  overflow: hidden;
}

.het-slider .carousel-item {
  min-height: clamp(420px, 62vh, 620px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.het-slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(
    to top,
    rgba(27, 24, 20, 0.92),
    rgba(27, 24, 20, 0.35) 60%,
    transparent
  );
  color: var(--het-cream);
}

.het-slider__caption h3 {
  color: var(--het-cream);
  margin-bottom: 0.4rem;
}

.het-slider__caption p {
  color: rgba(247, 242, 234, 0.85);
  max-width: 54ch;
}

.het-slider .carousel-indicators {
  bottom: 18px;
}

.het-slider .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(247, 242, 234, 0.5);
  border: 0;
  opacity: 1;
}

.het-slider .carousel-indicators .active {
  background-color: var(--het-gold);
}

.het-slider .carousel-control-prev,
.het-slider .carousel-control-next {
  width: 62px;
  opacity: 0.8;
}

.het-slider .carousel-control-prev-icon,
.het-slider .carousel-control-next-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(27, 24, 20, 0.55);
  background-size: 42%;
  border: 1px solid rgba(247, 242, 234, 0.35);
}

.het-card {
  height: 100%;
  padding: 32px;
  border: 1px solid var(--het-line);
  border-radius: var(--het-radius);
  background: var(--het-white);
  transition: transform 0.45s var(--het-ease), box-shadow 0.45s var(--het-ease),
    border-color 0.45s ease;
}

.het-card:hover {
  transform: translateY(-6px);
  border-color: rgba(182, 86, 58, 0.35);
  box-shadow: var(--het-shadow-sm);
}

.het-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: var(--het-cream-deep);
  color: var(--het-clay-dark);
  font-size: 1.3rem;
}

.het-card h3 {
  margin-bottom: 0.5rem;
}

.het-card p {
  margin-bottom: 0;
  color: var(--het-ink-soft);
  font-size: 0.98rem;
}

.het-section--dark .het-card {
  background: #241f1a;
  border-color: rgba(247, 242, 234, 0.12);
  color: rgba(247, 242, 234, 0.82);
}

.het-section--dark .het-card p {
  color: rgba(247, 242, 234, 0.76);
}

.het-section--dark .het-card__icon {
  background: rgba(201, 163, 92, 0.16);
  color: var(--het-gold-soft);
}

.het-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  border-radius: var(--het-radius);
  overflow: hidden;
  background: var(--het-ink);
  color: var(--het-cream);
  isolation: isolate;
}

.het-service-card__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.het-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--het-ease);
}

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

.het-service-card__body {
  margin-top: auto;
  padding: 28px;
  background: linear-gradient(
    to top,
    rgba(27, 24, 20, 0.95),
    rgba(27, 24, 20, 0.55) 70%,
    transparent
  );
}

.het-service-card__body h3 {
  color: var(--het-cream);
  margin-bottom: 0.45rem;
}

.het-service-card__body p {
  color: rgba(247, 242, 234, 0.82);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.het-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--het-gold-soft);
}

.het-service-card__link:hover {
  color: var(--het-white);
}

.het-stat {
  padding: 26px 8px;
  text-align: left;
}

.het-stat__num {
  display: block;
  font-family: var(--het-font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--het-clay-dark);
}

.het-section--dark .het-stat__num {
  color: var(--het-gold);
}

.het-stat__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--het-ink-soft);
}

.het-section--dark .het-stat__label {
  color: rgba(247, 242, 234, 0.72);
}

.het-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.het-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--het-radius);
  background: var(--het-sand);
  aspect-ratio: 4 / 3;
}

.het-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.het-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--het-ease);
}

.het-gallery__item:hover img {
  transform: scale(1.06);
}

.het-gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 20px 18px;
  background: linear-gradient(transparent, rgba(27, 24, 20, 0.88));
  color: var(--het-cream);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .het-gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

.het-process {
  counter-reset: het-step;
  display: grid;
  gap: 8px;
}

.het-process__step {
  counter-increment: het-step;
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--het-line-soft);
}

.het-process__step:last-child {
  border-bottom: 0;
}

.het-process__step::before {
  content: counter(het-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--het-line);
  font-family: var(--het-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--het-clay-dark);
  background: var(--het-white);
}

.het-section--dark .het-process__step {
  border-bottom-color: rgba(247, 242, 234, 0.14);
}

.het-section--dark .het-process__step::before {
  border-color: rgba(201, 163, 92, 0.5);
  background: transparent;
  color: var(--het-gold);
}

.het-process__step h4 {
  margin-bottom: 0.35rem;
}

.het-process__step p {
  margin-bottom: 0;
  color: var(--het-ink-soft);
  font-size: 0.98rem;
}

.het-section--dark .het-process__step p {
  color: rgba(247, 242, 234, 0.76);
}

.het-price {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border: 1px solid var(--het-line);
  border-radius: var(--het-radius);
  background: var(--het-white);
  transition: transform 0.45s var(--het-ease), box-shadow 0.45s var(--het-ease);
}

.het-price:hover {
  transform: translateY(-6px);
  box-shadow: var(--het-shadow-sm);
}

.het-price--featured {
  border-color: rgba(182, 86, 58, 0.45);
  background: var(--het-cream-deep);
}

.het-price__amount {
  font-family: var(--het-font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--het-ink);
}

.het-price__amount span {
  font-family: var(--het-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--het-ink-soft);
}

.het-price__list {
  list-style: none;
  margin: 1.5rem 0 1.8rem;
  padding: 0;
  font-size: 0.96rem;
  color: var(--het-ink-soft);
}

.het-price__list li {
  display: flex;
  gap: 0.7rem;
  padding: 0.42rem 0;
}

.het-price__list i {
  color: var(--het-clay-dark);
  margin-top: 0.3rem;
}

.het-price .het-btn {
  margin-top: auto;
}

.het-quote {
  position: relative;
  padding: 40px 34px;
  border-radius: var(--het-radius);
  background: var(--het-white);
  border: 1px solid var(--het-line);
  height: 100%;
}

.het-quote__text {
  font-family: var(--het-font-display);
  font-size: 1.28rem;
  line-height: 1.55;
  color: var(--het-ink);
  margin-bottom: 1.4rem;
}

.het-quote__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.het-quote__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--het-sand);
  flex: 0 0 auto;
}

.het-quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.het-quote__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--het-ink);
}

.het-quote__role {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--het-ink-soft);
}

.het-stars {
  color: var(--het-gold);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.het-faq .accordion-item {
  margin-bottom: 12px;
  border: 1px solid var(--het-line);
  border-radius: var(--het-radius-sm);
  overflow: hidden;
  background: var(--het-white);
}

.het-faq .accordion-button {
  padding: 22px 24px;
  font-family: var(--het-font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--het-ink);
  background: var(--het-white);
  box-shadow: none;
}

.het-faq .accordion-button:not(.collapsed) {
  background: var(--het-cream-deep);
  color: var(--het-clay-dark);
  box-shadow: none;
}

.het-faq .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(201, 163, 92, 0.4);
}

.het-faq .accordion-button::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\2b";
  background-image: none;
  width: auto;
  height: auto;
  transform: none;
  transition: transform 0.35s var(--het-ease);
  font-size: 0.9rem;
}

.het-faq .accordion-button:not(.collapsed)::after {
  content: "\f068";
  transform: none;
}

.het-faq .accordion-body {
  padding: 0 24px 24px;
  color: var(--het-ink-soft);
  font-size: 0.98rem;
}

.het-form {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--het-radius-lg);
  background: var(--het-white);
  border: 1px solid var(--het-line);
  box-shadow: var(--het-shadow-sm);
}

.het-section--dark .het-form {
  background: #241f1a;
  border-color: rgba(247, 242, 234, 0.14);
}

.het-form__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--het-ink-soft);
}

.het-section--dark .het-form__label {
  color: rgba(247, 242, 234, 0.78);
}

.het-form .form-control,
.het-form .form-select {
  padding: 0.85rem 1rem;
  border: 1px solid var(--het-line);
  border-radius: var(--het-radius-sm);
  background: var(--het-white);
  color: var(--het-ink);
  font-family: var(--het-font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.het-form .form-control::placeholder {
  color: #8a8279;
}

.het-form .form-control:focus,
.het-form .form-select:focus {
  border-color: var(--het-clay);
  box-shadow: 0 0 0 4px rgba(182, 86, 58, 0.16);
  outline: none;
}

.het-form .was-validated .form-control:invalid,
.het-form .form-control.is-invalid,
.het-form .form-select.is-invalid {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14);
}

.het-form .invalid-feedback {
  font-size: 0.84rem;
  color: #8f1d17;
}

.het-form__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--het-ink-soft);
}

.het-section--dark .het-form__note {
  color: rgba(247, 242, 234, 0.7);
}

.het-cta-band {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0;
  background-color: var(--het-clay-dark);
  background-size: cover;
  background-position: center;
  color: var(--het-cream);
}

.het-cta-band h2 {
  color: var(--het-cream);
}

.het-cta-band p {
  color: rgba(255, 245, 240, 0.9);
  max-width: 60ch;
}

.het-map {
  border-radius: var(--het-radius);
  overflow: hidden;
  border: 1px solid var(--het-line);
  min-height: 380px;
}

.het-map iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.25) contrast(1.02);
}

.het-team-card {
  height: 100%;
  border-radius: var(--het-radius);
  overflow: hidden;
  background: var(--het-white);
  border: 1px solid var(--het-line);
  transition: transform 0.45s var(--het-ease), box-shadow 0.45s var(--het-ease);
}

.het-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--het-shadow-sm);
}

.het-team-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--het-sand);
  overflow: hidden;
}

.het-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.het-team-card__body {
  padding: 22px 24px 26px;
}

.het-team-card__body h4 {
  margin-bottom: 0.15rem;
}

.het-team-card__role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--het-clay-dark);
}

.het-timeline {
  position: relative;
  padding-left: 34px;
}

.het-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--het-line);
}

.het-timeline__item {
  position: relative;
  padding-bottom: 30px;
}

.het-timeline__item:last-child {
  padding-bottom: 0;
}

.het-timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--het-cream);
  border: 2px solid var(--het-clay);
}

.het-timeline__year {
  display: block;
  font-family: var(--het-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--het-clay-dark);
  margin-bottom: 0.15rem;
}

.het-timeline__item p {
  margin-bottom: 0;
  color: var(--het-ink-soft);
  font-size: 0.97rem;
}

.het-footer {
  padding: 76px 0 34px;
  background: var(--het-ink);
  color: rgba(247, 242, 234, 0.78);
}

.het-footer h4 {
  margin-bottom: 1.1rem;
  font-family: var(--het-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--het-cream);
}

.het-footer a {
  color: rgba(247, 242, 234, 0.78);
}

.het-footer a:hover,
.het-footer a:focus {
  color: var(--het-gold-soft);
}

.het-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.1rem;
  font-family: var(--het-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--het-cream);
}

.het-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.het-footer__list li {
  margin-bottom: 0.6rem;
}

.het-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.het-footer__contact li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.het-footer__contact i {
  color: var(--het-gold);
  margin-top: 0.32rem;
  flex: 0 0 auto;
}

.het-footer__legal {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(247, 242, 234, 0.14);
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(247, 242, 234, 0.62);
}

.het-footer__legal a {
  color: rgba(247, 242, 234, 0.72);
}

.het-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 234, 0.28);
  color: rgba(247, 242, 234, 0.86);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.het-social:hover,
.het-social:focus {
  background: var(--het-gold);
  border-color: var(--het-gold);
  color: var(--het-ink);
}

.het-legal-content h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.het-legal-content h3 {
  margin-top: 1.6rem;
  font-size: 1.2rem;
}

.het-legal-content p,
.het-legal-content li {
  color: var(--het-ink-soft);
  font-size: 1rem;
}

.het-legal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.het-legal-content li {
  margin-bottom: 0.5rem;
}

.het-cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 1090;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  transition: opacity 0.38s var(--het-ease), transform 0.38s var(--het-ease);
}

.het-cookie.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(26px);
  pointer-events: none;
}

.het-cookie__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--het-radius-lg);
  background: rgba(27, 24, 20, 0.96);
  border: 1px solid rgba(201, 163, 92, 0.38);
  box-shadow: var(--het-shadow);
  backdrop-filter: blur(16px);
  color: var(--het-cream);
}

.het-cookie__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(201, 163, 92, 0.18);
  color: var(--het-gold-soft);
  font-size: 1.25rem;
}

.het-cookie__title {
  margin: 0 0 0.25rem;
  font-family: var(--het-font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--het-cream);
}

.het-cookie__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 242, 234, 0.82);
}

.het-cookie__link {
  color: var(--het-gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.het-cookie__link:hover,
.het-cookie__link:focus {
  color: var(--het-white);
}

.het-cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.het-cookie__btn {
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--het-font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    transform 0.3s var(--het-ease);
}

.het-cookie__btn:hover {
  transform: translateY(-1px);
}

.het-cookie__btn--ghost {
  background: transparent;
  border-color: rgba(247, 242, 234, 0.42);
  color: var(--het-cream);
}

.het-cookie__btn--ghost:hover,
.het-cookie__btn--ghost:focus {
  background: rgba(247, 242, 234, 0.12);
  color: var(--het-white);
}

.het-cookie__btn--solid {
  background: var(--het-gold);
  color: var(--het-ink);
}

.het-cookie__btn--solid:hover,
.het-cookie__btn--solid:focus {
  background: var(--het-gold-soft);
  color: var(--het-ink);
}

@media (max-width: 991.98px) {
  .het-cookie__inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .het-cookie__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .het-cookie__btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 575.98px) {
  .het-cookie {
    bottom: 12px;
    width: calc(100% - 20px);
  }

  .het-cookie__inner {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: var(--het-radius);
  }

  .het-cookie__badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.05rem;
  }
}

.het-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--het-ease), transform 0.8s var(--het-ease);
}

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

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

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

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

@media (max-width: 991.98px) {
  .het-hero {
    min-height: auto;
    padding: calc(var(--het-header-h) + 46px) 0 72px;
  }

  .het-hero__scroll {
    display: none;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 1rem;
  }

  .het-container,
  .het-container--narrow {
    width: calc(100% - 32px);
  }

  .het-card {
    padding: 26px;
  }

  .het-process__step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .het-process__step::before {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

/* QA_STEP_CARD_GRID_FIX .het-process:has(> .het-process__step) */
@media(min-width:992px){.het-process:has(> .het-process__step){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.het-process:has(> .het-process__step)>:not(.het-process__step){grid-column:1/-1}.het-process:has(> .het-process__step)>.het-process__step{width:100%;max-width:100%;min-width:0}}

/* QA_FIX_HEADER_OVERLAP_AND_CONTRAST */
/* Give the header its own dark surface so the light brand/topbar text
   always sits on a background with sufficient contrast. */
.het-header {
  background-color: rgba(27, 24, 20, 0.94);
}

.het-header.is-scrolled {
  background-color: rgba(247, 242, 234, 0.97);
}

@media (max-width: 991.98px) {
  /* On narrow screens the header takes part in the normal flow, so the
     hero can never sit underneath it. */
  .het-header {
    position: static;
    inset: auto;
    padding: 12px 0;
  }

  .het-hero {
    min-height: auto;
    padding: 56px 0 64px;
  }
}

/* Ghost buttons placed directly on the dark hero need light text. */
.het-hero .het-btn--ghost {
  color: var(--het-cream);
  border-color: rgba(247, 242, 234, 0.6);
}

.het-hero .het-btn--ghost:hover,
.het-hero .het-btn--ghost:focus {
  background: var(--het-cream);
  border-color: var(--het-cream);
  color: var(--het-ink);
}

/* Soft body copy inside the dark footer. */
.het-footer .het-text-soft {
  color: rgba(247, 242, 234, 0.84);
}

/* Quote cards inside dark sections keep a dark card surface so the
   light quote text stays readable. */
.het-section--dark .het-quote {
  background: #241f1a;
  border-color: rgba(247, 242, 234, 0.14);
}

/* ==========================================================================
   QA FIX — /about/ page only (scoped through the about hero photo slug)
   1) shared header gets an opaque light surface so brand / nav / topbar text
      keeps AA contrast;
   2) fixed header no longer overlaps the hero on mobile;
   3) ghost buttons on the dark hero and soft text in the dark footer readable;
   4) white-on-white quote card text corrected.
   ========================================================================== */

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header {
  background: rgba(247, 242, 234, 0.98);
  box-shadow: 0 10px 28px rgba(27, 24, 20, 0.12);
  backdrop-filter: blur(10px);
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-brand,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-brand:visited {
  color: #1b1814;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-brand:hover,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-brand:focus {
  color: #8e3f28;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-topbar {
  color: #3a352f;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-topbar a,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-topbar a:visited {
  color: #3a352f;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-topbar a:hover,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-topbar a:focus {
  color: #8e3f28;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-topbar__item i {
  color: #8e3f28;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-social {
  border-color: rgba(27, 24, 20, 0.25);
  color: #1b1814;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-social:hover,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-social:focus {
  background: #c9a35c;
  border-color: #c9a35c;
  color: #1b1814;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .dropdown-toggle {
  color: #3a352f;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link:hover,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link:focus,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link.active {
  color: #8e3f28;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav-toggle {
  border-color: rgba(27, 24, 20, 0.22);
  color: #1b1814;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav-toggle:hover,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav-toggle:focus {
  background: #efe6d8;
  color: #8e3f28;
}

/* collapsed mobile navigation keeps its dark panel: light link colours */
@media (max-width: 991.98px) {
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .dropdown-toggle,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header.is-scrolled .het-nav .nav-link,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header.is-scrolled .het-nav .dropdown-toggle {
    color: rgba(247, 242, 234, 0.92);
  }

  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link:hover,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link:focus,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .nav-link.active,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header.is-scrolled .het-nav .nav-link:hover,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header.is-scrolled .het-nav .nav-link:focus,
  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header.is-scrolled .het-nav .nav-link.active {
    color: #e2c07a;
  }

  body:has(.het-hero[data-photo-slug="about-hero"]) .het-header .het-nav .dropdown-menu {
    background: transparent;
  }

  /* fixed header must not cover the hero: reserve its height above the hero */
  body:has(.het-hero[data-photo-slug="about-hero"]) main > .het-hero:first-child {
    margin-top: 148px;
    padding-top: 32px;
  }
}

/* ghost button sitting on the dark hero photograph */
body:has(.het-hero[data-photo-slug="about-hero"]) .het-hero .het-btn--ghost {
  color: #f7f2ea;
  border-color: rgba(247, 242, 234, 0.7);
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-hero .het-btn--ghost:hover,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-hero .het-btn--ghost:focus {
  background: #f7f2ea;
  border-color: #f7f2ea;
  color: #1b1814;
}

/* soft body copy inside the dark footer */
body:has(.het-hero[data-photo-slug="about-hero"]) .het-footer .het-text-soft {
  color: rgba(247, 242, 234, 0.85);
}

/* testimonial card is white: force readable text instead of Bootstrap's white */
body:has(.het-hero[data-photo-slug="about-hero"]) .het-quote .het-quote__text.text-white,
body:has(.het-hero[data-photo-slug="about-hero"]) .het-quote .het-quote__name.text-white {
  color: #1b1814 !important;
}

body:has(.het-hero[data-photo-slug="about-hero"]) .het-quote .het-quote__role.text-white {
  color: #4a443d !important;
}

/* ===== QA FIX: header contrast, footer text, hero buttons ===== */

/* Fixed header sits on a solid dark bar so nav / topbar text keeps enough contrast */
.het-header {
  background: var(--het-ink);
}

.het-header.is-scrolled {
  background: rgba(247, 242, 234, 0.96);
}

/* Footer body copy on the dark footer background */
.het-footer p.het-text-soft,
.het-footer .het-text-soft {
  color: rgba(247, 242, 234, 0.86);
}

/* Ghost buttons placed directly on dark hero imagery */
.het-hero .het-btn--ghost {
  color: var(--het-cream);
  border-color: rgba(247, 242, 234, 0.62);
  background: rgba(27, 24, 20, 0.28);
}

.het-hero .het-btn--ghost:hover,
.het-hero .het-btn--ghost:focus {
  background: var(--het-cream);
  border-color: var(--het-cream);
  color: var(--het-ink);
}

/* Contacts hero: less top padding on mobile because the page body carries
   the clearance for the fixed header (kept in sync by script). */
@media (max-width: 991.98px) {
  .het-hero[data-photo-slug="contacts-hero"] {
    padding-top: 40px;
  }
}

/* ===== QA FIX: legal documents hero (cookie policy) ===== */
/* The eyebrow sat in the brand clay colour on top of the dark hero photograph,
   which was unreadable. Cream passes AA on the dark overlay. */
.het-hero .het-eyebrow {
  color: #f7f2ea;
}

.het-hero .het-eyebrow::before {
  opacity: 0.9;
}

/* Inline links inside hero copy (mailto etc.) must stay readable on the
   dark hero overlay instead of inheriting the clay body link colour. */
.het-hero p a,
.het-hero p a:visited {
  color: #f7f2ea;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.het-hero p a:hover,
.het-hero p a:focus {
  color: #e2c07a;
}

/* ==========================================================================
   QA FIX — numbered process steps ("Sei passaggi, nessuna sorpresa")
   The step wrapper is a 2-track grid (counter badge + body). The badge is
   the ::before pseudo element, so every real child (title + paragraph) must
   be pinned to the wide second track instead of being auto-placed into the
   64px badge track.
   ========================================================================== */
.het-process__step > * {
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
}

.het-process__step > p,
.het-process__step > .het-process__text {
  grid-row: 2;
  grid-column: 2;
}

.het-process__step > h3,
.het-process__step > h4,
.het-process__step > .h5 {
  grid-row: 1;
  grid-column: 2;
  margin-bottom: 0.35rem;
}

@media (max-width: 767.98px) {
  .het-process__step {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .het-process__step > * {
    grid-column: 2;
  }
}

/* ==========================================================================
   QA FIX — AOS entrance animation left hero content transparent at first
   paint, so the gold CTA was sampled against the dark hero photo. Keep
   animated blocks fully visible instead of fading from opacity 0.
   ========================================================================== */
[data-aos],
[data-aos].aos-init,
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Hero CTA on the dark photograph: guarantee a legible gold surface even
   if another layer tries to sit on top of it. */
.het-hero .het-btn--gold {
  background: var(--het-gold);
  color: var(--het-ink);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   QA FIX — mobile header must never sit on top of the hero.
   Up to the desktop breakpoint the header returns to the normal flow, so it
   always reserves its own space above the hero section.
   ========================================================================== */
@media (max-width: 991.98px) {
  .het-header {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
  }

  main > .het-hero:first-child {
    margin-top: 0 !important;
    padding-top: 56px;
  }
}

/* ==========================================================================
   QA FIX — /spazi-commerciali-uffici-m4/ page
   1) check-lists reused inside dark sections (.het-price__list) inherited the
      dark ink colour, which was unreadable on the near-black background;
   2) mobile header had no usable contrast for the wordmark: it now gets an
      opaque light surface with dark text (same treatment as the about page);
   3) fixed header clearance above the hero on small screens.
   ========================================================================== */

/* 1) bullet lists on dark surfaces */
.het-section--dark .het-price__list {
  color: rgba(247, 242, 234, 0.9);
}

.het-section--dark .het-price__list i {
  color: var(--het-gold-soft);
}

/* 2) + 3) small screens ------------------------------------------------ */
@media (max-width: 991.98px) {
  .het-header,
  .het-header.is-scrolled {
    position: static !important;
    inset: auto !important;
    background: #f7f2ea !important;
    box-shadow: 0 8px 22px rgba(27, 24, 20, 0.16);
    backdrop-filter: none;
  }

  .het-header .het-brand,
  .het-header .het-brand:visited,
  .het-header .het-brand span,
  .het-header.is-scrolled .het-brand {
    color: #1b1814;
    opacity: 1;
    text-shadow: none;
  }

  .het-header .het-brand:hover,
  .het-header .het-brand:focus {
    color: #8e3f28;
  }

  .het-header .het-nav-toggle,
  .het-header.is-scrolled .het-nav-toggle {
    border-color: rgba(27, 24, 20, 0.4);
    background: transparent;
    color: #1b1814;
  }

  .het-header .het-nav-toggle:hover,
  .het-header .het-nav-toggle:focus {
    background: #efe6d8;
    color: #1b1814;
  }

  /* reserve the header height above the hero (it is in normal flow, the
     extra padding simply keeps the copy off the very top edge) */
  main > .het-hero:first-child {
    margin-top: 0 !important;
    padding-top: 40px;
  }
}

/* ==========================================================================
   QA FIX — K7 service page
   1) .het-price__list is authored for white cards; when the same list markup
      is used inside a dark section the ink-soft text sat on the ink
      background (1.8:1). Give it light text + gold bullets in dark sections.
   2) Mobile header: keep one single, opaque surface in both states so the
      brand / nav text never blends into a mid-tone transition.
   3) Gallery captions and the hero scroll hint get stronger contrast.
   ========================================================================== */

.het-section--dark .het-price__list,
.het-section--dark .het-price__list li,
.het-section--dark .het-price__list span {
  color: rgba(247, 242, 234, 0.9);
}

.het-section--dark .het-price__list i {
  color: var(--het-gold-soft);
}

/* Mobile header: one stable dark bar, no background/colour transition that
   could leave cream text over a mid-tone surface mid-animation. */
@media (max-width: 991.98px) {
  .het-header,
  .het-header.is-scrolled {
    background: #1b1814 !important;
    box-shadow: 0 8px 24px rgba(27, 24, 20, 0.28);
    transition: none;
  }

  .het-header .het-brand,
  .het-header .het-brand:visited,
  .het-header.is-scrolled .het-brand,
  .het-header.is-scrolled .het-brand:visited {
    color: #f7f2ea;
  }

  .het-header .het-brand:hover,
  .het-header .het-brand:focus,
  .het-header.is-scrolled .het-brand:hover,
  .het-header.is-scrolled .het-brand:focus {
    color: #e2c07a;
  }

  .het-header .het-nav-toggle,
  .het-header.is-scrolled .het-nav-toggle {
    border-color: rgba(247, 242, 234, 0.5);
    color: #f7f2ea;
  }

  .het-header .het-nav-toggle:hover,
  .het-header .het-nav-toggle:focus,
  .het-header.is-scrolled .het-nav-toggle:hover,
  .het-header.is-scrolled .het-nav-toggle:focus {
    background: rgba(247, 242, 234, 0.16);
    color: #ffffff;
  }
}

/* Gallery captions: darker scrim so the cream text stays readable on any photo. */
.het-gallery__caption {
  background: linear-gradient(
    rgba(27, 24, 20, 0.05),
    rgba(27, 24, 20, 0.55) 45%,
    rgba(27, 24, 20, 0.94)
  );
  text-shadow: 0 1px 2px rgba(27, 24, 20, 0.55);
}

/* Hero scroll hint sits on the hero photograph. */
.het-hero__scroll {
  color: rgba(247, 242, 234, 0.95);
  text-shadow: 0 1px 2px rgba(27, 24, 20, 0.6);
}

/* ==========================================================================
   QA FIX — /thank-you/ page
   1) gold CTA placed inside a dark section inherited the section link colour
      (gold-soft on gold -> 1.36:1). Pin the button colours explicitly.
   2) mobile header wordmark was resolving to ink-on-ink; force a stable dark
      header bar with cream brand text.
   3) guarantee the header (when ever fixed) never covers the first hero on
      small screens.
   ========================================================================== */

/* 1) gold buttons keep dark ink text on the gold surface, in every context */
.het-section--dark .het-btn--gold,
.het-section--dark .het-btn--gold:visited,
.het-cta-band .het-btn--gold,
.het-hero .het-btn--gold {
  color: #1b1814 !important;
  background: var(--het-gold);
}

.het-section--dark .het-btn--gold:hover,
.het-section--dark .het-btn--gold:focus,
.het-cta-band .het-btn--gold:hover,
.het-cta-band .het-btn--gold:focus,
.het-hero .het-btn--gold:hover,
.het-hero .het-btn--gold:focus {
  color: #1b1814 !important;
  background: var(--het-gold-soft);
}

/* 2) + 3) small screens -------------------------------------------------- */
@media (max-width: 991.98px) {
  .het-header,
  .het-header.is-scrolled {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    background: #1b1814 !important;
    box-shadow: 0 8px 24px rgba(27, 24, 20, 0.28);
    backdrop-filter: none;
  }

  .het-header .het-brand,
  .het-header .het-brand:visited,
  .het-header .het-brand span,
  .het-header.is-scrolled .het-brand,
  .het-header.is-scrolled .het-brand span {
    color: #f7f2ea !important;
    text-shadow: none;
  }

  .het-header .het-brand:hover,
  .het-header .het-brand:hover span,
  .het-header .het-brand:focus,
  .het-header .het-brand:focus span {
    color: #e2c07a !important;
  }

  .het-header .het-nav-toggle,
  .het-header.is-scrolled .het-nav-toggle {
    border-color: rgba(247, 242, 234, 0.5);
    color: #f7f2ea;
  }

  .het-header .het-nav-toggle:hover,
  .het-header .het-nav-toggle:focus,
  .het-header.is-scrolled .het-nav-toggle:hover,
  .het-header.is-scrolled .het-nav-toggle:focus {
    background: rgba(247, 242, 234, 0.16);
    color: #ffffff;
  }
}

/* ==========================================================================
   QA FIX — footer "empty band" on small screens
   On phones/tablets the footer columns stack, and Bootstrap's g-5 gutter on
   the column row adds 3rem of padding to the bottom of the last stacked
   column on top of the 1.5rem top margin of the map/"Dove siamo" row. The
   result was a large dark void between the contact list and "Dove siamo".
   Only the stacked (single per-row) layout is normalised; the desktop
   4-column grid and all text alignment stay untouched.
   ========================================================================== */
@media (max-width: 991.98px) {
  .het-footer > .het-container > .row {
    row-gap: 1.5rem;
  }

  .het-footer > .het-container > .row > [class*="col"] {
    padding-top: 0;
    padding-bottom: 0;
  }

  .het-footer > .het-container > .row + .row {
    margin-top: 1.5rem;
    row-gap: 1.5rem;
  }
}

/* ==========================================================================
   QA FIX — gallery captions on the "Progetti" section (#progetti)
   The existing gradient started almost fully transparent, so on top of the
   sand section/photo the cream caption text measured ~3.75:1. Keep the same
   palette but give every caption its own solid dark plate: the local
   backdrop (not the text colour) does the contrast work, and the caption is
   no longer blended into the lighter top edge of the scrim.
   ========================================================================== */
.het-gallery__caption {
  background: linear-gradient(
    rgba(27, 24, 20, 0.72),
    rgba(27, 24, 20, 0.9) 45%,
    rgba(27, 24, 20, 0.96)
  );
  color: #f7f2ea;
}

@media (max-width: 767.98px) {
  .het-gallery__caption {
    padding: 20px 16px 14px;
    background: rgba(27, 24, 20, 0.92);
    text-shadow: 0 1px 2px rgba(27, 24, 20, 0.6);
  }
}
