:root {
  --site-primary: #007cb5;
  --site-primary-light: #00a4da;
  --site-primary-dark: #00467a;
  --site-secondary: #5475b5;
  --site-accent: #ff5900;
  --bs-body-bg: #def1f9;
  --bs-body-color: #171a1b;
  --bs-body-font-family: 'Karla', sans-serif;
  --bs-link-color: #007cb5;
  --bs-link-hover-color: #00467a;
}

body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Vollkorn', serif;
}

a { color: var(--site-primary); }
a:hover { color: var(--site-primary-dark); }

/* Buttons - shape only on bare .btn */
.btn {
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border-width: 1px;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--site-primary-dark);
  border-color: var(--site-primary-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 124, 181, 0.25);
}

.btn-outline-primary {
  color: var(--site-primary);
  border-color: var(--site-primary);
  background-color: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}

.bg-primary { background-color: var(--site-primary) !important; }
.text-primary { color: var(--site-primary) !important; }
.border-primary { border-color: var(--site-primary) !important; }

/* Sharp no-radius everywhere */
.card, .form-control, .form-select, img, .btn, input, textarea, select {
  border-radius: 0 !important;
}

/* Cards with colored-tint shadows */
.card {
  border: 1px solid rgba(0, 70, 122, 0.08);
  box-shadow: 0 8px 24px rgba(0, 124, 181, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 124, 181, 0.18);
}

.form-control, .form-select {
  border: 1px solid rgba(0, 70, 122, 0.25);
}
.form-control:focus, .form-select:focus {
  border-color: var(--site-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 124, 181, 0.15);
}

/* Section rhythm: alternating tinted bgs */
.section-bg-tint { background-color: #def1f9; }
.section-bg-surface { background-color: #ffffff; }

section { padding: 4.5rem 0; }

/* Borderless flat nav */
.navbar {
  background-color: #ffffff;
  box-shadow: none;
  border-bottom: none;
}
.navbar .nav-link {
  color: var(--bs-body-color);
  font-weight: 600;
  transition: color 0.15s ease;
}
.navbar .nav-link:hover {
  color: var(--site-primary);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand span {
  font-family: 'Vollkorn', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bs-body-color);
}
.logo-mark {
  height: 42px;
  width: 42px;
  object-fit: contain;
}

/* Hero fullbleed */
.hero-fullbleed {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-home {
  background-image: url('images/hero-pulizia-fine-locazione.jpg');
}
.hero-fullbleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 25, 40, 0.32);
}
.hero-fullbleed .hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-bottom: 3.5rem;
}
.hero-fullbleed .hero-content p {
  color: #f1f8fc;
}

/* Asymmetric grid helpers */
.asym-grid-left {
  flex: 0 0 60%;
  max-width: 60%;
}
.asym-grid-right {
  flex: 0 0 40%;
  max-width: 40%;
}
@media (max-width: 767.98px) {
  .asym-grid-left, .asym-grid-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 124, 181, 0.15);
}

/* Niche / industry tiles */
.niche-tile {
  background-color: #ffffff;
  border: 1px solid rgba(0, 70, 122, 0.08);
  box-shadow: 0 8px 24px rgba(0, 124, 181, 0.12);
  padding: 1.75rem 1.25rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.niche-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 124, 181, 0.2);
}

/* Footer stacked centered */
.site-footer {
  text-align: center;
  padding: 3rem 0 2rem;
  background-color: #ffffff;
}
.site-footer .footer-name {
  font-family: 'Vollkorn', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.site-footer p {
  margin-bottom: 0.4rem;
  color: var(--bs-body-color);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 70, 122, 0.15);
  box-shadow: 0 -8px 24px rgba(0, 124, 181, 0.12);
  padding: 1.25rem 1rem;
  z-index: 1050;
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-banner .cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Form confirmation message */
.form-success {
  display: none;
  background-color: #def1f9;
  border: 1px solid rgba(0, 124, 181, 0.3);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.form-success.show {
  display: block;
}

/* micro interactions on links */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}
.link-arrow:hover {
  gap: 0.7rem;
}

.price-table th, .price-table td {
  vertical-align: middle;
}
