.astroid-header-section  {
    -webkit-box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.43);
    box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.45);
}


.btn-primary, .btn-prosandcons, .btn-backtohome {
    --bs-btn-color: #fff !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-active-color: #fff !important;

}

.py-5 {
    padding-top: 0.8rem !important;
    padding-bottom: 1.0rem !important;
}

/* Forza l'intera struttura del modal in primo piano */
.rl_modals_wrapper, .rl_modals_box {
    z-index: 999999 !important;
}

[data-modals-element=modal] {
  z-index: 999999 !important;
}
[data-modals-element=modal] [data-modals-element=close] {
  z-index: 999999 !important;
}

[data-modals-element=modal][data-modals-theme=dark] [data-modals-element=close] {
  z-index: 999999 !important;
}

/* Forza lo sfondo scuro (overlay) subito sotto il modal */
.rl_modals_overlay {
    z-index: 999998 !important;
}

/* ========================================
   HOME - INTRO
   ======================================== */

.corallo-intro {
    background: #fff;
}

.corallo-kicker {
    margin-bottom: 12px;
    font-size: 1.00rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.corallo-intro h2 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
}

.corallo-intro .lead {
    margin-bottom: 22px;
    font-size: 1.18rem;
    line-height: 1.7;
    font-weight: 400;
}

.corallo-intro p {
    line-height: 1.75;
}

.corallo-intro-image {
    overflow: hidden;
}

.corallo-intro-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   HOME - SERVIZI
   ======================================== */

.corallo-services {
    background: #f7f8f8;
}

.corallo-section-heading {
    max-width: 760px;
}

.corallo-section-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 600;
    line-height: 1.15;
}

.corallo-section-heading p {
    margin-bottom: 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #5f6368;
}

.corallo-service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.corallo-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .09);
}

/* Area icona */
.corallo-service-iconwrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 32px;
    /*background: #f4f7f7;*/
}

.corallo-service-icon {
    display: block;
    width: auto;
    height: auto;
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
}

.corallo-service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 28px 30px;
}

.corallo-service-body h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
}

.corallo-service-body p {
    margin-bottom: 0;
    line-height: 1.7;
    color: #5f6368;
}

.corallo-services-cta .btn {
    padding: 11px 26px;
    font-weight: 600;
    text-decoration: none;
}

/* ========================================
   HOME - AREA OPERATIVA
   ======================================== */

.corallo-area {
    background: #fff;
}

.corallo-area h2,
.corallo-method h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 600;
    line-height: 1.15;
}

.corallo-area .lead,
.corallo-method .lead {
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
}

.corallo-area p,
.corallo-method p {
    line-height: 1.75;
}

.corallo-area-image {
    overflow: hidden;
}

.corallo-area-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* ========================================
   HOME - METODO
   ======================================== */

.corallo-method {
    background: #f7f8f8;
}

.corallo-method-list {
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.corallo-method-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.corallo-method-number {
    padding-top: 3px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--bs-primary);
}

.corallo-method-item h3 {
    margin-bottom: 9px;
    font-size: 1.25rem;
    font-weight: 600;
}

.corallo-method-item p {
    margin-bottom: 0;
    color: #5f6368;
}


/* ========================================
   HOME - RESPONSIVE
   ======================================== */

@media (max-width: 767.98px) {
    .corallo-service-iconwrap {
        min-height: 150px;
        padding: 26px;
    }

    .corallo-service-icon {
        max-width: 96px;
        max-height: 96px;
    }

    .corallo-service-body {
        padding: 22px 22px 26px;
    }

    .corallo-method-item {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }
}

/* ========================================
   AZIENDA - INTRO
   ======================================== */

.corallo-company-intro {
    background: #fff;
}

.corallo-company-intro h1 {
    margin-bottom: 24px;
    /*font-size: clamp(2.3rem, 4vw, 3.4rem);*/
    font-weight: 600;
    line-height: 1.1;
}

.corallo-company-intro .lead {
    margin-bottom: 22px;
    font-size: 1.18rem;
    line-height: 1.7;
    font-weight: 400;
}

.corallo-company-intro p {
    line-height: 1.75;
}

.corallo-company-image {
    overflow: hidden;
}

.corallo-company-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* ========================================
   AZIENDA - VALORI
   ======================================== */

.corallo-company-values {
    background: #f7f8f8;
}

.corallo-company-values h2,
.corallo-company-environment h2,
.corallo-company-custom h2 {
    margin-bottom: 22px;
    /*font-size: clamp(2rem, 3vw, 2.7rem);*/
    font-weight: 600;
    line-height: 1.15;
}

.corallo-company-values .lead,
.corallo-company-environment .lead,
.corallo-company-custom .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
}

.corallo-company-values p,
.corallo-company-environment p,
.corallo-company-custom p {
    line-height: 1.75;
}

.corallo-company-list {
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.corallo-company-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.corallo-company-number {
    padding-top: 3px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--bs-primary);
}

.corallo-company-item h3 {
    margin-bottom: 9px;
    font-size: 1.25rem;
    font-weight: 600;
}

.corallo-company-item p {
    margin-bottom: 0;
    color: #5f6368;
}


/* ========================================
   AZIENDA - AMBIENTE
   ======================================== */

.corallo-company-environment {
    background: #fff;
}

.corallo-company-environment-box {
    padding: 38px 40px;
    background: #f7f8f8;
    border-left: 4px solid var(--bs-primary);
}

.corallo-company-environment-mark {
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.corallo-company-environment-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.corallo-company-environment-box p {
    margin-bottom: 28px;
    color: #5f6368;
}


/* ========================================
   AZIENDA - RAPPORTO CLIENTE
   ======================================== */

.corallo-company-custom {
    background: #f7f8f8;
}

.corallo-company-custom-inner {
    max-width: 820px;
}

.corallo-company-custom-inner p {
    color: #5f6368;
}

.corallo-company-custom-inner .lead {
    color: inherit;
}


/* ========================================
   AZIENDA - RESPONSIVE
   ======================================== */

@media (max-width: 767.98px) {

    .corallo-company-item {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .corallo-company-environment-box {
        padding: 28px 24px;
    }
}

/* ========================================
   PAGINA SERVIZI
   Nessun font-size sugli heading:
   H1/H2/H3 restano gestiti da Astroid
   ======================================== */

.corallo-servizi-intro {
    background: #fff;
}

.corallo-servizi-intro .lead {
    margin-top: 22px;
    margin-bottom: 18px;
    line-height: 1.7;
    font-weight: 400;
}

.corallo-servizi-intro p {
    line-height: 1.75;
}


/* Griglia servizi */

.corallo-servizi-grid {
    background: #f7f8f8;
}

.corallo-servizio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.corallo-servizio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .09);
}

.corallo-servizio-photo {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eceeef;
}

.corallo-servizio-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.corallo-servizio-card:hover .corallo-servizio-photo img {
    transform: scale(1.025);
}

.corallo-servizio-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px 32px 32px;
}

.corallo-servizio-number {
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: .10em;
    color: var(--bs-primary);
}

.corallo-servizio-content h2 {
    margin-bottom: 16px;
    font-weight: 600;
}

.corallo-servizio-content p {
    margin-bottom: 20px;
    line-height: 1.75;
    color: #5f6368;
}

.corallo-servizio-list {
    margin: auto 0 0;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.corallo-servizio-list li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 22px;
    line-height: 1.6;
}

.corallo-servizio-list li:last-child {
    margin-bottom: 0;
}

.corallo-servizio-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--bs-primary);
}


/* Chiusura */

.corallo-servizi-closing {
    background: #fff;
}

.corallo-servizi-closing-inner {
    max-width: 820px;
}

.corallo-servizi-closing .lead {
    margin-top: 20px;
    margin-bottom: 16px;
    line-height: 1.7;
    font-weight: 400;
}

.corallo-servizi-closing p {
    line-height: 1.75;
}


/* Responsive */

@media (max-width: 767.98px) {
    .corallo-servizio-content {
        padding: 24px;
    }
}


/* ========================================
   COLLABORA CON NOI - INTRO
   ======================================== */

.corallo-collabora-intro {
    background: #fff;
}

.corallo-collabora-intro .lead,
.corallo-collabora-intro p {
    line-height: 1.75;
}

.corallo-collabora-image {
    overflow: hidden;
}

.corallo-collabora-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* Evidenza importante */

.corallo-collabora-alert {
    margin: 26px 0;
    padding: 18px 22px;
    background: #f7f8f8;
    border-left: 4px solid var(--bs-primary);
    line-height: 1.65;
}

.corallo-collabora-alert strong {
    color: var(--bs-primary);
}


/* ========================================
   COLLABORA CON NOI - REQUISITI
   ======================================== */

.corallo-collabora-requisiti {
    background: #f7f8f8;
}

.corallo-collabora-requisiti .lead,
.corallo-collabora-requisiti p {
    line-height: 1.75;
}

.corallo-collabora-list {
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.corallo-collabora-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.corallo-collabora-number {
    padding-top: 3px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--bs-primary);
}

.corallo-collabora-item h3 {
    margin-bottom: 8px;
    font-weight: 600;
}

.corallo-collabora-item p {
    margin-bottom: 0;
    color: #5f6368;
}


/* ========================================
   COLLABORA CON NOI - COME FUNZIONA
   ======================================== */

.corallo-collabora-info {
    background: #fff;
}

.corallo-collabora-info .lead,
.corallo-collabora-info p {
    line-height: 1.75;
}


/* ========================================
   COLLABORA CON NOI - FORM
   ======================================== */

.corallo-collabora-form {
    background: #f7f8f8;
}

.corallo-collabora-form .lead,
.corallo-collabora-form p {
    line-height: 1.75;
}

.corallo-collabora-formbox {
    width: 100%;
    padding-top: 10px;
}


/* ========================================
   COLLABORA CON NOI - RESPONSIVE
   ======================================== */

@media (max-width: 767.98px) {

    .corallo-collabora-item {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .corallo-collabora-alert {
        padding: 16px 18px;
    }
}


/* ========================================
   CONTATTI
   ======================================== */

.corallo-contatti-intro {
    background: #fff;
}

.corallo-contatti-intro .lead,
.corallo-contatti-intro p,
.corallo-contatti-main p {
    line-height: 1.75;
}

.corallo-contatti-main {
    background: #f7f8f8;
}

.corallo-contact-list {
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.corallo-contact-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.corallo-contact-label {
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--bs-primary);
}

.corallo-contact-item p {
    margin-bottom: 0;
}

.corallo-contact-item a {
    color: inherit;
    text-decoration: none;
}

.corallo-contact-item a:hover {
    color: var(--bs-primary);
}

.corallo-formbox {
    width: 100%;
}

.corallo-contatti-company {
    background: #fff;
}

.corallo-contatti-company p {
    line-height: 1.75;
}

/* ========================================
   PREVENTIVI
   ======================================== */

.corallo-preventivi-intro {
    background: #fff;
}

.corallo-preventivi-intro .lead,
.corallo-preventivi-intro p,
.corallo-preventivi-process p,
.corallo-preventivi-form p,
.corallo-preventivi-closing p {
    line-height: 1.75;
}


/* Come funziona */

.corallo-preventivi-process {
    background: #f7f8f8;
}

.corallo-preventivo-step {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
}

.corallo-preventivo-number {
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: .10em;
    color: var(--bs-primary);
}

.corallo-preventivo-step h2 {
    margin-bottom: 14px;
    font-weight: 600;
}

.corallo-preventivo-step p {
    margin-bottom: 0;
    color: #5f6368;
}


/* Form */

.corallo-preventivi-form {
    background: #fff;
}

.corallo-preventivo-note {
    margin-top: 28px;
    padding: 20px 22px;
    background: #f7f8f8;
    border-left: 4px solid var(--bs-primary);
}

.corallo-preventivo-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--bs-primary);
}

.corallo-formbox {
    width: 100%;
}


/* Chiusura */

.corallo-preventivi-closing {
    background: #f7f8f8;
}

.corallo-preventivi-closing-inner {
    max-width: 880px;
}

.corallo-preventivi-closing .lead {
    margin-top: 20px;
    margin-bottom: 16px;
    font-weight: 400;
}

/* ========================================
   ASTROID - PAGINA 404
   ======================================== */

.corallo-404 {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.corallo-404-code {
    margin-bottom: 18px;
    color: #f15927;
    font-size: 7rem;
    font-weight: 700;
    line-height: .9;
    opacity: .18;
}

.corallo-404 h1 {
    margin-bottom: 22px;
    font-weight: 600;
}

.corallo-404-text {
    max-width: 680px;
    margin: 0 auto;
    color: #5f6368;
    line-height: 1.75;
}

.corallo-404-links {
    margin-top: 26px;
    color: #777;
}

.corallo-404-links a {
    color: #f15927;
    font-weight: 600;
    text-decoration: none;
}

.corallo-404-links a:hover {
    text-decoration: underline;
}

.corallo-404-links span {
    margin: 0 10px;
}

@media (max-width: 767px) {

    .corallo-404-code {
        font-size: 5rem;
    }

    .corallo-404 {
        padding: 0 15px;
    }
}

.corallo-404-logo {
    margin-bottom: 24px;
}

.corallo-404-logo img {
    display: block;
    width: 290px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.corallo-404-links {
    margin-top: 28px;
    margin-bottom: 18px;
}