/* ============================================================
   Fiviran — tema personalizzato (Bootstrap 5 come base)
   Palette cuoio / ottone / crema per una bottega premium
   ============================================================ */

:root {
  --fvr-espresso: #241811;
  --fvr-leather: #4d3320;
  --fvr-saddle: #8a5a34;
  --fvr-brass: #cfa14e;
  --fvr-brass-deep: #a8832e;
  --fvr-cream: #f6eee1;
  --fvr-cream-soft: #ece0cc;
  --fvr-ink: #1a1310;
  --fvr-muted: #6b5a4b;
  --fvr-line: rgba(36, 24, 17, 0.12);
  --fvr-radius: 18px;
  --fvr-radius-sm: 12px;
  --fvr-shadow: 0 22px 60px -30px rgba(36, 24, 17, 0.55);
  --fvr-shadow-soft: 0 12px 34px -18px rgba(36, 24, 17, 0.45);
  --fvr-font-display: Georgia, 'Times New Roman', serif;
  --fvr-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fvr-ease: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fvr-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fvr-ink);
  background-color: var(--fvr-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.fvr-display {
  font-family: var(--fvr-font-display);
  color: var(--fvr-espresso);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

p {
  color: var(--fvr-leather);
}

a {
  color: var(--fvr-brass-deep);
  text-decoration: none;
  transition: color var(--fvr-ease);
}

a:hover,
a:focus {
  color: var(--fvr-leather);
}

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

::selection {
  background: var(--fvr-brass);
  color: var(--fvr-espresso);
}

:focus-visible {
  outline: 3px solid var(--fvr-brass-deep);
  outline-offset: 3px;
}

/* ---------- Utility ---------- */
.fvr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fvr-brass-deep);
}

.fvr-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--fvr-brass);
  display: inline-block;
}

.fvr-section {
  padding: 5.5rem 0;
  position: relative;
}

.fvr-section--tight {
  padding: 3.5rem 0;
}

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

.fvr-section--dark {
  background-color: var(--fvr-espresso);
  color: var(--fvr-cream);
}

.fvr-section--dark h1,
.fvr-section--dark h2,
.fvr-section--dark h3,
.fvr-section--dark h4,
.fvr-section--dark .fvr-display {
  color: var(--fvr-cream);
}

.fvr-section--dark p {
  color: rgba(246, 238, 225, 0.82);
}

.fvr-section--dark .fvr-eyebrow {
  color: var(--fvr-brass);
}

.fvr-section--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fvr-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin-bottom: 1rem;
}

.fvr-lead {
  font-size: 1.1rem;
  color: var(--fvr-leather);
  max-width: 62ch;
}

.fvr-divider {
  width: 60px;
  height: 3px;
  background: var(--fvr-brass);
  border-radius: 3px;
  margin: 1.4rem 0;
}

/* ---------- Buttons ---------- */
.fvr-btn {
  --_bg: var(--fvr-brass);
  --_fg: var(--fvr-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--_bg);
  color: var(--_fg);
  border: 1px solid transparent;
  transition: transform var(--fvr-ease), box-shadow var(--fvr-ease), background var(--fvr-ease), color var(--fvr-ease);
  cursor: pointer;
}

.fvr-btn:hover,
.fvr-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(36, 24, 17, 0.6);
  color: var(--_fg);
}

.fvr-btn--primary {
  --_bg: var(--fvr-brass);
  --_fg: var(--fvr-espresso);
}

.fvr-btn--primary:hover {
  background: #dcb45f;
}

.fvr-btn--dark {
  --_bg: var(--fvr-espresso);
  --_fg: var(--fvr-cream);
}

.fvr-btn--dark:hover {
  background: var(--fvr-leather);
}

.fvr-btn--outline {
  --_bg: transparent;
  --_fg: var(--fvr-leather);
  border-color: var(--fvr-saddle);
}

.fvr-btn--outline:hover {
  background: var(--fvr-leather);
  color: var(--fvr-cream);
}

.fvr-section--dark .fvr-btn--outline {
  --_fg: var(--fvr-cream);
  border-color: rgba(246, 238, 225, 0.5);
}

.fvr-section--dark .fvr-btn--outline:hover {
  background: var(--fvr-cream);
  color: var(--fvr-espresso);
}

/* ---------- Header ---------- */
.fvr-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(246, 238, 225, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--fvr-ease), background var(--fvr-ease), border-color var(--fvr-ease);
}

.fvr-header.is-scrolled {
  background: rgba(246, 238, 225, 0.98);
  box-shadow: 0 12px 30px -22px rgba(36, 24, 17, 0.55);
  border-color: var(--fvr-line);
}

.fvr-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.fvr-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--fvr-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fvr-espresso);
  letter-spacing: 0.02em;
}

.fvr-logo img {
  border-radius: 8px;
}

.fvr-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.86rem;
  color: var(--fvr-leather);
}

.fvr-contact-strip a,
.fvr-contact-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fvr-leather);
}

.fvr-contact-strip i {
  color: var(--fvr-brass-deep);
}

.fvr-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fvr-nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fvr-leather);
  padding: 0.35rem 0;
}

.fvr-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--fvr-brass);
  transition: width var(--fvr-ease);
}

.fvr-nav__link:hover::after,
.fvr-nav__link.is-active::after {
  width: 100%;
}

.fvr-nav__link.is-active {
  color: var(--fvr-espresso);
}

.fvr-burger {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--fvr-line);
  background: transparent;
  color: var(--fvr-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--fvr-ease), color var(--fvr-ease);
}

.fvr-burger:hover {
  background: var(--fvr-espresso);
  color: var(--fvr-cream);
}

.fvr-mobile-nav {
  border-top: 1px solid var(--fvr-line);
}

.fvr-mobile-nav .fvr-nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1rem 0;
}

.fvr-mobile-nav .fvr-nav__link {
  display: block;
  padding: 0.6rem 0;
  width: 100%;
}

/* ---------- Hero ---------- */
.fvr-hero {
  position: relative;
  padding: 7rem 0 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--fvr-cream);
  isolation: isolate;
}

.fvr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 24, 17, 0.15), rgba(36, 24, 17, 0.55));
  z-index: -1;
}

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

.fvr-hero h1 {
  color: var(--fvr-cream);
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin-bottom: 1.2rem;
}

.fvr-hero__lead {
  font-size: 1.15rem;
  color: rgba(246, 238, 225, 0.88);
  max-width: 56ch;
  margin-bottom: 1.8rem;
}

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

.fvr-hero__strip {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
}

.fvr-hero__strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(246, 238, 225, 0.85);
}

.fvr-hero__strip-item i {
  color: var(--fvr-brass);
}

/* ---------- Cards ---------- */
.fvr-card {
  background: #fff;
  border: 1px solid var(--fvr-line);
  border-radius: var(--fvr-radius);
  padding: 1.8rem;
  height: 100%;
  transition: transform var(--fvr-ease), box-shadow var(--fvr-ease);
}

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

.fvr-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--fvr-cream-soft);
  color: var(--fvr-leather);
  margin-bottom: 1.1rem;
}

.fvr-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.fvr-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--fvr-muted);
}

/* Service card with image */
.fvr-service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--fvr-radius);
  background: var(--fvr-espresso);
  color: var(--fvr-cream);
  display: block;
  min-height: 340px;
  box-shadow: var(--fvr-shadow);
}

.fvr-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.72;
}

.fvr-service-card:hover img {
  transform: scale(1.06);
  opacity: 0.62;
}

.fvr-service-card__overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(36, 24, 17, 0.15), rgba(36, 24, 17, 0.85));
}

.fvr-service-card__overlay h3 {
  color: var(--fvr-cream);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.fvr-service-card__overlay p {
  color: rgba(246, 238, 225, 0.82);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.fvr-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--fvr-brass);
  font-size: 0.9rem;
}

.fvr-service-card__link i {
  transition: transform var(--fvr-ease);
}

.fvr-service-card:hover .fvr-service-card__link i {
  transform: translateX(4px);
}

/* ---------- Stats ---------- */
.fvr-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.fvr-stat {
  padding: 1.4rem 1.2rem;
  border-left: 2px solid var(--fvr-brass);
}

.fvr-stat__value {
  font-family: var(--fvr-font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--fvr-espresso);
  line-height: 1;
}

.fvr-section--dark .fvr-stat__value {
  color: var(--fvr-brass);
}

.fvr-stat__label {
  font-size: 0.86rem;
  color: var(--fvr-muted);
  margin-top: 0.4rem;
}

.fvr-section--dark .fvr-stat__label {
  color: rgba(246, 238, 225, 0.72);
}

/* ---------- Process ---------- */
.fvr-step {
  position: relative;
  padding: 1.9rem 1.6rem 1.6rem;
  border-radius: var(--fvr-radius);
  background: #fff;
  border: 1px solid var(--fvr-line);
  height: 100%;
}

.fvr-step__num {
  position: absolute;
  top: -18px;
  left: 1.6rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--fvr-brass);
  color: var(--fvr-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--fvr-font-display);
}

.fvr-step h4 {
  font-size: 1.1rem;
  margin: 0.6rem 0 0.45rem;
}

.fvr-step p {
  font-size: 0.92rem;
  color: var(--fvr-muted);
  margin: 0;
}

/* ---------- Testimonials ---------- */
.fvr-quote {
  background: #fff;
  border-radius: var(--fvr-radius);
  padding: 2rem;
  border: 1px solid var(--fvr-line);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fvr-quote__mark {
  font-size: 2rem;
  color: var(--fvr-brass);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.fvr-quote p {
  font-size: 1rem;
  color: var(--fvr-leather);
  flex: 1;
}

.fvr-quote__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.fvr-quote__author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--fvr-cream-soft);
}

.fvr-quote__author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--fvr-espresso);
}

.fvr-quote__author span {
  font-size: 0.8rem;
  color: var(--fvr-muted);
}

/* ---------- Gallery ---------- */
.fvr-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.fvr-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--fvr-radius-sm);
  background: var(--fvr-cream-soft);
  aspect-ratio: 4 / 3;
}

.fvr-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.fvr-gallery__item:hover img {
  transform: scale(1.05);
}

.fvr-gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.82rem;
  color: var(--fvr-cream);
  background: linear-gradient(180deg, transparent, rgba(36, 24, 17, 0.8));
}

/* ---------- CTA band ---------- */
.fvr-cta {
  padding: 4rem 2rem;
  border-radius: var(--fvr-radius);
  background: var(--fvr-espresso);
  color: var(--fvr-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fvr-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 161, 78, 0.28), transparent 70%);
}

.fvr-cta h2 {
  color: var(--fvr-cream);
  position: relative;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.fvr-cta p {
  color: rgba(246, 238, 225, 0.82);
  max-width: 54ch;
  margin: 0.9rem auto 1.6rem;
  position: relative;
}

/* ---------- Forms ---------- */
.fvr-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fvr-leather);
  margin-bottom: 0.35rem;
}

.fvr-form .form-control,
.fvr-form .form-select {
  border-radius: var(--fvr-radius-sm);
  border: 1px solid rgba(36, 24, 17, 0.2);
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--fvr-ink);
  transition: border-color var(--fvr-ease), box-shadow var(--fvr-ease);
}

.fvr-form .form-control:focus,
.fvr-form .form-select:focus {
  border-color: var(--fvr-brass);
  box-shadow: 0 0 0 3px rgba(207, 161, 78, 0.35);
}

.fvr-form .was-validated .form-control:invalid,
.fvr-form .form-control.is-invalid {
  border-color: #b3261e;
}

/* ---------- Footer ---------- */
.fvr-footer {
  background: var(--fvr-ink);
  color: rgba(246, 238, 225, 0.78);
  padding: 4.5rem 0 2rem;
}

.fvr-footer h4,
.fvr-footer h5 {
  color: var(--fvr-cream);
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}

.fvr-footer p,
.fvr-footer li,
.fvr-footer a,
.fvr-footer span {
  color: rgba(246, 238, 225, 0.72);
  font-size: 0.9rem;
}

.fvr-footer a:hover {
  color: var(--fvr-brass);
}

.fvr-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.fvr-footer__bottom {
  border-top: 1px solid rgba(246, 238, 225, 0.14);
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: rgba(246, 238, 225, 0.55);
}

.fvr-social {
  display: inline-flex;
  gap: 0.6rem;
}

.fvr-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(246, 238, 225, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fvr-social a:hover {
  background: var(--fvr-brass);
  border-color: var(--fvr-brass);
  color: var(--fvr-espresso);
}

/* ---------- Back to top ---------- */
.fvr-top-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--fvr-espresso);
  color: var(--fvr-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--fvr-ease), transform var(--fvr-ease), visibility var(--fvr-ease), background var(--fvr-ease);
  z-index: 1040;
  cursor: pointer;
}

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

.fvr-top-button:hover {
  background: var(--fvr-brass);
  color: var(--fvr-espresso);
}

/* ---------- Cookie banner (componente unico del sito) ---------- */
.suola-cookie[hidden] {
  display: none !important;
}

.suola-cookie {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1090;
  width: min(420px, calc(100vw - 44px));
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.suola-cookie.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.suola-cookie.is-hiding {
  opacity: 0;
  transform: translateY(26px);
}

.suola-cookie__inner {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--fvr-espresso);
  color: var(--fvr-cream);
  border-radius: 20px;
  border: 1px solid rgba(207, 161, 78, 0.4);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.suola-cookie__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fvr-brass), rgba(207, 161, 78, 0.1));
}

.suola-cookie__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(207, 161, 78, 0.16);
  color: var(--fvr-brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.suola-cookie__body {
  flex: 1 1 auto;
  min-width: 0;
}

.suola-cookie__title {
  font-family: var(--fvr-font-display);
  font-size: 1.08rem;
  color: var(--fvr-cream);
  margin: 0 0 0.35rem;
}

.suola-cookie__text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(246, 238, 225, 0.82);
  margin: 0 0 1.05rem;
}

.suola-cookie__link {
  color: var(--fvr-brass);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.suola-cookie__link:hover {
  color: var(--fvr-cream);
}

.suola-cookie__actions {
  display: flex;
  gap: 0.6rem;
}

.suola-cookie__btn {
  flex: 1 1 0;
  padding: 0.62rem 0.9rem;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--fvr-ease), color var(--fvr-ease), border-color var(--fvr-ease), transform var(--fvr-ease);
}

.suola-cookie__btn:active {
  transform: translateY(1px);
}

.suola-cookie__btn--solid {
  background: var(--fvr-brass);
  color: var(--fvr-espresso);
  border: 1px solid var(--fvr-brass);
}

.suola-cookie__btn--solid:hover {
  background: #dcb45f;
  border-color: #dcb45f;
}

.suola-cookie__btn--ghost {
  background: transparent;
  color: var(--fvr-cream);
  border: 1px solid rgba(246, 238, 225, 0.42);
}

.suola-cookie__btn--ghost:hover {
  background: rgba(246, 238, 225, 0.1);
  border-color: var(--fvr-cream);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .fvr-contact-strip {
    display: none;
  }

  .fvr-section {
    padding: 4rem 0;
  }

  .fvr-hero {
    padding: 5rem 0 4rem;
  }
}

@media (max-width: 575.98px) {
  .suola-cookie {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .suola-cookie__inner {
    flex-direction: column;
    padding: 1.4rem 1.2rem 1.2rem;
  }

  .suola-cookie__actions {
    flex-direction: column-reverse;
  }

  .fvr-hero__strip {
    gap: 1rem;
  }

  .fvr-top-button {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* ============================================================
   Contrast overrides — eyebrow label on light backgrounds
   (--fvr-brass-deep #a8832e only reaches ~3.1:1 on cream)
   Eyebrows on dark / photo overlays keep the lighter brass.
   ============================================================ */
.fvr-section .fvr-eyebrow,
.fvr-section--cream-soft .fvr-eyebrow {
  color: #7a5c1d;
}

.fvr-section--dark .fvr-eyebrow,
.fvr-service-card .fvr-eyebrow,
.fvr-hero .fvr-eyebrow {
  color: var(--fvr-brass);
}

/* ============================================================
   Override — leggibilità eyebrow sulle sezioni scure/foto
   (contrasto minimo 4.5:1 su sfondo cuoio scuro)
   ============================================================ */
.fvr-hero .fvr-eyebrow,
.fvr-section--photo .fvr-eyebrow {
  color: #f7dcae;
}

.fvr-hero .fvr-eyebrow::before,
.fvr-section--photo .fvr-eyebrow::before {
  background: #f7dcae;
}

.fvr-service-card__overlay .fvr-eyebrow {
  color: #f7dcae;
}

@media (max-width: 991.98px) {
  .fvr-hero .fvr-eyebrow {
    color: #f7dcae;
  }
}

/* ---------- Contrast fix: eyebrow su sfondi chiari ---------- */
.fvr-section .fvr-eyebrow {
  color: #6f5419;
}

.fvr-section--dark .fvr-eyebrow,
.fvr-service-card__overlay .fvr-eyebrow,
.fvr-cta .fvr-eyebrow {
  color: var(--fvr-brass);
}

/* ============================================================
   Contrast fix — link di testo su superfici chiare
   (--fvr-brass-deep #a8832e su bianco = 3.53:1, sotto la soglia AA)
   Solo link testuali dentro <main>; i bottoni restano invariati.
   ============================================================ */
main a:not(.fvr-btn):not(.dropdown-item):not(.fvr-nav__link) {
  color: #7a5c1d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

main a:not(.fvr-btn):not(.dropdown-item):not(.fvr-nav__link):hover,
main a:not(.fvr-btn):not(.dropdown-item):not(.fvr-nav__link):focus {
  color: #4d3320;
}

/* ============================================================
   Header contact strip — voce email come link isolato
   ============================================================ */
.fvr-contact-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fvr-leather);
}

/* ============================================================
   Contrast fix — inline links inside light content areas
   (--fvr-brass-deep #a8832e reaches only ~3.5:1 on white)
   ============================================================ */
main a:not(.fvr-btn),
main a:not(.fvr-btn):hover,
main a:not(.fvr-btn):focus {
  color: #6f5419;
  text-decoration: underline;
  text-underline-offset: 2px;
}

main a:not(.fvr-btn):hover,
main a:not(.fvr-btn):focus {
  color: var(--fvr-espresso);
}

/* Il CTA in fondo alla pagina resta leggibile su fondo scuro */
main .fvr-cta a.fvr-btn--outline {
  color: var(--fvr-cream);
}

/* ============================================================
   Fix 1 — Pulsante outline dentro la hero fotografica:
   il testo scuro (--fvr-leather) era illeggibile sullo scuro.
   ============================================================ */
.fvr-hero .fvr-btn--outline,
.fvr-section--photo .fvr-btn--outline {
  --_fg: #f6eee1;
  color: #f6eee1;
  border-color: rgba(246, 238, 225, 0.62);
  background: rgba(26, 19, 16, 0.35);
}

.fvr-hero .fvr-btn--outline:hover,
.fvr-hero .fvr-btn--outline:focus,
.fvr-section--photo .fvr-btn--outline:hover,
.fvr-section--photo .fvr-btn--outline:focus {
  background: #f6eee1;
  color: #241811;
  border-color: #f6eee1;
}

/* ============================================================
   Fix 2 — Link "Scrivici due righe" / "Scopri il servizio"
   dentro le card chiare (.fvr-card): il brass #cfa14e su crema
   dava 1.87:1. Su sfondi chiari serve un ottone molto più scuro.
   ============================================================ */
.fvr-card .fvr-service-card__link,
.fvr-card .fvr-service-card__link span,
.fvr-card .fvr-service-card__link i {
  color: #6b4f16;
}

.fvr-card .fvr-service-card__link:hover,
.fvr-card .fvr-service-card__link:hover span,
.fvr-card .fvr-service-card__link:hover i {
  color: #2f2113;
}

/* ============================================================
   Fix 3 — Cookie banner: deve essere subito visibile al primo
   caricamento (prima dipendeva dalla classe .is-visible aggiunta
   in ritardo dal JS). Resta nascosto via [hidden] dopo la scelta.
   ============================================================ */
.suola-cookie:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.suola-cookie.is-hiding:not([hidden]) {
  opacity: 0;
  transform: translateY(26px);
}
