/* ═══════════════════════════════════════════════════════════════
   DAL MASO — Pagina Azienda (page-azienda.php)
   Palette:
     Verde salvia:  #6A7854   Ambra vino:   #C4843E
     Testo scuro:   #2F3624   Avorio:       #FAF8F4
══════════════════════════════════════════════════════════════ */

.dm-azienda * { box-sizing: border-box; }
.dm-azienda {
    font-family: 'Google Sans Flex', 'Helvetica Neue', Arial, sans-serif;
    color: #2F3624;
    background: #FAF8F4;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ── Elementi condivisi ───────────────────────────────────────── */
.dm-az-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #C4843E;
    margin-bottom: 14px;
}
.dm-az-eyebrow--light { color: #E7C9A3; }

.dm-az-h2 {
    font-family: 'Kalnia', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.12;
    color: #2F3624;
    margin: 0 0 18px;
}
.dm-az-h2--light { color: #ffffff; }

.dm-az-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5b6150;
    max-width: 720px;
    margin: 0 auto;
}

.dm-az-section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px;
    padding: 0 24px;
}

/* Bottoni */
.dm-az-btn {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
}
.dm-az-btn--light,
.dm-az-btn--ghost {
    padding: 15px 34px;
    border-radius: 2px;
}
.dm-az-btn--light {
    background: #ffffff;
    color: #2F3624;
}
.dm-az-btn--light:hover { background: #C4843E; color: #ffffff; transform: translateY(-2px); }
.dm-az-btn--ghost {
    background: transparent;
    color: #6A7854;
    border: 1px solid #6A7854;
}
.dm-az-btn--ghost:hover { background: #6A7854; color: #ffffff; }
.dm-az-btn--text {
    color: #6A7854;
    padding: 0;
    border-bottom: 1px solid transparent;
}
.dm-az-btn--text span { transition: transform .3s ease; display: inline-block; }
.dm-az-btn--text:hover { color: #C4843E; }
.dm-az-btn--text:hover span { transform: translateX(5px); }

/* ── HERO ─────────────────────────────────────────────────────── */
.dm-az-hero {
    position: relative;
    height: 340px;
    background: url('/wp-content/uploads/2025/12/Terroir-1.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.dm-az-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(18,22,14,0.45), rgba(18,22,14,0.62));
}
.dm-az-hero__content { position: relative; z-index: 2; }
.dm-az-hero__eyebrow {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #E7C9A3;
    margin-bottom: 10px;
}
.dm-az-hero__title {
    font-family: 'Kalnia', Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

/* Barra-titolo Elementor: foto di sfondo dedicata per la pagina Azienda
   (sovrascrive breadcrumb-blog.jpg su .pavo-breadcrumbs-148::before) */
.page-template-page-azienda .pavo-breadcrumbs-148::before {
    background-image: url('/wp-content/uploads/2026/06/DAL_MASO-127-1-scaled.jpg') !important;
}

/* ════════════════ 1 · VISITE / DEGUSTAZIONI ═══════════════════ */
.dm-az-visite__banner {
    position: relative;
    background: url('/wp-content/uploads/2025/12/Experiences-1.jpg') center center / cover no-repeat;
    padding: 88px 24px;
    text-align: center;
}
.dm-az-visite__banner-overlay {
    position: absolute; inset: 0;
    background: rgba(20, 24, 16, 0.68);
}
.dm-az-visite__banner-inner {
    position: relative; z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}
.dm-az-visite__intro {
    color: #ece8df;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 30px;
}

.dm-az-visite__grid-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 90px;
}
.dm-az-visite__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.dm-tasting {
    background: #ffffff;
    border: 1px solid #ece7dd;
    border-radius: 4px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.dm-tasting:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(47, 54, 36, 0.12);
}
.dm-tasting__title {
    font-family: 'Kalnia', Georgia, serif;
    font-size: 1.32rem;
    font-weight: 600;
    color: #6A7854;
    margin: 0 0 16px;
    line-height: 1.25;
}
.dm-tasting__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #5b6150;
    margin: 0 0 24px;
    flex: 1 1 auto;
}
.dm-tasting__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ece7dd;
    padding-top: 18px;
    gap: 12px;
}
.dm-tasting__time {
    font-size: 0.95rem;
    color: #2F3624;
    font-weight: 500;
}
.dm-tasting__label {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a59b88;
    margin-bottom: 2px;
}
.dm-tasting__price {
    font-family: 'Kalnia', Georgia, serif;
    font-size: 1.15rem;
    color: #C4843E;
    font-weight: 600;
    white-space: nowrap;
}

.dm-az-eventi {
    margin-top: 48px;
    background: #6A7854;
    border-radius: 4px;
    padding: 48px 44px;
    text-align: center;
    color: #fff;
}
.dm-az-eventi__title {
    font-family: 'Kalnia', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 600;
    margin: 0 0 16px;
    color: #fff;
}
.dm-az-eventi__text {
    max-width: 760px;
    margin: 0 auto 28px;
    line-height: 1.75;
    color: #eef1e8;
    font-size: 1rem;
}
.dm-az-eventi .dm-az-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.dm-az-eventi .dm-az-btn--ghost:hover { background: #fff; color: #6A7854; }

/* ════════════════ 2 · TERRITORI ═══════════════════════════════ */
.dm-az-territori {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 32px;
}
.dm-az-territori__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}
.dm-territorio {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(47, 54, 36, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease;
}
.dm-territorio:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(47, 54, 36, 0.15);
}
.dm-territorio__img {
    height: 240px;
    overflow: hidden;
}
.dm-territorio__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.dm-territorio:hover .dm-territorio__photo { transform: scale(1.06); }
.dm-territorio__body {
    padding: 30px 30px 34px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.dm-territorio__name {
    font-family: 'Kalnia', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2F3624;
    margin: 0 0 14px;
}
.dm-territorio__desc {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #5b6150;
    margin: 0 0 24px;
    flex: 1 1 auto;
}

/* ════════════════ 3 · I TITOLARI ══════════════════════════════ */
.dm-az-titolari {
    background: #f1eee6;
    padding: 96px 32px;
}
.dm-az-titolari__grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.dm-titolare {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dm-titolare__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 24px;
}
.dm-titolare__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.dm-titolare:hover .dm-titolare__photo { transform: scale(1.05); }
.dm-titolare__role {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C4843E;
    font-weight: 600;
    margin-bottom: 8px;
}
.dm-titolare__name {
    font-family: 'Kalnia', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 600;
    color: #6A7854;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 16px;
}
.dm-titolare__bio {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #5b6150;
    margin: 0;
    max-width: 340px;
}

/* ════════════════ 4 · LE NOSTRE RADICI ════════════════════════ */
.dm-az-radici {
    padding: 100px 32px;
}
.dm-az-radici__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;   /* foto (orizzontale) a sx, testo a dx */
    gap: 56px;
    align-items: center;
}
.dm-az-radici__media {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(47, 54, 36, 0.16);
}
.dm-az-radici__photo {
    width: 100%;
    height: auto;            /* foto orizzontale mostrata intera, niente crop */
    display: block;
}
.dm-az-radici__text p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #4f5545;
    margin: 0 0 18px;
}
.dm-az-radici__text strong { color: #2F3624; font-weight: 600; }

/* ════════════════ 5 · PREMI / RICONOSCIMENTI ══════════════════ */
.dm-az-premi {
    background: #eceee7;          /* tenue tinta salvia, stacca da Titolari/Radici */
    padding: 96px 32px;
}
.dm-az-premi__archive {
    max-width: 980px;
    margin: 0 auto;
}
.dm-premi-year {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 36px;
    padding: 38px 0;
    border-top: 1px solid #d8dcd0;
}
.dm-premi-year:last-child { border-bottom: 1px solid #d8dcd0; }
.dm-premi-year__num {
    font-family: 'Kalnia', Georgia, serif;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1;
    color: #6A7854;
}
.dm-premi-year__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.dm-premio {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 22px;
    border-left: 2px solid #C4843E;
}
.dm-premio__award {
    font-family: 'Kalnia', Georgia, serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: #2F3624;
    line-height: 1.3;
}
.dm-premio__wine {
    font-size: 0.98rem;
    color: #4f5545;
    font-weight: 500;
}
.dm-premio__source {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a8473;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .dm-az-visite__grid,
    .dm-az-territori__grid,
    .dm-az-titolari__grid { grid-template-columns: repeat(2, 1fr); }
    .dm-az-radici__inner { grid-template-columns: 1fr; gap: 40px; }
    .dm-az-radici__media { max-width: 680px; margin: 0 auto; }
}
@media (max-width: 680px) {
    .dm-az-hero { height: 260px; }
    .dm-az-visite__banner { padding: 64px 22px; }
    .dm-az-visite__grid-wrap { padding: 56px 22px 64px; }
    .dm-az-visite__grid,
    .dm-az-territori__grid,
    .dm-az-titolari__grid { grid-template-columns: 1fr; gap: 24px; }
    .dm-az-territori,
    .dm-az-titolari,
    .dm-az-radici,
    .dm-az-premi { padding: 64px 22px; }
    .dm-az-eventi { padding: 38px 26px; }
    .dm-titolare__bio { max-width: 100%; }
    .dm-premi-year {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 0;
    }
    .dm-premi-year__num { font-size: 2.1rem; }
}

/* ── Ancore di sezione (link tendina menu "Azienda") ──────────────────────
   Offset per non finire sotto l'header fisso del tema quando si salta
   a #territori / #premi / #le-nostre-radici. */
.dm-az-anchor { scroll-margin-top: 120px; }
html { scroll-behavior: smooth; }
@media (max-width: 1024px) { .dm-az-anchor { scroll-margin-top: 90px; } }
