/* =========================================================
   AGRITENUTA SAN FRANCESCO — Pagina Esperienze
   File: wwwroot/css/esperienze.css
   Dipende da: site.css
   ========================================================= */

/* ─────────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────────── */
.page-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
    margin-top: calc(var(--nav-h, 80px) * -1);
    padding-top: var(--nav-h, 80px);
    overflow: hidden;
    background: var(--dark);
    display: flex;
    align-items: flex-end;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.72) 100%),
        url('/images/esperienze/hero-esperienze.jpg');
    background-size: cover;
    background-position: center 45%;
    transform: scale(1.03);
    animation: subtleZoom 22s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
    from { transform: scale(1.03); }
    to   { transform: scale(1.07); }
}

.page-hero__grain {
    position: absolute;
    inset: 0;
    opacity: .04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

.page-hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3.5rem;
    animation: fadeUp .9s .1s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: .67rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.page-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--gold-40);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    color: var(--cream);
    line-height: .97;
    letter-spacing: -.02em;
}
.page-hero__title em { font-style: italic; color: #d6e59a; }

/* ─────────────────────────────────────────────
   CONTAINER & SHARED
───────────────────────────────────────────── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: .67rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}
.label-line {
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--gold-40);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   INTRO MANIFESTO
───────────────────────────────────────────── */
.section-exp-intro { padding: 7rem 0 5rem; }

.exp-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 6rem;
    align-items: end;
}

.exp-intro-grid h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.08;
}
.exp-intro-grid h2 em { font-style: italic; color: #d6e59a; }

.exp-intro-body p {
    font-size: .98rem;
    color: var(--cream-60);
    line-height: 1.95;
    margin-bottom: 2rem;
}

/* Stagioni strip */
.seasons-strip {
    display: flex;
    border: 1px solid var(--white-05);
    border-radius: 8px;
    overflow: hidden;
}

.season {
    flex: 1;
    padding: 1.1rem 1.2rem;
    border-right: 1px solid var(--white-05);
    transition: background .25s ease;
}
.season:last-child { border-right: none; }
.season:hover { background: rgba(255,255,255,.03); }

.season__name {
    font-size: .60rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: .4rem;
}

.season__exp {
    font-size: .78rem;
    color: var(--cream-60);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   CARDS ESPERIENZE
───────────────────────────────────────────── */
.section-exp-grid { padding: 2rem 0 7rem; }

.exp-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5px;
}

.exp-card {
    position: relative;
    background: #1c2016;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background .3s ease;
}
.exp-card:hover { background: #202518; }

.exp-card__img {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.exp-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 55%);
}
.exp-card__img-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(.25,1,.5,1);
}
.exp-card:hover .exp-card__img-inner { transform: scale(1.05); }

.exp-card__season {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    font-size: .58rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(201,162,39,.5);
    color: var(--gold);
    background: rgba(20,22,16,.6);
    backdrop-filter: blur(6px);
}

.exp-card__icon {
    position: absolute;
    bottom: 1rem;
    left: 1.4rem;
    z-index: 2;
    font-size: 1.8rem;
    line-height: 1;
}

.exp-card__body {
    padding: 1.6rem 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .7rem;
}

.exp-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cream);
    line-height: 1.15;
}

.exp-card__body p {
    font-size: .88rem;
    color: var(--cream-60);
    line-height: 1.8;
    flex: 1;
}

.exp-card__meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--white-05);
    margin-top: auto;
    flex-wrap: wrap;
}

.exp-meta-item {
    font-size: .70rem;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--cream-45);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.exp-meta-item + .exp-meta-item::before {
    content: '·';
    color: var(--gold-40);
}

/* Card wide */
.exp-card--wide {
    grid-column: span 2;
    flex-direction: row;
}
.exp-card--wide .exp-card__img {
    aspect-ratio: unset;
    width: 46%;
    flex-shrink: 0;
}
.exp-card--wide .exp-card__body {
    padding: 3rem 2.5rem;
    justify-content: center;
}
.exp-card--wide .exp-card__body h3 { font-size: 2rem; }

/* ─────────────────────────────────────────────
   SEZIONE PERSONALIZZA
───────────────────────────────────────────── */
.section-custom {
    padding: 7rem 0;
    background: rgba(0,0,0,.20);
    border-top: 1px solid var(--white-05);
    border-bottom: 1px solid var(--white-05);
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.custom-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.4rem;
}
.custom-content h2 em { font-style: italic; color: #d6e59a; }

.custom-content > p {
    font-size: .97rem;
    color: var(--cream-60);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.custom-options {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-bottom: 2.5rem;
}
.custom-options li {
    font-size: .9rem;
    color: var(--cream-60);
    display: flex;
    align-items: center;
    gap: .8rem;
}
.custom-options li::before {
    content: '✦';
    color: var(--gold);
    font-size: .55rem;
    flex-shrink: 0;
}

/* Immagine con frame dorato decorativo */
.custom-img-wrap {
    position: relative;
    padding: 12px;
}

.custom-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.custom-img-wrap::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60%;
    height: 50%;
    border-top: 1px solid var(--gold-40);
    border-right: 1px solid var(--gold-40);
    border-radius: 0 6px 0 0;
    pointer-events: none;
}
.custom-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60%;
    height: 50%;
    border-bottom: 1px solid var(--gold-40);
    border-left: 1px solid var(--gold-40);
    border-radius: 0 0 0 6px;
    pointer-events: none;
}

/* ─────────────────────────────────────────────
   TESTIMONIANZE
───────────────────────────────────────────── */
.section-reviews { padding: 7rem 0; }

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}
.reviews-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--cream);
    margin-top: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    border-radius: 10px;
    overflow: hidden;
}

.review-card {
    background: #1c2016;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: background .25s ease;
}
.review-card:hover { background: #202518; }

.review-stars { color: var(--gold); letter-spacing: .1em; }

.review-card blockquote {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--cream);
    line-height: 1.55;
    font-weight: 300;
    flex: 1;
}

.review-card cite {
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--cream-45);
    font-style: normal;
}

/* ─────────────────────────────────────────────
   CTA FINALE
───────────────────────────────────────────── */
.section-exp-cta {
    position: relative;
    padding: 9rem 0;
    overflow: hidden;
    text-align: center;
}

.section-exp-cta__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.72)),
        url('/images/esperienze/cta-esperienze.jpg');
    background-size: cover;
    background-position: center;
    animation: subtleZoom 24s ease-in-out infinite alternate;
}

.section-exp-cta__content { position: relative; z-index: 2; }

.section-exp-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}
.section-exp-cta h2 em { font-style: italic; color: #d6e59a; }

.section-exp-cta p {
    font-size: .98rem;
    color: var(--cream-60);
    max-width: 500px;
    margin: 0 auto 2.8rem;
    line-height: 1.9;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: .95rem 2.2rem;
    border-radius: 999px;
    background: rgba(201,162,39,.95);
    color: var(--dark);
    font-size: .76rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 500;
    transition: transform .3s var(--ease-out-quart, cubic-bezier(.25,1,.5,1)), background .25s ease;
    white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); background: #d9b33d; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: .95rem 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    color: var(--cream);
    font-size: .76rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: background .25s ease;
    white-space: nowrap;
}
.btn-outline:hover { background: rgba(255,255,255,.07); }

.btn-ghost-gold {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--gold-40);
    padding-bottom: 2px;
    transition: border-color .2s ease;
}
.btn-ghost-gold:hover { border-color: var(--gold); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .exp-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-card--wide { grid-column: span 2; flex-direction: column; }
    .exp-card--wide .exp-card__img { width: 100%; aspect-ratio: 16 / 7; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .page-hero { height: 46vh; min-height: 330px; }
    .exp-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
    .custom-grid { grid-template-columns: 1fr; }
    .custom-img-wrap { display: none; }
    .exp-cards-grid { grid-template-columns: 1fr; }
    .exp-card--wide { grid-column: span 1; flex-direction: column; }
    .exp-card--wide .exp-card__img { width: 100%; aspect-ratio: 16 / 9; }
    .reviews-grid { grid-template-columns: 1fr; }
    .seasons-strip { flex-wrap: wrap; }
    .season { flex: 1 1 50%; }
}

@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }
    .season { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--white-05); }
    .season:last-child { border-bottom: none; }
    .exp-card--wide .exp-card__body { padding: 1.8rem 1.4rem; }
}