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

:root {
  --ink: #211318;
  --ink-soft: #4d3a42;
  --ink-mute: #7a646c;
  --rose: #a2704a;
  --rose-deep: #855634;
  --rose-dark: #6d4529;
  --rose-light: #dcc3a8;
  --rose-cream: #f5e7d8;
  --plum: #2b1622;
  --plum-deep: #190c14;
  --blush: #fbf3ec;
  --blush-deep: #f2e2d5;
  --cream: #fffbf6;
  --line: rgba(43, 22, 34, 0.12);
  --line-soft: rgba(43, 22, 34, 0.07);
  --shadow-sm: 0 6px 22px rgba(43, 22, 34, 0.06);
  --shadow-md: 0 20px 60px rgba(43, 22, 34, 0.12);
  --shadow-lg: 0 40px 100px rgba(43, 22, 34, 0.22);
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 32px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 92px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--blush);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  display: block;
  position: relative;
}

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

h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
h4 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }

p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

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

a {
  color: var(--rose-deep);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

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

ul,
ol {
  color: var(--ink-soft);
}

::selection {
  background: var(--rose-light);
  color: var(--plum-deep);
}

.container {
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.container-wide {
  max-width: 1400px;
}

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

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

.section-blush {
  background: var(--blush);
}

.section-dark {
  background: var(--plum);
  color: #f3e9e1;
  display: flex;
  justify-content: center;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

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

.section-dark .section-eyebrow {
  color: var(--rose-light);
}

.section-dark a {
  color: var(--rose-light);
}

.section-dark a:hover {
  color: #fff;
}

.section-overlay {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 12, 20, 0.32) 0%, rgba(25, 12, 20, 0.72) 100%);
  pointer-events: none;
}

.section-overlay > .container,
.section-overlay > .container-fluid,
.section-overlay > .container-wide {
  position: relative;
  z-index: 2;
}

.section-overlay h1,
.section-overlay h2,
.section-overlay h3 {
  color: #fff;
}

.section-overlay p {
  color: rgba(255, 255, 255, 0.85);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--rose);
  display: inline-block;
}

.section-eyebrow.is-centered {
  justify-content: center;
}

.section-title {
  margin: 0.4rem 0 1.1rem;
}

.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

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

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

.divider-line {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 3rem 0;
}

.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--rose-deep);
}

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

.btn:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
}

.btn-accent {
  background: var(--rose-deep);
  color: #fff;
  box-shadow: 0 12px 30px rgba(133, 86, 52, 0.3);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--rose-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(133, 86, 52, 0.42);
}

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

.btn-ink:hover,
.btn-ink:focus {
  background: var(--plum-deep);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-outline-ink:hover,
.btn-outline-ink:focus {
  background: var(--ink);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #fff;
  color: var(--plum);
  border-color: #fff;
}

.btn-link-arrow {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rose-deep);
  font-weight: 600;
  border: 0;
  gap: 0.5rem;
}

.btn-link-arrow:hover,
.btn-link-arrow:focus {
  color: var(--rose-dark);
  transform: none;
  gap: 0.9rem;
}

.btn-link-arrow i {
  transition: transform 0.3s var(--ease);
}

.btn-link-arrow:hover i {
  transform: translateX(3px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  padding: 1.35rem 0;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  color: #fff;
}

.site-header.is-scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 251, 246, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(43, 22, 34, 0.1);
  color: var(--ink);
}

.site-header .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: currentColor;
}

.site-header .brand-mark span {
  line-height: 1;
}

.site-header .brand-mark small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
}

.site-header .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  padding: 0.4rem 0.9rem;
  position: relative;
  transition: color 0.3s var(--ease);
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #fff;
}

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

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active {
  color: var(--ink);
}

.site-header .header-contact {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.site-header.is-scrolled .header-contact {
  color: var(--ink-soft);
}

.site-header .header-contact a {
  color: inherit;
  font-weight: 600;
}

.site-header .header-contact a:hover {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header .navbar-toggler {
  border: 0;
  color: currentColor;
  font-size: 1.4rem;
  padding: 0.3rem 0.5rem;
  box-shadow: none;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 6px;
}

@media (max-width: 991.98px) {
  .site-header {
    background: rgba(25, 12, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 0.8rem 0;
  }

  .site-header.is-scrolled {
    background: rgba(255, 251, 246, 0.98);
  }

  .site-header .navbar-collapse {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: var(--radius);
    background: var(--plum);
  }

  .site-header.is-scrolled .navbar-collapse {
    background: var(--cream);
    border: 1px solid var(--line);
  }

  .site-header .nav-link {
    color: #f3e9e1;
  }

  .site-header .nav-link:hover,
  .site-header .nav-link.active {
    color: #fff;
  }

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

  .site-header.is-scrolled .nav-link:hover,
  .site-header.is-scrolled .nav-link.active {
    color: var(--ink);
  }

  .site-header .navbar-collapse .header-contact {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .site-header.is-scrolled .navbar-collapse .header-contact {
    color: var(--ink-soft);
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--plum);
}

.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100vh;
  min-height: 640px;
}

.hero-slider .hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero-slider .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(25, 12, 20, 0.72) 0%, rgba(25, 12, 20, 0.34) 60%, rgba(25, 12, 20, 0.55) 100%);
}

.hero-slider .hero-slide > .container,
.hero-slider .hero-slide > .container-wide {
  position: relative;
  z-index: 2;
}

.hero-slider .hero-title {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  color: #fff;
  line-height: 1.02;
  margin: 0.7rem 0 1.4rem;
  max-width: 16ch;
}

.hero-slider .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-light);
}

.hero-slider .hero-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--rose-light);
}

.hero-slider .hero-text {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.hero-slider .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-slider .carousel-indicators {
  bottom: 2rem;
  margin: 0;
  z-index: 3;
  justify-content: flex-start;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  gap: 0.6rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  opacity: 1;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}

.hero-slider .carousel-indicators .active {
  background: var(--rose-light);
  width: 68px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 4.5rem;
  opacity: 0.85;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .hero-slider .carousel-inner,
  .hero-slider .carousel-item {
    height: auto;
    min-height: 86vh;
  }

  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    display: none;
  }
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 12, 20, 0.55) 0%, rgba(25, 12, 20, 0.8) 100%);
}

.page-hero > .container,
.page-hero > .container-wide {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  max-width: 22ch;
  margin: 0.8rem 0 1.1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
}

.breadcrumb-trail a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-trail a:hover {
  color: #fff;
}

.breadcrumb-trail span {
  opacity: 0.5;
}

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

@media (min-width: 992px) {
  .split-block {
    grid-template-columns: 1fr 1fr;
  }

  .split-block.reverse {
    direction: rtl;
  }

  .split-block.reverse > * {
    direction: ltr;
  }
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--blush-deep);
  aspect-ratio: 4 / 5;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame.wide {
  aspect-ratio: 16 / 10;
}

.media-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.service-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  color: var(--ink);
  height: 100%;
}

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

.service-card__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--blush-deep);
}

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

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

.service-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.94);
  color: var(--rose-deep);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-card__body {
  padding: 1.6rem 1.6rem 1.8rem;
}

.service-card__title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.service-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rose-deep);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
}

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

@media (min-width: 768px) {
  .gallery-tile {
    aspect-ratio: auto;
    height: 100%;
  }

  .gallery-tile.span-2 {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.gallery-tile__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.2rem 1.1rem;
  background: linear-gradient(0deg, rgba(25, 12, 20, 0.85) 0%, rgba(25, 12, 20, 0) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.team-card {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  padding: 1.5rem 1.2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.team-card__photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blush-deep);
  box-shadow: 0 12px 30px rgba(43, 22, 34, 0.14);
}

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

.team-card__name {
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
}

.team-card__role {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.team-card__text {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--rose);
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.1rem;
}

.testimonial-card .author-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blush-deep);
  flex: 0 0 auto;
}

.testimonial-card .author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card .author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  display: block;
}

.testimonial-card .author-role {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.stat-band {
  background: var(--plum);
  color: #f3e9e1;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.stat-band .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-band .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e9dcd2;
  font-weight: 600;
}

.price-card {
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  padding: 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-light);
}

.price-card.is-featured {
  background: var(--plum);
  border-color: transparent;
  color: #f3e9e1;
}

.price-card.is-featured .price-card__title,
.price-card.is-featured .price-card__amount {
  color: #fff;
}

.price-card.is-featured .price-card__amount {
  color: var(--rose-light);
}

.price-card.is-featured .price-card__list {
  color: #e9dcd2;
}

.price-card.is-featured .price-card__list i {
  color: var(--rose-light);
}

.price-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.price-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-deep);
  margin-bottom: 0.9rem;
}

.price-card.is-featured .price-card__badge {
  color: var(--rose-light);
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.4rem 0 1.2rem;
  line-height: 1;
}

.price-card__amount small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
}

.price-card__list i {
  color: var(--rose-deep);
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

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

.steps-list li {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.section-dark .steps-list li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blush);
  border: 1px solid var(--rose-light);
}

.section-dark .steps-list li::before {
  background: transparent;
  border-color: rgba(220, 195, 168, 0.5);
  color: var(--rose-light);
}

.steps-list h4 {
  margin-bottom: 0.3rem;
}

.steps-list p {
  margin: 0;
  font-size: 0.94rem;
}

.faq-accordion .accordion-item {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius) !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--rose-deep);
  background: var(--rose-cream);
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 2px var(--rose-light) inset;
}

.faq-accordion .accordion-body {
  padding: 0.4rem 1.5rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cta-band {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(25, 12, 20, 0.78) 0%, rgba(25, 12, 20, 0.5) 100%);
}

.cta-band > .container,
.cta-band > .container-wide {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
}

.site-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}

.site-form .form-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

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

.site-form .form-control::placeholder {
  color: var(--ink-mute);
  opacity: 0.7;
}

.site-form .form-control:focus,
.site-form .form-select:focus {
  background: #fff;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(162, 112, 74, 0.15);
  color: var(--ink);
}

.site-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.site-form .form-check-input:checked {
  background-color: var(--rose-deep);
  border-color: var(--rose-deep);
}

.site-form .form-check-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-form .form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}

.contact-tiles {
  display: grid;
  gap: 1rem;
}

.contact-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-tile__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rose-cream);
  color: var(--rose-deep);
  font-size: 1.1rem;
}

.contact-tile__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-deep);
  margin-bottom: 0.25rem;
}

.contact-tile__value {
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

.contact-tile__value a {
  color: var(--ink);
}

.contact-tile__value a:hover {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
  min-height: 320px;
}

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

.timeline {
  position: relative;
  padding-left: 2.2rem;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--rose-light), transparent);
}

.timeline li {
  position: relative;
  margin-bottom: 2rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.4rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rose-deep);
  border: 4px solid var(--blush);
  box-shadow: 0 0 0 2px var(--rose-light);
}

.timeline .timeline-year {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-deep);
  margin-bottom: 0.3rem;
}

.timeline h4 {
  margin-bottom: 0.35rem;
}

.site-footer {
  position: relative;
  background: var(--plum);
  color: #d9cbbf;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 112, 74, 0.22) 0%, rgba(162, 112, 74, 0) 70%);
  pointer-events: none;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
}

.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer .footer-about {
  color: #c9b9ac;
  font-size: 0.94rem;
  max-width: 34ch;
  line-height: 1.7;
}

.site-footer .footer-heading {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-light);
  margin-bottom: 1.1rem;
}

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

.site-footer .footer-links li {
  margin-bottom: 0.55rem;
}

.site-footer .footer-links a {
  color: #d9cbbf;
  font-size: 0.94rem;
  position: relative;
  padding-left: 0;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.site-footer .footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--rose-light);
  transform: translateY(-50%);
  transition: width 0.25s var(--ease);
}

.site-footer .footer-links a:hover {
  color: #fff;
  padding-left: 1rem;
}

.site-footer .footer-links a:hover::before {
  width: 0.65rem;
}

.site-footer .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #d9cbbf;
  font-size: 0.94rem;
}

.site-footer .footer-contact-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  line-height: 1.55;
}

.site-footer .footer-contact-list i {
  color: var(--rose-light);
  margin-top: 0.25rem;
  width: 16px;
  text-align: center;
}

.site-footer .footer-contact-list a {
  color: #e9dcd2;
}

.site-footer .footer-contact-list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.site-footer .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e9dcd2;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
}

.site-footer .social-links a:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
  transform: translateY(-2px);
}

.site-footer .footer-meta {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #b3a294;
  line-height: 1.7;
}

.site-footer .footer-meta a {
  color: #d9cbbf;
}

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

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin-top: 1rem;
}

.site-footer .footer-legal a {
  font-size: 0.82rem;
}

.cookie-pod {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 1075;
  display: flex;
  width: min(400px, calc(100vw - 2rem));
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: cookie-pod-rise 0.55s var(--ease) both;
}

.cookie-pod[hidden] {
  display: none !important;
}

.cookie-pod.is-hiding {
  animation: cookie-pod-sink 0.42s var(--ease) forwards;
}

.cookie-pod__swatch {
  flex: 0 0 12px;
  background: linear-gradient(180deg, var(--rose) 0%, var(--rose-deep) 55%, var(--plum) 100%);
}

.cookie-pod__body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.cookie-pod__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.cookie-pod__pearl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--rose-light) 55%, var(--rose) 100%);
  box-shadow: 0 0 0 3px var(--rose-cream);
}

.cookie-pod__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-deep);
  margin: 0;
}

.cookie-pod__title {
  font-size: 1.5rem;
  line-height: 1.14;
  margin: 0.2rem 0 0.55rem;
}

.cookie-pod__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.cookie-pod__link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  margin-bottom: 1rem;
  transition: color 0.25s var(--ease);
}

.cookie-pod__link:hover,
.cookie-pod__link:focus {
  color: var(--rose-dark);
}

.cookie-pod__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .cookie-pod__actions {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-pod__btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.2s var(--ease);
  flex: 1 1 auto;
  line-height: 1.1;
}

.cookie-pod__btn:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 2px;
}

.cookie-pod__btn--accept {
  background: var(--rose-deep);
  color: #fff;
}

.cookie-pod__btn--accept:hover {
  background: var(--rose-dark);
}

.cookie-pod__btn--decline {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}

.cookie-pod__btn--decline:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}

@keyframes cookie-pod-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cookie-pod-sink {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(14px) scale(0.96); }
}

.blog-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blush-deep);
}

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

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.5rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.blog-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-deep);
  margin-bottom: 0.7rem;
}

.blog-card__title {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.blog-card__text {
  font-size: 0.94rem;
  color: var(--ink-soft);
  flex: 1 1 auto;
  margin-bottom: 1.1rem;
}

.prose {
  font-size: 1.03rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
}

.prose h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
}

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

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.4rem;
  font-size: 1.9rem;
}

.legal-content h3 {
  margin-top: 1.6rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-inline {
  background: var(--rose-cream);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-inline h3 {
  margin: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--rose-cream);
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chip i {
  font-size: 0.75rem;
}

[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ===== QA fixes: header legibility + mobile header overlap ===== */

/* Solid dark backdrop so the light header text always sits on a dark surface */
.site-header {
  background: rgba(25, 12, 20, 0.94);
}

.site-header.is-scrolled {
  background: rgba(255, 251, 246, 0.98);
}

/* Mobile: keep the header in the normal flow so it never covers the hero */
@media (max-width: 991.98px) {
  .site-header {
    position: relative;
    top: 0;
    right: auto;
    left: auto;
    background: rgba(25, 12, 20, 0.97);
  }

  .site-header.is-scrolled {
    background: rgba(255, 251, 246, 0.99);
  }

  /* header no longer floats above the hero, so the big top offset is unneeded */
  .page-hero {
    padding-top: clamp(2.75rem, 8vw, 4rem);
    min-height: 40vh;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }
}

/* Higher-contrast hero breadcrumb (white on the dark hero overlay) */
.page-hero .breadcrumb-trail,
.page-hero .breadcrumb-trail a {
  color: #ffffff;
}

.page-hero .breadcrumb-trail span {
  opacity: 1;
  color: #ffffff;
}

.page-hero .breadcrumb-trail a:hover {
  color: #f5e7d8;
}

/* Hero lead paragraph contrast */
.page-hero .section-lead {
  color: #fdf7f2;
}

/* Header contact details: readable on the dark header */
.site-header .header-contact {
  color: #f5ece5;
}

.site-header .header-contact a {
  color: #ffffff;
}

/* ===== Fixes: header contrast + mobile fixed-header clearance ===== */

/* Give the fixed header its own solid background so white text always
   sits on a dark surface (transparent header produced unreadable text). */
.site-header {
  background: rgba(25, 12, 20, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  background: rgba(255, 251, 246, 0.97);
}

/* Brand wordmark: explicit, high-contrast colours in both states. */
.site-header .brand-mark,
.site-header .brand-mark span,
.site-header .brand-mark small {
  color: #ffffff;
  opacity: 1;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-scrolled .brand-mark span,
.site-header.is-scrolled .brand-mark small {
  color: var(--ink);
}

/* Header contact block: readable in both states. */
.site-header .header-contact,
.site-header .header-contact span,
.site-header .header-contact a {
  color: #f8f1ea;
}

.site-header.is-scrolled .header-contact,
.site-header.is-scrolled .header-contact span,
.site-header.is-scrolled .header-contact a {
  color: var(--ink);
}

/* Breadcrumb trail over the dark hero image. */
.breadcrumb-trail {
  color: rgba(255, 255, 255, 0.95);
}

.breadcrumb-trail a {
  color: #ffffff;
}

.breadcrumb-trail span {
  opacity: 1;
  color: rgba(255, 255, 255, 0.92);
}

/* Clear the fixed header on small screens so it does not cover the hero.
   --header-offset is measured at runtime; 92px is the static fallback. */
@media (max-width: 991.98px) {
  main {
    display: flow-root;
  }

  .page-hero {
    margin-top: var(--header-offset, 92px);
  }
}

/* ==========================================================================
   QA overrides (appended) — header contrast, hero/header clearance,
   breadcrumb legibility, footer logo stacking
   ========================================================================== */

/* The fixed header sits over page content, so give it an opaque surface and
   dark text so contrast is measurable and readable on every viewport. */
.site-header,
.site-header.is-scrolled {
  background: rgba(255, 251, 246, 0.97);
  color: var(--ink);
  box-shadow: 0 8px 26px rgba(43, 22, 34, 0.08);
}

.site-header .brand-mark,
.site-header .brand-mark span {
  color: var(--ink);
}

.site-header .nav-link {
  color: var(--ink-soft);
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active {
  color: var(--ink);
}

.site-header .header-contact {
  color: var(--ink-soft);
}

.site-header .header-contact a {
  color: var(--ink);
}

/* The mobile dropdown panel keeps its dark surface, so keep its items light. */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse .nav-link {
    color: #f7efe9;
  }

  .site-header .navbar-collapse .nav-link:hover,
  .site-header .navbar-collapse .nav-link:focus,
  .site-header .navbar-collapse .nav-link.active {
    color: #fff;
  }

  .site-header .navbar-collapse .header-contact {
    color: #f4eae0;
  }

  .site-header .navbar-collapse .header-contact a {
    color: #fff;
  }
}

/* Push the first hero below the fixed header (JS refines the value with the
   measured header height; the fallbacks keep it correct without JS). */
main > .page-hero:first-of-type {
  margin-top: var(--site-header-offset, 96px);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 991.98px) {
  main > .page-hero:first-of-type {
    margin-top: var(--site-header-offset, 88px);
    padding-top: 2.5rem;
  }
}

/* Breadcrumb items on the dark hero need full opacity for readable contrast. */
.breadcrumb-trail span {
  opacity: 1;
  color: #fff;
}

/* Keep the decorative footer glow behind the footer content (logo included). */
.site-footer::before {
  z-index: 0;
}

.site-footer > .container-wide {
  position: relative;
  z-index: 1;
}

.site-footer .footer-brand {
  position: relative;
  z-index: 2;
}

/* ===== QA overrides (appended): header contrast on the cream header bar ===== */

/* The header bar is now opaque cream, so the brand sub-label must use ink,
   not the legacy white it inherited from an earlier override. */
.site-header .brand-mark small,
.site-header.is-scrolled .brand-mark small {
  color: var(--ink);
  opacity: 1;
}

/* Desktop header contact block sits on the cream bar -> dark text there.
   (On mobile it lives inside the dark dropdown panel, which keeps light text.) */
@media (min-width: 992px) {
  .site-header .header-contact,
  .site-header .header-contact div,
  .site-header .header-contact span,
  .site-header .header-contact i {
    color: var(--ink-soft);
  }

  .site-header .header-contact a,
  .site-header.is-scrolled .header-contact a {
    color: var(--ink);
  }
}

/* ==========================================================================
   QA overrides (appended) — header brand/contact contrast on the light header
   ========================================================================== */

/* The header now has a light (cream) surface in every state, so the brand
   sub-wordmark and the contact lines must use dark ink instead of white. */
.site-header .brand-mark small,
.site-header.is-scrolled .brand-mark small {
  color: var(--ink-soft);
  opacity: 1;
}

.site-header .header-contact,
.site-header .header-contact span,
.site-header .header-contact div,
.site-header.is-scrolled .header-contact,
.site-header.is-scrolled .header-contact span,
.site-header.is-scrolled .header-contact div {
  color: var(--ink-soft);
}

.site-header .header-contact a,
.site-header.is-scrolled .header-contact a {
  color: var(--ink);
}

/* The mobile dropdown panel keeps its dark surface, so its contact lines
   inside the collapse stay light for readable contrast there. */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse .header-contact,
  .site-header .navbar-collapse .header-contact span,
  .site-header .navbar-collapse .header-contact div,
  .site-header.is-scrolled .navbar-collapse .header-contact,
  .site-header.is-scrolled .navbar-collapse .header-contact span,
  .site-header.is-scrolled .navbar-collapse .header-contact div {
    color: #f4eae0;
  }

  .site-header .navbar-collapse .header-contact a,
  .site-header.is-scrolled .navbar-collapse .header-contact a {
    color: #ffffff;
  }
}

/* ==========================================================================
   QA final overrides — mobile hero/header clearance + hero text contrast
   ========================================================================== */

/* Dark, opaque backdrop behind the hero copy. If the hero photograph is slow
   or missing, the white hero text still sits on a dark surface instead of the
   light page background. */
.hero-slider,
.hero-slider .carousel-inner,
.hero-slider .carousel-item,
.hero-slider .hero-slide {
  background-color: var(--plum-deep);
}

/* Mobile: the header stays pinned to the top of the viewport (cream bar), and
   the page content is offset by the measured header height so the hero never
   slides underneath it. */
@media (max-width: 991.98px) {
  .site-header,
  .site-header.is-scrolled {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  /* main {
    padding-top: var(--header-offset, 132px);
  } */

  /* the hero already fills the first screen; no extra offset is needed here */
  .hero-slider {
    margin-top: 0;
  }

  .hero-slider .hero-slide {
    padding-top: 2.5rem;
  }
}

/* ==========================================================================
   QA fix — mobile cookie banner no longer covers the hero heading/lead copy

   On small screens the consent pod is much taller than the hero's visible
   text area, so as a bottom-anchored overlay it hid the H1 and lead
   paragraph. On phones it is now rendered as a compact single-column card
   anchored to the very bottom of the viewport, with a smaller title/text and
   fully rounded action buttons, so the hero copy above it stays readable.
   ========================================================================== */
@media (max-width: 575.98px) {
  .cookie-pod {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    width: auto;
    max-width: none;
    border-radius: 16px;
  }

  .cookie-pod__swatch {
    flex: 0 0 6px;
  }

  .cookie-pod__body {
    padding: 0.75rem 0.9rem 0.85rem;
    min-width: 0;
  }

  .cookie-pod__head {
    margin-bottom: 0.2rem;
    gap: 0.4rem;
  }

  .cookie-pod__pearl {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 2px var(--rose-cream);
  }

  .cookie-pod__kicker {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
  }

  .cookie-pod__title {
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0.1rem 0 0.35rem;
  }

  .cookie-pod__text {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
  }

  .cookie-pod__link {
    font-size: 0.76rem;
    margin-bottom: 0.6rem;
  }

  .cookie-pod__actions {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
  }

  .cookie-pod__btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.76rem;
    min-width: 0;
    white-space: nowrap;
  }
}

/* Very short viewports: cap the pod and let its body scroll instead of
   growing over the hero copy. */
@media (max-width: 575.98px) and (max-height: 560px) {
  .cookie-pod {
    max-height: calc(100vh - 1rem);
  }

  .cookie-pod__body {
    overflow-y: auto;
  }
}

/* ==========================================================================
   QA fix — mobile "Öt lépés" step cards: text no longer squeezed beside the
   number badge.

   On narrow viewports the 54px badge column plus its gap/padding left the
   copy in a very tight column, wrapping almost word-by-word. The badge and
   the copy now stack vertically on phones (badge first, full-width text),
   and the text column can shrink freely thanks to min-width: 0.
   ========================================================================== */

.steps-list li > div {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .steps-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .steps-list li::before {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .steps-list h4 {
    margin-bottom: 0.35rem;
  }

  .steps-list p {
    font-size: 0.95rem;
    line-height: 1.68;
    max-width: none;
  }
}

/* ==========================================================================
   QA fix — gallery tile captions were clipped by the square mobile tiles

   On phones the `.gallery-tile` keeps a 1:1 aspect ratio, and the absolutely
   positioned caption (with its gradient and generous padding) could not fit
   inside that square when the text wrapped to two or three lines, so the last
   line(s) were cut off by the tile's `overflow: hidden`.

   On small screens the caption is now pinned to the bottom but allowed to
   grow upward within the tile: the gradient fills the caption area, text may
   wrap freely, and the bottom padding stays inside the rounded tile so nothing
   is clipped. Tiles also get a slightly taller ratio so long captions have
   room.
   ========================================================================== */

@media (max-width: 767.98px) {
  .gallery-tile {
    aspect-ratio: 4 / 4.4;
  }

  .gallery-tile__caption {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 100%;
    overflow: hidden;
    padding: 2rem 0.85rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.35;
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

/* ==========================================================================
   QA fix (round 2) — gallery captions still clipped on phones

   The tiles' 1:1-ish ratio left the multi-line captions with no vertical
   room, so their last lines were cut by `overflow: hidden`. On small screens
   the tile content is no longer a fixed-ratio crop: the image keeps a fixed
   height and the caption sits below it as a normal, fully visible block
   (stacked <figure> layout) with the same dark gradient treatment. Nothing is
   overlapped or clipped, and long captions wrap naturally.
   ========================================================================== */

@media (max-width: 767.98px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-tile {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    height: auto;
    background: rgba(255, 255, 255, 0.06);
  }

  .gallery-tile img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex: 0 0 auto;
  }

  .gallery-tile__caption {
    position: static;
    inset: auto;
    max-height: none;
    overflow: visible;
    background: linear-gradient(0deg, rgba(25, 12, 20, 0.92) 0%, rgba(25, 12, 20, 0.62) 100%);
    padding: 0.6rem 0.75rem 0.7rem;
    font-size: 0.8rem;
    line-height: 1.35;
    hyphens: auto;
    overflow-wrap: break-word;
  }
}
