:root {
  --ac-ink: #14110f;
  --ac-ink-soft: #2c2521;
  --ac-ink-mute: #6a5f57;
  --ac-cream: #fbf8f4;
  --ac-sand: #f1e9df;
  --ac-sand-deep: #e3d7c8;
  --ac-clay: #c8613a;
  --ac-clay-deep: #a1441f;
  --ac-gold: #c9982f;
  --ac-line: rgba(20, 17, 15, 0.12);
  --ac-line-strong: rgba(20, 17, 15, 0.24);
  --ac-shadow: 0 24px 60px -32px rgba(20, 17, 15, 0.45);
  --ac-radius: 18px;
  --ac-radius-sm: 10px;
  --ac-wrap: 1200px;
  --ac-font-display: "Georgia", "Times New Roman", serif;
  --ac-font-body: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ac-cream);
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ac-clay-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--ac-ink);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ac-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ac-ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
}

p {
  margin: 0 0 1.05rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

:focus-visible {
  outline: 3px solid var(--ac-clay);
  outline-offset: 3px;
}

.ac-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ac-ink);
  color: var(--ac-cream);
  padding: 0.7rem 1.1rem;
  z-index: 200;
}

.ac-skip:focus {
  left: 1rem;
  top: 1rem;
}

.ac-wrap {
  width: 100%;
  max-width: var(--ac-wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.ac-wrap--narrow {
  max-width: 820px;
}

.ac-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

.ac-section--sand {
  background: var(--ac-sand);
}

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

.ac-section--ink h1,
.ac-section--ink h2,
.ac-section--ink h3 {
  color: var(--ac-cream);
}

.ac-section--ink p {
  color: rgba(251, 248, 244, 0.86);
}

.ac-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ac-clay-deep);
  margin-bottom: 1rem;
}

.ac-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--ac-clay);
  display: inline-block;
}

.ac-section--ink .ac-kicker {
  color: var(--ac-gold);
}

.ac-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ac-ink-soft);
  max-width: 62ch;
}

.ac-section--ink .ac-lede {
  color: rgba(251, 248, 244, 0.84);
}

.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--ac-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.ac-btn--solid {
  background: var(--ac-clay-deep);
  color: #ffffff;
}

.ac-btn--solid:hover,
.ac-btn--solid:focus-visible {
  background: var(--ac-ink);
  color: var(--ac-cream);
}

.ac-btn--ghost {
  border-color: var(--ac-line-strong);
  color: var(--ac-ink);
  background: transparent;
}

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

.ac-section--ink .ac-btn--ghost {
  border-color: rgba(251, 248, 244, 0.45);
  color: var(--ac-cream);
}

.ac-section--ink .ac-btn--ghost:hover {
  background: var(--ac-cream);
  color: var(--ac-ink);
  border-color: var(--ac-cream);
}

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

.ac-btn--light:hover {
  background: var(--ac-gold);
  color: var(--ac-ink);
}

.ac-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ac-line);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.ac-site-header.is-stuck {
  box-shadow: 0 12px 30px -22px rgba(20, 17, 15, 0.5);
}

.ac-header__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--ac-line);
  font-size: 0.86rem;
  color: var(--ac-ink-mute);
}

.ac-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.ac-header__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ac-header__meta i {
  color: var(--ac-clay);
}

.ac-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.ac-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ac-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ac-ink);
}

.ac-brand__text small {
  display: block;
  font-family: var(--ac-font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ac-clay-deep);
  font-weight: 700;
}

.ac-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.ac-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ac-nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ac-ink-soft);
  position: relative;
  padding-bottom: 3px;
}

.ac-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ac-clay);
  transition: width 0.25s ease;
}

.ac-nav__link:hover::after,
.ac-nav__link:focus-visible::after,
.ac-nav__link.is-active::after {
  width: 100%;
}

.ac-nav__toggle {
  display: none;
  background: var(--ac-ink);
  color: var(--ac-cream);
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.15rem;
  cursor: pointer;
}

.ac-hero {
  position: relative;
  color: var(--ac-cream);
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  background-color: var(--ac-ink);
  overflow: hidden;
}

.ac-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ac-hero h1 {
  color: var(--ac-cream);
}

.ac-hero p {
  color: rgba(251, 248, 244, 0.88);
}

.ac-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.ac-hero__panel {
  background: rgba(251, 248, 244, 0.08);
  border: 1px solid rgba(251, 248, 244, 0.22);
  border-radius: var(--ac-radius);
  padding: 1.75rem;
}

.ac-hero__panel h3 {
  color: var(--ac-gold);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.ac-hero__facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ac-hero__facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(251, 248, 244, 0.25);
  font-size: 0.95rem;
}

.ac-hero__facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ac-hero__facts strong {
  color: var(--ac-gold);
}

.ac-slider {
  position: relative;
}

.ac-slider__viewport {
  position: relative;
  border-radius: var(--ac-radius);
  overflow: hidden;
  min-height: 340px;
  background: var(--ac-ink-soft);
}

.ac-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 3rem);
  background-size: cover;
  background-position: center;
}

.ac-slide.is-current,
.ac-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.ac-slide h1, .ac-slide h2 {
  color: var(--ac-cream);
}

.ac-slide__caption {
  background: rgba(20, 17, 15, 0.72);
  border-radius: var(--ac-radius-sm);
  padding: 1.1rem 1.35rem;
  max-width: 480px;
  color: var(--ac-cream);
}

.ac-slide__caption h3 {
  color: var(--ac-cream);
  margin-bottom: 0.35rem;
}

.ac-slide__caption p {
  margin: 0;
  color: rgba(251, 248, 244, 0.86);
  font-size: 0.95rem;
}

.ac-slider__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.ac-slider__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ac-line-strong);
  background: transparent;
  color: var(--ac-ink);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ac-slider__btn:hover {
  background: var(--ac-ink);
  color: var(--ac-cream);
}

.ac-slider__dots {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.ac-slider__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: var(--ac-sand-deep);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ac-slider__dot.is-active {
  background: var(--ac-clay-deep);
  transform: scale(1.25);
}

.ac-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.ac-card {
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 1.75rem;
  box-shadow: var(--ac-shadow);
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ac-card:hover {
  transform: translateY(-4px);
  border-color: var(--ac-line-strong);
}

.ac-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-sand);
  color: var(--ac-clay-deep);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.ac-card h3, .ac-card img {
  margin-bottom: 0.5rem;
}

.ac-card p {
  color: var(--ac-ink-soft);
  margin-bottom: 0.9rem;
}

.ac-card__link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ac-work {
  position: relative;
  border-radius: var(--ac-radius);
  overflow: hidden;
  background: var(--ac-ink-soft);
}

.ac-work img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ac-work:hover img {
  transform: scale(1.05);
}

.ac-work__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(180deg, rgba(20, 17, 15, 0) 0%, rgba(20, 17, 15, 0.88) 70%);
  color: var(--ac-cream);
}

.ac-work__body h3 {
  color: var(--ac-cream);
  margin-bottom: 0.25rem;
}

.ac-work__body p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(251, 248, 244, 0.85);
}

.ac-process {
  counter-reset: ac-step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.ac-process li {
  position: relative;
  padding: 1.15rem 1.35rem 1.15rem 4.2rem;
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius-sm);
}

.ac-process li::before {
  counter-increment: ac-step;
  content: counter(ac-step, decimal-leading-zero);
  position: absolute;
  left: 1.15rem;
  top: 1.05rem;
  font-family: var(--ac-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ac-clay-deep);
}

.ac-process strong, .ac-process li {
  display: block;
  color: var(--ac-ink);
  margin-bottom: 0.2rem;
}

.ac-process h3, .ac-process p {
  color: var(--ac-ink);
}

.ac-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ac-metrics > li,
.ac-metrics > div {
  padding: 1.4rem;
  border-left: 3px solid var(--ac-clay);
  background: rgba(251, 248, 244, 0.06);
}

.ac-metrics__num {
  display: block;
  font-family: var(--ac-font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--ac-gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.ac-quote {
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 1.75rem;
  height: 100%;
}

.ac-quote__stars {
  color: var(--ac-gold);
  margin-bottom: 0.8rem;
  letter-spacing: 0.12em;
}

.ac-quote blockquote {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  color: var(--ac-ink-soft);
}

.ac-quote__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ac-quote__author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.ac-quote__author strong {
  display: block;
  font-size: 0.95rem;
}

.ac-quote__author span {
  font-size: 0.82rem;
  color: var(--ac-ink-mute);
}

.ac-cta-band {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  color: var(--ac-cream);
  background-color: var(--ac-ink);
}

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

.ac-cta-band p {
  color: rgba(251, 248, 244, 0.88);
  max-width: 58ch;
}

.ac-form {
  display: grid;
  gap: 1rem;
}

.ac-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ac-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.ac-field input,
.ac-field select,
.ac-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ac-line-strong);
  border-radius: var(--ac-radius-sm);
  background: #ffffff;
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-size: 0.98rem;
}

.ac-field textarea {
  min-height: 140px;
  resize: vertical;
}

.ac-field input:focus,
.ac-field select:focus,
.ac-field textarea:focus {
  border-color: var(--ac-clay);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 97, 58, 0.22);
}

.ac-form__note {
  font-size: 0.82rem;
  color: var(--ac-ink-mute);
}

.ac-panel {
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--ac-shadow);
}

.ac-faq {
  display: grid;
  gap: 0.85rem;
}

.ac-faq__item {
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.ac-faq__q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1.15rem 1.35rem;
  font-family: var(--ac-font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ac-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.ac-faq__q i {
  color: var(--ac-clay-deep);
  transition: transform 0.25s ease;
}

.ac-faq__item.is-open .ac-faq__q i {
  transform: rotate(45deg);
}

.ac-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.ac-faq__a p {
  padding: 0 1.35rem 1.25rem;
  margin: 0;
  color: var(--ac-ink-soft);
}

.ac-price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  overflow: scroll;
}

.ac-price-table th,
.ac-price-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--ac-line);
}

.ac-price-table th {
  background: var(--ac-sand);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.ac-plan {
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 1.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ac-plan--featured {
  border-color: var(--ac-clay);
  box-shadow: 0 30px 60px -38px rgba(161, 68, 31, 0.6);
}

.ac-plan__price {
  font-family: var(--ac-font-display);
  font-size: 2.3rem;
  line-height: 1;
  margin: 0.6rem 0 1.1rem;
  color: var(--ac-ink);
}

.ac-plan__price small {
  font-family: var(--ac-font-body);
  font-size: 0.8rem;
  color: var(--ac-ink-mute);
  font-weight: 400;
}

.ac-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.ac-plan li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.94rem;
}

.ac-plan li i {
  color: var(--ac-clay-deep);
  margin-top: 0.25rem;
}

.ac-plan .ac-btn {
  margin-top: auto;
}

.ac-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--ac-sand);
  color: var(--ac-clay-deep);
}

.ac-post {
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ac-post img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.ac-post__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ac-post__meta {
  font-size: 0.8rem;
  color: var(--ac-ink-mute);
  margin-bottom: 0.6rem;
}

.ac-post__body .ac-card__link {
  margin-top: auto;
}

.ac-team__card {
  text-align: center;
}

.ac-team__card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.ac-map-frame {
  border: 0;
  width: 100%;
  min-height: 380px;
  border-radius: var(--ac-radius);
  display: block;
}

.ac-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.ac-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.ac-check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.ac-check-list i {
  color: var(--ac-clay-deep);
  margin-top: 0.3rem;
}

.ac-section--ink .ac-check-list i {
  color: var(--ac-gold);
}

.ac-site-footer {
  background: var(--ac-ink);
  color: rgba(251, 248, 244, 0.82);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}

.ac-site-footer h3,
.ac-site-footer h4 {
  color: var(--ac-cream);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.ac-site-footer a {
  color: rgba(251, 248, 244, 0.82);
}

.ac-site-footer a:hover,
.ac-site-footer a:focus-visible {
  color: var(--ac-gold);
}

.ac-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.ac-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.94rem;
}

.ac-footer__contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.ac-footer__contact i {
  color: var(--ac-gold);
  margin-top: 0.3rem;
}

.ac-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251, 248, 244, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(251, 248, 244, 0.7);
}

.ac-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ac-consent-dock {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 2rem));
  background: var(--ac-ink);
  color: var(--ac-cream);
  border: 1px solid rgba(251, 248, 244, 0.22);
  border-radius: var(--ac-radius);
  box-shadow: 0 30px 70px -30px rgba(20, 17, 15, 0.75);
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  z-index: 120;
}

.ac-consent-dock[hidden] {
  display: none;
}

.ac-consent-dock__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ac-font-display);
  font-size: 1.1rem;
  color: var(--ac-cream);
  margin: 0 0 0.35rem;
}

.ac-consent-dock__title i {
  color: var(--ac-gold);
}

.ac-consent-dock__text {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(251, 248, 244, 0.82);
  max-width: 62ch;
}

.ac-consent-dock__link {
  color: var(--ac-gold);
  text-decoration: underline;
}

.ac-consent-dock__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.ac-consent-dock__btn {
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ac-consent-dock__btn--accept {
  background: var(--ac-gold);
  color: var(--ac-ink);
}

.ac-consent-dock__btn--accept:hover {
  background: var(--ac-cream);
}

.ac-consent-dock__btn--decline {
  background: transparent;
  border-color: rgba(251, 248, 244, 0.45);
  color: var(--ac-cream);
}

.ac-consent-dock__btn--decline:hover {
  background: rgba(251, 248, 244, 0.14);
}

.ac-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 992px) {
  .ac-hero__grid,
  .ac-split {
    grid-template-columns: 1fr;
  }

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

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

  .ac-consent-dock {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .ac-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ac-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ac-cream);
    border-bottom: 1px solid var(--ac-line);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 1.25rem;
    display: none;
  }

  .ac-nav.is-open {
    display: flex;
  }

  .ac-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .ac-site-header .ac-header__main {
    position: relative;
  }
}

@media (max-width: 768px) {
  .ac-grid--2,
  .ac-grid--3,
  .ac-form__row {
    grid-template-columns: 1fr;
  }

  .ac-header__top {
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) {
  .ac-grid--4,
  .ac-metrics,
  .ac-footer__grid {
    grid-template-columns: 1fr;
  }

  .ac-consent-dock {
    bottom: 0.75rem;
    padding: 1.1rem 1.15rem;
  }

  .ac-consent-dock__actions {
    flex-direction: column;
  }

  .ac-consent-dock__btn {
    width: 100%;
  }
}
/* Reserve room under the sticky header for in-page anchor jumps. */
html {
  scroll-padding-top: 8rem;
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 6rem;
  }
}

/* --- QA fix: cookie-policy legal panel contrast (text must render fully opaque) --- */
.ac-panel.ac-reveal,
.ac-panel.ac-reveal.is-visible,
.ac-panel[data-aos],
.ac-panel[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.ac-panel p,
.ac-panel li,
.ac-panel strong,
.ac-panel h2 {
  opacity: 1 !important;
}

/* --- QA fix: hero ghost button + in-ink links contrast --- */
.ac-hero .ac-btn--ghost {
  color: var(--ac-cream);
  border-color: rgba(251, 248, 244, 0.55);
  background: rgba(20, 17, 15, 0.35);
}

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

.ac-section--ink p a:not(.ac-btn),
.ac-section--ink li a:not(.ac-btn),
.ac-cta-band p a:not(.ac-btn) {
  color: var(--ac-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ac-section--ink p a:not(.ac-btn):hover,
.ac-section--ink p a:not(.ac-btn):focus-visible,
.ac-cta-band p a:not(.ac-btn):hover,
.ac-cta-band p a:not(.ac-btn):focus-visible {
  color: var(--ac-cream);
}

/* --- Mobile navigation panel drops over the page without growing the header --- */
@media (max-width: 991.98px) {
  /* Keep the header sticky: its z-index keeps the opened nav panel painted
     above the hero and other sections that follow it. */
  .ac-header__main {
    position: relative;
    z-index: 5;
  }

  /* The opened navigation is painted over the page instead of being added to
     the header's own height, so the header box keeps its collapsed size. */
  .ac-header__main .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--ac-cream);
    border-bottom: 1px solid var(--ac-line);
    box-shadow: 0 22px 34px -26px rgba(20, 17, 15, 0.55);
    padding: 1.1rem 1.25rem;
    max-height: 75vh;
    overflow-y: auto;
  }

  .ac-header__main .navbar-collapse.collapse:not(.show) {
    display: none;
  }

  .ac-header__main .navbar-nav,
  .ac-header__main .ac-nav__list {
    width: 100%;
    margin: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .ac-header__main .ac-header__meta {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.85rem;
  }

  .ac-header__main .ac-hero__actions {
    margin-top: 0.85rem;
  }
}

/* === QA fix pass: CTA band ghost button contrast === */
.ac-cta-band .ac-btn--ghost {
  color: var(--ac-cream);
  border-color: rgba(251, 248, 244, 0.6);
  background: rgba(251, 248, 244, 0.08);
}

.ac-cta-band .ac-btn--ghost:hover,
.ac-cta-band .ac-btn--ghost:focus-visible {
  background: var(--ac-cream);
  color: var(--ac-ink);
  border-color: var(--ac-cream);
}

.ac-cta-band .ac-btn--light {
  background: var(--ac-cream);
  color: var(--ac-ink);
}

.ac-cta-band .ac-btn--light:hover,
.ac-cta-band .ac-btn--light:focus-visible {
  background: var(--ac-gold);
  color: var(--ac-ink);
}

/* --- QA fix: kicker text on light (cream/sand) surfaces needs 4.5:1 contrast ---
   The shared --ac-clay-deep (#a1441f) only reached ~2.3:1 on the cream body
   background. Kickers sitting on light sections now use the dark accent tone,
   which keeps the clay/terracotta palette while meeting AA for small bold text.
   Dark-section overrides (.ac-section--ink / .ac-cta-band) are untouched. */
.ac-kicker {
  color: #8a3a1a;
}

.ac-section--ink .ac-kicker,
.ac-cta-band .ac-kicker,
.ac-hero .ac-kicker {
  color: #e8c063;
}

/* --- QA fix: hero fact labels ("18 years", "Fixed price", "Licensed trades")
   sit on the dark hero photo where the shared --ac-gold (#c9982f) only reached
   ~2.3:1. Scoped to this one component: the label text uses the lighter gold
   already present in the palette (#e8c063) and gets a small local darkening
   behind it, so it stays legible on the image without touching any other text. */
.ac-hero__facts > div {
  background: rgba(20, 17, 15, 0.55);
  border-radius: var(--ac-radius-sm);
  padding: 0.5rem 0.75rem;
}

.ac-hero__facts strong {
  color: #e8c063;
}

.ac-hero__facts span {
  color: rgba(251, 248, 244, 0.88);
}

/* === Fix pass: cross-page markup variants === */

/* FAQ triggers may be <h3> instead of <button>; kill the heading margin so the
   item header stays flush inside .ac-faq__item. */
.ac-faq__q {
  margin: 0;
}

/* Contact rows are written as <p> on most pages and <li> inside
   .ac-footer__list on others - give both the icon + text flex treatment. */
.ac-footer__contact li,
.ac-footer__contact p {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.ac-footer__contact p {
  margin: 0 0 0.6rem;
}

/* Hero fact chips are <div> children on hero sections and <li> inside the
   side panel on service pages. Stack the value above the label for the div
   variant and give standalone chip rows three columns on wider screens. */
div.ac-hero__facts > div strong {
  display: block;
}

@media (min-width: 768px) {
  div.ac-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Dots may sit outside .ac-slider__controls; keep them on one tidy row. */
.ac-slider__dots {
  align-items: center;
}

.ac-slider > .ac-slider__dots {
  margin-top: 1rem;
  margin-left: 0;
  justify-content: flex-end;
}

/* Slider controls sit on the dark hero photo - light outlines so they stay
   visible, matching the hero ghost button treatment. */
.ac-hero .ac-slider__btn {
  color: var(--ac-cream);
  border-color: rgba(251, 248, 244, 0.45);
  background: rgba(20, 17, 15, 0.35);
}

.ac-hero .ac-slider__btn:hover {
  background: var(--ac-cream);
  color: var(--ac-ink);
  border-color: var(--ac-cream);
}

.ac-slider__viewport {
  min-height: clamp(340px, 45vw, 520px);
}
