@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink-900: #0a0d12;
  --ink-800: #10151d;
  --ink-700: #171e28;
  --ink-600: #212a36;
  --line-soft: rgba(255, 255, 255, 0.08);
  --fog-50: #f5f7fa;
  --fog-100: #e6ebf2;
  --fog-300: #b9c2cf;
  --fog-500: #7c8798;
  --amber-500: #ff8a1f;
  --amber-600: #ea6f05;
  --amber-soft: rgba(255, 138, 31, 0.14);
  --teal-400: #2ee6c5;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-deep: 0 24px 60px -22px rgba(0, 0, 0, 0.65);
  --shadow-soft: 0 12px 30px -14px rgba(10, 13, 18, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background-color: var(--fog-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.display-title,
.section-heading__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: inherit;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }

a {
  color: var(--amber-600);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover,
a:focus-visible {
  color: var(--amber-500);
}

::selection {
  background: var(--amber-500);
  color: var(--ink-900);
}

/* ---------- Layout helpers ---------- */

.shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.shell--narrow {
  max-width: 880px;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
  position: relative;
}

.section--dark {
  background-color: var(--ink-900);
  color: var(--fog-50);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark .section-heading__title {
  color: var(--fog-50);
}

.section--dark p,
.section--dark li {
  color: var(--fog-300);
}

.section--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--fog-50);
}

.section--photo h1,
.section--photo h2,
.section--photo h3 {
  color: var(--fog-50);
}

.section--photo p,
.section--photo li {
  color: var(--fog-100);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 14px;
}

.section__eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--amber-500);
}

.section-heading {
  max-width: 740px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading__title {
  margin-bottom: 16px;
}

.section-heading__lead {
  font-size: 1.05rem;
  color: var(--fog-500);
  margin: 0;
}

.section--dark .section-heading__lead,
.section--photo .section-heading__lead {
  color: var(--fog-300);
}

/* ---------- Buttons ---------- */

.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.btn-custom:active {
  transform: translateY(1px);
}

.btn-custom--solid {
  background-color: var(--amber-500);
  color: var(--ink-900);
}

.btn-custom--solid:hover,
.btn-custom--solid:focus-visible {
  background-color: var(--amber-600);
  color: var(--ink-900);
}

.btn-custom--ghost {
  background-color: transparent;
  color: var(--fog-50);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-custom--ghost:hover,
.btn-custom--ghost:focus-visible {
  border-color: var(--amber-500);
  color: var(--amber-500);
}

.btn-custom--outline-dark {
  background-color: transparent;
  color: var(--ink-900);
  border-color: rgba(10, 13, 18, 0.24);
}

.btn-custom--outline-dark:hover,
.btn-custom--outline-dark:focus-visible {
  border-color: var(--amber-600);
  color: var(--amber-600);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: rgba(10, 13, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.site-header--compact .site-header__inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  transition: padding 0.3s var(--ease-out);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fog-50);
}

.site-header__brand:hover,
.site-header__brand:focus-visible {
  color: var(--fog-50);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav a {
  color: var(--fog-300);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
  color: var(--amber-500);
}

.site-header__contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
  color: var(--fog-300);
}

.site-header__contact a {
  color: var(--fog-50);
}

.site-header__contact a:hover,
.site-header__contact a:focus-visible {
  color: var(--amber-500);
}

.site-header__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--fog-50);
  padding: 8px 12px;
  font-size: 1.1rem;
}

.site-header__drawer {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line-soft);
}

.site-header__drawer.is-open {
  display: flex;
}

.site-header__drawer a {
  color: var(--fog-100);
}

@media (max-width: 991px) {
  .site-header__nav,
  .site-header__contact {
    display: none;
  }
  .site-header__toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 110px);
  background-size: cover;
  background-position: center;
  color: var(--fog-50);
  overflow: hidden;
}

.hero__title {
  color: var(--fog-50);
  margin-bottom: 22px;
}

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--fog-100);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--fog-300);
}

.hero__badges i {
  color: var(--amber-500);
}

/* ---------- Cards ---------- */

.card-tile {
  height: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(10, 13, 18, 0.07);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.card-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.card-tile--dark {
  background-color: var(--ink-800);
  border-color: var(--line-soft);
  color: var(--fog-50);
}

.card-tile--dark p,
.card-tile--dark li {
  color: var(--fog-300);
}

.card-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--amber-soft);
  color: var(--amber-600);
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.card-tile__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-tile__text {
  font-size: 0.96rem;
  color: var(--ink-600);
  margin: 0;
}

.card-service {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.card-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.card-service__media {
  aspect-ratio: 16 / 11;
  width: 100%;
  overflow: hidden;
  background-color: var(--ink-700);
}

.card-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

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

.card-service__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-service__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.card-service__text {
  font-size: 0.95rem;
  color: var(--ink-600);
  margin-bottom: 18px;
}

.card-service__link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Stats ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin-top: 12px;
}

.stat-block {
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
}

.stat-block__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-block__label {
  font-size: 0.9rem;
  color: var(--fog-300);
  margin: 0;
}

/* ---------- Steps ---------- */

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

.step-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 13, 18, 0.07);
  counter-increment: step;
}

.step-item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber-600);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--amber-soft);
  border-radius: 50%;
  width: 52px;
  height: 52px;
}

.step-item__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step-item__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-600);
}

/* ---------- Pricing ---------- */

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

.price-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid rgba(10, 13, 18, 0.07);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  background-color: var(--ink-900);
  color: var(--fog-50);
  border-color: var(--amber-500);
}

.price-card--featured p,
.price-card--featured li {
  color: var(--fog-300);
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.price-card__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--amber-500);
  margin-bottom: 4px;
  line-height: 1;
}

.price-card__note {
  font-size: 0.85rem;
  color: var(--fog-500);
  margin-bottom: 22px;
}

.price-card--featured .price-card__note {
  color: var(--fog-300);
}

.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.price-card__features li {
  display: flex;
  gap: 10px;
  font-size: 0.94rem;
}

.price-card__features i {
  color: var(--amber-500);
  margin-top: 4px;
}

/* ---------- Gallery ---------- */

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--ink-700);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

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

.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  font-size: 0.86rem;
  color: var(--fog-50);
  background: linear-gradient(0deg, rgba(10, 13, 18, 0.88), rgba(10, 13, 18, 0));
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid rgba(10, 13, 18, 0.1);
}

.faq-item__button {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 20px 44px 20px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: inherit;
  position: relative;
  cursor: pointer;
}

.faq-item__button::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.25s var(--ease-out);
  color: var(--amber-600);
  font-size: 0.85rem;
}

.faq-item__button[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-item__panel {
  padding: 0 0 20px;
  font-size: 0.96rem;
  color: var(--ink-600);
}

.faq-item__panel p {
  margin: 0;
}

.section--dark .faq-item {
  border-bottom-color: var(--line-soft);
}

.section--dark .faq-item__panel {
  color: var(--fog-300);
}

/* ---------- Forms ---------- */

.form-panel {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(10, 13, 18, 0.07);
}

.form-field {
  margin-bottom: 18px;
}

.form-field__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 7px;
  color: var(--ink-800);
}

.form-control-custom {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 13, 18, 0.16);
  background-color: var(--fog-50);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink-900);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px var(--amber-soft);
}

.form-field__error {
  display: none;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #b42318;
}

.form-field.is-invalid .form-control-custom {
  border-color: #b42318;
  background-color: #fdf3f2;
}

.form-field.is-invalid .form-field__error {
  display: block;
}

.form-consent {
  font-size: 0.82rem;
  color: var(--fog-500);
  margin: 6px 0 22px;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--ink-900);
  color: var(--fog-300);
  padding: clamp(48px, 6vw, 76px) 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 34px;
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fog-50);
  margin-bottom: 16px;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.93rem;
}

.site-footer__list a {
  color: var(--fog-300);
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: var(--amber-500);
}

.site-footer__legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--fog-500);
}

/* ---------- Cookie dock ---------- */

.cookie-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1080;
  width: min(420px, calc(100vw - 32px));
  background-color: var(--ink-800);
  color: var(--fog-100);
  border: 1px solid rgba(255, 138, 31, 0.42);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-dock-in 0.5s var(--ease-out) both;
}

.cookie-dock.is-dismissed {
  animation: cookie-dock-out 0.3s var(--ease-out) both;
}

.cookie-dock__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 10px;
}

.cookie-dock__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fog-100);
}

.cookie-dock__link {
  color: var(--amber-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-dock__link:hover,
.cookie-dock__link:focus-visible {
  color: var(--teal-400);
}

.cookie-dock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-dock__btn {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.cookie-dock__btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--fog-100);
}

.cookie-dock__btn--ghost:hover,
.cookie-dock__btn--ghost:focus-visible {
  border-color: var(--fog-100);
  color: var(--fog-50);
}

.cookie-dock__btn--solid {
  background-color: var(--amber-500);
  color: var(--ink-900);
}

.cookie-dock__btn--solid:hover,
.cookie-dock__btn--solid:focus-visible {
  background-color: var(--amber-600);
}

@keyframes cookie-dock-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cookie-dock-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(18px); }
}

@media (max-width: 576px) {
  .cookie-dock {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }
  .cookie-dock__actions {
    justify-content: stretch;
  }
  .cookie-dock__btn {
    flex: 1;
  }
}

/* ---------- Misc ---------- */

.divider-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--amber-500), transparent);
  border: 0;
  margin: 0;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 13px;
  border-radius: 999px;
  background-color: var(--amber-soft);
  color: var(--amber-600);
}

.section--dark .tag-chip,
.section--photo .tag-chip {
  background-color: rgba(255, 138, 31, 0.18);
  color: var(--amber-500);
}

.map-frame {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius-lg);
  filter: saturate(0.85);
}

.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.contact-line__icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--amber-soft);
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-line__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog-500);
  margin-bottom: 2px;
}

.contact-line__value {
  font-size: 0.98rem;
  margin: 0;
}

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

/* QA_GRID_COLUMN_FIX .stat-strip.row */
.stat-strip.row{--bs-gutter-x:0;--bs-gutter-y:0;margin-left:0;margin-right:0}
.stat-strip.row>:is([class^="col-"],[class*=" col-"]){width:100%;max-width:100%;min-width:0;flex:none;padding-left:0;padding-right:0;margin-top:0}
/* QA_GRID_COLUMN_FIX .gallery-grid.row */
.gallery-grid.row{--bs-gutter-x:0;--bs-gutter-y:0;margin-left:0;margin-right:0}
.gallery-grid.row>:is([class^="col-"],[class*=" col-"]){width:100%;max-width:100%;min-width:0;flex:none;padding-left:0;padding-right:0;margin-top:0}
/* QA_GRID_COLUMN_FIX .site-footer__grid.row */
.site-footer__grid.row{--bs-gutter-x:0;--bs-gutter-y:0;margin-left:0;margin-right:0}
.site-footer__grid.row>:is([class^="col-"],[class*=" col-"]){width:100%;max-width:100%;min-width:0;flex:none;padding-left:0;padding-right:0;margin-top:0}
/* QA_GRID_COLUMN_FIX .price-grid.row */
.price-grid.row{--bs-gutter-x:0;--bs-gutter-y:0;margin-left:0;margin-right:0}
.price-grid.row>:is([class^="col-"],[class*=" col-"]){width:100%;max-width:100%;min-width:0;flex:none;padding-left:0;padding-right:0;margin-top:0}

/* QA_CONTRAST_FIX — darken light-surface text to meet WCAG AA 4.5:1 */
.section-heading__lead {
  color: #4b5563;
}

.section:not(.section--dark):not(.section--photo) .section__eyebrow {
  color: #96460a;
}

.section:not(.section--dark):not(.section--photo) .section__eyebrow::before {
  background: #96460a;
}

.card-service__link {
  color: #96460a;
}

.card-service__link:hover,
.card-service__link:focus-visible {
  color: #7a3807;
}

a.card-service__link:visited {
  color: #96460a;
}

/* QA_CONTRAST_FIXES — darken amber/grey text on light backgrounds to meet WCAG AA */
.section:not(.section--dark):not(.section--photo) .section-heading__lead,
.section-heading__lead {
  color: #4f5a67;
}

.section:not(.section--dark):not(.section--photo) .section__eyebrow,
.section__eyebrow {
  color: #a34a02;
}

.section:not(.section--dark):not(.section--photo) .section__eyebrow::before,
.section__eyebrow::before {
  background: #a34a02;
}

.card-service__link,
.card-service__link:hover,
.card-service__link:focus-visible {
  color: #a34a02;
}

a.card-service__link i {
  color: inherit;
}

.card-tile__icon,
.contact-line__icon,
.faq-item__button::after,
.step-item::before,
.tag-chip {
  color: #a34a02;
}

/* ---------- QA fixes: step list two-column alignment ---------- */
/* The numbered badge must occupy its own track and both text paragraphs
   must sit in the readable (wide) column instead of wrapping into the 52px track. */
.step-item {
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
}

.step-item::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}

.step-item > * {
  grid-column: 2;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .step-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .step-item::before {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
}

/* Step cards sitting on a dark section: use a dark surface and light text
   so the copy keeps a strong contrast ratio. */
.section--dark .step-item {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--line-soft);
}

.section--dark .step-item__title {
  color: var(--fog-50);
}

.section--dark .step-item__text {
  color: var(--fog-100);
}

.section--dark .step-item::before {
  color: #ffd9a8;
  background-color: rgba(255, 138, 31, 0.22);
}

/* ---------- QA fixes: legible amber on light surfaces ---------- */
.section__eyebrow {
  color: #b3540a;
}

.section--dark .section__eyebrow:not(.text-white),
.section--photo .section__eyebrow:not(.text-white) {
  color: var(--amber-500);
}

@media (min-width: 992px) {
  /* desktop step groups stay readable in two columns where they are wide enough */
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .step-list > .step-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.card-tile a.contact-line__value,
.card-service__link,
.form-consent a,
.faq-item__button::after {
  color: #b3540a;
}

.card-tile a.contact-line__value:hover,
.card-tile a.contact-line__value:focus-visible,
.card-service__link:hover,
.card-service__link:focus-visible,
.form-consent a:hover,
.form-consent a:focus-visible {
  color: #8a3f04;
}

.form-panel .form-consent {
  color: #566072;
}

.form-panel .form-control-custom::placeholder {
  color: #666666;
  opacity: 1;
}

.hero .tag-chip {
  background-color: rgba(10, 13, 18, 0.55);
  color: #ffd9a8;
}

/* ---------- QA fixes: contrast on light surfaces (prose links, labels) ---------- */
/* Body-copy links inside white content panels were using the bright amber
   (3.1:1). Use a deeper amber so they reach AA on white. */
.section:not(.section--dark):not(.section--photo) .bg-white a:not(.btn-custom),
.section:not(.section--dark):not(.section--photo) .bg-white a:not(.btn-custom):visited {
  color: #96460a;
}

.section:not(.section--dark):not(.section--photo) .bg-white a:not(.btn-custom):hover,
.section:not(.section--dark):not(.section--photo) .bg-white a:not(.btn-custom):focus-visible {
  color: #6f3406;
}

/* The small uppercase labels under each contact row were #7c8798 (3.6:1). */
.contact-line__label {
  color: #4b5563;
}

.card-tile .contact-line__label,
.card-tile .site-footer__list .contact-line__label {
  color: #4b5563;
}

/* Contact links nested in the card list inherited the footer's light grey
   (#b9c2cf, 1.8:1 on white); restore a readable dark tone. */
.card-tile .site-footer__list a,
.card-tile .site-footer__list a:visited {
  color: #96460a;
}

.card-tile .site-footer__list a:hover,
.card-tile .site-footer__list a:focus-visible {
  color: #6f3406;
}

.card-tile .contact-line__value {
  color: #1f2734;
}

/* ---------- QA fix: contrast on light surfaces (stats, pricing, steps) ---------- */

/* Statistic blocks that sit on the light page background need a light card
   surface and darker copy: amber on the pale page background was unreadable. */
.section:not(.section--dark):not(.section--photo) .stat-block {
  background-color: #ffffff;
  border-color: rgba(10, 13, 18, 0.1);
}

.section:not(.section--dark):not(.section--photo) .stat-block__value {
  color: #a34a02;
}

.section:not(.section--dark):not(.section--photo) .stat-block__label {
  color: #414c5a;
}

/* Pricing cards on white: darken the amber value and the grey note. */
.price-card:not(.price-card--featured) .price-card__value {
  color: #a34a02;
}

.price-card:not(.price-card--featured) .price-card__note {
  color: #4b5563;
}

/* Step cards on the photo section keep a white card, so the copy inside
   must stay dark instead of inheriting the light-on-photo colour. */
.section--photo {
  background-color: #10151d;
}

.section--photo .step-item {
  background-color: #ffffff;
  border-color: rgba(10, 13, 18, 0.08);
}

.section--photo .step-item__title {
  color: #10151d;
}

.section--photo .step-item__text {
  color: #212a36;
}

.section--photo .step-item .tag-chip {
  background-color: #ffe6d1;
  color: #a34a02;
}

/* Two readable step columns on desktop, one column on mobile. */
@media (min-width: 992px) {
  .section--photo .step-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

/* ---------- QA: step cards on photo sections need a dark surface ---------- */
/* The section is .section--photo, so the earlier .section--dark rules never
   applied and the near-white copy ended up on a white card. */
.section--photo .step-list .step-item {
  background-color: rgba(10, 13, 18, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
}

.section--photo .step-list .step-item__title {
  color: #f5f7fa;
}

.section--photo .step-list .step-item__text {
  color: #e6ebf2;
}

.section--photo .step-list .step-item::before {
  color: #ffd9a8;
  background-color: rgba(255, 138, 31, 0.26);
}

/* ---------- QA: legible amber/grey on white price cards ---------- */
.price-card:not(.price-card--featured) .price-card__value {
  color: #b3540a;
}

.price-card:not(.price-card--featured) .price-card__note {
  color: #4f5a67;
}

.price-card:not(.price-card--featured) .price-card__features li {
  color: #171e28;
}

/* ---------- QA fix: contrast inside the dark "quick contact" tile ---------- */
/* The generic .card-tile .contact-line__value rule forces a near-black tone,
   which is unreadable on the dark tile surface. Restore light copy there. */
.card-tile--dark .contact-line__value {
  color: #f5f7fa;
}

.card-tile--dark a.contact-line__value,
.card-tile--dark a.contact-line__value:visited {
  color: #ffb168;
}

.card-tile--dark a.contact-line__value:hover,
.card-tile--dark a.contact-line__value:focus-visible {
  color: #ffd9a8;
}

/* ---------- QA fix: white service cards inside a dark section ---------- */
/* .section--dark h3 / p set near-white copy, but .card-service keeps a white
   surface, so the title and body text need dark tones again. */
.section--dark .card-service .card-service__title,
.section--photo .card-service .card-service__title {
  color: #10151d;
}

.section--dark .card-service .card-service__text,
.section--photo .card-service .card-service__text {
  color: #212a36;
}

.section--dark .card-service .card-service__link,
.section--dark .card-service .card-service__link:visited,
.section--photo .card-service .card-service__link,
.section--photo .card-service .card-service__link:visited {
  color: #b3540a;
}

.section--dark .card-service .card-service__link:hover,
.section--dark .card-service .card-service__link:focus-visible,
.section--photo .card-service .card-service__link:hover,
.section--photo .card-service .card-service__link:focus-visible {
  color: #8a3f04;
}

/* ---------- QA: eyebrow legibility on photo hero sections ---------- */
/* The bright amber (#ff8a1f) only reached ~3.1:1 against the darkened hero
   photo. Use a pale amber that clears WCAG AA on the dark overlay. */
.section--photo .section__eyebrow,
.section--photo .section__eyebrow:not(.text-white) {
  color: #ffd9a8;
}

.section--photo .section__eyebrow::before {
  background: #ffd9a8;
}

/* ---------- QA fix: contact row labels on dark surfaces ---------- */
/* The global .contact-line__label tone (#4b5563) was tuned for white cards and
   only reached 2.6:1 on the dark "quick contact" section. Use a light grey
   there so the uppercase labels stay readable. */
.section--dark .contact-line__label,
.section--photo .contact-line__label,
.site-footer .contact-line__label {
  color: #c6cedb;
}

/* ---------- QA fix: feature tiles in the "about" split block ---------- */
/* The tiles use a 2x2 grid on the narrow right column, so their copy was
   wrapping into very short lines. Give them one readable column per row
   from the desktop breakpoint up; mobile keeps the compact 2x2 grid. */
@media (min-width: 992px) {
  .section .row.gy-5.align-items-center > [class*="col-lg-6"] > .row.g-3 > [class*="col-6"] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ---------- QA fix: footer layout gap ---------- */
/* The footer columns were collapsed to 100% width by the grid-column override,
   so they stacked into one tall narrow column and created a large empty strip
   between the contact/map block and the legal bar. Restore the intended
   multi-column footer grid on desktop while keeping a single column on mobile. */
.site-footer__grid.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.site-footer__grid.row > :is([class^="col-"], [class*=" col-"]) {
  width: auto;
  flex: 0 1 auto;
  max-width: 100%;
}

@media (min-width: 992px) {
  .site-footer__grid.row {
    grid-template-columns: 4fr 2fr 3fr 3fr;
  }
}

.site-footer .map-frame iframe {
  display: block;
  border: 0;
  border-radius: var(--radius-md);
}

.site-footer__legal {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ---------- QA fix: footer blank strip above the legal bar ---------- */
/* AOS attributes on footer columns leave elements hidden/offset, and the tall
   grid track (contact column with map) still reserves space under the shorter
   columns, leaving a dark empty strip before the divider. Ensure the footer
   columns render their content and the grid tracks hug their content. */
.site-footer [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.site-footer__grid.row {
  row-gap: 34px;
  align-content: start;
}

/* The map column must not reserve extra height: let it size to the content. */
.site-footer .map-frame {
  min-height: 0;
}

.site-footer .map-frame iframe {
  height: 180px;
}

@media (min-width: 992px) {
  .site-footer__grid.row {
    align-items: start;
    grid-auto-rows: min-content;
  }
}
