:root {
  --accent: #818284;
  /* UI tokens (premium + consistent use of the primary). */
  --primary: var(--accent);
  --primary-rgb: 129, 130, 132;
  --border: rgba(var(--primary-rgb), .28);
  --border-strong: rgba(var(--primary-rgb), .42);
  --ink: #111827;
  --muted: rgba(17, 24, 39, .68);
  --cta: #2f3236;
  --cta-hover: #26292d;
  --bg-soft: #f6f7f8;
  --text: #1f2937;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #fff;
}

html {
  scroll-behavior: smooth;
}

/* Pages without hero need spacing under the fixed header */
.page-no-hero main {
  padding-top: 110px;
}

@media (max-width: 991.98px) {
  .page-no-hero main {
    padding-top: 96px;
  }
}

/* Fix layout shift caused by Google Translate top banner/frame */
body {
  top: 0 !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

iframe.skiptranslate,
.skiptranslate iframe {
  display: none !important;
}

#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight {
  display: none !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

a, .btn, .form-control, .form-check-input {
  transition: all .25s ease;
}

/* Quote form: privacy checkbox needs more contrast */
#quoteForm .form-check-input {
  width: 1.15em;
  height: 1.15em;
  border: 2px solid rgba(var(--primary-rgb), .55); /* thicker + higher contrast */
  background-color: #fff;
  border-radius: .25em;
}

#quoteForm .form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .22rem rgba(var(--primary-rgb), .18);
}

#quoteForm .form-check-input:checked {
  background-color: var(--cta);
  border-color: var(--cta);
}

/* Ensure the check mark is visible even on some browsers/themes */
#quoteForm .form-check-input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 10l4 4 8-10'/%3E%3C/svg%3E");
  background-size: 1.05em 1.05em;
  background-position: center;
  background-repeat: no-repeat;
}

#quoteForm .form-check-label {
  color: var(--muted);
}

.site-header {
  background: transparent;
}

.menu-open .site-header {
  z-index: 1070 !important;
}

.site-header.scrolled {
  background: linear-gradient(90deg, rgba(129,130,132,.96), rgba(129,130,132,.82));
  box-shadow: 0 10px 30px rgba(16,24,40,.12);
  backdrop-filter: blur(8px);
}

/* Definitive: pages without hero must never have a transparent header */
.page-no-hero .site-header {
  background: linear-gradient(90deg, rgba(129,130,132,.96), rgba(129,130,132,.82)) !important;
  box-shadow: 0 10px 30px rgba(16,24,40,.12);
  backdrop-filter: blur(8px);
}

.brand, .nav-link-custom {
  color: #fff;
}

.brand-logo {
  height: 98px;
  width: auto;
  object-fit: contain;
  transition: height .25s ease;
}

.site-header.scrolled .brand-logo {
  height: 56px;
}

@media (max-width: 991.98px) {
  .brand-logo {
    height: 67.2px;
  }

  .site-header.scrolled .brand-logo {
    height: 56px;
  }
}

.nav-link-custom {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  padding: .34rem .1rem .55rem;
  line-height: 1;
  color: #fff;
  background: transparent !important;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: .12rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: translateY(4px) scaleX(.6);
  transition: opacity .22s ease, transform .22s ease;
}

.lang-picker {
  position: relative;
}

.lang-toggle {
  min-width: 86px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: 999px;
  font-size: .84rem;
  padding: .33rem .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 170px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .12);
  padding: .35rem;
  display: none;
  z-index: 20;
}

.lang-picker.open .lang-menu {
  display: block;
}

.lang-option {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: .45rem .5rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  text-align: left;
  font-size: .9rem;
  color: var(--ink);
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(var(--primary-rgb), .08);
}

.lang-option svg {
  width: 20px;
  height: 14px;
  border: 1px solid rgba(var(--primary-rgb), .26);
  border-radius: 2px;
}

.lang-current-flag svg {
  width: 20px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 2px;
}

.nav-link-custom:hover,
.nav-link-custom:focus-visible {
  color: #fff;
  background: transparent !important;
}

.nav-link-custom:hover::after,
.nav-link-custom:focus-visible::after,
.nav-link-custom.is-active::after,
.nav-link-custom[aria-current="page"]::after {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}

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

.site-header.scrolled .nav-link-custom,
.site-header.scrolled .brand {
  color: #fff;
}

.site-header.scrolled .nav-link-custom:hover,
.site-header.scrolled .nav-link-custom:focus-visible {
  color: #fff;
  background: transparent !important;
}

.btn-menu {
  border: 0;
  padding: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1095;
}

.btn-menu span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 0;
  background: #fff;
  position: absolute;
  left: 8px;
  transform-origin: center;
  transition: transform .24s ease, opacity .2s ease, background-color .2s ease;
}

.btn-menu span:nth-child(1) { top: 12px; }
.btn-menu span:nth-child(2) { top: 20px; }
.btn-menu span:nth-child(3) { top: 28px; }

.btn-menu[aria-expanded="true"] span {
  background: var(--ink);
}

.btn-menu[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.btn-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.4);
}

.btn-menu[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .28s ease;
}

.menu-panel {
  position: relative;
  margin-left: auto;
  width: min(100%, 420px);
  height: 100%;
  background: #fff;
  padding: 4.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  transform: translateX(24px);
  opacity: .98;
  transition: transform .32s ease, opacity .32s ease;
}

.menu-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 24, 40, .08);
  display: block;
  z-index: 2;
  padding: 0;
}

.menu-close-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0;
  background: var(--ink);
  position: absolute;
  left: 10px;
  transform-origin: center;
  transition: transform .24s ease, opacity .2s ease, background-color .2s ease;
}

.menu-close-btn span:nth-child(1) { top: 13px; }
.menu-close-btn span:nth-child(2) { top: 21px; }
.menu-close-btn span:nth-child(3) { top: 29px; }

.mobile-menu.open .menu-close-btn span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.mobile-menu.open .menu-close-btn span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.4);
}

.mobile-menu.open .menu-close-btn span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.menu-close-btn:hover,
.menu-close-btn:focus-visible {
  background: rgba(16, 24, 40, .16);
}

.mobile-menu.open .menu-overlay {
  opacity: 1;
}

.mobile-menu.open .menu-panel {
  transform: translateX(0);
  opacity: 1;
}

.menu-brand-logo {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
  background: #fff;
  padding: 6px;
}

.menu-item {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.menu-item:hover,
.menu-item:focus-visible {
  color: var(--accent);
}

.mobile-nav-stack {
  align-items: center;
  width: 100%;
}

.mobile-booking-btn {
  min-width: 220px;
}

.lang-picker-mobile {
  width: 100%;
  max-width: 230px;
  margin-top: -4px;
}

.lang-picker-mobile .lang-toggle {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: .6rem .9rem;
}

.lang-picker-mobile .lang-current-flag svg {
  border-color: rgba(var(--primary-rgb), .26);
}

.lang-picker-mobile .lang-menu {
  width: 100%;
  top: auto;
  bottom: calc(100% + 10px);
  max-height: 220px;
  overflow-y: auto;
}

.hero-section {
  position: relative;
  height: 85vh;
  min-height: 620px;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 520px;
  }
}

/* Graphic hero variant (legal pages): no photo, just premium illustration */
.hero-legal {
  background: radial-gradient(1200px 520px at 20% 10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
              linear-gradient(110deg, rgba(129,130,132,.94), rgba(129,130,132,.72));
}

.hero-legal .hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.30), rgba(0,0,0,.10));
}

.hero-legal-illustration {
  position: absolute;
  right: clamp(16px, 5vw, 64px);
  top: 50%;
  transform: translateY(-46%);
  width: min(520px, 44vw);
  height: auto;
  opacity: .9;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .hero-legal-illustration {
    width: 78vw;
    right: 12px;
    opacity: .55;
    transform: translateY(-42%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.56), rgba(0,0,0,.34));
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  padding-top: 72px;
}

@media (max-width: 767.98px) {
  /* Keep the hero copy centered, but nudge it slightly upward on mobile. */
  .hero-content {
    justify-content: center;
    padding-top: 72px;
    transform: translateY(-4vh);
  }
}

.hero-kicker,
.section-kicker,
.footer-title {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  flex: 0 0 auto;
}

.hero-kicker {
  color: rgba(255,255,255,.85);
}

.hero-content h1 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero-content p {
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin: 1rem 0 1.75rem;
}

.object-cover {
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 4;
}

.section-space {
  padding: 5rem 0;
}

.section-space-tight {
  padding-top: 2.75rem;
}

/* Anchor targets should not be hidden behind the fixed header */
#policyStart {
  scroll-margin-top: 120px;
}

@media (max-width: 991.98px) {
  #policyStart {
    scroll-margin-top: 108px;
  }
}

#cookieStart {
  scroll-margin-top: 120px;
}

@media (max-width: 991.98px) {
  #cookieStart {
    scroll-margin-top: 108px;
  }
}

.bg-light-soft {
  background: var(--bg-soft);
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 700;
}

.section-text {
  color: var(--muted);
  margin-top: 1rem;
}

.bg-light-soft .section-text {
  text-align: justify;
}

/* Pricing page */
.pricing-table {
  background: rgba(255, 255, 255, .94);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  width: 100%;
  table-layout: fixed; /* Prevent "phantom" spacing that can look like extra columns */
}

.pricing-table thead th {
  font-size: .9rem;
  text-transform: none;
  letter-spacing: .02em;
  color: var(--ink);
  background: #fff;
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table thead tr {
  background: radial-gradient(900px 240px at 10% 0%, rgba(var(--primary-rgb), .08), rgba(255,255,255,0) 60%);
}

.pricing-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(var(--primary-rgb), .12);
  color: var(--ink);
}

.pricing-table tbody tr {
  position: relative;
}

.pricing-table td:first-child,
.pricing-table th:first-child {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

/* Avoid pseudo-elements on <tr> (can create layout quirks in some browsers). */
.pricing-table tbody td:first-child {
  position: relative;
  padding-left: 1.35rem;
}

.pricing-table tbody td:first-child::before {
  content: "";
  position: absolute;
  left: .65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 26px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), .0);
}

.pricing-table th:nth-child(1),
.pricing-table td:nth-child(1) {
  width: 120px;
}

.pricing-table th:nth-child(3),
.pricing-table td:nth-child(3) {
  width: 190px;
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table tbody tr:hover td {
  background: rgba(var(--primary-rgb), .03);
}

.pricing-table tbody tr:hover td:first-child::before {
  background: rgba(var(--primary-rgb), .55);
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 .55rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.10);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .06em;
  border: 1px solid rgba(var(--primary-rgb), .20);
}

.info-card {
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.info-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 130, 132, 0.16);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: .9rem;
  position: relative;
}

.info-card__icon::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0), rgba(var(--primary-rgb), .55), rgba(var(--primary-rgb), 0));
  opacity: .75;
}

.info-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.info-card__text {
  color: var(--muted);
  margin-bottom: 0;
}

.pricing-notes {
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.pricing-notes__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pricing-notes__badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 130, 132, 0.16);
  color: var(--accent);
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.pricing-notes__title {
  font-size: 1.25rem;
  font-weight: 900;
}

.pricing-notes__subtitle {
  color: var(--muted);
}

.pricing-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1rem;
}

/* Premium polish for the pricing page (scoped) */
.page-pricing .bg-light-soft {
  /* Primary tint (more present than the global soft bg, still elegant). */
  background:
    radial-gradient(980px 520px at 15% 10%, rgba(var(--primary-rgb), .10), rgba(255,255,255,0) 60%),
    radial-gradient(760px 420px at 85% 30%, rgba(var(--primary-rgb), .06), rgba(255,255,255,0) 64%),
    linear-gradient(180deg, rgba(var(--primary-rgb), .05), rgba(var(--primary-rgb), .02));
}

.page-pricing .hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.32));
}

/* Booking bar premium (global) */
.booking-section .booking-bar {
  position: relative;
  border-color: var(--border);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.06);
}

.booking-section .booking-bar::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), .15), rgba(var(--primary-rgb), .55), rgba(var(--primary-rgb), .15));
}

.booking-section .form-control {
  border-color: var(--border);
}

.booking-section .form-label {
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 700;
}

.required-mark {
  color: #b42318;
  font-weight: 700;
}

.page-pricing .pricing-table td:last-child,
.page-pricing .pricing-table th:last-child {
  font-variant-numeric: tabular-nums;
}

.page-camere #roomsContent {
  padding-bottom: 2.25rem;
}

.page-camere #booking-bar {
  background:
    radial-gradient(980px 520px at 15% 10%, rgba(var(--primary-rgb), .10), rgba(255,255,255,0) 60%),
    radial-gradient(760px 420px at 85% 30%, rgba(var(--primary-rgb), .06), rgba(255,255,255,0) 64%),
    linear-gradient(180deg, rgba(var(--primary-rgb), .05), rgba(var(--primary-rgb), .02));
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.page-camere #gallery {
  padding-top: 2.25rem !important;
}

.pricing-list__title {
  font-weight: 900;
  color: var(--ink);
}

.pricing-list__items {
  padding-left: 1.1rem;
  color: var(--muted);
}

.pricing-list__items li {
  margin: .35rem 0;
}

.feature-card,
.booking-bar,
.room-box,
.quote-box,
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 25px rgba(16,24,40,.05);
}

.feature-card {
  padding: 1.4rem 1.25rem 1.2rem;
  height: 100%;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .11);
}

/* Home: services row (horizontal, with nav buttons) */
.features-row {
  position: relative;
  margin-top: 1.25rem;
}

.features-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 54px; /* room for nav buttons */
  scroll-snap-type: x mandatory;
  scroll-padding-left: 54px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
  overscroll-behavior-x: contain;
}

.features-track::-webkit-scrollbar { display: none; }

.feature-card--compact {
  scroll-snap-align: start;
  padding: 1.25rem 1.15rem 1.05rem;
  min-height: 190px;
}

.features-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 26px rgba(16, 24, 40, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: auto;
}

.features-prev { left: -22px; }
.features-next { right: -22px; }

.features-nav:hover,
.features-nav:focus-visible {
  border-color: var(--border-strong);
  transform: translateY(-50%) scale(1.03);
}

@media (max-width: 991.98px) {
  .features-track {
    grid-auto-columns: minmax(78%, 1fr);
    padding: 4px 46px;
    scroll-padding-left: 46px;
  }
  .features-nav {
    width: 40px;
    height: 40px;
  }
  .features-prev { left: -12px; }
  .features-next { right: -12px; }
}

.feature-dot {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(129,130,132,.14), rgba(129,130,132,.06));
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  font-size: 1.35rem;
  border: 1px solid rgba(129,130,132,.25);
}

.feature-title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}

.feature-text {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.booking-bar,
.quote-box,
.room-box {
  padding: 1.25rem;
}

.booking-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.booking-grid .d-grid {
  align-self: stretch;
}

@media (min-width: 992px) {
  .booking-bar,
  .quote-box,
  .room-box {
    padding: 2rem;
  }
}

.form-control:focus,
.form-check-input:focus,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(129,130,132,.2);
  outline: none;
}

input[type="date"] {
  color: var(--ink);
  color-scheme: light;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
}

.btn-accent {
  background: var(--cta);
  border: 1px solid var(--cta);
  color: #fff;
}

.btn-accent:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: #fff;
}

.hero-content .btn-accent {
  border: 1px solid var(--accent);
}

#booking-bar {
  scroll-margin-top: 110px;
}

.highlights {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.highlights li {
  margin-bottom: .5rem;
  color: var(--muted);
}

.highlights li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: .6rem;
  background: var(--accent);
}

.room-image {
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.accordion-button:not(.collapsed) {
  color: var(--ink);
  background-color: rgba(129,130,132,.08);
}

.accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(129,130,132,.2);
}

.faq-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.faq-panel::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), .12), rgba(var(--primary-rgb), .5), rgba(var(--primary-rgb), .12));
}

.faq-panel .accordion-item {
  position: relative;
  border: 1px solid rgba(var(--primary-rgb), .22);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  box-shadow: none;
  margin-bottom: 10px;
}

.faq-panel .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-panel .accordion-button {
  font-weight: 600;
  border-radius: 14px;
}

.faq-panel .accordion-body {
  border-top: 1px solid rgba(var(--primary-rgb), .18);
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer .list-unstyled a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.site-footer .list-unstyled a:hover,
.site-footer .list-unstyled a:focus-visible {
  text-decoration-color: var(--cta);
}

.footer-contact {
  font-size: .9rem;
  color: var(--muted);
}

.footer-contact a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.website-by {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: .85rem;
  margin-top: .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer-by {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}

.website-by-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  opacity: .95;
}

.footer-brand-logo {
  height: 2.2em;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.back-to-top {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(16px);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(129, 130, 132, .45);
  background: rgba(47, 50, 54, .94);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
  opacity: 0;
  pointer-events: none;
  z-index: 1040;
}

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

.whatsapp-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1045;
}

.whatsapp-fab {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(22, 163, 74, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .74rem;
  font-weight: 700;
}

.whatsapp-fab .bi-whatsapp {
  font-size: 2rem;
  line-height: 1;
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(320px, 88vw);
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #efe9e3;
  box-shadow: 0 16px 30px rgba(15, 23, 42, .24);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.whatsapp-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-head {
  background: #2f8a7b;
  color: #fff;
  padding: .75rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.whatsapp-head p {
  font-size: .95rem;
}

.whatsapp-close {
  border: 0;
  background: transparent;
  color: #fff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1rem;
}

.whatsapp-body {
  padding: .9rem;
}

.whatsapp-msg-card {
  background: #fff;
  border-radius: 12px;
  padding: .9rem .95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .05);
  font-size: .95rem;
}

.whatsapp-msg-card__hello,
.whatsapp-msg-card__text,
.whatsapp-msg-card__brand {
  margin: 0;
}

.whatsapp-msg-card__hello {
  color: #4b4b4b;
  font-weight: 500;
  margin-bottom: .55rem;
}

.whatsapp-msg-card__text {
  color: #4b4b4b;
  line-height: 1.45;
  margin-bottom: .65rem;
}

.whatsapp-msg-card__brand {
  color: #3f3f3f;
}

.whatsapp-compose {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .9rem;
}

.whatsapp-input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  padding: 0 .95rem;
  min-height: 40px;
  font-size: .95rem;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.whatsapp-input::placeholder {
  color: #8a8a8a;
}

.whatsapp-input:focus {
  outline: none;
  box-shadow: 0 0 0 .18rem rgba(47, 138, 123, .14), 0 2px 8px rgba(0, 0, 0, .06);
}

.whatsapp-send {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #2f8a7b;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(47, 138, 123, .28);
  flex: 0 0 40px;
}

.whatsapp-send:hover,
.whatsapp-send:focus-visible {
  color: #fff;
  background: #2a7b6d;
}

.whatsapp-send .bi-send-fill {
  font-size: 1rem;
  transform: translateX(1px);
}

/* Territory page */
.territory-actions {
  padding: 0;
}

.territory-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.territory-place-card {
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
}

.territory-place-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.territory-place-card__body {
  padding: 1rem 1rem 1.2rem;
}

.territory-place-card__title {
  font-size: 1.1rem;
  margin: 0 0 .4rem;
  color: var(--ink);
}

.territory-place-card__text {
  margin: 0;
  color: var(--muted);
}

.contact-map-box {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.contact-map-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.page-contatti .info-card__text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-contatti #preventivo {
  padding-top: 2.25rem !important;
}

.page-landing #contenuto {
  padding-bottom: 2.5rem;
}

.page-landing .landing-faq-section {
  padding-top: .5rem !important;
  padding-bottom: 2.5rem;
}

.page-landing #booking-bar {
  background:
    radial-gradient(980px 520px at 15% 10%, rgba(var(--primary-rgb), .10), rgba(255,255,255,0) 60%),
    radial-gradient(760px 420px at 85% 30%, rgba(var(--primary-rgb), .06), rgba(255,255,255,0) 64%),
    linear-gradient(180deg, rgba(var(--primary-rgb), .05), rgba(var(--primary-rgb), .02));
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
}

.page-landing #preventivo {
  padding-top: 2.25rem !important;
}

.page-territory #booking-bar {
  background:
    radial-gradient(980px 520px at 15% 10%, rgba(var(--primary-rgb), .10), rgba(255,255,255,0) 60%),
    radial-gradient(760px 420px at 85% 30%, rgba(var(--primary-rgb), .06), rgba(255,255,255,0) 64%),
    linear-gradient(180deg, rgba(var(--primary-rgb), .05), rgba(var(--primary-rgb), .02));
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
}

.page-territory #preventivo {
  padding-top: 2.25rem !important;
}

/* Keep Google reCAPTCHA badge stable and unobtrusive */
.grecaptcha-badge {
  position: fixed !important;
  left: 10px !important;
  right: auto !important;
  bottom: 10px !important;
  top: auto !important;
  width: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
  transform: scale(.70);
  transform-origin: left bottom;
  z-index: 1035 !important;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 4rem 0;
  }

  .site-footer .h5 {
    font-size: 1rem;
  }

  .footer-brand-logo {
    height: 3.5em;
    max-width: 100%;
  }

  .site-footer .footer-title {
    font-size: .68rem;
    letter-spacing: .14em;
  }

  .site-footer .list-unstyled a {
    font-size: .86rem;
  }

  .footer-contact {
    font-size: .8rem;
    line-height: 1.5;
  }

  .website-by {
    font-size: .74rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .back-to-top {
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .whatsapp-widget {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-fab {
    width: 54px;
    height: 54px;
    font-size: 1.7rem;
  }

  .territory-cards {
    grid-template-columns: 1fr;
  }

  .contact-map-frame iframe {
    height: 340px;
  }

  .grecaptcha-badge {
    position: fixed !important;
    width: auto !important;
    transform: scale(.65);
    left: 8px !important;
    bottom: 8px !important;
    top: auto !important;
  }
}


