/* SOX Wedding Planner – stile del sito (sopra il template Bohu) */
:root {
    --gold: #A8875A;
    --gold-dark: #8C6E45;
    --gold-soft: #EFE5D8;
    --ink: #2B2520;
    --text: #4A423B;
    --muted: #7A6F65;
    --cream: #F8F3EE;
    --cream-2: #FBF8F4;
    --line: #E6DCCF;
    --wa: #25D366;
    --serif: "Felidae", "Cormorant Garamond", Georgia, serif;
    --gutter: clamp(16px, 4vw, 40px);
}

[hidden] {
    display: none !important;
}

body {
    background: #fff;
    color: var(--text);
}

p {
    color: var(--text);
}

.sox-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.sox-section {
    padding: clamp(70px, 9vw, 120px) 0;
}

.sox-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.sox-title {
    text-wrap: balance;
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
    margin: 0 0 18px;
}

.sox-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(40px, 5vw, 60px);
}

.sox-head p {
    margin: 0;
    color: var(--muted);
}

.sox-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--gold);
    margin: 0 auto 18px;
}

.sox-divider::before,
.sox-divider::after {
    content: "";
    width: 46px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.wa-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ---------- pulsanti ---------- */
.sox-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}

.sox-btn-wa {
    background: var(--wa);
    color: #fff;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .32);
}

.sox-btn-wa:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, .42);
}

.sox-btn-wa .wa-icon {
    width: 22px;
    height: 22px;
}

.sox-btn-line {
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
}

.sox-btn-line:hover {
    background: var(--gold);
    color: #fff;
}

.sox-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: var(--gold-dark);
    font-size: 14px;
}

.sox-badge i {
    color: var(--gold);
}

/* ---------- header ---------- */
.header-style-s4 {
    background: rgba(251, 248, 244, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.header-style-s4:before {
    display: none;
}

.wpo-site-header .navigation {
    padding: 0;
}

.wpo-site-header .navbar-header .navbar-brand img {
    max-width: 150px;
}

.header-style-s4 .site-navbar>ul>li>a,
.header-style-s4 .site-navbar>ul>li>a:hover {
    color: var(--ink);
    font-size: 15px;
    letter-spacing: .06em;
}

.header-style-s4 .site-navbar>ul>li>a:hover {
    color: var(--gold-dark);
}

.header-style-s4 .navigation.sticky-header {
    background: rgba(251, 248, 244, .97);
    box-shadow: 0 6px 24px rgba(43, 37, 32, .06);
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.header-right .sox-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-dark);
    font-size: 15px;
    white-space: nowrap;
    transition: all .25s;
}

.header-right .sox-wa-btn:hover {
    background: var(--gold);
    color: #fff;
}

.header-right {
    gap: 8px;
    align-items: center;
}

.sox-admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 16px;
    transition: all .25s;
}

.sox-admin-btn:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff;
}

@media (max-width: 991px) {

    /* la colonna del menu è vuota su telefono: lo spazio va alle icone */
    .sox-nav-col {
        flex: 0 0 0;
        width: 0;
        padding: 0;
    }

    .sox-right-col {
        padding-left: 0;
    }

    .header-right {
        gap: 6px;
        padding-right: 10px;
    }

    .header-right .sox-wa-btn,
    .sox-admin-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 1199px) {
    .header-right .sox-wa-btn span {
        display: none;
    }

    .header-right .sox-wa-btn {
        padding: 10px 12px;
    }
}

.sox-menu-extra {
    display: none;
}

/* menu su telefono: pannello chiaro, testo scuro */
@media (max-width: 991px) {
    .wpo-site-header .navbar-header .navbar-brand {
        text-align: center;
    }

    .wpo-site-header .navbar-header .navbar-brand img {
        max-width: 120px;
    }

    .header-style-s4 .mobail-menu button {
        background: transparent;
        border: 1px solid var(--gold);
        border-radius: 8px;
        width: 42px;
        height: 38px;
    }

    .header-style-s4 .mobail-menu button span {
        background-color: var(--gold-dark);
    }

    .wpo-site-header .site-navbar {
        background: var(--cream-2);
        width: min(320px, 86vw);
        box-shadow: 10px 0 40px rgba(43, 37, 32, .18);
    }

    .wpo-site-header .menu-close {
        color: var(--gold-dark);
        border: 1px solid var(--line);
        border-radius: 50%;
        margin: 22px 20px 10px auto;
        line-height: 38px;
    }

    .wpo-site-header .site-navbar {
        overflow-y: auto;
    }

    .wpo-site-header .site-navbar .navbar-nav {
        height: auto;
        overflow: visible;
        padding: 0 24px;
    }

    .sox-menu-extra {
        padding: 0 24px 40px;
    }

    .header-style-s4 .site-navbar>ul>li>a,
    .wpo-site-header .site-navbar ul a {
        display: block;
        color: var(--ink) !important;
        font-family: var(--serif);
        font-size: 26px;
        letter-spacing: 0;
        padding: 14px 0 !important;
        border-bottom: 1px solid var(--line);
    }

    .wpo-site-header .site-navbar ul a:hover {
        color: var(--gold-dark) !important;
    }

    .sox-menu-extra {
        display: block;
        margin-top: 26px;
    }

    .sox-menu-extra .sox-btn {
        width: 100%;
        font-family: inherit;
        font-size: 16px;
        border-bottom: 0;
        padding: 14px 20px !important;
        color: #fff !important;
    }

    .sox-menu-extra p {
        margin: 16px 0 0;
        font-size: 14px;
        color: var(--muted);
        text-align: center;
    }
}

/* ---------- hero ---------- */
.sox-hero {
    background: radial-gradient(ellipse at 30% 40%, #FDFBF8 0%, #F4ECE2 70%, #EFE5D9 100%);
    padding: 130px 0 70px;
    overflow: hidden;
}

.sox-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
}

.sox-hero-text {
    text-align: center;
}

.sox-hero-grid.no-photo {
    grid-template-columns: 1fr;
}

.sox-hero-logo {
    width: 100%;
    max-width: 520px;
}

.sox-hero-sub {
    margin: 26px auto 30px;
    max-width: 480px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
}

.sox-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.sox-hero-photo {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 470px;
}

.sox-hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 999px 999px 18px 18px;
    box-shadow: 0 30px 60px rgba(90, 70, 45, .18);
}

.sox-hero-photo::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(168, 135, 90, .45);
    border-radius: 999px 999px 26px 26px;
    pointer-events: none;
}

@media (max-width: 991px) {
    .sox-hero {
        padding: 110px 0 60px;
    }

    .sox-hero-grid {
        grid-template-columns: 1fr;
    }

    .sox-hero-photo {
        max-width: 340px;
    }
}

/* ---------- chi sono ---------- */
.sox-about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.sox-about-photo {
    position: relative;
    max-width: 440px;
    width: 100%;
    justify-self: center;
}

.sox-about-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.sox-about-photo::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(168, 135, 90, .45);
}

.sox-about-text .sox-title {
    margin-bottom: 22px;
}

.sox-about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.sox-about-intro {
    font-size: 19px !important;
    color: var(--ink) !important;
}

.sox-values {
    list-style: none;
    padding: 0;
    margin: 26px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sox-values li {
    background: var(--cream);
    border-top: 2px solid var(--gold);
    padding: 16px 16px 14px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
}

.sox-values li strong {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    color: var(--gold-dark);
    margin-bottom: 6px;
}

.sox-sign {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.sox-sign h5 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    color: var(--gold-dark);
    margin: 0;
}

.sox-sign span {
    color: var(--muted);
    font-size: 15px;
}

.sox-sign img {
    width: 130px;
}

@media (max-width: 991px) {
    .sox-about-grid {
        grid-template-columns: 1fr;
    }

    .sox-about-photo {
        max-width: 300px;
    }

    .sox-about-text .sox-eyebrow,
    .sox-about-text .sox-title {
        display: block;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .sox-values {
        grid-template-columns: 1fr;
    }

    .sox-sign img {
        width: 96px;
    }
}

/* ---------- frase ---------- */
.sox-quote {
    background: var(--cream);
    text-align: center;
}

.sox-quote .sox-title {
    max-width: 820px;
    margin: 0 auto 22px;
}

.sox-quote p {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 17px;
    line-height: 1.85;
}

/* ---------- servizi ---------- */
.sox-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.sox-service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}

.sox-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(90, 70, 45, .1);
}

.sox-service-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.sox-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.sox-service-card:hover .sox-service-img img {
    transform: scale(1.05);
}

.sox-service-body {
    padding: 22px 22px 26px;
}

.sox-service-body i {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 20px;
    margin-bottom: 14px;
}

.sox-service-card.has-img .sox-service-body i {
    display: none;
}

.sox-service-body h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 10px;
}

.sox-service-body p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .sox-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sox-services {
        grid-template-columns: 1fr;
    }
}

/* ---------- fascia tutta Italia ---------- */
.sox-reach {
    position: relative;
    padding: clamp(90px, 12vw, 150px) 0;
    background: #3a3029 center/cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
}

.sox-reach::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(35, 28, 22, .55), rgba(35, 28, 22, .62));
}

.sox-reach .sox-container {
    position: relative;
}

.sox-reach-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    font-size: 26px;
    margin-bottom: 22px;
}

.sox-reach .sox-title {
    color: #fff;
}

.sox-reach p {
    color: rgba(255, 255, 255, .9);
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

@media (hover: none),
(max-width: 991px) {
    .sox-reach {
        background-attachment: scroll;
    }
}

/* ---------- galleria (mosaico) ---------- */
.sox-gallery-grid {
    column-count: 3;
    column-gap: 16px;
}

.sox-gallery-item {
    break-inside: avoid;
    margin: 0 0 16px;
    display: block;
}

.sox-gallery-item a {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.sox-gallery-item img,
.sox-gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    background: var(--cream);
}

.sox-gallery-item a img {
    transition: transform .6s;
}

.sox-gallery-item a:hover img {
    transform: scale(1.04);
}

.sox-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
}

.sox-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sox-gallery-item figcaption {
    padding: 8px 2px 0;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 991px) {
    .sox-gallery-grid {
        column-count: 2;
        column-gap: 10px;
    }

    .sox-gallery-item {
        margin-bottom: 10px;
    }
}

.sox-lb {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(20, 15, 10, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}

.sox-lb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.sox-lb button {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 42px;
    line-height: 1;
}

/* ---------- contatti ---------- */
.sox-contact {
    background: var(--cream);
}

.sox-contact-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 60px);
    text-align: center;
    box-shadow: 0 24px 60px rgba(90, 70, 45, .08);
}

.sox-contact-logo {
    width: 260px;
    max-width: 70%;
    margin: 0 auto 26px;
    display: block;
}

.sox-contact-card p {
    max-width: 560px;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.8;
}

.sox-contact-extra {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 15px;
}

.sox-contact-extra a {
    color: var(--gold-dark);
}

.sox-contact-area {
    margin-top: 22px;
}

/* ---------- footer centrato ---------- */
.sox-footer {
    background: #3B312A;
    color: rgba(255, 255, 255, .78);
    text-align: center;
    padding: 64px 0 28px;
}

.sox-footer-logo {
    width: 230px;
    max-width: 70%;
    margin: 0 auto 26px;
    display: block;
}

.sox-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
}

.sox-footer-nav a {
    color: #fff;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sox-footer-nav a:hover {
    color: #D9C3A2;
}

.sox-footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 26px;
    font-size: 15px;
}

.sox-footer-contacts a,
.sox-footer-contacts li {
    color: rgba(255, 255, 255, .78);
}

.sox-footer-contacts a:hover {
    color: #fff;
}

.sox-footer-social {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.sox-footer-social a {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: background .25s, border-color .25s;
}

.sox-footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.sox-footer-social .wa-icon {
    width: 20px;
    height: 20px;
}

.sox-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.sox-footer-bottom p {
    margin: 0;
    color: inherit;
}

@media (max-width: 560px) {
    .sox-footer-contacts {
        flex-direction: column;
    }
}

/* ---------- WhatsApp flottante + torna su ---------- */
.sox-wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    transition: transform .25s;
}

.sox-wa-float:hover {
    color: #fff;
    transform: scale(1.07);
}

.sox-wa-float .wa-icon {
    width: 30px;
    height: 30px;
}

.back-to-top {
    bottom: 92px !important;
    right: 27px !important;
    background: var(--gold) !important;
    border-color: var(--gold) !important;
}

/* ---------- anteprima nel pannello admin ---------- */
html.sox-preview .preloader {
    display: none !important;
}

html.sox-preview .wow {
    visibility: visible !important;
    animation: none !important;
}

html.sox-preview .sox-reach {
    background-attachment: scroll;
}

.sox-gallery-more {
    text-align: center;
    margin-top: 34px;
}

@media (max-width: 991px) {
    .sox-hero-photo img {
        aspect-ratio: 5 / 6;
    }

    .sox-quote p {
        text-align: left;
    }
}
