/* =====================================================================
   Salvatore — CTA / Reservation (split — copy left, image right)
   ===================================================================== */

.sv-cta {
    position: relative;
    background: var(--sv-cream);
    color: var(--sv-text);
    padding: clamp(96px, 12vw, 160px) var(--sv-gutter);
    overflow: hidden;
    isolation: isolate;
}

/* Animated golden halo — sits behind the visual column */
.sv-cta__halo {
    position: absolute;
    top: 50%;
    right: -10%;
    width: clamp(420px, 50vw, 760px);
    aspect-ratio: 1 / 1;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(183, 138, 60, 0.22) 0%, rgba(183, 138, 60, 0.08) 35%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: sv-cta-pulse 7s ease-in-out infinite;
}

@keyframes sv-cta-pulse {
    0%, 100% { opacity: 0.7; transform: translateY(-50%) scale(1); }
    50%      { opacity: 1;   transform: translateY(-50%) scale(1.08); }
}

.sv-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

/* ---------- LEFT — copy ---------- */
.sv-cta__copy {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
    max-width: 560px;
}

.sv-cta__title {
    font-family: var(--sv-font-display);
    font-weight: 500;
    color: var(--sv-text);
    font-size: clamp(48px, 6vw, 88px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    position: relative;
}

.sv-cta__title-flourish {
    display: block;
    margin: 16px 0 0;
    width: clamp(160px, 22vw, 220px);
    color: var(--sv-gold);
    opacity: 0.9;
}

.sv-cta__title-flourish svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.sv-cta__title-flourish path {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 1.6s var(--sv-ease) .4s;
}

.sv-cta.is-visible .sv-cta__title-flourish path,
.sv-cta__copy.is-visible ~ .sv-cta__title-flourish path,
.sv-cta__copy.is-visible .sv-cta__title-flourish path {
    stroke-dashoffset: 0;
}

.sv-cta__body {
    color: var(--sv-text-soft);
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.7;
    max-width: 480px;
}

/* CTA button */
.sv-cta__btn {
    margin-top: 6px;
    box-shadow: 0 0 0 0 rgba(183, 138, 60, 0.5);
    animation: sv-cta-btn-pulse 2.8s ease-in-out infinite;
}

@keyframes sv-cta-btn-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(183, 138, 60, 0.45),
            0 14px 30px -14px rgba(28, 24, 22, 0.18);
    }
    50% {
        box-shadow:
            0 0 0 14px rgba(183, 138, 60, 0),
            0 18px 36px -10px rgba(183, 138, 60, 0.30);
    }
}

.sv-cta__btn:hover {
    animation-play-state: paused;
}

.sv-cta__trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--sv-text-muted);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.sv-cta__trust-stars {
    color: var(--sv-gold);
    letter-spacing: 2px;
    font-size: 14px;
}

/* ---------- RIGHT — visual ---------- */
.sv-cta__visual {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    justify-self: end;
    isolation: isolate;
}

.sv-cta__visual-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--sv-radius-lg);
    overflow: hidden;
    background: var(--sv-paper);
    box-shadow:
        0 0 0 1px rgba(216, 184, 122, 0.45),
        0 40px 90px -28px rgba(28, 24, 22, 0.40),
        0 14px 30px -14px rgba(183, 138, 60, 0.25);
    rotate: 2deg;
    transition: rotate .8s var(--sv-ease), box-shadow .8s var(--sv-ease);
    line-height: 0;
    font-size: 0;
}

.sv-cta__visual:hover .sv-cta__visual-frame {
    rotate: 0deg;
    box-shadow:
        0 0 0 1px rgba(216, 184, 122, 0.65),
        0 50px 100px -28px rgba(28, 24, 22, 0.50),
        0 18px 38px -14px rgba(183, 138, 60, 0.35);
}

.sv-cta__visual-frame img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.04);
    transition: transform 1.4s var(--sv-ease);
}

.sv-cta__visual:hover .sv-cta__visual-frame img {
    transform: scale(1.0);
}

/* Floating Benvenuti badge */
.sv-cta__visual-badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    background: var(--sv-paper);
    border-radius: 999px;
    box-shadow: var(--sv-shadow-md);
    z-index: 3;
    animation: sv-cta-float 6s ease-in-out infinite;
}

.sv-cta__visual-badge em {
    font-family: 'Pacifico', var(--sv-font-script), cursive;
    font-style: normal;
    font-size: 18px;
    color: var(--sv-brown);
    line-height: 1;
}

/* Espresso-cup seal in the top-right of the image */
.sv-cta__visual-seal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 36px;
    color: var(--sv-gold-soft);
    opacity: 0.9;
    z-index: 3;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.sv-cta__visual-seal svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

@keyframes sv-cta-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .sv-cta__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .sv-cta__copy {
        max-width: 100%;
        order: 2;
    }
    .sv-cta__visual {
        order: 1;
        max-width: 380px;
        margin: 0 auto;
    }
    .sv-cta__halo {
        right: 50%;
        transform: translate(50%, -50%);
        width: clamp(360px, 80vw, 520px);
    }
}

@media (max-width: 480px) {
    .sv-cta__visual-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -22px;
    }
    .sv-cta__visual-badge:hover { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .sv-cta__halo,
    .sv-cta__btn,
    .sv-cta__visual-badge {
        animation: none;
    }
    .sv-cta__title-flourish path { stroke-dashoffset: 0; }
    .sv-cta__visual-frame { rotate: 0deg; }
}
