:root {
  --torumen-ink: #16181d;
  --torumen-ink-soft: #2a2d35;
  --torumen-sand: #f6f1e7;
  --torumen-sand-deep: #ece2d0;
  --torumen-gold: #c8a24a;
  --torumen-gold-deep: #a8832f;
  --torumen-wine: #7a2f33;
  --torumen-cream: #fffaf1;
  --torumen-muted: #6b6157;
  --torumen-border: rgba(22, 24, 29, 0.12);
  --torumen-shadow-soft: 0 18px 45px -22px rgba(22, 24, 29, 0.35);
  --torumen-shadow-strong: 0 30px 70px -30px rgba(22, 24, 29, 0.55);
  --torumen-radius-lg: 22px;
  --torumen-radius-md: 14px;
  --torumen-radius-sm: 8px;
  --torumen-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --torumen-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--torumen-sans);
  color: var(--torumen-ink);
  background-color: var(--torumen-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--torumen-serif);
  font-weight: 700;
  color: var(--torumen-ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.15;
}

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

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

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

a:hover,
a:focus-visible {
  color: var(--torumen-wine);
}

.torumen-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--torumen-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--torumen-gold-deep);
}

.torumen-eyebrow::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 2px;
  background: var(--torumen-gold);
}

.torumen-lead {
  font-size: 1.12rem;
  color: var(--torumen-muted);
  max-width: 62ch;
}

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

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

.torumen-section--ink {
  background-color: var(--torumen-ink);
  color: var(--torumen-sand);
}

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

.torumen-section--ink .torumen-lead {
  color: rgba(255, 250, 241, 0.78);
}

.torumen-bg-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--torumen-cream);
}

.torumen-bg-photo h1,
.torumen-bg-photo h2,
.torumen-bg-photo h3,
.torumen-bg-photo p,
.torumen-bg-photo .torumen-lead {
  color: var(--torumen-cream);
}

.torumen-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.torumen-hero__inner {
  max-width: 720px;
}

.torumen-hero__title {
  margin-bottom: 1.2rem;
}

.torumen-hero__title span {
  color: var(--torumen-gold);
  font-style: italic;
}

.torumen-hero__sub {
  font-size: 1.15rem;
  color: rgba(255, 250, 241, 0.85);
  max-width: 55ch;
  margin-bottom: 2rem;
}

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

.torumen-btn--gold {
  background-color: var(--torumen-gold);
  color: var(--torumen-ink);
  box-shadow: 0 14px 32px -16px rgba(200, 162, 74, 0.9);
}

.torumen-btn--gold:hover,
.torumen-btn--gold:focus-visible {
  background-color: var(--torumen-gold-deep);
  color: var(--torumen-cream);
  transform: translateY(-2px);
}

.torumen-btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 250, 241, 0.55);
  color: var(--torumen-cream);
}

.torumen-btn--ghost:hover,
.torumen-btn--ghost:focus-visible {
  background-color: rgba(255, 250, 241, 0.12);
  border-color: var(--torumen-cream);
  color: var(--torumen-cream);
}

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

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

.torumen-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.torumen-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 250, 241, 0.2);
}

.torumen-hero__badge {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(255, 250, 241, 0.72);
}

.torumen-hero__badge strong {
  display: block;
  font-family: var(--torumen-serif);
  font-size: 1.9rem;
  color: var(--torumen-gold);
  letter-spacing: 0;
}

.torumen-hero-slider {
  position: relative;
  overflow: hidden;
}

.torumen-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-size: cover;
  background-position: center;
}

.torumen-hero-slide.is-active {
  opacity: 1;
}

.torumen-hero-slider__content {
  position: relative;
  z-index: 2;
}

.torumen-hero-slider__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.torumen-hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 241, 0.75);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.torumen-hero-slider__dot.is-active {
  background: var(--torumen-gold);
  border-color: var(--torumen-gold);
  transform: scale(1.25);
}

.torumen-card {
  background: var(--torumen-cream);
  border-radius: var(--torumen-radius-lg);
  overflow: hidden;
  box-shadow: var(--torumen-shadow-soft);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.torumen-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--torumen-sand-deep);
}

.torumen-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.torumen-card__body {
  padding: 1.6rem 1.6rem 1.9rem;
}

.torumen-card__title {
  margin-bottom: 0.55rem;
}

.torumen-card__text {
  font-size: 0.98rem;
  color: var(--torumen-muted);
  margin-bottom: 1.1rem;
}

.torumen-card__price {
  font-family: var(--torumen-serif);
  font-size: 1.4rem;
  color: var(--torumen-gold-deep);
  display: block;
  margin-bottom: 1rem;
}

.torumen-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.torumen-card__link::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.torumen-card__link:hover::after {
  transform: translateX(4px);
}

.torumen-feature {
  padding: 2rem 1.6rem;
  border-radius: var(--torumen-radius-md);
  background: rgba(200, 162, 74, 0.08);
  border: 1px solid rgba(200, 162, 74, 0.25);
  height: 100%;
}

.torumen-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--torumen-ink);
  color: var(--torumen-gold);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.torumen-feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.torumen-feature p {
  color: var(--torumen-muted);
  font-size: 0.97rem;
  margin-bottom: 0;
}

.torumen-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.6rem;
}

.torumen-stat {
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: var(--torumen-radius-md);
  background: rgba(255, 250, 241, 0.06);
  border: 1px solid rgba(255, 250, 241, 0.12);
}

.torumen-stat__value {
  font-family: var(--torumen-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--torumen-gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.torumen-stat__label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255, 250, 241, 0.72);
}

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

.torumen-gallery__item {
  position: relative;
  border-radius: var(--torumen-radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--torumen-sand-deep);
}

.torumen-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.torumen-gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(22, 24, 29, 0.82));
  color: var(--torumen-cream);
  font-size: 0.88rem;
  font-weight: 500;
}

.torumen-process {
  counter-reset: torumen-step;
  display: grid;
  gap: 1.4rem;
}

.torumen-process__item {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 5rem;
  background: var(--torumen-cream);
  border-radius: var(--torumen-radius-md);
  box-shadow: var(--torumen-shadow-soft);
}

.torumen-process__item::before {
  counter-increment: torumen-step;
  content: counter(torumen-step);
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--torumen-ink);
  color: var(--torumen-gold);
  font-family: var(--torumen-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.torumen-process__item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.torumen-process__item p {
  margin-bottom: 0;
  color: var(--torumen-muted);
  font-size: 0.96rem;
}

.torumen-faq__item {
  border-bottom: 1px solid var(--torumen-border);
  padding: 1.4rem 0;
}

.torumen-faq__question {
  font-family: var(--torumen-serif);
  font-size: 1.18rem;
  margin-bottom: 0.55rem;
  color: var(--torumen-ink);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.torumen-faq__question i {
  color: var(--torumen-gold-deep);
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.torumen-faq__answer {
  color: var(--torumen-muted);
  margin: 0 0 0 1.6rem;
}

.torumen-form {
  background: var(--torumen-cream);
  border-radius: var(--torumen-radius-lg);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  box-shadow: var(--torumen-shadow-strong);
}

.torumen-form--on-dark {
  background: rgba(255, 250, 241, 0.06);
  border: 1px solid rgba(255, 250, 241, 0.15);
  box-shadow: none;
  color: var(--torumen-cream);
}

.torumen-form--on-dark h2,
.torumen-form--on-dark h3,
.torumen-form--on-dark label {
  color: var(--torumen-cream);
}

.torumen-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--torumen-ink-soft);
  margin-bottom: 0.4rem;
}

.torumen-form--on-dark .form-label {
  color: rgba(255, 250, 241, 0.85);
}

.torumen-form .form-control,
.torumen-form .form-select {
  border-radius: var(--torumen-radius-sm);
  border: 1px solid var(--torumen-border);
  padding: 0.75rem 1rem;
  background-color: #fff;
  color: var(--torumen-ink);
}

.torumen-form .form-control:focus,
.torumen-form .form-select:focus {
  border-color: var(--torumen-gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.22);
}

.torumen-form--on-dark .form-control,
.torumen-form--on-dark .form-select {
  background-color: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.25);
  color: var(--torumen-cream);
}

.torumen-form--on-dark .form-control::placeholder {
  color: rgba(255, 250, 241, 0.55);
}

.torumen-form__note {
  font-size: 0.82rem;
  color: var(--torumen-muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

.torumen-form--on-dark .torumen-form__note {
  color: rgba(255, 250, 241, 0.6);
}

.torumen-testimonial {
  background: var(--torumen-cream);
  border-radius: var(--torumen-radius-lg);
  padding: 2.2rem 1.9rem;
  height: 100%;
  box-shadow: var(--torumen-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.torumen-testimonial__quote {
  font-family: var(--torumen-serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--torumen-ink-soft);
  margin: 0;
}

.torumen-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}

.torumen-testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--torumen-sand-deep);
  flex-shrink: 0;
}

.torumen-testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.torumen-testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--torumen-ink);
  display: block;
}

.torumen-testimonial__meta {
  font-size: 0.82rem;
  color: var(--torumen-muted);
}

.torumen-stars {
  color: var(--torumen-gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.torumen-cta-band {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  color: var(--torumen-cream);
}

.torumen-cta-band h2,
.torumen-cta-band p {
  color: var(--torumen-cream);
}

.torumen-cta-band p {
  color: rgba(255, 250, 241, 0.8);
  max-width: 60ch;
}

.torumen-footer {
  background: var(--torumen-ink);
  color: rgba(255, 250, 241, 0.7);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}

.torumen-footer a {
  color: rgba(255, 250, 241, 0.75);
}

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

.torumen-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--torumen-serif);
  font-size: 1.5rem;
  color: var(--torumen-cream);
  margin-bottom: 1rem;
}

.torumen-footer__title {
  font-family: var(--torumen-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--torumen-gold);
  margin-bottom: 1rem;
}

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

.torumen-footer__list li {
  margin-bottom: 0.55rem;
}

.torumen-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 250, 241, 0.55);
}

.torumen-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1.1rem 0;
  transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.torumen-header.is-scrolled {
  background-color: rgba(22, 24, 29, 0.94);
  padding: 0.65rem 0;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.torumen-header a {
  color: var(--torumen-cream);
}

.torumen-header__contact {
  font-size: 0.82rem;
  color: rgba(255, 250, 241, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.torumen-header__contact i {
  color: var(--torumen-gold);
}

.torumen-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--torumen-cream);
  padding: 0.4rem 0;
  position: relative;
}

.torumen-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--torumen-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.torumen-nav__link:hover::after,
.torumen-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.torumen-back-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--torumen-gold);
  color: var(--torumen-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 1040;
}

.torumen-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.torumen-back-top:hover {
  background: var(--torumen-gold-deep);
  color: var(--torumen-cream);
}

.torumen-cookie {
  position: fixed;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 1050;
  max-width: 640px;
  margin: 0 auto;
  background: var(--torumen-ink);
  color: var(--torumen-cream);
  border-radius: var(--torumen-radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--torumen-shadow-strong);
  border: 1px solid rgba(200, 162, 74, 0.35);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem 1.1rem;
  align-items: start;
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.torumen-cookie.is-hiding {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.torumen-cookie__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 162, 74, 0.15);
  color: var(--torumen-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.torumen-cookie__title {
  font-family: var(--torumen-serif);
  font-size: 1.15rem;
  color: var(--torumen-cream);
  margin: 0 0 0.35rem;
}

.torumen-cookie__text {
  font-size: 0.88rem;
  color: rgba(255, 250, 241, 0.78);
  margin: 0;
}

.torumen-cookie__text a {
  color: var(--torumen-gold);
  text-decoration: underline;
}

.torumen-cookie__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.torumen-cookie__btn {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.torumen-cookie__btn--decline {
  background: transparent;
  border-color: rgba(255, 250, 241, 0.4);
  color: rgba(255, 250, 241, 0.85);
}

.torumen-cookie__btn--decline:hover,
.torumen-cookie__btn--decline:focus-visible {
  border-color: var(--torumen-cream);
  color: var(--torumen-cream);
}

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

.torumen-cookie__btn--accept:hover,
.torumen-cookie__btn--accept:focus-visible {
  background: var(--torumen-gold-deep);
  color: var(--torumen-cream);
}

@media (max-width: 767px) {
  .torumen-hero {
    min-height: 86vh;
  }

  .torumen-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .torumen-hero__actions .torumen-btn {
    justify-content: center;
  }

  .torumen-cookie {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 1.1rem 1.2rem;
    grid-template-columns: 38px 1fr;
  }

  .torumen-cookie__icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .torumen-cookie__actions {
    justify-content: stretch;
  }

  .torumen-cookie__btn {
    flex: 1 1 45%;
  }
}

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

  .torumen-card,
  .torumen-btn,
  .torumen-hero-slide,
  .torumen-back-top,
  .torumen-cookie,
  .torumen-gallery__item img {
    transition: none;
  }
}
/* ============================================================
   QA contrast / readability overrides
   ============================================================ */

/* Give the fixed header a solid dark backdrop so nav links,
   brand text and contact details are never cream-on-cream. */
.torumen-header {
  background-color: #16181d;
}

/* Inside the document body (light cream surfaces) body copy must be
   darker than the muted tone to keep readable contrast. */
.torumen-form p,
.torumen-form li,
.torumen-form ul li,
.torumen-card__text,
.torumen-card__body p {
  color: #16181d;
}

/* Inline links on light surfaces: dark wine tone instead of gold. */
.torumen-form a,
.torumen-card a,
.torumen-faq__answer a {
  color: #5c2427;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.torumen-form a:hover,
.torumen-form a:focus-visible,
.torumen-card a:hover,
.torumen-card a:focus-visible,
.torumen-faq__answer a:hover,
.torumen-faq__answer a:focus-visible {
  color: #3d1618;
}

/* Links sitting on dark photo / ink sections need a light colour. */
.torumen-bg-photo a,
.torumen-section--ink a,
.torumen-hero a,
.torumen-cta-band a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.torumen-bg-photo a:hover,
.torumen-bg-photo a:focus-visible,
.torumen-section--ink a:hover,
.torumen-section--ink a:focus-visible,
.torumen-hero a:hover,
.torumen-hero a:focus-visible,
.torumen-cta-band a:hover,
.torumen-cta-band a:focus-visible {
  color: #f3e2bb;
}

/* Small print / metadata on light surfaces: keep it dark enough. */
.torumen-form__note,
.torumen-form__note a {
  color: #3b3129;
}

/* Footer body text slightly brighter for legibility on ink. */
.torumen-footer {
  color: rgba(255, 250, 241, 0.82);
}

.torumen-footer a {
  color: rgba(255, 250, 241, 0.9);
}

.torumen-footer__bottom {
  color: rgba(255, 250, 241, 0.72);
}

/* ===== QA contrast & readability overrides ===== */

/* Fixed header needs a solid dark backdrop so the cream brand/contact text
   never sits on the light page background. */
.torumen-header {
  background-color: #16181d;
}

.torumen-header.is-scrolled {
  background-color: rgba(22, 24, 29, 0.96);
}

/* Eyebrow labels on light surfaces: darker bronze for sufficient contrast. */
.torumen-eyebrow {
  color: #5f4614;
}

.torumen-eyebrow::before {
  background: #8a6a1c;
}

/* Eyebrow labels on dark / photo surfaces: light gold. */
.torumen-hero .torumen-eyebrow,
.torumen-bg-photo .torumen-eyebrow,
.torumen-section--ink .torumen-eyebrow,
.torumen-cta-band .torumen-eyebrow,
.torumen-footer .torumen-eyebrow {
  color: #ecd28f;
}

/* Lead paragraphs on light surfaces. */
.torumen-lead {
  color: #4a4239;
}

.torumen-section--ink .torumen-lead,
.torumen-bg-photo .torumen-lead,
.torumen-cta-band .torumen-lead {
  color: rgba(255, 250, 241, 0.88);
}

/* Keep the header e-mail link readable against the dark bar. */
.torumen-header__contact,
.torumen-header a {
  color: #fffaf1;
}

.torumen-header__contact i {
  color: #e9c878;
}

/* ============================================================
   Accessibility & layout overrides (contrast, header overlap)
   ============================================================ */

/* Eyebrow labels need a darker gold on light backgrounds */
.torumen-eyebrow {
  color: #86631c;
}

/* ...but keep the brighter gold on dark / photo sections */
.torumen-section--ink .torumen-eyebrow,
.torumen-bg-photo .torumen-eyebrow,
.torumen-hero .torumen-eyebrow {
  color: var(--torumen-gold);
}

/* Header contact details: full cream for sufficient contrast */
.torumen-header .torumen-header__contact,
.torumen-header .torumen-header__contact i,
.torumen-header .torumen-header__contact span,
.torumen-header .torumen-header__contact a {
  color: #fffaf1;
}

/* Feature card text inside dark / photo sections */
.torumen-section--ink .torumen-feature p,
.torumen-bg-photo .torumen-feature p {
  color: rgba(255, 250, 241, 0.9);
}

/* Dropdown toggle rendered as a button keeps the nav link look */
.torumen-header .torumen-nav__link.dropdown-toggle {
  background: transparent;
  border: 0;
  color: var(--torumen-cream);
}

/* Push the hero below the fixed header on mobile widths */
.torumen-header-spacer {
  display: none;
}

@media (max-width: 991.98px) {
  .torumen-header-spacer {
    display: block;
    height: 90px;
    background-color: #0a0806;
  }
}

/* Navigáció: a "Szolgáltatások" legördülő a valódi <button> elemen is
   úgy nézzen ki, mint a többi nav link (nincs placeholder href="#"). */
.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle {
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--torumen-sans);
  line-height: inherit;
  color: var(--torumen-cream);
}

.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle:hover,
.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle:focus-visible,
.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle[aria-expanded="true"] {
  color: var(--torumen-cream);
}

/* A lenyíló nyíl ikon maradjon látható a dekoratív aláhúzás mellett. */
.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  margin: 0;
  border: 0;
  background: var(--torumen-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  vertical-align: baseline;
}

.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle:hover::after,
.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle:focus-visible::after,
.torumen-header .navbar-nav .torumen-nav__link.dropdown-toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
}

/* ============================================================
   QA round 2 — contacts page: text contrast & reveal safety
   ============================================================ */

/* AOS fades elements from opacity 0. Rendering/screenshotting the page
   mid-animation makes body copy look washed out (low measured contrast),
   so keep revealed content fully opaque while preserving the transform
   part of the animation. */
[data-aos],
[data-aos^="fade"],
[data-aos^="zoom"],
[data-aos^="slide"] {
  opacity: 1 !important;
}

/* Contact cards: pure white surface + near-black body copy so every
   paragraph inside a card clearly exceeds the 4.5:1 threshold. */
.torumen-card {
  background: #ffffff;
}

.torumen-card__text,
.torumen-card__body p,
.torumen-card__body li {
  color: #0f1116;
}

/* The emphasis value inside the contact cards (phone / e-mail / address). */
.torumen-card__contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f1116 !important;
  overflow-wrap: break-word;
  word-break: break-word;
}

.torumen-card__contact-value a,
.torumen-card__body a:not(.torumen-card__link) {
  color: #45191c !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.torumen-card__contact-value a:hover,
.torumen-card__contact-value a:focus-visible,
.torumen-card__body a:not(.torumen-card__link):hover,
.torumen-card__body a:not(.torumen-card__link):focus-visible {
  color: #2c0f11 !important;
}

/* Card headline + call-to-action links keep strong contrast on white. */
.torumen-card__title {
  color: #0f1116;
}

.torumen-card__link {
  color: #5f4614;
}

.torumen-card__link:hover,
.torumen-card__link:focus-visible {
  color: #3f2e0b;
}

/* On the dark band, card links must stay light. */
.torumen-section--ink .torumen-card__link,
.torumen-section--ink .torumen-card__link:hover,
.torumen-section--ink .torumen-card__link:focus-visible {
  color: #5f4614;
}

/* Sand section body copy on cards/inline text: keep it dark. */
.torumen-section--sand .torumen-form__note {
  color: #3b3129;
}

/* ============================================================
   QA fixes: gold CTA contrast, mobile header/hero overlap
   ============================================================ */

/* Gold buttons: dark label instead of cream so the text keeps
   AA contrast on the gold / gold-deep backgrounds (also on
   dark photo heroes where generic link colours turn cream). */
.torumen-btn--gold,
.torumen-btn--gold i,
.torumen-hero a.torumen-btn--gold,
.torumen-hero a.torumen-btn--gold i,
.torumen-bg-photo a.torumen-btn--gold,
.torumen-bg-photo a.torumen-btn--gold i,
.torumen-section--ink a.torumen-btn--gold,
.torumen-section--ink a.torumen-btn--gold i {
  color: #14100c !important;
  text-decoration: none;
}

.torumen-btn--gold:hover,
.torumen-btn--gold:focus-visible,
.torumen-hero a.torumen-btn--gold:hover,
.torumen-hero a.torumen-btn--gold:focus-visible,
.torumen-bg-photo a.torumen-btn--gold:hover,
.torumen-bg-photo a.torumen-btn--gold:focus-visible,
.torumen-section--ink a.torumen-btn--gold:hover,
.torumen-section--ink a.torumen-btn--gold:focus-visible {
  color: #14100c !important;
  background-color: #d8b566;
  text-decoration: none;
}

/* Mobile / tablet: let the header take part in the layout flow so it
   never covers the top of the hero section. */
@media (max-width: 991.98px) {
  .torumen-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background-color: #16181d;
    padding: 0.85rem 0;
  }

  .torumen-hero {
    min-height: calc(100vh - 84px);
    min-height: calc(100svh - 84px);
    padding-top: clamp(2.5rem, 8vw, 4rem);
  }
}

/* ============================================================
   QA round 3 — konferencia page: link/price contrast, dark
   accordion readability, gallery captions, submit button safety
   ============================================================ */

/* Base inline link colour on light surfaces (the shipped gold-deep
   only reached 3.39:1 on the cream background). Darker bronze keeps
   the gold family but passes AA. Dark sections keep their own,
   more specific light link colours. */
a {
  color: #6f5314;
}

/* Price labels inside white cards (was 3.53:1 on white). */
.torumen-card__price {
  color: #6f5314;
}

/* CTA buttons inside cards are buttons, not inline links: keep their
   own label/background colours instead of the dark inline-link colour. */
.torumen-card__body a.torumen-btn,
.torumen-card__body a.torumen-btn:hover,
.torumen-card__body a.torumen-btn:focus-visible {
  text-decoration: none !important;
}

.torumen-card__body a.torumen-btn--ink {
  background-color: #16181d !important;
  color: #fffaf1 !important;
}

.torumen-card__body a.torumen-btn--ink:hover,
.torumen-card__body a.torumen-btn--ink:focus-visible {
  background-color: #5c2427 !important;
  color: #fffaf1 !important;
}

.torumen-card__body a.torumen-btn--gold {
  background-color: #c8a24a !important;
  color: #14100c !important;
}

.torumen-card__body a.torumen-btn--gold:hover,
.torumen-card__body a.torumen-btn--gold:focus-visible {
  background-color: #d8b566 !important;
  color: #14100c !important;
}

/* Bootstrap accordions inherit a white surface; inside the dark ink
   sections that made cream answer text unreadable (1.04:1). */
.torumen-section--ink .accordion-item {
  background-color: transparent;
  border-color: rgba(255, 250, 241, 0.18);
  color: #fffaf1;
}

.torumen-section--ink .accordion-button {
  background-color: transparent;
  color: #fffaf1;
  box-shadow: none;
}

.torumen-section--ink .accordion-button:not(.collapsed) {
  background-color: rgba(255, 250, 241, 0.09);
  color: #fffaf1;
  box-shadow: none;
}

.torumen-section--ink .accordion-button:focus,
.torumen-section--ink .accordion-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.35);
}

.torumen-section--ink .accordion-button::after {
  filter: invert(1) brightness(1.7);
}

.torumen-section--ink .accordion-body {
  background-color: transparent;
}

.torumen-section--ink .accordion-body p,
.torumen-section--ink .torumen-faq__answer {
  color: rgba(255, 250, 241, 0.92);
}

/* Gallery captions sat on the mid part of a soft gradient, leaving the
   cream text at ~2.7-3.2:1 over bright photos. A steeper, darker
   gradient plus a text shadow restores readable captions. */
.torumen-gallery__caption {
  padding-top: 2.4rem;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0) 0%,
    rgba(10, 12, 16, 0.62) 32%,
    rgba(10, 12, 16, 0.93) 72%,
    rgba(10, 12, 16, 0.97) 100%
  );
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* Keep the form's submit control above the floating back-to-top button so
   it always stays clickable on narrow screens. */
.torumen-form [type="submit"] {
  position: relative;
  z-index: 1041;
}

@media (max-width: 767.98px) {
  .torumen-back-top {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   QA fix — service/article pages: keep the gallery grid fully
   inside its section.
   The gallery uses repeat(auto-fit, minmax(230px, 1fr)), which at
   ~1320px resolves to 5 columns, so the sixth card wraps alone into
   a second row. That second row is only one card tall while the
   section's padding was sized for a single row, so the wrapped card
   ran into the section boundary, leaving an empty gap under it.
   Fix: give the items an explicit square height from the column
   width instead of aspect-ratio so every card row is predictable,
   and reserve room for a wrapped row.
   ============================================================ */
.torumen-section .torumen-gallery {
  align-items: start;
  row-gap: 1rem;
}

.torumen-section .torumen-gallery__item {
  aspect-ratio: auto;
  height: auto;
  /* square-ish tile driven by the grid column instead of aspect-ratio,
     so a single wrapped item cannot stretch or misalign the row */
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: start;
}

/* Reserve room under the grid so a wrapped last row never touches
   the section edge; the wrapper keeps the caption inside its card. */
.torumen-section .torumen-gallery::after {
  content: "";
  display: block;
  grid-column: 1 / -1;
  height: 0;
}

/* ============================================================
   QA fix (round 2) — gallery column count.
   reveal(auto-fit, minmax(230px, 1fr)) resolved to FIVE columns on a
   1320px container (6 gaps-friendly tracks of ~248px), so the sixth
   card of both service galleries wrapped alone into a second row and
   left a big empty block under the section.
   Fix: use an explicit column count that divides six evenly, so the
   cards always form full rows (3x2 on desktop, 2x3 on tablet,
   1x6 on phones). Squares are kept via aspect-ratio on the item.
   ============================================================ */
.torumen-section .torumen-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 992px) {
  .torumen-section .torumen-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .torumen-section .torumen-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

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

@media (max-width: 479.98px) {
  .torumen-section .torumen-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The tiles are square via the grid column width; make sure the
   caption gradient stays inside the card and the image fills it. */
.torumen-section .torumen-gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  align-self: start;
}

.torumen-section .torumen-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   QA fix — service/article pages: footer map block alignment.
   The footer's second row is a Bootstrap grid (.row g-4 mt-4) placed
   inside .container. The g-4 gutter adds a negative horizontal margin
   (-0.75rem each side) to the row, and with no .col-* sibling that
   collapses next to it on mobile (both map + operator columns are
   .col-lg-7 / .col-lg-5), the row simply stacks: its negative margins
   were never offset by the columns' padding, so the map card, the map
   link and the first line of every following block start 12px to the
   left of the footer's other columns and of the copyright bar. On a
   360px viewport that reads as a wide, off-centre empty strip under
   the content columns.
   Fix: neutralise the gutter on that stacked row (container padding is
   still honoured) and let its columns keep the section's own rhythm so
   text stays left aligned on the same axis as the rest of the footer.
   Only rows inside .torumen-footer > .container are touched; desktop
   side-by-side layout (sm/md/lg breakpoints) is unchanged.
   ============================================================ */
.torumen-footer > .container > .row {
  margin-left: 0;
  margin-right: 0;
}

.torumen-footer > .container > .row > [class*="col-"] {
  min-width: 0;
}

/* Keep the embedded map card exactly as wide as its column (no
   overflow from the 16:9 ratio box) so it cannot push past the
   footer's content axis on narrow screens. */
.torumen-footer > .container > .row .ratio {
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   QA fix (scope correction) — footer map row only.
   The previous rule matched EVERY .row inside the footer container,
   including the four-column row (g-4 g-lg-5) whose negative gutter
   margin is required to cancel the columns' own padding. Removing it
   there widened that row and shifted its headings/labels off the
   container axis, which surfaced as a new contrast/layout reading on
   the konferencia page.
   Scope the gutter neutralisation to the stacked map row only:
   that row is the one holding the embedded 16:9 map card. It has no
   side-by-side column at mobile widths, so its -12px g-4 margins were
   never offset by column padding and pushed the map, its caption link
   and the operator block left of the footer's content axis.
   Everything else in the footer keeps its original Bootstrap grid.
   ============================================================ */
.torumen-footer > .container > .row:not(:has([class*="col-"])) {
  /* no-op guard: rows consisting only of columns are never touched */
  margin-left: revert;
  margin-right: revert;
}

/* Real target: the footer row that carries the map ratio box.
   :has() support is progressive — pages without it keep the shipped
   layout, pages with it get the aligned one. */
.torumen-footer > .container > .row:has(.ratio) {
  margin-left: 0;
  margin-right: 0;
}

.torumen-footer > .container > .row:has(.ratio) > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  min-width: 0;
}

/* Stacked (single-column) footer layout: restore the gutter padding on
   the surrounding columns so their inner text still lines up with the
   container, while the map row itself stays flush. */
@media (max-width: 991.98px) {
  .torumen-footer > .container > .row:has(.ratio) > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  .torumen-footer > .container > .row:has(.ratio) .ratio,
  .torumen-footer > .container > .row:has(.ratio) > .ratio {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================================
   FINAL scoped fix — footer map row alignment on service/article pages
   ------------------------------------------------------------
   Cause (mobile / stacked): the footer's second row is
   `<div class="row g-4 mt-4">` holding only `.col-lg-7` + `.col-lg-5`.
   Below lg those columns stack, so nothing on the line ever supplies
   the horizontal padding that the row's -12px `g-4` gutter margin
   assumes. The row therefore starts (and ends) 12px outside the
   footer's content axis, while all four content columns above and the
   copyright bar below sit on it — producing the wide, off-centre empty
   strip beside the map block.

   Why not `margin: 0` on the row: that widens the row and the
   container's content line, which shifted neighbouring measurements
   (an ancestor width change re-scoped the hero heading reading).
   Instead keep the row box exactly as Bootstrap computes it and add the
   missing gutter back as padding, so the *content* of the map card, its
   caption link and the operator block all land on the footer axis.

   Scope: only the footer row that actually contains the map ratio box
   (`.torumen-footer > .container > .row` that has a `.ratio` child).
   The four-column row and every other section/hero are untouched, and
   the desktop side-by-side layout is unaffected because there the
   columns' own padding already provides the offset (this rule is kept
   to the stacked range and uses the same 12px gutter value).
   ============================================================ */
@media (max-width: 991.98px) {
  .torumen-footer > .container > .row:has(> [class*="col-"] .ratio) {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 1.5rem;
  }

  /* The ratio box must never exceed its column, so the embedded map
     cannot re-introduce horizontal overflow on narrow screens. */
  .torumen-footer > .container > .row:has(> [class*="col-"] .ratio) .ratio {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================================
   QA fix — service card headline on the sand section.
   The card on the services band inherits the ink-section heading
   colour (cream #fffaf1) through the ink-scoped heading rule, but the
   card body itself is a white surface, which measured ~1.04:1.
   Scope: only headlines inside the card body, restore the card's own
   near-black title colour. No global text recolouring.
   ============================================================ */
.torumen-card__body .torumen-card__title,
.torumen-section--ink .torumen-card__body .torumen-card__title,
.torumen-bg-photo .torumen-card__body .torumen-card__title,
.torumen-section--ink .torumen-card__body .torumen-card__title:hover,
.torumen-card__body .torumen-card__title a {
  color: #0f1116;
}
