/*
Theme Name: AM Cornici
Theme URI: 
Author: AM Cornici
Author URI: 
Description: Tema su misura per AM Cornici.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: am-cornici
*/

:root {
    --color-primary: #274e37;
    --color-secondary: #8f9191;
    --color-muted: #6b7280;
    --color-accent: #d4af37;
    --color-dark: #1a1a1a;
    --color-light: #f4f4f4;
    --color-white: #ffffff;
    --color-bg-tint: #f5f8f6; /* Leggerissimo verde foresta */
    --color-bg-alt: #ebf1ed; /* Variante appena più scura */
    --font-primary: 'Inter', sans-serif;
    --header-height: 100px;
    --max-width: 1300px;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

/* Global Accessible Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background-color: var(--color-bg-tint);
  margin: 0;
  padding: 0;
  padding-top: var(--header-height);
  line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Header Premium (Sticky + Glassmorphism) */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-hero-section {
    position: relative;
    text-align: center;
    color: white;
    min-height: var(--hero-min-height, 85vh);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 220px 20px 140px;
    background-size: var(--hero-bg-size, cover);
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(30,80,50,0.6));
    z-index: 1;
}
.page-hero-title {
    font-size: var(--hero-title-size, 2.8rem);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    color: #fff;
}
.page-hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: #fff;
}
@media (max-width: 768px) {
    .page-hero-section {
        padding: 140px 20px 70px;
    }
    .page-hero-title {
        font-size: var(--hero-title-size, 2.0rem);
    }
    .page-hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
}
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
}
.site-header.no-sticky {
    position: absolute;
    top: 0;
    left: 0;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 70px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}
.site-logo img {
    max-height: 65px;
    width: auto;
    display: block;
}
.main-navigation {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 50px;
}
.layout-right .main-navigation {
    justify-content: flex-end;
    margin-right: 30px;
}
.layout-center .main-navigation {
    justify-content: center;
}
.nav-links-wrapper {
    display: flex;
    justify-content: center;
}
.desktop-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}
.desktop-menu a {
    color: var(--color-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    position: relative;
    padding: 10px 0;
}
.desktop-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}
.desktop-menu a:hover {
    color: var(--color-primary);
}
.desktop-menu a:hover::after {
    width: 100%;
}
.btn-small {
    padding: 12px 25px;
    font-size: 0.85rem;
    border-radius: 50px;
    letter-spacing: 1px;
}
.btn-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-primary);
    display: inline-block;
}
.btn-header:hover {
    background-color: transparent;
    color: var(--color-primary);
}
.header-actions {
    display: flex;
    align-items: center;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}
.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
    }
    .main-navigation.is-open {
        right: 0;
    }
    .nav-links-wrapper ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .nav-links-wrapper a {
        font-size: 1.2rem;
    }
    
    /* Hamburger Animation */
    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hero Premium */
.hero-premium {
    position: relative;
    min-height: var(--hero-min-height, 85vh);
    background-size: var(--hero-bg-size, cover);
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(39, 78, 55, 0.6));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-content h1 {
    font-size: var(--hero-title-size, 2.8rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Typography & Separators */
.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.title-separator {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0 auto 30px auto;
}
.section-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-secondary);
}

/* Sections */
.philosophy-section {
    padding: 120px 20px;
    background-color: var(--color-bg-tint);
}
.featured-aste-section {
    padding: 100px 20px 120px 20px;
    background-color: var(--color-bg-alt);
}
.section-heading {
    margin-bottom: 60px;
}

/* Premium Buttons */
.btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    display: inline-block;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--color-primary);
}
.btn-outline-dark {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    display: inline-block;
}
.btn-outline-dark:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Premium Cards */
.premium-card {
    border: none;
    box-shadow: none;
    background: transparent;
}
.premium-card .asta-card-img-wrapper {
    height: 380px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
}
.premium-card .asta-info {
    padding: 0;
    text-align: left;
}
.premium-card .asta-info h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

/* Grid Aste Premium */
.aste-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.asta-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    display: block !important;
}
.asta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.asta-card-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}
.asta-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}
.asta-card:hover .asta-card-img-wrapper img {
    transform: scale(1.06);
}
.asta-info {
    padding: 25px 20px;
}
.asta-info h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.asta-card:hover .asta-info h3 {
    color: var(--color-primary);
}

/* Single Product Layout */
.product-detail-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.product-gallery {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.main-image-wrapper {
    width: 100%;
    background-color: var(--color-bg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 4px;
    height: 500px;
}
@media (max-width: 768px) {
    .main-image-wrapper {
        height: clamp(280px, 60vw, 420px);
        padding: 15px;
    }
}
.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.thumbnail-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.thumb-wrapper {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background-color: var(--color-bg-tint);
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.thumb-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.thumb-wrapper.active {
    border-color: var(--color-primary);
}
.thumb-wrapper:hover {
    border-color: var(--color-secondary);
}

.product-info {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-title {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 5px;
    font-weight: 300;
}
.product-meta {
    font-size: 0.9rem;
    color: var(--color-secondary);
    letter-spacing: 1px;
    margin-bottom: 25px;
}
.product-description {
    font-size: 1.1rem;
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}
.product-attributes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--color-bg-tint);
    padding: 20px;
    border-radius: 4px;
}
.attr-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}
.attr-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.attr-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.attr-value {
    color: var(--color-secondary);
}

/* ==========================================================================
   Contact Page - Gallery / Art Frame Design
   ========================================================================== */
.contact-page-clean-header {
    text-align: center;
    padding: 60px 20px 40px;
}
.contact-clean-title {
    font-size: var(--hero-title-size, 2.8rem);
    font-weight: 300;
    color: var(--color-primary);
    margin: 0 0 15px 0;
    letter-spacing: 2px;
}
.contact-clean-subtitle {
    font-size: 1.2rem;
    color: var(--color-secondary);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.contact-layout-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding-bottom: 80px;
}
.contact-info-card {
    flex: 0 0 320px;
    background: #fbfcfc;
    border: 1px solid #edf0ee;
    padding: 35px 30px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.contact-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}
.contact-card-header svg {
    color: var(--color-primary);
    flex-shrink: 0;
}
.contact-card-header h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    color: var(--color-primary);
    letter-spacing: 1px;
}
.contact-item {
    margin-bottom: 22px;
}
.contact-item-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 6px;
}
.contact-item-value {
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.6;
    word-break: break-word;
}
.contact-item-value a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-item-value a:hover {
    color: var(--color-primary);
}
.contact-card-divider {
    height: 1px;
    background: #e8ece9;
    margin: 25px 0 20px;
}
.contact-social-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-social-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #dce2df;
    border-radius: 8px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}
.contact-social-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(39,78,55,0.15);
}

/* Art Frame Box */
.contact-form-frame-col {
    flex: 1 1 0;
    min-width: 0;
}
.contact-art-frame {
    background: #ffffff;
    border: 9px solid #14261d;
    outline: 2px solid #84ac97;
    outline-offset: -12px;
    padding: 50px 60px;
    box-shadow: 0 25px 60px rgba(15, 30, 22, 0.12), 0 5px 15px rgba(0,0,0,0.04);
    position: relative;
}
.contact-frame-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}
.contact-frame-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--color-secondary);
    margin: 0 auto 35px auto;
    max-width: 580px;
    line-height: 1.6;
    font-weight: 400;
}
.contact-frame-subtitle a {
    color: #128c7e;
    text-decoration: underline;
    font-weight: 600;
}
.contact-frame-subtitle a:hover {
    color: #075e54;
}

/* Minimal Line-based Form */
.contact-minimal-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.form-group-line {
    display: flex;
    flex-direction: column;
    position: relative;
}
.form-line-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7b837f;
    margin-bottom: 6px;
}
.form-line-input,
.form-line-textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d4ded8;
    background: transparent;
    padding: 8px 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-dark);
    border-radius: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-line-textarea {
    resize: vertical;
    min-height: 80px;
}
.form-line-input:focus,
.form-line-textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
    box-shadow: 0 1px 0 var(--color-primary);
}
.form-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.btn-frame-wa {
    background: #25D366;
    color: #ffffff;
    padding: 14px 26px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-frame-wa:hover {
    background: #1ebc57;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.btn-frame-submit {
    background: #0f241a;
    color: #ffffff;
    padding: 14px 35px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}
.btn-frame-submit:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 36, 26, 0.25);
}

.contact-item-wa {
    background: rgba(37, 211, 102, 0.08);
    padding: 15px;
    border-radius: 6px;
    border: 1px dashed rgba(37, 211, 102, 0.35);
    margin-bottom: 22px;
}
.btn-wa-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    margin-top: 6px;
    transition: all 0.3s ease;
}
.btn-wa-card:hover {
    background: #1ebc57;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.25);
}

@media (max-width: 991px) {
    .contact-layout-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .contact-info-card {
        flex: 1 1 100%;
        width: 100%;
    }
    .contact-art-frame {
        padding: 35px 25px;
        border-width: 6px;
        outline-offset: -8px;
    }
}
@media (max-width: 600px) {
    .contact-clean-title {
        font-size: 2.4rem;
    }
    .contact-frame-title {
        font-size: 1.8rem;
    }
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Footer Premium */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 20px;
    margin-top: 60px;
    font-size: 0.95rem;
}
.footer-widgets {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 15px;
    margin-bottom: 40px;
}
.footer-heading {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 1px;
}
.brand-col .footer-brand-name {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
}
.brand-col .footer-subtitle {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li {
    margin-bottom: 12px;
}
.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-menu a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    margin-bottom: 20px;
    line-height: 1.5;
}
.footer-contact-list .label {
    color: var(--color-white);
    font-weight: 500;
}
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-contact-list a:hover {
    color: var(--color-primary);
}
.footer-orari p {
    margin: 0;
}
.cta-desc {
    margin-bottom: 25px;
    line-height: 1.6;
}
.btn-footer-cta {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-footer-cta:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 20px;
}
.footer-legal a:hover {
    color: var(--color-white);
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
    .brand-col {
        grid-column: span 2;
    }
}
@media (max-width: 767px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .brand-col {
        grid-column: span 1;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-legal a {
        margin: 0 10px;
    }
}

/* Filter Tabs Premium */
.aste-filter-tabs .filter-btn {
    background: transparent;
    border: none;
    color: var(--color-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    padding: 10px 15px;
    margin: 0 10px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}
.aste-filter-tabs .filter-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}
.aste-filter-tabs .filter-btn:hover,
.aste-filter-tabs .filter-btn.active {
    color: var(--color-primary);
}
.aste-filter-tabs .filter-btn:hover::after,
.aste-filter-tabs .filter-btn.active::after {
    width: 100%;
}
.mix-item { transition: opacity 0.4s ease, transform 0.4s ease; }

/* Search Bar Galleria Aste */
.aste-search-wrapper {
    max-width: 520px;
    margin: 0 auto 35px;
    position: relative;
}
.aste-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.aste-search-icon {
    position: absolute;
    left: 18px;
    color: var(--color-secondary);
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.aste-search-input {
    width: 100%;
    padding: 14px 45px 14px 48px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    border: 1px solid #dcdcdc;
    border-radius: 30px;
    background-color: var(--color-white);
    color: var(--color-dark);
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.aste-search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(39, 78, 55, 0.12);
}
.aste-search-clear {
    position: absolute;
    right: 15px;
    background: #e4e4e4;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    color: #666;
    transition: all 0.2s ease;
}
.aste-search-clear:hover {
    background: var(--color-primary);
    color: #fff;
}
.aste-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: var(--color-secondary);
    font-size: 1.1rem;
    background: var(--color-white);
    border-radius: 8px;
    border: 1px dashed #dcdcdc;
    margin: 20px 0;
}

/* FSC Badge Animation & Hover */
.fsc-badge {
    will-change: transform, opacity, box-shadow;
}
.fsc-badge:hover {
    transform: translateY(-5px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(39, 78, 55, 0.14) !important;
    border-left-color: var(--color-accent) !important;
    background: #ffffff !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.fsc-badge img {
    transition: transform 0.4s ease;
}
.fsc-badge:hover img {
    transform: scale(1.08);
}

/* About Us Decorative Image Frames with Mobile Overflow Protection */
.about-image-wrapper {
    position: relative;
    width: 100%;
}
.about-decor-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid var(--color-accent);
    z-index: 0;
    pointer-events: none;
}
.about-decor-frame-reverse {
    position: absolute;
    top: 20px;
    left: -20px;
    bottom: -20px;
    right: 20px;
    background: var(--color-primary);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}
@media (max-width: 768px) {
    .about-decor-frame,
    .about-decor-frame-reverse {
        top: -10px;
        right: -10px;
        bottom: 10px;
        left: 10px;
    }
}
@media (max-width: 480px) {
    .about-decor-frame,
    .about-decor-frame-reverse {
        display: none; /* Previene ogni possibile overflow laterale su piccoli schermi */
    }
}

/* ZigZag Process Layout */
.process-zz-section {
    padding: 100px 20px;
    background: #ffffff;
    overflow: hidden;
}
.process-zz-container {
    max-width: 1200px;
    margin: 0 auto;
}
.process-zz-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
}
.process-zz-row:last-child {
    margin-bottom: 0;
}
.process-zz-row:nth-child(even) {
    flex-direction: row-reverse;
}
.process-zz-text {
    flex: 1 1 40%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.process-zz-text-inner {
    max-width: 500px;
}
.process-zz-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: 300;
    position: relative;
    padding-bottom: 15px;
}
.process-zz-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}
.process-zz-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-secondary);
}
.process-zz-image {
    flex: 1 1 50%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.process-zz-img-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.process-zz-row:hover .process-zz-img-bg {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .process-zz-row, .process-zz-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 70px;
    }
    .process-zz-image, .process-zz-text {
        flex: 1 1 100%;
        width: 100%;
    }
    .process-zz-image {
        aspect-ratio: 16/10;
    }
    .process-zz-text {
        padding: 0 10px;
    }
    .process-zz-title {
        font-size: 2rem;
    }
    .process-zz-text-inner {
        margin: 0 auto;
        text-align: center;
    }
    .process-zz-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
