/* Stili base Gabriele Bedini – variabili e fallback per template */
:root {
  --primary: #1d4ed8;
  --secondary: #1e3a5f;
  --secondary-rgb: 30, 58, 95;
  --gb-primary: #1d4ed8;
  --gb-text: #212529;
  --color-primary: #1d4ed8;
}
body { font-family: 'Poppins', sans-serif; color: var(--gb-text); margin: 0; }
img { max-width: 100%; height: auto; }

/* Utility usate dal template */
.text-primary { color: var(--primary) !important; }
.hover\:text-primary:hover { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: #f5f5f5 !important; }
.bg-white { background-color: #fff !important; }
.border-secondary { border-color: rgba(var(--secondary-rgb), 0.1); }
.border-secondary\/10 { border-color: rgba(var(--secondary-rgb), 0.1); }
.text-secondary { color: var(--secondary) !important; }

/* Layout base */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.container-fluid { width: 100%; padding: 0 15px; box-sizing: border-box; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row > * { box-sizing: border-box; padding: 0 15px; }

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 500; text-decoration: none; border-radius: 0.5rem; border: none; cursor: pointer; transition: opacity 0.2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-white { background: #fff; color: var(--secondary); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Header/nav base */
.site-header .navbar-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.site-header .navbar-nav a { text-decoration: none; color: var(--secondary); }
.site-header .navbar-nav a:hover { color: var(--primary); }
@media (max-width: 991px) {
  .header-nav { position: fixed; left: -100%; top: 0; width: 280px; height: 100%; background: #fff; z-index: 9999; transition: left 0.3s; overflow-y: auto; }
  .header-nav .navbar-nav { flex-direction: column; }
}
.footer-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.list-hover1 { list-style: none; padding: 0; margin: 0; }
.list-hover1 a { text-decoration: none; color: inherit; }
.wow { visibility: visible; }

/* Hero e layout template (servizi, visite, altre pagine) */
.hero-keto { position: relative; min-height: 320px; padding-top: 6rem; padding-bottom: 4rem; }
/* Con offset globale su .site-main non duplicare il padding alto */
.site-main > .hero-keto:first-child {
  padding-top: clamp(2rem, 5vw, 3.25rem);
  padding-bottom: 3rem;
}
.hero-keto .container { position: relative; z-index: 1; }
.h-full { height: 100%; }
.relative { position: relative; }
.z-1 { z-index: 1; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row > * { padding: 0 15px; box-sizing: border-box; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.hero-top-pad { padding-top: 2rem; }
.text-white { color: #fff !important; }
.text-primary-second { color: var(--primary) !important; }
.font-arizonia { font-family: Georgia, serif; }
.btn-cta-primary { box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-cta-secondary { background: rgba(255,255,255,0.92) !important; color: var(--secondary) !important; }
.hover-secondary:hover { background: var(--secondary) !important; color: #fff !important; }
.rounded-xxl { border-radius: 20px; }
.rounded-2xl { border-radius: 16px; }
.rounded-2lg { border-radius: 12px; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.max-w-180 { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.box-hover { transition: box-shadow 0.2s, transform 0.2s; }
.box-hover:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.border-2 { border-width: 2px; }
.border-primary { border-color: var(--primary); }
.border-light { border-color: #f0f0f0; }
.duration-700 { transition-duration: 0.7s; }
.gx-0 { --bs-gutter-x: 0; }
.content-wrapper { overflow: hidden; }
.style-35 { }
.w-full { width: 100% !important; }
.object-cover { object-fit: cover !important; }
.translate-1\/2 { transform: translate(-50%, -50%); }
.absolute { position: absolute; }
.inline-flex { display: inline-flex; }
.justify-center { justify-content: center; }
.min-h-24 { min-height: 6rem; }
@media (min-width: 768px) { .hero-top-pad { padding-top: 5rem; } }
@media (min-width: 1024px) { .hero-top-pad { padding-top: 7rem; } }
