:root {
  --c-forest-deep: #16281a;
  --c-forest: #223b28;
  --c-moss: #476b47;
  --c-sage: #8aa682;
  --c-sage-light: #c6d4bd;
  --c-cream: #f6f2e8;
  --c-sand: #e6dcc7;
  --c-stone: #9a9385;
  --c-charcoal: #1c1a17;
  --c-terracotta: #a95e3d;
  --c-terracotta-soft: #c07a56;
  --c-amber: #d9a253;
  --c-white: #ffffff;
  --c-text: #24211d;
  --c-text-soft: #4c4740;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 48px -22px rgba(22, 40, 26, 0.45);
  --shadow-card: 0 24px 60px -32px rgba(22, 40, 26, 0.55);
  --shadow-strong: 0 40px 90px -40px rgba(22, 40, 26, 0.78);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-forest-deep);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

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

a:hover {
  color: var(--c-terracotta);
}

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

ul { padding-left: 1.15rem; }

.lx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-moss);
  margin-bottom: 1rem;
}

.lx-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lx-eyebrow--light { color: var(--c-amber); }

.lx-lead {
  font-size: 1.12rem;
  color: var(--c-text-soft);
  max-width: 62ch;
}

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

.lx-section--tight { padding: clamp(2.4rem, 4.5vw, 3.5rem) 0; }

.lx-surface-cream { background: var(--c-cream); }
.lx-surface-sand { background: var(--c-sand); }
.lx-surface-forest {
  background: var(--c-forest);
  color: var(--c-cream);
}
.lx-surface-forest h2,
.lx-surface-forest h3,
.lx-surface-forest h4 { color: var(--c-cream); }
.lx-surface-forest .lx-lead { color: var(--c-sage-light); }

.lx-noise-band {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-color: var(--c-forest-deep);
  background-size: cover;
  background-position: center;
  color: var(--c-cream);
}

.lx-noise-band h2,
.lx-noise-band h3 { color: var(--c-cream); }
.lx-noise-band .lx-lead { color: var(--c-sage-light); }

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

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

.lx-btn--primary {
  background: var(--c-forest-deep);
  color: var(--c-cream);
}

.lx-btn--primary:hover {
  background: var(--c-moss);
  color: var(--c-white);
}

.lx-btn--accent {
  background: var(--c-terracotta);
  color: var(--c-white);
}

.lx-btn--accent:hover {
  background: var(--c-terracotta-soft);
  color: var(--c-white);
}

.lx-btn--ghost {
  background: transparent;
  color: var(--c-forest-deep);
  border-color: rgba(22, 40, 26, 0.28);
}

.lx-btn--ghost:hover {
  background: var(--c-forest-deep);
  color: var(--c-cream);
  border-color: var(--c-forest-deep);
}

.lx-btn--ghost-light {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(246, 242, 232, 0.45);
}

.lx-btn--ghost-light:hover {
  background: var(--c-cream);
  color: var(--c-forest-deep);
  border-color: var(--c-cream);
}

.lx-btn--block { width: 100%; }

.lx-hero {
  position: relative;
  min-height: clamp(520px, 82vh, 780px);
  display: flex;
  align-items: flex-end;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  color: var(--c-cream);
  background-color: var(--c-forest-deep);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.lx-hero h1 { color: var(--c-cream); max-width: 16ch; }
.lx-hero .lx-lead { color: var(--c-sage-light); }
.lx-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(246, 242, 232, 0.22);
}

.lx-hero__meta-item {
  display: flex;
  flex-direction: column;
}

.lx-hero__meta-item strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--c-amber);
  line-height: 1;
}

.lx-hero__meta-item span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-sage-light);
  margin-top: 0.4rem;
}

.lx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.lx-hero--detail {
  min-height: clamp(400px, 62vh, 620px);
  align-items: center;
}

.lx-marquee {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--c-stone);
  padding: 1.4rem 0;
  border-top: 1px solid rgba(154, 147, 133, 0.3);
  border-bottom: 1px solid rgba(154, 147, 133, 0.3);
}

.lx-marquee span::after {
  content: "·";
  margin-left: 3rem;
  color: var(--c-sage);
}

.lx-marquee span:last-child::after { content: ""; margin: 0; }

.lx-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

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

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

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

.lx-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(22, 40, 26, 0.85);
  color: var(--c-cream);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
}

.lx-card__body {
  padding: 1.6rem 1.6rem 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lx-card__body h3 { margin-bottom: 0.55rem; }

.lx-card__body p {
  color: var(--c-text-soft);
  font-size: 0.97rem;
  flex: 1;
}

.lx-card__link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--c-moss);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lx-card__link i { transition: transform 0.3s var(--ease); }
.lx-card:hover .lx-card__link i { transform: translateX(4px); }

.lx-feature {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.lx-feature__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--c-sand);
  color: var(--c-forest);
  font-size: 1.25rem;
}

.lx-surface-forest .lx-feature__icon {
  background: rgba(198, 212, 189, 0.14);
  color: var(--c-amber);
}

.lx-feature h4 { margin-bottom: 0.35rem; }
.lx-feature p {
  color: var(--c-text-soft);
  font-size: 0.96rem;
  margin: 0;
}

.lx-surface-forest .lx-feature p { color: var(--c-sage-light); }

.lx-stat {
  text-align: center;
  padding: 1.4rem 0.8rem;
}

.lx-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--c-terracotta);
  line-height: 1;
  display: block;
}

.lx-surface-forest .lx-stat__num { color: var(--c-amber); }

.lx-stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}

.lx-surface-forest .lx-stat__label { color: var(--c-sage-light); }

.lx-timeline { position: relative; }
.lx-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(154, 147, 133, 0.4);
}

.lx-timeline__item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
}

.lx-timeline__item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-terracotta);
  border: 3px solid var(--c-cream);
}

.lx-timeline__year {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--c-forest-deep);
  font-weight: 600;
}

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

.lx-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
  background: var(--c-sand);
}

.lx-gallery__item:nth-child(1),
.lx-gallery__item:nth-child(4) {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

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

.lx-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(22, 40, 26, 0.85));
  color: var(--c-cream);
  font-size: 0.9rem;
}

.lx-faq {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.lx-faq__item + .lx-faq__item {
  border-top: 1px solid rgba(154, 147, 133, 0.22);
}

.lx-faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-forest-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.lx-faq__q:hover { color: var(--c-terracotta); }

.lx-faq__q i { transition: transform 0.3s var(--ease); color: var(--c-moss); }
.lx-faq__q[aria-expanded="true"] i { transform: rotate(45deg); }

.lx-faq__a {
  padding: 0 1.5rem 1.4rem;
  color: var(--c-text-soft);
  font-size: 0.97rem;
}

.lx-form-wrap {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-card);
}

.lx-field { margin-bottom: 1.1rem; }

.lx-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin-bottom: 0.45rem;
}

.lx-field input,
.lx-field select,
.lx-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-cream);
  border: 1px solid rgba(154, 147, 133, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.lx-field input:focus,
.lx-field select:focus,
.lx-field textarea:focus {
  outline: none;
  border-color: var(--c-moss);
  box-shadow: 0 0 0 3px rgba(71, 107, 71, 0.16);
}

.lx-field input.is-invalid,
.lx-field select.is-invalid,
.lx-field textarea.is-invalid {
  border-color: #a8352c;
  box-shadow: 0 0 0 3px rgba(168, 53, 44, 0.14);
}

.lx-form-note {
  font-size: 0.82rem;
  color: var(--c-text-soft);
  margin-top: 0.85rem;
}

.lx-testimonial {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lx-testimonial__stars {
  color: var(--c-amber);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.lx-testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--c-forest-deep);
  margin: 0 0 1.4rem;
  flex: 1;
}

.lx-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lx-testimonial__author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-sand);
}

.lx-testimonial__author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--c-forest-deep);
}

.lx-testimonial__author span {
  display: block;
  font-size: 0.82rem;
  color: var(--c-text-soft);
}

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

.lx-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--c-sand);
  box-shadow: var(--shadow-card);
}

.lx-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lx-list-check {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
}

.lx-list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  color: var(--c-text-soft);
}

.lx-list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--c-moss);
  font-size: 0.85rem;
}

.lx-surface-forest .lx-list-check li { color: var(--c-sage-light); }
.lx-surface-forest .lx-list-check li::before { color: var(--c-amber); }

.lx-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}

.lx-process__step {
  position: relative;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  counter-increment: step;
}

.lx-process__step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.6rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--c-sage);
  opacity: 0.55;
}

.lx-process__step h4 { margin: 0.6rem 0 0.4rem; }
.lx-process__step p { font-size: 0.94rem; color: var(--c-text-soft); margin: 0; }

.lx-price {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  height: 100%;
  border-top: 3px solid var(--c-moss);
}

.lx-price--featured {
  background: var(--c-forest);
  color: var(--c-cream);
  border-top-color: var(--c-amber);
}

.lx-price--featured h3 { color: var(--c-cream); }

.lx-price__amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--c-forest-deep);
  line-height: 1;
  margin-bottom: 1rem;
}

.lx-price--featured .lx-price__amount { color: var(--c-amber); }

.lx-price__amount small {
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--c-text-soft);
  font-weight: 400;
}

.lx-price--featured .lx-price__amount small { color: var(--c-sage-light); }

.lx-price ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  flex: 1;
}

.lx-price ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(154, 147, 133, 0.2);
  font-size: 0.94rem;
  color: var(--c-text-soft);
}

.lx-price--featured ul li {
  color: var(--c-sage-light);
  border-bottom-color: rgba(198, 212, 189, 0.2);
}

.lx-cta {
  background: var(--c-forest-deep);
  color: var(--c-cream);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.lx-cta h2 { color: var(--c-cream); }
.lx-cta p { color: var(--c-sage-light); max-width: 56ch; margin: 0 auto 2rem; }
.lx-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; }

.lx-newsletter {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.lx-newsletter input {
  flex: 1;
  min-width: 220px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(246, 242, 232, 0.35);
  background: rgba(246, 242, 232, 0.08);
  color: var(--c-cream);
  border-radius: var(--radius-pill);
}

.lx-newsletter input::placeholder { color: rgba(246, 242, 232, 0.7); }

.lx-newsletter input:focus {
  outline: none;
  border-color: var(--c-amber);
  background: rgba(246, 242, 232, 0.14);
}

.lx-newsletter input.is-invalid {
  border-color: #e08478;
  box-shadow: 0 0 0 3px rgba(224, 132, 120, 0.22);
}

.lx-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  line-height: 0;
  aspect-ratio: 16 / 9;
}

.lx-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lx-contact-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.lx-contact-card i {
  color: var(--c-moss);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.lx-contact-card h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.lx-contact-card p, .lx-contact-card a { font-size: 0.95rem; color: var(--c-text-soft); margin: 0; word-break: break-word; }
.lx-contact-card a:hover { color: var(--c-terracotta); }

.lx-team {
  text-align: center;
}

.lx-team__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--c-sand);
  margin-bottom: 1rem;
}

.lx-team h4 { margin-bottom: 0.15rem; }
.lx-team span {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-moss);
}

.lx-legal {
  max-width: 780px;
}

.lx-legal h2 { margin-top: 2.4rem; }
.lx-legal h3 { margin-top: 1.8rem; }
.lx-legal p, .lx-legal li { color: var(--c-text-soft); }

.himoram-consent {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: min(940px, calc(100% - 2rem));
  z-index: 1090;
  background: var(--c-forest-deep);
  color: var(--c-cream);
  border: 1px solid rgba(198, 212, 189, 0.16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  padding: 1.35rem 1.5rem;
  animation: himoram-consent-rise 0.55s var(--ease) both;
}

@keyframes himoram-consent-rise {
  from { opacity: 0; transform: translate(-50%, 26px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.himoram-consent__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.himoram-consent__mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 162, 83, 0.16);
  color: var(--c-amber);
  font-size: 1.2rem;
}

.himoram-consent__body { flex: 1; min-width: 0; }

.himoram-consent__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-cream);
  margin: 0 0 0.25rem;
}

.himoram-consent__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-sage-light);
  margin: 0;
}

.himoram-consent__link {
  color: var(--c-amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.himoram-consent__link:hover { color: var(--c-cream); }

.himoram-consent__actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.himoram-consent__btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.himoram-consent__btn:hover { transform: translateY(-1px); }

.himoram-consent__btn--decline {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(246, 242, 232, 0.4);
}

.himoram-consent__btn--decline:hover {
  background: rgba(246, 242, 232, 0.1);
  color: var(--c-cream);
}

.himoram-consent__btn--accept {
  background: var(--c-amber);
  color: var(--c-forest-deep);
}

.himoram-consent__btn--accept:hover {
  background: var(--c-terracotta-soft);
  color: var(--c-white);
}

@media (max-width: 860px) {
  .himoram-consent__inner { flex-wrap: wrap; }
  .himoram-consent__body { flex: 1 1 100%; order: 2; }
  .himoram-consent__mark { order: 1; }
  .himoram-consent__actions { order: 3; flex: 1 1 100%; }
  .himoram-consent__btn { flex: 1; }

  .lx-split { grid-template-columns: 1fr; }
  .lx-hero__meta { gap: 1.4rem; }
  .lx-gallery { grid-template-columns: repeat(2, 1fr); }
  .lx-gallery__item:nth-child(1),
  .lx-gallery__item:nth-child(4) { grid-row: auto; aspect-ratio: 3 / 4; }
}

@media (max-width: 575px) {
  body { font-size: 0.98rem; }
  .lx-hero { min-height: 88vh; }
  .lx-hero__actions { flex-direction: column; align-items: stretch; }
  .lx-btn { width: 100%; }
  .lx-gallery { grid-template-columns: 1fr; }
  .lx-marquee { gap: 1.4rem; font-size: 1rem; }
  .lx-marquee span::after { margin-left: 1.4rem; }
  .himoram-consent { bottom: 0.85rem; padding: 1.1rem 1.15rem; }
}

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

/* QA_FIX: footer link contrast on dark forest surface */
footer .lx-card__link,
footer .lx-card__link:visited {
  color: var(--c-sage-light);
}

footer .lx-card__link:hover,
footer .lx-card__link:focus {
  color: var(--c-amber);
}

footer li > a:not(.lx-btn):not(.navbar-brand) {
  color: var(--c-sage-light);
}

footer li > a:not(.lx-btn):not(.navbar-brand):hover,
footer li > a:not(.lx-btn):not(.navbar-brand):focus {
  color: var(--c-amber);
}

/* QA_FIX: gallery caption legibility (opaque overlay so text never sits on the image/background) */
.lx-gallery__caption {
  background: linear-gradient(180deg, rgba(22, 40, 26, 0.88) 0%, rgba(22, 40, 26, 0.97) 100%);
  color: var(--c-cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* QA_FIX: footer link contrast on dark forest surface */
footer.lx-surface-forest a:not(.lx-btn) {
  color: var(--c-sage-light);
}

footer.lx-surface-forest a:not(.lx-btn):hover,
footer.lx-surface-forest a:not(.lx-btn):focus-visible {
  color: var(--c-amber);
}

/* QA_FIX: gallery figures nested inside a column wrapper keep a real height,
   so the caption sits inside the image instead of overflowing onto the page */
.lx-gallery > [class*="col-"] > .lx-gallery__item {
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

/* QA_FIX: gallery caption contrast (solid dark plate instead of a see-through gradient) */
.lx-gallery__caption {
  background: rgba(22, 40, 26, 0.94);
  color: var(--c-cream);
}

@media (max-width: 575px) {
  .lx-gallery > [class*="col-"] > .lx-gallery__item { aspect-ratio: 3 / 4; }
}

/* QA_CONTRAST_FIX — footer links on the dark forest surface */
.lx-surface-forest a:not(.lx-btn),
.lx-surface-forest .lx-card__link {
  color: var(--c-sage-light);
}

.lx-surface-forest a:not(.lx-btn):hover,
.lx-surface-forest .lx-card__link:hover,
.lx-surface-forest a:not(.lx-btn):focus-visible,
.lx-surface-forest .lx-card__link:focus-visible {
  color: var(--c-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* QA_CONTRAST_FIX — messenger buttons inside white contact cards keep their own button colors */
.lx-contact-card .lx-btn--primary {
  color: var(--c-cream);
}

.lx-contact-card .lx-btn--primary:hover,
.lx-contact-card .lx-btn--primary:focus-visible {
  color: var(--c-white);
}

.lx-contact-card .lx-btn--ghost {
  color: var(--c-forest-deep);
  border-color: rgba(22, 40, 26, 0.45);
}

.lx-contact-card .lx-btn--ghost:hover,
.lx-contact-card .lx-btn--ghost:focus-visible {
  color: var(--c-cream);
}

/* QA_FORM_FIX — inline confirmation message */
.lx-form-success {
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.lx-form-success[hidden] {
  display: none !important;
}

/* QA_FIX — wide numbered step groups read as two balanced columns on desktop,
   one column on small screens (previously auto-fit squeezed 6 steps into 4 narrow tracks) */
.lx-process {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.lx-process > .lx-process__step {
  width: 100%;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .lx-process {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.3rem;
  }
}

/* QA_FIX: contact band section — it previously carried the .lx-newsletter form-row
   styles (display:flex, max-width:520px, cream text color for inputs), which shrank
   the whole section and made the form fields unreadable on the white card. */
.lx-contact-band {
  display: block;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  color: var(--c-cream);
}

.lx-contact-band .lx-form-wrap .form-control {
  color: var(--c-text);
  background-color: var(--c-cream);
  border: 1px solid rgba(154, 147, 133, 0.4);
  border-radius: var(--radius-sm);
}

.lx-contact-band .lx-form-wrap .form-control:focus {
  color: var(--c-text);
  background-color: var(--c-cream);
}

.lx-contact-band .lx-form-wrap .form-control::placeholder {
  color: var(--c-text-soft);
  opacity: 1;
}

.lx-contact-band .lx-form-wrap .form-label,
.lx-contact-band .lx-form-wrap .form-check-label,
.lx-contact-band .lx-form-wrap .lx-form-note {
  color: var(--c-text-soft);
}

.lx-contact-band .lx-form-wrap .form-check-label a {
  color: var(--c-moss);
}

/* QA_FIX: inline confirmation message shown after the request form is submitted */
.lx-form-success.alert-success {
  background-color: #e8f1e3;
  border-color: #b7d0a9;
  color: #1d3a1f;
}

/* QA_FIX: hero carousel must fill the full-width hero section.
   .lx-hero is display:flex, so the bare .carousel child shrank to its
   intrinsic content width (~723px) and pinned the text container at x=0,
   leaving no desktop inset. Stretching the child restores the normal
   Bootstrap container gutters without changing the background. */
.lx-hero > .carousel {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
}

.lx-hero > .carousel > .carousel-inner {
  width: 100%;
}

/* QA_FIX: statistics strip (section 2) — three Bootstrap .col-4 tracks have no gutter
   on the outer edges inside a 360px viewport, so long values such as "24 mesi"
   overflowed their track and were clipped at the right viewport edge.
   Keep the three-up layout but let the tracks shrink, wrap the value if needed
   and re-insert small symmetric gutters so nothing touches the viewport edge. */
.lx-stat {
  min-width: 0;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  overflow-wrap: break-word;
}

.lx-stat__num {
  display: block;
  max-width: 100%;
  font-size: clamp(1.45rem, 8.2vw, 3.4rem);
  line-height: 1.05;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.lx-stat__label {
  max-width: 100%;
  letter-spacing: 0.06em;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 575.98px) {
  .lx-stat__label {
    letter-spacing: 0.04em;
    font-size: 0.72rem;
  }
}

/* QA_FIX: the marquee word band always sits on the cream surface.
   The previous selector set inherited the cream text color, so a marquee that
   lives directly under the cream wrapper (as on the manutenzione page) rendered
   cream-on-cream. Scoped to the marquee only; statistics rules stay untouched. */
.lx-marquee,
.lx-marquee span {
  color: var(--c-stone);
}

.lx-marquee span::after {
  color: var(--c-sage);
}

/* QA_FIX: letterspacing on the statistic labels pushed the word band text wider
   than the cream surface it sits on; keep it tight and clearly dark so the
   contrast check stays satisfied on every page that shows this band. */
.lx-marquee {
  letter-spacing: normal;
  color: #6f695e;
}

.lx-marquee span {
  color: #6f695e;
}

/* QA_FIX: hero statistic labels (e.g. "140+", "18 anni", "9 mesi") were squeezed into
   a very narrow column because the flex items of .lx-hero__meta had no basis/growth
   and the wide letter-spaced uppercase labels wrapped mid-word. Give each item a
   sensible minimum width, drop to a single column only on very narrow screens, and
   calm the tracking so labels wrap as whole words instead of letter-by-letter. */
.lx-hero__meta > .lx-hero__meta-item {
  flex: 1 1 auto;
  min-width: 0;
  flex-basis: min(11rem, 100%);
}

.lx-hero__meta-item strong {
  line-height: 1.1;
  overflow-wrap: break-word;
}

.lx-hero__meta-item span {
  display: block;
  max-width: 20ch;
  letter-spacing: 0.06em;
  line-height: 1.45;
  overflow-wrap: break-word;
  hyphens: none;
}

@media (max-width: 575.98px) {
  .lx-hero__meta {
    gap: 1.1rem 1.4rem;
  }

  .lx-hero__meta > .lx-hero__meta-item {
    flex: 1 1 100%;
    flex-basis: 100%;
  }

  .lx-hero__meta-item span {
    max-width: none;
    letter-spacing: 0.04em;
  }
}

/* QA_CONTRAST_FIX — detail hero lead paragraph ("Disegniamo giardini che seguono la casa…"):
   the light sage tint (#c6d4bd) sat over a semi-transparent photo overlay, so it lost
   contrast wherever the photo behind it was bright (paving, light flowers).
   The paragraph now uses the near-white cream token (same as the h1) plus a soft shadow
   so it stays legible over any area of the photo. Scoped to .lx-hero--detail only —
   full-bleed page heroes and every light-surface .lx-lead are untouched. */
.lx-hero--detail .lx-lead {
  color: var(--c-cream);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
