:root {
    --bg-top: #f5efe7;
    --bg-bottom: #fbfaf7;
    --text-main: #10109c;
    --text-accent: #d1b068;
    --text-muted: #7a8898;

    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.1);
    --radius-card: 22px;
    --transition: 0.25s ease;
}

/* BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Avenir", "Futura", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-Montserrat;
    /* background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));*/
    background: #fbfaf7;
    color: var(--text-main);
    min-height: 100vh;
}

/*
body::before {
  content: "";
  position: fixed;
  top: 40%;
  width: 620px;
  height: 620px;
  background: url('https://media.canva.com/v2/image-resize/format:PNG/height:550/quality:100/uri:ifs%3A%2F%2FM%2F4c5b6f09-508c-4f74-9d3d-e7fcef5eabba/watermark:F/width:550?csig=AAAAAAAAAAAAAAAAAAAAAIwESExsBMDTapJFhHkoTzJx79MFMwIxRvhfnD_Xi2jb&exp=1765481509&osig=AAAAAAAAAAAAAAAAAAAAAGmeglMSsGG8G-ai45MqNdcJxBsdQ2y1m0VUT0ENu-yj&signer=media-rpc&x-canva-quality=thumbnail_large') no-repeat;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}
*/

a {
    color: inherit;
    text-decoration: none;
}

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 72px;
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #10109c24;
    gap: 24px;
    flex-wrap: wrap;
    font-family: "Futura";
    /* serve per far scendere il menu mobile */
}

/* Centro */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 98px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Desktop menu left/right */
.nav-links {
    display: flex;
    gap: 26px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

/* Link */
.nav-link {
    font-size: 15px;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-accent);
}

/* Hamburger base (nascosto di default) */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    width: 34px;
    height: 34px;
    position: relative;
    cursor: pointer;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger span {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: 8px;
}

.hamburger::after {
    bottom: 8px;
}

/* Stato checked: animazione X */
#menu-toggle:checked + .hamburger span {
    opacity: 0;
}

#menu-toggle:checked + .hamburger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

#menu-toggle:checked + .hamburger::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile menu (pannello) */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    padding: 18px 0 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu .nav-link {
    font-size: 16px;
}

/* Quando il toggle è attivo, mostra il menu mobile */
#menu-toggle:checked ~ .mobile-menu {
    display: flex;
}

/* RESPONSIVE: su mobile nascondi i menu desktop e mostra hamburger */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* HERO */
.hero {
    text-align: center;
    padding: 80px 0 56px;
    max-width: 780px;
    margin: 0 auto;
}

.hero-title {
    font-family: "Avenir", Montserrat;
    font-size: clamp(40px, 4vw, 50px);
    line-height: 1.18;
    margin-bottom: 18px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-accent);
    margin-bottom: 32px;
    font-weight: 500;
}

.btn-main {
    padding: 14px 34px;
    border-radius: 40px;
    background: var(--text-accent);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-main:hover {
    background: #c3a15a;
    transform: translateY(-2px);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    border-radius: var(--radius-card);
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--text-accent);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.card-image-wrapper {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #d1b06824;
    margin-bottom: 16px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
}

.card-footer .icon {
    color: var(--text-accent);
}

/* RESPONSIVE */
/* Tablet & mobile */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        /* nasconde menu desktop */
    }

    .hamburger {
        display: block;
        /* mostra hamburger */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small mobile */
@media (max-width: 520px) {
    .page {
        padding-inline: 16px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------ */
/* FOOTER                                           */
/* ------------------------------------------------ */

.site-footer {
    margin-top: 80px;
    padding: 60px 0 30px;
    background: transparent;
    color: var(--text-main);
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #10109c94;
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo centrato */
.footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 194px;
    width: auto;
    display: block;
}

.footer-logo-text {
    font-size: 20px;
    letter-spacing: 0.15em;
}

/* CTA centrale (layout tipo screenshot) */
.footer-cta {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 26px 16px 18px;
}

.footer-cta-title {
    font-size: clamp(34px, 5vw, 36px);
    line-height: 1.05;
    margin: 0 0 14px;
    font-weight: 800;
    color: var(--text-main);
}

.footer-cta-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 auto 18px;
    max-width: 720px;
    opacity: 0.9;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: #10109c;
    /* puoi sostituire con var(--text-main) o var brand */
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-cta-button:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.footer-quote {
    margin: 18px 0 0;
    font-size: 18px;
    font-style: italic;
    opacity: 0.8;
}

/* Link sotto */
/* Barra link orizzontale */
.footer-links-bar {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #10109c24;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-links {
    padding-top: 60px;
    font-size: 14px;
    color: #10109c;
}

/* Gruppo */
.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

/* Titolo gruppo */
.footer-links-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.9;
}

/* Link */
.footer-links-group a {
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.85;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links-group a:hover {
    opacity: 1;
    color: var(--text-accent);
}

.footer-inner2 {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem;
    flex-wrap: nowrap !important;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 26px;
        align-items: flex-start;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col h4 {
        text-align: left;
    }
}

/* ------------------------------------------------ */
/* section help                                           */
/* ------------------------------------------------ */

.section-help {
    position: relative;
    padding: 80px 0;
    border-radius: 30px;
    margin-top: 60px;
    color: #10109c;
    overflow: hidden;

    /* gradient */
    background: #ffffff;
}

.section-help * {
    position: relative;
    z-index: 1;
    /* testo sopra immagine */
}

.section-help-inner {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    font-family: "Futura", "Avenir", sans-Montserrat;
}

.section-help h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

.section-help .lead {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 20px;
    color: #f7f7f7;
}

.section-help blockquote {
    margin-top: 40px;
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.9;
}

/* ------------------------------------------------ */
/* section per chi                                            */
/* ------------------------------------------------ */

/* SECTION WRAPPER --------------------------------------------- */
.pricing-section {
    padding: 120px 0px 80px;
    background-color: var(--bg-section);
}

.pricing-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    position: relative;
}

/* LEFT: IMAGE PANEL ------------------------------------------- */
.pricing-media {
    flex: 1.1;
    min-height: 550px;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background-image: url("https://media.canva.com/v2/files/uri:ifs%3A%2F%2FM%2FWbZX3TcAjI_3MvKN4JIUNHXNc2FVtFxpJGmTZRLJfKE.jpg?csig=AAAAAAAAAAAAAAAAAAAAAItmDzXd634W8FMCFUG1kWrwdEBs5ed4ado3QljSOsmF&exp=1765539713&signer=media-rpc&token=AAIAAU0AL1diWlgzVGNBaklfM012S040SklVTkhYTmMyRlZ0RnhwSkdtVFpSTEpmS0UuanBnAAAAAAGbEl4P6OQE3pbRP9nV6KgN-lYU5i0Hc7nx6zttX9tBy2_aT_Lm");
    /* sostituisci */
    background-size: cover;
    background-position: center;
}

/* overlay sfumato per leggibilità del testo */
.pricing-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(16, 16, 156, 0.55),
        rgba(16, 16, 156, 0.35),
        rgba(16, 16, 156, 0.18)
    );
}

.pricing-media-content {
    position: absolute;
    inset: 32px 32px auto 32px;
    color: #fbfaf7;
}

.pricing-media-title {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 8px;
    font-weight: 600;
}

.pricing-media-subtitle {
    font-size: 20px;
    line-height: 1.4;
    opacity: 0.9;
}

/* RIGHT: CARD ------------------------------------------------- */
.pricing-card {
    flex: 1;
    max-width: 460px;
    background-color: #ffffff;
    border-radius: 36px;
    padding: 36px 34px 34px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    align-self: center;
    margin-left: -90px;
    /* sovrapposizione */
}

.pricing-card-eyebrow {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-card-title {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 20px;
    color: var(--text-primary);
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.pricing-list li::before {
    content: "✓";
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
    margin-top: 1px;
}

.pricing-button-main {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
}

.pricing-button-main:hover {
    opacity: 0.9;
}

.pricing-link-more {
    display: inline-block;
    font-size: 14px;
    margin-top: 4px;
    color: var(--accent);
    text-decoration: none;
}

.pricing-link-more:hover {
    text-decoration: underline;
}

/* RESPONSIVE -------------------------------------------------- */
@media (max-width: 900px) {
    .pricing-inner {
        flex-direction: column;
        gap: 0;
    }

    .pricing-media {
        min-height: 360px;
    }

    .pricing-card {
        max-width: 92%;
        margin: -80px auto 0;
        /* sovrapposizione verso l'alto */
        padding: 30px 24px 28px;
    }

    .pricing-media-content {
        inset: 26px 24px auto 24px;
    }

    .pricing-media-title {
        font-size: 24px;
    }

    .pricing-media-subtitle {
        font-size: 17px;
    }
}

/* ------------------------------------------------ */
/* HOW SECTION              */
/* ------------------------------------------------ */

/* SECTION -------------------------------------------------------- */
.how-section {
    padding: 40px 10px;
    text-align: center;
}

.how-title {
    font-size: 40px;
    font-family: "Avenir", Montserrat;
    color: #10109c;
    margin-bottom: 60px;
}

/* GRID ----------------------------------------------------------- */
.how-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

/* CARD ----------------------------------------------------------- */
.how-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 26px 26px 24px;
    text-align: left;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(168, 183, 200, 0.18);

    transform: translateY(16px);
}

.how-card:nth-child(1) {
    animation-delay: 0.1s;
}

.how-card:nth-child(2) {
    animation-delay: 0.25s;
}

.how-card:nth-child(3) {
    animation-delay: 0.4s;
}

.how-card:hover {
    transform: translateY(10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

/* ICONA PRINCIPALE ------------------------------------------------ */
.how-card-icon {
    margin-bottom: 18px;
}

.how-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #7a8898;
    stroke-width: 1.8;
    fill: none;
}

/* ICONCINA ANGOLARE ---------------------------------------------- */
.how-card-corner {
    position: absolute;
    right: 20px;
    top: 18px;
    opacity: 0.35;
}

.how-card-corner svg {
    width: 16px;
    height: 16px;
    stroke: #fd6434;
    stroke-width: 1.6;
    fill: none;
}

/* TESTI ---------------------------------------------------------- */
.how-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #10109c;
    margin-bottom: 6px;
}

.how-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #7a8898;
    /* tono neutro elegante, vicino al brand */
}

/* BUTTON --------------------------------------------------------- */
.how-button {
    display: inline-block;
    margin-top: 52px;
    padding: 13px 34px;
    background: #fd6434;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.how-button:hover {
    opacity: 0.9;
}

/* ANIMAZIONE ----------------------------------------------------- */
@keyframes howFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE ----------------------------------------------------- */
@media (max-width: 900px) {
    .how-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .how-section {
        padding: 80px 0px 100px;
    }

    .how-title {
        font-size: 30px;
        margin-bottom: 36px;
    }
}

/* ------------------------------------------------ */
/* section FOTO */
/* ------------------------------------------------ */

/* SECTION -------------------------------------------------------- */
.feature-section {
    padding: 80px 20px;
}

.feature-inner {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* COLONNA TESTO (SINISTRA) -------------------------------------- */
.feature-content {
    flex: 1.35;
}

.feature-eyebrow {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8898;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 25px;
    line-height: 1.2;
    color: #10109c;
    margin: 0 0 14px;
}

.feature-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #7a8898;
    max-width: 640px;
    margin: 0 0 24px;
}

/* LISTA PUNTI ---------------------------------------------------- */
.feature-points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #10109c;
    margin-bottom: 10px;
}

.feature-point-icon svg {
    width: 22px;
    height: 22px;
    stroke: #7a8898;
    stroke-width: 1.7;
    fill: none;
}

/* CTA ------------------------------------------------------------ */
.feature-button {
    display: inline-block;
    margin-top: 10px;
    padding: 13px 32px;
    border-radius: 999px;
    background: #fd6434;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.feature-button:hover {
    opacity: 0.92;
}

/* COLONNA IMMAGINE (DESTRA) ------------------------------------- */
.feature-media {
    flex: 0.75;
    display: flex;
    justify-content: flex-end;
}

.feature-media-card {
    position: relative;
    width: 100%;
    max-width: 660px;
    aspect-ratio: 4 / 3;
    border-radius: 32px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

/* immagine principale */
.feature-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* piccolo badge flottante (opzionale) --------------------------- */
.feature-media-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(251, 250, 247, 0.9);
    font-size: 12px;
    color: #10109c;
}

/* RESPONSIVE ----------------------------------------------------- */
@media (max-width: 900px) {
    .feature-inner {
        flex-direction: column-reverse;
        /* su mobile: immagine sopra, testo sotto */
        gap: 40px;
    }

    .feature-section {
        padding: 80px 20px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-subtitle {
        font-size: 15px;
    }

    .feature-media-card {
        max-width: 100%;
    }
}

/* ------------------------------------------------ */
/* section help background image */
/* ------------------------------------------------ */

/* Section wrapper */
.accanto-feature {
    /* sfondo “panna” come nello screenshot */

    /* card */
    --card: #ffffff;
    padding: clamp(40px, 6vw, 80px) 0;
    background: var(--bg);
}

.accanto-feature__card {
    background: var(--card);
    border-radius: 34px;
    box-shadow: var(--shadow);
    padding: clamp(30px, 3vw, 20px);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(18px, 3vw, 40px);
    align-items: center;
    overflow: hidden;
}

/* Media */
.accanto-feature__media {
    position: relative;
    min-height: 280px;
}

.accanto-feature__img {
    width: 50%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: auto;

    /* “spinta” verso sinistra/basso come nello screenshot */
    transform: translateX(-4%) translateY(2%);
}

/* Content */
.accanto-feature__content {
    padding-right: clamp(6px, 1vw, 14px);
}

.accanto-feature__title {
    margin: 0 0 14px;
    color: var(--title);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    font-size: clamp(26px, 2.5vw, 44px);
}

.accanto-feature__text {
    margin: 0 0 18px;
    color: var(--body);
    line-height: 1.7;
    font-size: clamp(15px, 1.1vw, 18px);
    max-width: 56ch;
}

.accanto-feature__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cta);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.accanto-feature__arrow {
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.18s ease;
}

.accanto-feature__cta:hover {
    color: var(--cta-hover);
}

.accanto-feature__cta:hover .accanto-feature__arrow {
    transform: translate(2px, -1px);
}

.pricing-media2 {
    flex: 1.1;
    min-height: 550px;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background-image: url("https://centrodavide.it/wp-content/uploads/2024/11/psico-IMMAGINE.jpg");
    /* sostituisci */
    background-size: cover;
    background-position: center;
}

/* Responsive */
@media (max-width: 980px) {
    .accanto-feature__card {
        grid-template-columns: 1fr;
    }

    .accanto-feature__img {
        transform: none;
    }

    .accanto-feature__media {
        min-height: auto;
    }
}

/* ------------------------------------------------ */
/* VARIANTE SPECCHIATA                              */
/* ------------------------------------------------ */

.pricing-inner--reverse {
    flex-direction: row;
}

/* CARD A SINISTRA */
.pricing-card--left {
    margin-left: 0;
    margin-right: -90px;
    /* sovrapposizione verso destra */
    z-index: 2;
}

/* IMMAGINE A DESTRA */
.pricing-media--right {
    background-position: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .pricing-inner--reverse {
        flex-direction: column;
    }

    .pricing-card--left {
        margin: -80px auto 0;
        max-width: 92%;
    }
}

/* ------------------------------------------------ */
/* LINK INLINE                     */
/* ------------------------------------------------ */

/* link testuale con icona centrata */
.link-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;

    transition: color 0.2s ease;
}

/* hover elegante */
.link-inline:hover {
    color: var(--text-accent);
}

/* micro-movimento dell’icona */
.link-inline svg {
    transition: transform 0.2s ease;
}

.link-inline:hover svg {
    transform: translateX(4px);
}

/* ------------------------------------------------ */
/* FEATURE ALT (immagine SX / testo DX)             */
/* ------------------------------------------------ */

.feature-alt-section {
    padding: 80px 20px;
    background: #fbfaf7;
}

.feature-alt-inner {
     display: flex;
  align-items: center;
  gap: 36px;
}

/* MEDIA SINISTRA (più piccola) */
.feature-alt-media{
  flex: 0 0 360px;   /* immagine con larghezza fissa */
}

.feature-alt-content{
  flex: 1;           /* testo prende TUTTO il resto */
}

.feature-alt-media-card {
    position: relative;
    width: 100%;
    max-width: 520px; /* immagine più contenuta */
    border-radius: 32px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.feature-alt-media-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* perfetto per illustrazioni */
}

.feature-alt-media-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(251, 250, 247, 0.9);
    font-size: 12px;
    color: #10109c;
}

/* TESTO DESTRA (più largo) */
.feature-alt-content {
    flex: 1.35; /* testo dominante */
}

.feature-alt-eyebrow {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d1b068;
    margin-bottom: 10px;
}

.feature-alt-title {
    font-size: 32px;
    line-height: 1.2;
    color: #10109c;
    margin: 0 0 18px;
}

.feature-alt-text {
    font-size: 16px;
    line-height: 1.85;
    color: #7a8898;
   
    margin: 0 0 18px;
}

.feature-alt-quote {
    margin: 22px 0 22px;
    font-family: "Avenir", Montserrat;
    font-size: 20px;
    line-height: 1.4;
    color: #10109c;
    border-left: 3px solid rgba(209, 176, 104, 0.6);
    padding-left: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .feature-alt-section {
        padding: 80px 20px;
    }

    .feature-alt-inner {
        flex-direction: column;
        gap: 30px;
    }

    .feature-alt-media {
        justify-content: center;
    }

    .feature-alt-media-card {
        max-width: 420px;
    }

    .feature-alt-title {
        font-size: 26px;
    }

    .feature-alt-text {
        max-width: none;
    }
}


/* ------------------------------------------------ */
/* AZIENDA CSSSSSSS                               */
/* ------------------------------------------------ */

   /* ------------------------------------------------ */
    /* STEPS (layout come immagine)                      */
    /* ------------------------------------------------ */

    .steps {
        background: #fbfaf7;
        padding: 70px 0 50px;
    }

    /* wrapper allineato al resto del sito */
    .steps-inner {
        margin: 0 auto;
        padding: 0 5px;
    }

    .steps-head {
        margin: 0 0 28px;
    }

    .steps-title {
        font-family: "Avenir", Montserrat;
        font-size: clamp(34px, 4vw, 54px);
        line-height: 1.05;
        color: var(--text-main);
        letter-spacing: -0.02em;
    }

    /* 2 colonne desktop */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    /* card grandi e pulite */
    .step-card {
        position: relative;
        background: #ffffff;
        border-radius: 34px;
        padding: 54px 44px 42px;
        border: 1px solid rgba(16, 16, 156, 0.08);
        overflow: hidden;
    }

    /* numero gigante in background */
    .step-num {
        position: absolute;
        left: 26px;
        top: -14px;
        font-family: "Playfair Display", Montserrat;
        font-weight: 600;
        font-size: clamp(92px, 9vw, 100px);
        line-height: 1;
        color: #d1b068b0;
        pointer-events: none;
        user-select: none;
    }

    /* contenuto: centrato come screenshot */
    .step-title,
    .step-text {
        text-align: center;
    }

    /* titoli */
    .step-title {
        margin: 30px 0 10px;
        font-size: 18px;
        font-weight: 650;
        color: var(--text-accent);
    }

    /* testo */
    .step-text {
        font-size: 15px;
        line-height: 1.7;
        color: #7a8898;
        max-width: 46ch;
        margin: 0 auto;
    }

    /* responsive */
    @media (max-width: 900px) {
        .steps {
            padding: 56px 0 34px;
        }

        .steps-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .step-card {
            padding: 44px 22px 34px;
            border-radius: 30px;
        }

        .step-num {
            left: 18px;
            top: -10px;
        }

        .step-title {
            margin-top: 26px;
        }
    }

    /* ------------------------------------------------ */
    /* STEPS (numero grande + testo, come screenshot)   */
    /* ------------------------------------------------ */


    /* ------------------------------------------------ */
    /* COME FUNZIONA                                    */
    /* ------------------------------------------------ */

    .flow {
        padding: 70px 0 40px;
        background: #fbfaf7;
    }

    .flow-inner {
        margin: 0 auto;
        padding: 0 24px;
    }

    .flow-head {
        text-align: center;
        margin-bottom: 28px;
    }

    .flow-title {
        font-family: "Avenir", Montserrat;
        font-size: clamp(30px, 3.2vw, 44px);
        line-height: 1.12;
        color: var(--text-main);
        letter-spacing: -0.02em;
        margin: 0 0 10px;
    }

    .flow-subtitle {
        font-size: 16px;
        line-height: 1.6;
        color: rgba(16, 16, 156, 0.60);
        max-width: 70ch;
        margin: 0 auto;
    }

    /* griglia 2x2 come pattern */
    .flow-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    /* card */
    .flow-card {
        background: #ffffff;
        border-radius: 30px;
        padding: 24px 24px 22px;
        border: 1px solid rgba(16, 16, 156, 0.08);
    }

    .flow-card-title {
        font-size: 17px;
        font-weight: 650;
        color: var(--text-accent);
        margin: 0 0 8px;
    }

    .flow-card-text {
        font-size: 15px;
        line-height: 1.7;
        color: var(--text-muted);
        margin: 0;
    }

    /* responsive */
    @media (max-width: 900px) {
        .flow {
            padding: 56px 0 26px;
        }

        .flow-grid {
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .flow-card {
            padding: 22px 20px;
            border-radius: 26px;
        }
    }

    /* ------------------------------------------------ */
    /* SLIDER BENEFITS (come screenshot)                */
    /* ------------------------------------------------ */

    .benefits {
        background: #fbfaf7;
        padding: 80px 0 60px;
    }

    .benefits-inner {
        margin: 0 auto;
        padding: 0 24px;
    }

    .benefits-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 26px;
    }

    .benefits-title {
        font-family: "Avenir", Montserrat;
        font-size: clamp(28px, 3.2vw, 40px);
        line-height: 1.03;
        color: var(--text-main);
        margin: 0 0 8px;
        letter-spacing: -0.02em;
    }

    .benefits-subtitle {
        margin: 0;
        font-family: "Avenir", Montserrat;
        font-size: clamp(20px, 3.6vw, 28px);
        line-height: 1.03;
        color: rgba(16, 16, 156, 0.18);
        /* “sbiadito” come screenshot */
        letter-spacing: -0.02em;
    }

    .benefits-arrows {
        display: flex;
        gap: 10px;
        padding-top: 14px;
        /* allinea alle righe titolo */
    }

    .benefits-arrow {
        width: 44px;
        height: 44px;
        border-radius: 999px;
        border: none;
        cursor: pointer;
        background: rgba(209, 176, 104, 0.55);
        /* accento soft */
        color: #ffffff;
        font-size: 18px;
        font-weight: 700;
        transition: transform var(--transition), opacity var(--transition);
    }

    .benefits-arrow:hover {
        transform: translateY(-1px);
        opacity: 0.95;
    }

    /* RAIL: scroll orizzontale con snap */
    .benefits-rail {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 1fr);
        gap: 16px;

        overflow-x: auto;
        padding: 4px 2px 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        /* nascondo scrollbar (resta scrollabile) */
        scrollbar-width: none;
    }

    .benefits-rail::-webkit-scrollbar {
        display: none;
    }

    /* CARD */
    .benefit-card {
        scroll-snap-align: start;
        position: relative;
        border-radius: 28px;
        overflow: hidden;
        min-height: 310px;

        /* background immagine + overlay */
        background-image: var(--bg);
        background-size: cover;
        background-position: center;

        /* bordo soft */
        border: 1px solid rgba(16, 16, 156, 0.10);
    }

    /* overlay scuro/soft come screenshot per leggibilità */
    .benefit-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(16, 16, 156, 0.25),
                rgba(16, 16, 156, 0.20),
                rgba(16, 16, 156, 0.28));
    }

    .benefit-card-title {
        position: relative;
        z-index: 1;
        margin: 0;
        padding: 22px 22px 0;

        color: #ffffff;
        font-size: 22px;
        line-height: 1.15;
        font-weight: 650;
        max-width: 18ch;
    }

    /* pulsante + in basso a sinistra */
    .benefit-plus {
        position: absolute;
        left: 18px;
        bottom: 18px;
        z-index: 1;

        width: 38px;
        height: 38px;
        border-radius: 999px;
        border: 2px solid rgba(255, 255, 255, 0.9);
        background: rgba(0, 0, 0, 0.05);
        color: #ffffff;

        font-size: 22px;
        line-height: 1;
        font-weight: 700;
        cursor: pointer;

        transition: transform var(--transition), opacity var(--transition);
    }

    .benefit-plus:hover {
        transform: translateY(-1px);
        opacity: 0.95;
    }

    /* responsive */
    @media (max-width: 900px) {
        .benefits {
            padding: 62px 0 44px;
        }

        .benefits-head {
            flex-direction: column;
            align-items: flex-start;
        }

        .benefits-arrows {
            padding-top: 6px;
        }

        .benefit-card {
            min-height: 350px;
        }
    }

    @media (max-width: 520px) {
        .benefits-rail {
            grid-auto-columns: 86%;
        }
    }


    /* ------------------------------------------------ */
    /* MODALE ACCANTO MINIMAL                           */
    /* ------------------------------------------------ */

    .acc-modal {
        position: fixed;
        inset: 0;
        display: none;
        z-index: 9999;
    }

    .acc-modal.is-open {
        display: block;
    }

    .acc-modal__overlay {
        position: absolute;
        inset: 0;
        background: rgba(16, 16, 156, 0.22);
        backdrop-filter: blur(6px);
    }

    .acc-modal__panel {
        position: relative;
        width: min(980px, calc(100vw - 28px));
        margin: 44px auto;
        background: #ffffff;
        border-radius: 28px;
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(16, 16, 156, 0.10);

        padding: 34px 34px 28px;
        max-height: calc(100vh - 88px);
        overflow: auto;
    }

    .acc-modal__close {
        position: absolute;
        right: 18px;
        top: 18px;
        width: 44px;
        height: 44px;
        border-radius: 999px;
        border: 1px solid rgba(16, 16, 156, 0.12);
        background: rgba(251, 250, 247, 0.9);
        color: var(--text-main);
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
    }

    .acc-modal__label {
        margin: 0 0 10px;
        font-size: 14px;
        font-weight: 650;
        color: rgba(16, 16, 156, 0.60);
    }

    .acc-modal__title {
        margin: 0 0 16px;
        font-family: "Avenir", Montserrat;
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.02;
        color: var(--text-main);
        letter-spacing: -0.03em;
    }

    .acc-modal__body {
        background: rgba(16, 16, 156, 0.05);
        border-radius: 22px;
        padding: 22px 22px;
        color: rgba(16, 16, 156, 0.70);
        font-size: 16px;
        line-height: 1.75;
    }

    .acc-modal__body p {
        margin: 0 0 12px;
    }

    .acc-modal__body ul {
        margin: 10px 0 0;
        padding-left: 20px;
    }

    .acc-modal__body li {
        margin: 6px 0;
    }

    /* blocco scroll su body quando modale aperta */
    body.modal-open {
        overflow: hidden;
    }

    /* responsive */
    @media (max-width: 900px) {
        .acc-modal__panel {
            margin: 18px auto;
            padding: 24px 18px 18px;
            max-height: calc(100vh - 36px);
            border-radius: 22px;
        }

        .acc-modal__body {
            padding: 18px 16px;
        }
    }

    /* ------------------------------------------------ */
/* SEZIONE IMMAGINE SX / TESTO DX                   */
/* ------------------------------------------------ */

.company-intro{
  padding: 80px 0 40px;
  background: #fbfaf7;
}

.company-intro__inner{
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 50px;
  align-items: center;
}

/* media */
.company-intro__media{
  position: relative;
}


/* contenuto */
.company-intro__title{
  font-family: "Avenir", Montserrat;
  font-size: clamp(28px, 3.2vw, 30px);
  line-height: 1.15;
  color: var(--text-main);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.company-intro__text{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(16,16,156,0.65);
  max-width: 62ch;
}

/* responsive */
@media (max-width: 900px){
  .company-intro{
    padding: 56px 0 26px;
  }

  .company-intro__inner{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .company-intro__text{
    max-width: none;
  }

}