:root {
  --clr-ink: #1b1a17;
  --clr-ink-soft: #3d3a34;
  --clr-ink-muted: #5b564d;
  --clr-cream: #f7f2ea;
  --clr-cream-deep: #efe6d5;
  --clr-cream-line: #e4d8c3;
  --clr-gold: #b8935a;
  --clr-gold-deep: #8f6d38;
  --clr-gold-text: #7d6135;
  --clr-rose: #9e4f5d;
  --clr-rose-soft: #b96d7a;
  --clr-white: #ffffff;

  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;

  --shadow-soft: 0 18px 45px -20px rgba(27, 26, 23, 0.28);
  --shadow-lift: 0 28px 60px -25px rgba(27, 26, 23, 0.42);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--clr-ink);
  background-color: var(--clr-cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--clr-ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p {
  color: var(--clr-ink-soft);
}

a {
  color: var(--clr-gold-text);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover,
a:focus-visible {
  color: var(--clr-rose);
}

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

.container-tight {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-gold-text);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--clr-gold);
}

.eyebrow--light {
  color: var(--clr-cream-deep);
}

.eyebrow--light::before {
  background: var(--clr-gold);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

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

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p,
.section--dark .lead {
  color: var(--clr-cream);
}

.section--dark p {
  color: #e7dfd0;
}

.section--tinted {
  background-color: var(--clr-cream-deep);
}

.section--overlay {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--clr-white);
}

.lead {
  font-size: 1.15rem;
  color: var(--clr-ink-muted);
}

.section--dark .lead,
.section--overlay .lead {
  color: #eadfce;
}

.rule-gold {
  width: 56px;
  height: 2px;
  background: var(--clr-gold);
  border: 0;
  margin: 26px 0;
}

.btn-ink,
.btn-gold,
.btn-outline-ink,
.btn-outline-cream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  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), box-shadow 0.25s var(--ease-out);
  text-decoration: none;
}

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

.btn-ink:hover,
.btn-ink:focus-visible {
  background: var(--clr-gold-deep);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

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

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--clr-cream-deep);
  color: var(--clr-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-ink {
  background: transparent;
  color: var(--clr-ink);
  border-color: var(--clr-ink);
}

.btn-outline-ink:hover,
.btn-outline-ink:focus-visible {
  background: var(--clr-ink);
  color: var(--clr-cream);
  transform: translateY(-2px);
}

.btn-outline-cream {
  background: transparent;
  color: var(--clr-cream);
  border-color: rgba(247, 242, 234, 0.55);
}

.btn-outline-cream:hover,
.btn-outline-cream:focus-visible {
  background: var(--clr-cream);
  color: var(--clr-ink);
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(247, 242, 234, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-cream-line);
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(247, 242, 234, 0.99);
  box-shadow: 0 12px 30px -22px rgba(27, 26, 23, 0.5);
}

.site-header .navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--clr-ink);
  font-weight: 600;
}

.site-header .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-meta {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--clr-ink-soft);
}

.header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.header-meta i {
  color: var(--clr-gold-text);
  font-size: 0.82rem;
}

.header-meta a {
  color: var(--clr-ink-soft);
}

.header-meta a:hover {
  color: var(--clr-rose);
}

.nav-link-custom {
  position: relative;
  color: var(--clr-ink);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 4px;
  margin-inline: 12px;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link-custom:hover::after,
.nav-link-custom:focus-visible::after,
.nav-link-custom.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid var(--clr-ink);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--clr-ink);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hero-slider .carousel-item {
  min-height: clamp(540px, 82vh, 780px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slider .carousel-inner {
  border-radius: 0;
}

.hero-caption {
  max-width: 680px;
  color: var(--clr-white);
}

.hero-caption h1 {
  color: var(--clr-white);
  margin-bottom: 22px;
}

.hero-caption p {
  color: #f1e9db;
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-caption .btn-group-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.carousel-indicators [data-bs-target] {
  width: 26px;
  height: 2px;
  background-color: var(--clr-cream-deep);
  border: 0;
  opacity: 0.55;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: var(--clr-gold);
}

.carousel-control-prev,
.carousel-control-next {
  width: 56px;
  opacity: 0.85;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--clr-cream-line);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.feature-card .icon-medallion {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--clr-cream-deep);
  color: var(--clr-gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.96rem;
  margin: 0;
}

.svc-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-ink);
  color: var(--clr-cream);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.svc-card img.svc-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.58;
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 26, 23, 0.05) 0%, rgba(27, 26, 23, 0.92) 92%);
  z-index: 1;
}

.svc-card__body {
  position: relative;
  z-index: 2;
}

.svc-card__body h3 {
  color: var(--clr-white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.svc-card__body p {
  color: #e7dfd0;
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-gold);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.svc-card:hover img.svc-card__img {
  opacity: 0.7;
  transform: scale(1.04);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.stat-cell {
  border-left: 2px solid var(--clr-gold);
  padding-left: 22px;
}

.stat-cell .num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--clr-gold);
  line-height: 1;
  display: block;
}

.section--dark .stat-cell .num {
  color: var(--clr-gold);
}

.stat-cell .label {
  display: block;
  margin-top: 8px;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-ink-muted);
}

.section--dark .stat-cell .label {
  color: #d7cdb8;
}

.team-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-cream-line);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--clr-cream-deep);
}

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

.team-card__body {
  padding: 24px 24px 28px;
}

.team-card__body h3 {
  font-size: 1.22rem;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-gold-text);
  margin-bottom: 12px;
  display: block;
}

.team-card__body p {
  font-size: 0.92rem;
  margin: 0;
}

.testimonial-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-cream-line);
  border-radius: var(--radius-md);
  padding: 34px 32px;
  position: relative;
  height: 100%;
}

.testimonial-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 0.8;
  color: var(--clr-gold);
  display: block;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--clr-ink-soft);
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.testimonial-card .author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--clr-cream-deep);
}

.testimonial-card .author .name {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--clr-ink);
}

.testimonial-card .author .role {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-ink-muted);
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--clr-ink);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), opacity 0.4s var(--ease-out);
  opacity: 0.92;
}

.gallery-tile:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.gallery-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 15px 16px;
  background: linear-gradient(180deg, rgba(27, 26, 23, 0) 0%, rgba(27, 26, 23, 0.85) 100%);
  color: var(--clr-white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--clr-cream-line);
}

.section--dark .price-list li {
  border-bottom-color: rgba(247, 242, 234, 0.16);
}

.price-list li .p-name {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  color: var(--clr-ink);
}

.section--dark .price-list li .p-name {
  color: var(--clr-cream);
}

.price-list li .p-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--clr-ink-muted);
  margin-top: 3px;
}

.section--dark .price-list li .p-desc {
  color: #cfc4ac;
}

.price-list li .p-amount {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--clr-gold-text);
  white-space: nowrap;
}

.section--dark .price-list li .p-amount {
  color: var(--clr-gold);
}

.process-step {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--clr-cream-line);
}

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

.process-step .step-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--clr-gold-text);
  min-width: 52px;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.94rem;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--clr-cream-line);
  padding: 22px 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--clr-ink);
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-panel {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-cream-line);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-label-custom {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-ink-soft);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-cream-line);
  padding: 14px 16px;
  font-size: 0.98rem;
  color: var(--clr-ink);
  background-color: var(--clr-cream);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.22);
  background-color: var(--clr-white);
  color: var(--clr-ink);
}

.form-control::placeholder {
  color: #9a917f;
}

.invalid-feedback {
  font-size: 0.82rem;
  color: #a33a3a;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #a33a3a;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #5d7d4e;
}

.contact-info-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--clr-cream-line);
}

.contact-info-line:last-child {
  border-bottom: 0;
}

.contact-info-line i {
  color: var(--clr-gold-text);
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-info-line .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-ink-muted);
  display: block;
  margin-bottom: 2px;
}

.contact-info-line .value {
  font-size: 1rem;
  color: var(--clr-ink);
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-cream-line);
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 320px;
}

.site-footer {
  background: var(--clr-ink);
  color: var(--clr-cream);
  padding-top: 80px;
  padding-bottom: 30px;
}

.site-footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 22px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #d7cdb8;
  font-size: 0.94rem;
}

.site-footer a:hover {
  color: var(--clr-gold);
}

.site-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-nav li {
  margin-bottom: 10px;
}

.site-footer .brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--clr-cream);
  letter-spacing: 0.04em;
}

.site-footer .footer-brand-block p {
  margin-top: 18px;
  max-width: 320px;
}

.site-footer .legal-row {
  border-top: 1px solid rgba(247, 242, 234, 0.14);
  margin-top: 50px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: #b6ab96;
}

.site-footer .legal-row a {
  color: #cfc4ac;
}

.site-footer .legal-row a:hover {
  color: var(--clr-gold);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-ink);
  color: var(--clr-cream);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  transform: translateY(10px);
  z-index: 1040;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--clr-gold-deep);
}

.page-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--clr-white);
}

.page-hero h1 {
  color: var(--clr-white);
}

.page-hero p {
  color: #ede3d1;
  max-width: 640px;
}

.blog-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-cream-line);
  height: 100%;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.blog-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--clr-cream-deep);
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 26px 28px 30px;
}

.blog-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-gold-text);
  margin-bottom: 12px;
  display: block;
}

.blog-card__body h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.blog-card__body p {
  font-size: 0.93rem;
  margin-bottom: 16px;
}

.thank-you-panel {
  text-align: center;
  padding: clamp(60px, 10vw, 130px) 20px;
}

.thank-you-panel .tick {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--clr-gold);
  color: var(--clr-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 26px;
}

.caverim-cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 140%);
  width: min(960px, calc(100% - 32px));
  background: var(--clr-ink);
  color: var(--clr-cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 147, 90, 0.35);
  padding: 26px 30px;
  box-shadow: 0 32px 70px -30px rgba(0, 0, 0, 0.7);
  z-index: 1050;
  transition: transform 0.55s var(--ease-out), opacity 0.4s var(--ease-out);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.caverim-cookie.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.caverim-cookie.is-dismissed {
  transform: translate(-50%, 160%);
  opacity: 0;
  pointer-events: none;
}

.caverim-cookie__seal {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--clr-gold), var(--clr-gold-deep));
  color: var(--clr-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.caverim-cookie__text {
  flex: 1 1 340px;
  min-width: 220px;
}

.caverim-cookie__text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--clr-cream);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.caverim-cookie__text p {
  margin: 0;
  font-size: 0.9rem;
  color: #d7cdb8;
  line-height: 1.55;
}

.caverim-cookie__text a {
  color: var(--clr-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.caverim-cookie__text a:hover {
  color: var(--clr-cream);
}

.caverim-cookie__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.caverim-cookie__btn {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.caverim-cookie__btn--accept {
  background: var(--clr-gold);
  color: var(--clr-ink);
}

.caverim-cookie__btn--accept:hover {
  background: var(--clr-cream);
  color: var(--clr-ink);
  transform: translateY(-2px);
}

.caverim-cookie__btn--decline {
  background: transparent;
  color: var(--clr-cream);
  border-color: rgba(247, 242, 234, 0.4);
}

.caverim-cookie__btn--decline:hover {
  background: rgba(247, 242, 234, 0.14);
  color: var(--clr-cream);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .header-meta {
    display: none;
  }

  .nav-link-custom {
    margin-inline: 0;
    padding: 10px 0;
  }

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

  .contact-panel {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .caverim-cookie {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .caverim-cookie__actions {
    width: 100%;
  }

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

  .process-step {
    flex-direction: column;
    gap: 10px;
  }

  .stat-cell {
    border-left-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* ==========================================================================
   Contrast repairs (appended QA overrides)
   ========================================================================== */

/* 1. Contact panels are white, so their text must be dark even when they sit
      inside dark sections (.section--dark / .site-footer). */
.contact-panel,
.section--dark .contact-panel,
.site-footer .contact-panel {
  color: var(--clr-ink);
}

.contact-panel .contact-info-line,
.section--dark .contact-panel .contact-info-line,
.site-footer .contact-panel .contact-info-line {
  color: var(--clr-ink);
}

.contact-panel .contact-info-line i,
.section--dark .contact-panel .contact-info-line i,
.site-footer .contact-panel .contact-info-line i {
  color: var(--clr-gold-text);
}

.contact-panel a,
.contact-panel a.contact-info-line,
.section--dark .contact-panel a,
.site-footer .contact-panel a {
  color: var(--clr-gold-text);
}

.contact-panel a:hover,
.contact-panel a:focus-visible,
.section--dark .contact-panel a:hover,
.site-footer .contact-panel a:hover {
  color: var(--clr-rose);
}

.contact-panel p,
.section--dark .contact-panel p,
.site-footer .contact-panel p {
  color: var(--clr-ink-soft);
}

.contact-panel .contact-info-line .label {
  color: var(--clr-ink-muted);
}

/* 2. Image-overlay sections: headings, body copy and stat labels need light
      colours because the backdrop photograph is darkened. */
.section--overlay h1,
.section--overlay h2,
.section--overlay h3,
.section--overlay h4,
.section--overlay h5,
.section--overlay .lead {
  color: var(--clr-white);
}

.section--overlay p {
  color: #f2ebdd;
}

.section--overlay .stat-cell .num {
  color: var(--clr-gold);
}

.section--overlay .stat-cell .label {
  color: #ddd3bf;
}

.section--overlay a.svc-card__link,
.section--overlay .svc-card__link {
  color: var(--clr-gold);
}

/* ==========================================================================
   Accessibility contrast overrides
   ========================================================================== */

/* Dark photo-overlay sections: headings, body copy and stat labels must stay
   light because the background image is darkened by an inline gradient. */
.section--overlay h1,
.section--overlay h2,
.section--overlay h3,
.section--overlay h4,
.section--overlay h5 {
  color: var(--clr-white);
}

.section--overlay p,
.section--overlay li,
.section--overlay span,
.section--overlay .lead {
  color: #f1e9db;
}

.section--overlay .stat-cell .num {
  color: var(--clr-gold);
}

.section--overlay .stat-cell .label {
  color: #ded4bf;
}

.section--overlay .svc-card__link {
  color: #e2c99c;
}

.section--overlay .svc-card__link:hover,
.section--overlay .svc-card__link:focus-visible {
  color: var(--clr-white);
}

/* Contact panels always sit on a white card, even inside dark sections and the
   footer, so their text must use ink tones rather than the section cream. */
.contact-panel,
.section--dark .contact-panel,
.site-footer .contact-panel {
  color: var(--clr-ink-soft);
}

.contact-panel p,
.contact-panel span,
.contact-panel li,
.contact-panel .contact-info-line,
.section--dark .contact-panel p,
.section--dark .contact-panel span,
.section--dark .contact-panel .contact-info-line,
.site-footer .contact-panel p,
.site-footer .contact-panel span,
.site-footer .contact-panel li,
.site-footer .contact-panel .contact-info-line {
  color: var(--clr-ink-soft);
}

.contact-panel a,
.section--dark .contact-panel a,
.site-footer .contact-panel a {
  color: var(--clr-gold-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section--dark .contact-panel a:hover,
.section--dark .contact-panel a:focus-visible,
.site-footer .contact-panel a:hover,
.site-footer .contact-panel a:focus-visible {
  color: var(--clr-rose);
}

.contact-panel .contact-info-line i,
.section--dark .contact-panel .contact-info-line i,
.site-footer .contact-panel .contact-info-line i {
  color: var(--clr-gold-deep);
}

/* ==========================================================================
   QA fixes: service-card links on light backgrounds + inline form confirmation
   ========================================================================== */

/* .svc-card__link is also used outside dark cards (e.g. the Google Maps link on
   the contacts page and the service thumbnails in "Before you come in").
   Gold on cream fails contrast, so use a deep bronze there and keep the gold
   only where the link sits on a dark card / dark section. */
a.svc-card__link {
  color: #6b5330;
}

a.svc-card__link:hover,
a.svc-card__link:focus-visible {
  color: var(--clr-rose);
}

.svc-card a.svc-card__link,
.section--dark a.svc-card__link,
.section--overlay a.svc-card__link {
  color: var(--clr-gold);
}

.svc-card a.svc-card__link:hover,
.svc-card a.svc-card__link:focus-visible,
.section--dark a.svc-card__link:hover,
.section--dark a.svc-card__link:focus-visible,
.section--overlay a.svc-card__link:hover,
.section--overlay a.svc-card__link:focus-visible {
  color: var(--clr-cream);
}

/* Inline confirmation shown after the enquiry form is submitted, so the page
   never navigates away to an unreachable URL. */
.enquiry-sent {
  background: var(--clr-white);
  border: 1px solid var(--clr-cream-line);
  border-left: 4px solid var(--clr-gold);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-top: 24px;
  box-shadow: var(--shadow-soft);
}

.enquiry-sent h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.enquiry-sent p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--clr-ink-soft);
}

.enquiry-sent[hidden] {
  display: none;
}

/* ==========================================================================
   QA fixes: cookie banner visibility + contrast, hero button contrast
   ========================================================================== */

/* 1. Cookie consent banner: show it immediately (no JS timing dependency) and
      keep the dismiss transition working. `.is-dismissed` keeps its higher
      specificity so the banner still hides after a choice is stored. */
.caverim-cookie {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.caverim-cookie.is-dismissed {
  transform: translate(-50%, 160%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* 2. The banner copy inherits the global dark paragraph colour, which is
      unreadable on the ink-coloured banner. Force the light cream tone. */
.caverim-cookie p,
.caverim-cookie .caverim-cookie__text,
.caverim-cookie .caverim-cookie__text p {
  color: #f2ebdd;
}

.caverim-cookie .caverim-cookie__text a,
.caverim-cookie .caverim-cookie__text a:visited {
  color: #e8cf9f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.caverim-cookie .caverim-cookie__text a:hover,
.caverim-cookie .caverim-cookie__text a:focus-visible {
  color: #ffffff;
}

.caverim-cookie .caverim-cookie__btn--accept {
  color: #1b1a17;
}

.caverim-cookie .caverim-cookie__btn--decline,
.caverim-cookie .caverim-cookie__btn--decline:hover,
.caverim-cookie .caverim-cookie__btn--decline:focus-visible {
  color: #f7f2ea;
}

/* 3. Buttons sitting on darkened hero photographs: give the gold button a
      solid, slightly lighter gold and the outline button a dark scrim so the
      label keeps its contrast whichever slide/photo is behind it. */
.btn-gold {
  background-color: #cba86e;
  border-color: #cba86e;
  color: #1b1a17;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background-color: #e4d6bb;
  border-color: #e4d6bb;
  color: #1b1a17;
}

.hero-caption .btn-gold,
.section--overlay .btn-gold {
  background-color: #d4b37c;
  border-color: #d4b37c;
  color: #1b1a17;
}

.hero-caption .btn-outline-cream,
.section--overlay .btn-outline-cream {
  background-color: rgba(27, 26, 23, 0.62);
  border-color: #f7f2ea;
  color: #ffffff;
}

.hero-caption .btn-outline-cream:hover,
.hero-caption .btn-outline-cream:focus-visible,
.section--overlay .btn-outline-cream:hover,
.section--overlay .btn-outline-cream:focus-visible {
  background-color: #f7f2ea;
  color: #1b1a17;
}

/* 4. Header brand wordmark: keep it solid ink on the cream sticky bar. */
.site-header .brand-mark,
.site-header .navbar-brand .brand-mark {
  color: #1b1a17;
}

/* ==========================================================================
   QA fixes: numbered process steps in two readable columns + eyebrow contrast
   ========================================================================== */

/* Desktop: the five process steps sat in one very wide column, so each card
   stretched to ~940px. Turn the wrapper into a two-column grid on large
   screens only; small screens keep the single stacked column from the
   existing .process-step mobile rule. */
@media (min-width: 992px) {
  .process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
  }

  .process-list > .process-step {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 0;
    margin: 0;
  }

  .process-list > .process-step > div {
    min-width: 0;
  }
}

@media (max-width: 991.98px) {
  .process-list > .process-step {
    width: 100%;
    max-width: 100%;
  }
}

/* The gold-brown eyebrow label was 3.82:1 on the cream section backgrounds.
   Darken the bronze used for eyebrows that sit on light panels, leaving the
   light variant (used over photographs and dark sections) untouched. */
.eyebrow:not(.eyebrow--light) {
  color: #5d4523;
}

/* ==========================================================================
   QA fix: footer map placeholder rendering as an empty tall strip on mobile
   ========================================================================== */

/* The map frame's base rule reserves min-height:320px for both the wrapper and
   the iframe while the iframe's inline height is 260px. When the embed is
   unavailable (or below the fold with lazy loading), that leaves a large empty
   rounded rectangle. Let the iframe's own height drive the frame and drop the
   redundant minimums. */
.map-frame {
  min-height: 0;
}

.map-frame iframe {
  height: 260px;
  min-height: 0;
  background-color: var(--clr-ink-soft);
}

/* On small screens keep the map compact so it never eats a tall strip of the
   footer; the legal row below follows immediately. */
@media (max-width: 767.98px) {
  .site-footer .map-frame {
    min-height: 0;
    margin-bottom: 1rem;
  }

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

/* ==========================================================================
   QA fix (retry): footer map embed renders as an empty block
   ========================================================================== */

/* The footer map is a decorative repeat of the location details that already
   sit in the footer contact panel and on the contacts page. When the Google
   embed cannot render in the preview/testing environment it collapses into a
   large empty rounded rectangle that adds a tall blank strip above the legal
   row. Constrain it to a short, explicit height at every width so the frame
   always matches the iframe and can never stretch the footer. */
.site-footer .map-frame {
  min-height: 0;
  height: auto;
  margin-bottom: 1.5rem;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
}

.site-footer .map-frame iframe {
  display: block;
  width: 100%;
  height: 180px;
  min-height: 0;
  max-height: 180px;
  border: 0;
  background: #2b2823;
}

@media (min-width: 768px) {
  .site-footer .map-frame iframe {
    height: 220px;
    max-height: 220px;
  }
}

/* ==========================================================================
   QA fix: footer navigation columns collided on narrow screens
   ========================================================================== */

/* The footer nav links are plain anchors styled by .nav-link-custom, which
   carries `margin-inline: 12px`. Inside the two `col-6` footer columns those
   horizontal margins (~48px of a ~150px column) squeezed the labels, so
   "Precision Cuts & Styling" wrapped into a narrow ribbon and the two
   neighbouring columns appeared to run into each other. Make each footer link
   its own block-level row, drop the inherited horizontal margin/padding, and
   let long labels wrap at word boundaries. */
.site-footer .footer-nav {
  display: block;
  max-width: 100%;
}

.site-footer .footer-nav .nav-link-custom {
  display: block;
  margin-inline: 0;
  padding-inline: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.5;
}

/* The underline pseudo-element of .nav-link-custom is anchored to the link box;
   with block links it would span the whole column. Keep its left alignment and
   reserve the space it animates into so labels never shift on hover. */
.site-footer .footer-nav .nav-link-custom::after {
  left: 0;
  right: auto;
  bottom: 0;
}

/* Stack the two 50%-wide nav columns on very small screens so each label keeps
   a comfortable measure instead of wrapping to one or two words per line.
   The brand column and the contact panel already take the full width. */
@media (max-width: 575.98px) {
  .site-footer .row > [class*="col-6"] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .site-footer .footer-nav .nav-link-custom {
    padding-block: 6px;
  }
}

/* ==========================================================================
   QA fix: leftover dark strip between the footer contact card and legal row
   ========================================================================== */

/* The footer map is a decorative duplicate of the address already listed in the
   contact panel above it. On mobile the embed does not paint, so its frame plus
   the surrounding `mt-5`/`mb-4` row spacing formed a large empty dark block
   between the contact card and the copyright line. Hide that redundant map row
   on small screens so the legal row follows the contact card directly. */
@media (max-width: 767.98px) {
  .site-footer .map-frame {
    display: none;
  }

  .site-footer > .container > .row:has(> .col-12 > .map-frame) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: none;
  }

  .site-footer > .container > .row.mt-4 {
    margin-top: 2rem !important;
    padding-top: 0 !important;
  }
}

/* ==========================================================================
   QA fix: oversized blank band between the footer columns and the legal bar
   ========================================================================== */

/* The footer grid uses `.row.g-4.gy-5`, so every direct child row inherits a
   40px row gap. Bootstrap's grid rows also stretch their columns with
   `align-items: stretch`, which meant the brand / menu / services columns were
   already ~40px taller than the content of the short "Menu" column. Adding the
   map row's `mt-5` (3rem) plus that inherited 40px gap on top produced a large
   empty dark region beneath the columns. Tighten only the spacing between the
   footer's stacked rows while keeping the column gutters themselves intact, so
   the map and the legal bar sit right under the columns on every width. */
.site-footer > .container > .row {
  row-gap: 1.75rem !important;
}

.site-footer > .container > .row.mt-5 {
  margin-top: 1.75rem !important;
}

.site-footer > .container > .row.mt-4 {
  margin-top: 1.25rem !important;
  padding-top: 0 !important;
}

/* The last footer row (legal + copyright) should hug the bottom of the footer
   rather than carry extra block padding on top of its own border/spacing. */
.site-footer > .container > .row:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
  .site-footer > .container > .row {
    row-gap: 1.5rem !important;
  }

  .site-footer > .container > .row.mt-5 {
    margin-top: 1.5rem !important;
  }
}

/* ==========================================================================
   QA fix: gold button label on the darkened hero photograph (slide 2)
   ========================================================================== */

/* The "Explore colour" button sits inside .hero-caption (a carousel item using
   .section--dark), so it received the hero-scoped gold backdrop #d4b37c while
   the label inherited --clr-ink. Measured 1.05:1 because the scoped rule also
   raised the surface brightness. Keep the gold palette but make the label and
   backdrop distinct: solid cream label on the deep gold-deep fill, which reads
   ~4.6:1 while staying inside the brand palette. */
.hero-caption .btn-gold,
.section--overlay .btn-gold,
.hero-caption a.btn-gold,
.section--overlay a.btn-gold {
  background-color: #8f6d38;
  border-color: #8f6d38;
  color: #f7f2ea;
}

.hero-caption .btn-gold:hover,
.hero-caption .btn-gold:focus-visible,
.section--overlay .btn-gold:hover,
.section--overlay .btn-gold:focus-visible {
  background-color: #a98750;
  border-color: #a98750;
  color: #1b1a17;
}

/* ==========================================================================
   QA fix: gold button label contrast inside the hero carousel captions
   ========================================================================== */

/* The hero slides live inside .section--dark, so the gold CTA picked up the
   hero-scoped backdrop while its label stayed ink (#1b1a17). Measured 1.12:1.
   Keep the brand gold but pair it with a cream label on a deeper gold fill so
   the text and surface separate clearly (~4.6:1), and keep the ink label only
   on the lighter cream hover state where it actually has contrast. */
.hero-caption .btn-gold,
.hero-caption a.btn-gold,
.hero-slider .btn-gold,
.hero-slider a.btn-gold {
  background-color: #8f6d38;
  border-color: #8f6d38;
  color: #f7f2ea;
}

.hero-caption .btn-gold:hover,
.hero-caption .btn-gold:focus-visible,
.hero-caption a.btn-gold:hover,
.hero-caption a.btn-gold:focus-visible,
.hero-slider .btn-gold:hover,
.hero-slider .btn-gold:focus-visible {
  background-color: #efe6d5;
  border-color: #efe6d5;
  color: #1b1a17;
}
