:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #904218;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff
}

*,
::after,
::before {
  box-sizing: border-box
}

@media (prefers-reduced-motion:no-preference) {
  :root {
    scroll-behavior: smooth
  }
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2
}

h1 {
  font-size: calc(1.375rem + 1.5vw)
}

@media (min-width:1200px) {
  h1 {
    font-size: 2.5rem
  }
}

h2 {
  font-size: calc(1.325rem + .9vw)
}

@media (min-width:1200px) {
  h2 {
    font-size: 2rem
  }
}

h3 {
  font-size: calc(1.3rem + .6vw)
}

@media (min-width:1200px) {
  h3 {
    font-size: 1.75rem
  }
}

h4 {
  font-size: calc(1.275rem + .3vw)
}

@media (min-width:1200px) {
  h4 {
    font-size: 1.5rem
  }
}

h5 {
  font-size: 1.25rem
}

h6 {
  font-size: 1rem
}

p {
  margin-top: 0;
  margin-bottom: 1rem
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit
}

ol,
ul {
  padding-left: 2rem
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0
}

b,
strong {
  font-weight: bolder
}

small {
  font-size: .875em
}

a {
  color: #0d6efd;
  text-decoration: underline
}

a:hover {
  color: #0a58ca
}

img,
svg {
  vertical-align: middle
}

label {
  display: inline-block
}

button {
  border-radius: 0
}

button:focus:not(:focus-visible) {
  outline: 0
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit
}

button,
select {
  text-transform: none
}

[role=button] {
  cursor: pointer
}

select {
  word-wrap: normal
}

[list]::-webkit-calendar-picker-indicator {
  display: none
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer
}

::-moz-focus-inner {
  padding: 0;
  border-style: none
}

textarea {
  resize: vertical
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  width: 100%;
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
  margin-right: auto;
  margin-left: auto
}

@media (min-width:576px) {

  .container,
  .container-sm {
    max-width: 540px
  }
}

@media (min-width:768px) {

  .container,
  .container-md,
  .container-sm {
    max-width: 720px
  }
}

@media (min-width:992px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 960px
  }
}

@media (min-width:1200px) {

  .container,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 1140px
  }
}

@media (min-width:1400px) {

  .container,
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 1320px
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -.5);
  margin-left: calc(var(--bs-gutter-x) * -.5)
}

.row>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y)
}

.col {
  flex: 1 0 0%
}

.col-12 {
  flex: 0 0 auto;
  width: 100%
}

.col-6 {
  flex: 0 0 auto;
  width: 50%
}

@media (min-width:768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%
  }
}

@media (min-width:992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%
  }
}

.g-3,
.gy-3 {
  --bs-gutter-y: 1rem
}

.g-3,
.gx-3 {
  --bs-gutter-x: 1rem
}

.g-4,
.gy-4 {
  --bs-gutter-y: 1.5rem
}

.g-4,
.gx-4 {
  --bs-gutter-x: 1.5rem
}

.g-5,
.gy-5 {
  --bs-gutter-y: 3rem
}

.g-5,
.gx-5 {
  --bs-gutter-x: 3rem
}

.form-label {
  margin-bottom: .5rem
}

.form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn-primary {
  color: #fff;
  background-color: #904218;
  border-color: #904218
}

.btn-primary:hover {
  color: #fff;
  background-color: #743513;
  border-color: #743513
}

.btn-outline-primary {
  color: #904218;
  border-color: #904218
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #904218;
  border-color: #904218
}

.btn-lg {
  padding: .5rem 1rem;
  font-size: 1.25rem;
  border-radius: .3rem
}

.collapse:not(.show) {
  display: none
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none
}

.nav-link {
  display: block;
  padding: .5rem 1rem;
  color: #0d6efd;
  text-decoration: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: .5rem;
  padding-bottom: .5rem
}

.navbar-brand {
  padding-top: .3125rem;
  padding-bottom: .3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center
}

.navbar-toggler {
  padding: .25rem .75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .25rem;
  transition: box-shadow .15s ease-in-out
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%
}

.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, .9)
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, .55)
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: rgba(0, 0, 0, .7)
}

.navbar-light .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, .9)
}

.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, .55);
  border-color: rgba(0, 0, 0, .1)
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

@media (min-width:992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto
  }

  .navbar-expand-lg .navbar-toggler {
    display: none
  }
}

.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0;
  margin-bottom: 1rem;
  list-style: none
}

.breadcrumb-item+.breadcrumb-item {
  padding-left: .5rem
}

.breadcrumb-item+.breadcrumb-item::before {
  float: left;
  padding-right: .5rem;
  color: #6c757d;
  content: var(--bs-breadcrumb-divider, "/")
}

.breadcrumb-item.active {
  color: #6c757d
}

.d-flex {
  display: flex !important
}

.d-none {
  display: none !important
}

.position-relative {
  position: relative !important
}

.position-absolute {
  position: absolute !important
}

.top-0 {
  top: 0 !important
}

.start-0 {
  left: 0 !important
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important
}

.w-100 {
  width: 100% !important
}

.h-100 {
  height: 100% !important
}

.flex-column {
  flex-direction: column !important
}

.justify-content-center {
  justify-content: center !important
}

.justify-content-between {
  justify-content: space-between !important
}

.align-items-center {
  align-items: center !important
}

.align-items-start {
  align-items: flex-start !important
}

.m-0 {
  margin: 0 !important
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important
}

.mt-3 {
  margin-top: 1rem !important
}

.mt-4 {
  margin-top: 1.5rem !important
}

.mt-5 {
  margin-top: 3rem !important
}

.mb-0 {
  margin-bottom: 0 !important
}

.mb-1 {
  margin-bottom: .25rem !important
}

.mb-2 {
  margin-bottom: .5rem !important
}

.mb-3 {
  margin-bottom: 1rem !important
}

.mb-4 {
  margin-bottom: 1.5rem !important
}

.ms-auto {
  margin-left: auto !important
}

.me-1 {
  margin-right: .25rem !important
}

.me-2 {
  margin-right: .5rem !important
}

.me-3 {
  margin-right: 1rem !important
}

.p-0 {
  padding: 0 !important
}

.p-4 {
  padding: 1.5rem !important
}

.p-5 {
  padding: 3rem !important
}

.px-5 {
  padding-right: 3rem !important;
  padding-left: 3rem !important
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important
}

.text-center {
  text-align: center !important
}

.text-start {
  text-align: left !important
}

.text-end {
  text-align: right !important
}

.text-primary {
  color: #904218 !important
}

.text-white {
  color: #fff !important
}

.text-white-50 {
  color: rgba(255, 255, 255, .5) !important
}

.bg-primary {
  background-color: #904218 !important
}

.bg-light {
  background-color: #f8f9fa !important
}

.bg-white {
  background-color: #fff !important
}

.rounded {
  border-radius: .25rem !important
}

.img-fluid {
  max-width: 100%;
  height: auto
}

/* mylab76 CUSTOM CSS */
:root {
  --gp-primary: #904218;
  --gp-dark: #0E2E50;
  --gp-light: #F8F9FA;
  --gp-font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

body {
  background: #fff;
  font-family: var(--gp-font-main);
  color: #333;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.text-primary {
  color: var(--gp-primary) !important;
}

/* NAVBAR */
.gp-nav {
  background: #fff;
}

.gp-nav-inner {
  padding: .75rem 1.5rem;
}

.gp-logo-wrap {
  padding: .25rem;
  border-radius: 50%;
  background: #fff;
}

.gp-brand-text {
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-nav .nav-link {
  font-size: .95rem;
  text-transform: none;
  padding: .5rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--gp-primary);
}

/* SEZIONI GENERALI */
.gp-section {
  padding: 4rem 0;
}

.gp-section-light {
  padding: 4rem 0;
  background: var(--gp-light);
}

.gp-section-head {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

/* HERO */
.gp-hero {
  padding: 4rem 0 3rem 0;
}

.gp-hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gp-hero-lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.gp-hero-list {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.gp-hero-list li {
  margin-bottom: .35rem;
}

.gp-hero-cta .gp-btn-main {
  margin-right: .5rem;
  margin-bottom: .5rem;
}

.gp-hero-img {
  max-width: 100%;
  height: auto;
}

/* CARD SERVIZI */
.gp-card {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: .5rem;
  padding: 1.25rem;
  height: 100%;
  background: #fff;
}

.gp-card-title {
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.gp-card-text {
  font-size: .95rem;
  margin-bottom: .5rem;
}

.gp-card-list {
  padding-left: 1.1rem;
  font-size: .9rem;
  margin-bottom: 0;
}

.gp-card-list li {
  margin-bottom: .25rem;
}

/* PROGETTI */
.gp-project {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: .5rem;
  overflow: hidden;
  background: #fff;
  height: 100%;
}

.gp-project img {
  aspect-ratio: 600 / 400;
  display: block;
  width: 100%;
  height: auto;
}

.gp-project-body {
  padding: .9rem .9rem 1rem .9rem;
}

.gp-project-title {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.gp-project-text {
  font-size: .9rem;
  margin-bottom: .4rem;
}

/* LISTE METODO */
.gp-list-ol {
  padding-left: 1.2rem;
}

.gp-list-ol li {
  margin-bottom: .35rem;
}

.gp-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
}

/* FORM CONTATTI */
.gp-form-wrap {
  background: #f5f7f9;
  border-radius: .5rem;
  padding: 1.25rem;
}

/* FOOTER */
.gp-footer {
  background: #111827;
  color: #9CA3AF;
}

.gp-footer .text-white {
  color: #fff !important;
}

.gp-footer-links a {
  margin-left: .75rem;
  font-size: .9rem;
}

.gp-footer-links a:first-child {
  margin-left: 0;
}

/* RESPONSIVE */
@media (max-width:991.98px) {
  .gp-nav-inner {
    padding: .5rem 1rem;
  }

  .gp-hero {
    padding: 3rem 0 2.5rem 0;
  }

  .gp-hero-title {
    font-size: 1.9rem;
  }
}

@media (max-width:575.98px) {
  .gp-hero-title {
    font-size: 1.7rem;
  }
}

/* Riserva spazio per img hero (600x450 = aspect-ratio 4/3) */
.gp-hero-img {
  aspect-ratio: 600 / 450;
  width: 100%;
  height: auto;
  display: block;
}

/* Logo navbar */
.navbar-brand img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* ACCORDION FAQ CUSTOM */
.accordion-item {
  border: none !important;
  background: transparent;
  margin-bottom: 0.5rem;
}

.accordion-button {
  display: flex !important;
  align-items: center !important;
  border: none !important;
  box-shadow: none !important;
  background: #fff;
  border-radius: 0.5rem !important;
  padding: 1.25rem;
  font-weight: 600;
  color: #333;
}

.accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--gp-primary);
}

.accordion-button::after {
  background-size: 1rem;
}

.gp-faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--gp-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) .gp-faq-icon {
  background: var(--gp-primary);
  color: #fff !important;
}

.accordion-button:not(.collapsed) .gp-faq-icon svg {
  color: #fff !important;
}

.accordion-button svg {
  width: 16px;
  height: 16px;
  border: none !important;
  /* Rimuove eventuali bordi neri globali su SVG */
}

/* =========================================================================
   DROPDOWN MENU CUSTOM STYLING (Per compatibilità PurgeCSS)
   ========================================================================= */

/* Posizionamento del contenitore dropdown */
.navbar-nav .dropdown {
  position: relative;
}

/* Stile per la lista a discesa (dropdown-menu) */
.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  list-style: none; /* Rimuove i pallini */
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .175);
}

/* Mostra il dropdown menu quando ha la classe .show (attivata via JS) o su hover desktop */
.navbar-nav .dropdown-menu.show {
  display: block;
}

@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Stile per le voci del dropdown (dropdown-item) */
.navbar-nav .dropdown-item {
  display: block;
  width: 100%;
  padding: .35rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  font-size: .9rem;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--gp-primary);
  background-color: #f8f9fa;
  text-decoration: none;
}

/* Stato attivo per la pagina corrente */
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: var(--gp-primary);
}

/* Divisore grafico */
.navbar-nav .dropdown-divider {
  height: 0;
  margin: .5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, .15);
}

/* Freccia indicatore per il dropdown toggle */
.navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}

/* Adattamento responsive per Mobile */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    background-color: transparent;
    border: none;
    padding-left: 1.5rem;
    margin: 0;
  }
  
  .navbar-nav .dropdown-item {
    color: rgba(0, 0, 0, .55);
    padding: .35rem 1rem;
  }
  
  .navbar-nav .dropdown-item:hover,
  .navbar-nav .dropdown-item:focus {
    color: var(--gp-primary);
    background-color: transparent;
  }

  .navbar-nav .dropdown-item.active {
    color: var(--gp-primary);
    background-color: transparent;
    font-weight: 600;
  }
}
