:root {
  --go4-primary: #252c30;
  --go4-primary-dark: #161b1e;
  --go4-accent: #ffee00;
  --go4-ink: #252c30;
  --go4-soft: #f5f8f2;
}

html { scroll-behavior: smooth; }
body { color: #525f66; }
a { color: var(--go4-primary); }
a:hover { color: #000; }

.text-primary { color: var(--go4-primary) !important; }
.bg-primary, .btn-primary { background-color: var(--go4-primary) !important; border-color: var(--go4-primary) !important; }
.btn-primary:hover, .btn-primary:focus { color: var(--go4-primary) !important; background-color: var(--go4-accent) !important; border-color: var(--go4-accent) !important; }
.border-primary { border-color: var(--go4-primary) !important; }


.navbar .nav-link { font-weight: 600; }

.carousel-caption { background: rgba(0, 0, 0, .2); }
.carousel-caption h1 { text-shadow: 0 2px 18px rgba(255,255,255,.72); }
.box-ico-home { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.ico-home { width: 64px; height: 64px; object-fit: contain; }

.service-grid { width: 100%; }
.service-card { display: block; height: 100%; overflow: hidden; color: inherit; background: #fff; border-radius: 18px; box-shadow: 0 12px 34px rgba(37,44,48,.12); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { color: inherit; transform: translateY(-5px); box-shadow: 0 18px 42px rgba(37,44,48,.18); }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-card span { display: block; padding: 1.25rem; }
.service-card strong { display: block; margin-bottom: .45rem; color: var(--go4-primary); font: 700 1.08rem "Roboto Condensed", sans-serif; }

.booking-panel { border-top: 5px solid var(--go4-primary); box-shadow: 0 18px 50px rgba(37,44,48,.14); }
.booking-summary, .invoice-box { background: var(--go4-soft); }
.privacy-summary {
  padding: 1rem 1.1rem;
  border: 1px solid #dfe6e1;
  border-left: 4px solid var(--go4-primary);
  border-radius: 8px;
  background: var(--go4-soft);
}
.privacy-summary h3 { margin: 0 0 .4rem; color: var(--go4-ink); font-size: 1rem; }
.privacy-summary p { margin-bottom: .45rem; }
.privacy-summary a, .privacy-document a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-document { max-width: 920px; }
.privacy-document h2 { margin-top: 2rem; color: var(--go4-ink); font-size: 1.35rem; }
.privacy-document li + li { margin-top: .45rem; }
.privacy-document address { font-style: normal; }
.privacy-document .privacy-note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--go4-primary);
  background: var(--go4-soft);
}
.tariff-text { background: #fff; border-radius: 18px; box-shadow: 0 12px 34px rgba(37,44,48,.1); padding: 1.5rem; }
.tariff-text p { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #e7ece9; }
.tariff-text p:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }

.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.footer-brand img { width: 72px; height: 72px; padding: .35rem; object-fit: contain; background: #fff; border-radius: 14px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; font: 700 1.6rem "Roboto Condensed", sans-serif; }
.footer-brand span { color: #cdd8d1; }
.footer a { color: #d7dfda; }

@media (max-width: 991.98px) {
  .carousel-caption h1 { font-size: clamp(2rem, 9vw, 3.6rem); }
}

@media (max-width: 575.98px) {
  .carousel-item img { min-height: 520px; object-fit: cover; }
  .ico-home { width: 50px; height: 50px; }
  .tariff-text, .booking-panel { padding: 1.1rem; }
  .privacy-summary { padding: .9rem; }
}
/* Identita visiva del sito pubblico areasostanovara.com */
.area-site-header {
  padding-right: 0;
  padding-left: 0;
  background: rgba(0, 0, 0, .8);
}
.area-site-header .navbar-brand img {
  display: block;
  width: 170px;
  height: 112px;
  object-fit: contain;
  object-position: left top;
}
.area-site-header .navbar-toggler { border-color: rgba(255, 255, 255, .55); }
.area-site-header .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(255, 238, 0, .28); }
.area-site-header .nav-link { font-weight: 600; }

@media (max-width: 991.98px) {
  .area-site-header .navbar-brand img { width: 126px; height: 83px; }
  .area-site-header .navbar-collapse { padding-bottom: .75rem; }
}
