/* ============================================================
   Il Podio Service - Design System
   Primary: #1B5E20 (forest green)  Accent: #43A047  Light: #E8F5E9
   Font: Outfit (headings) + DM Sans (body) via Google Fonts
   ============================================================ */

:root {
    --c-green-900: #0d3311;
    --c-green-800: #1B5E20;
    --c-green-800-rgb: 27, 94, 32;

    --c-green-700: #2E7D32;
    --c-green-600: #388E3C;
    --c-green-500: #43A047;
    --c-green-100: #E8F5E9;
    --c-green-50:  #f1f9f1;

    --c-ink: #1a1a1a;
    --c-body: #4a4a4a;
    --c-muted: #6e6e6e;
    --c-light: #b0b0b0;

    --c-bg: #fafaf8;
    --c-surface: #ffffff;
    --c-surface-alt: #f5f5f1;

    --radius-sm: .5rem;
    --radius-md: .875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-full: 999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.12);

    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

    --bs-font-sans-serif: var(--font-body);
}

/* ========================= BASE ========================= */
body {
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display);
    color: var(--c-ink);
    font-weight: 700;
}

a { color: var(--c-green-700); }
a:hover { color: var(--c-green-800); }

.fw-800 { font-weight: 800 !important; }
.text-green { color: var(--c-green-800); }
.bg-green-50 { background: var(--c-green-50); }
.bg-green-100 { background: var(--c-green-100); color: var(--c-green-900); }

img { max-width: 100%; height: auto; }

/* ========================= BOOTSTRAP OVERRIDES ========================= */

.btn {
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all .2s ease;
    letter-spacing: .01em;
}
.btn-lg { padding: .75rem 1.75rem; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm { padding: .35rem .85rem; font-size: .8rem; }

.btn-primary { background: var(--c-green-800); border-color: var(--c-green-800); color: #fff; }
.btn-primary:hover, .btn-primary:active, .btn-primary:focus-visible { background: var(--c-green-900); border-color: var(--c-green-900); color: #fff; }
.btn-primary:focus-visible { box-shadow: 0 0 0 .25rem rgba(27,94,32,.4); }

.btn-outline-primary { color: var(--c-green-800); border-color: var(--c-green-800); }
.btn-outline-primary:hover, .btn-outline-primary:active { background: var(--c-green-800); border-color: var(--c-green-800); color: #fff; }

.btn-light { background: #fff; border-color: #e5e5e0; color: var(--c-ink); }
.btn-light:hover { background: var(--c-green-50); border-color: var(--c-green-500); color: var(--c-green-800); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--c-green-800); border-color: #fff; }

/* .bg-primary { background-color: var(--c-green-800) !important; } */
.bg-primary { background-color: rgba(var(--c-green-800-rgb), var(--bs-bg-opacity)) !important; }
.border-primary { border-color: var(--c-green-800) !important; }
.text-primary { color: var(--c-green-800) !important; }
.link-primary { color: var(--c-green-700); }
.link-primary:hover { color: var(--c-green-800); }

.form-check-input:checked {
    background-color: var(--c-green-800);
    border-color: var(--c-green-800);
}

.card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease;
}

.form-control, .form-select {
    border: 1.5px solid #e0e0dc;
    border-radius: var(--radius-sm);
    padding: .6rem .85rem;
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--c-green-600);
    box-shadow: 0 0 0 .2rem rgba(67,160,71,.15);
}
.form-label { font-weight: 600; font-size: .85rem; color: var(--c-ink); }

.badge { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }

.alert { border: none; border-radius: var(--radius-md); font-size: .9rem; }


/* ========================= ICON SIZING (Lucide) ========================= */
.w-3 { width: 12px; } .h-3 { height: 12px; }
.w-4 { width: 16px; } .h-4 { height: 16px; }
.w-5 { width: 20px; } .h-5 { height: 20px; }
.w-6 { width: 24px; } .h-6 { height: 24px; }
.w-8 { width: 32px; } .h-8 { height: 32px; }
.w-10 { width: 40px; } .h-10 { height: 40px; }
.w-12 { width: 48px; } .h-12 { height: 48px; }
.w-16 { width: 64px; } .h-16 { height: 64px; }
.w-20 { width: 80px; } .h-20 { height: 80px; }
.w-24 { width: 96px; } .h-24 { height: 96px; }


/* ========================= NAVBAR ========================= */
.site-nav {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: .5rem 0;
}
.site-nav .navbar-brand img { height: 42px; width: auto; }
.site-nav .nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    color: var(--c-ink);
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.site-nav .nav-link:hover { color: var(--c-green-700); background: var(--c-green-50); }
.site-nav .btn-primary {
    border-radius: var(--radius-full) !important;
    padding: .5rem 1.15rem !important;
    font-size: .85rem !important;
}
.nav-icon-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    transition: all .2s;
    position: relative;
}
.nav-icon-link:hover { color: var(--c-green-700); background: var(--c-green-50); }
.nav-icon-link .badge {
    position: absolute;
    font-size: .65rem;
    background: var(--c-green-800);
}


/* ========================= HERO ========================= */
.hero-home {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--c-green-900);
    color: #fff;
}
.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,51,17,.92) 0%, rgba(27,94,32,.78) 50%, rgba(46,125,50,.65) 100%);
    z-index: 1;
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(.7);
}
.hero-home .container { position: relative; z-index: 2; }

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-full);
    padding: .4rem .9rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
}
.hero-title .accent { color: #A5D6A7; }

.hero-subtitle {
    font-size: 1.15rem;
    opacity: .9;
    line-height: 1.7;
    font-weight: 400;
    max-width: 540px;
}

.motto {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    color: #A5D6A7;
    letter-spacing: .02em;
    font-size: 1.3em;
}
.motto-footer {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    letter-spacing: .02em;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: #81C784;
}
.hero-stat-item span {
    font-size: .78rem;
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 500;
}

/* Hero photo mosaic */
.hero-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    max-width: 440px;
    margin-left: auto;
}
.hero-mosaic-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
}
.hero-mosaic-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.hero-mosaic-item.tall { grid-row: span 2; }
.hero-mosaic-item .mosaic-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .6rem .8rem;
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}


/* ========================= SECTIONS ========================= */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-dark { background: var(--c-green-900); color: #fff; }
.section-light { background: var(--c-surface); }
.section-alt { background: var(--c-surface-alt); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--c-green-700);
    margin-bottom: .75rem;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 24px; height: 2px;
    background: var(--c-green-500);
}
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    color: var(--c-ink);
}
.section-dark .section-title { color: #fff; }
.section-dark .section-label { color: #81C784; }
.section-dark .section-label::before { background: #81C784; }


/* ========================= GALLERY STRIP ========================= */
.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13,51,17,.8) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: #fff;
}
.gallery-item-overlay h3 {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .2rem;
}
.gallery-item-overlay p {
    font-size: .78rem;
    opacity: .85;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .gallery-strip { grid-template-columns: 1fr; }
    .gallery-item { aspect-ratio: 16/9; }
}


/* ========================= STEPS ========================= */
.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--radius-full);
    background: var(--c-green-100);
    color: var(--c-green-800);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.step-icon {
    width: 72px; height: 72px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-green-100);
    color: var(--c-green-700);
    margin-bottom: 1rem;
}


/* ========================= FEATURE CARDS ========================= */
.feature-card {
    border: 1px solid rgba(0,0,0,.05);
    border-radius: var(--radius-md);
    background: var(--c-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
    height: 100%;
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-green-100);
    color: var(--c-green-700);
    margin-bottom: 1rem;
}


/* ========================= CTA BLOCK ========================= */
.cta-block {
    background: linear-gradient(135deg, var(--c-green-800) 0%, var(--c-green-700) 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(129,199,132,.12), transparent 70%);
    border-radius: 50%;
}
.cta-block::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(129,199,132,.12), transparent 70%);
    border-radius: 50%;
}


/* ========================= TEAM GRID ========================= */
.team-grid-card {
    cursor: pointer;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .35s ease;
    background: var(--c-surface);
}
.team-grid-card:hover {
    border-color: var(--c-green-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.team-grid-card-header {
    background: linear-gradient(135deg, var(--c-green-50) 0%, #f0f0ec 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    transition: background .3s;
}
.team-grid-card:hover .team-grid-card-header {
    background: linear-gradient(135deg, var(--c-green-700) 0%, var(--c-green-900) 100%);
}
.team-logo-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.team-logo-circle img {
    width: 80px; height: 80px;
    object-fit: contain;
}
.team-grid-card-body {
    padding: 1.25rem;
}
.team-grid-card:hover .team-logo-circle {
    box-shadow: var(--shadow-lg);
}


/* ========================= TEAM DETAIL ========================= */
.team-detail-header {
    background: linear-gradient(135deg, var(--c-green-800) 0%, var(--c-green-700) 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.team-detail-logo {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.team-detail-logo img {
    width: 72px; height: 72px;
    object-fit: contain;
    border-radius: 50%;
}


/* ========================= SEARCH ========================= */
.search-box .form-control-lg {
    border: 2px solid #e8e8e4;
    border-radius: var(--radius-full);
    padding-left: 48px;
    transition: border-color .2s, box-shadow .2s;
}
.search-box .form-control-lg:focus {
    border-color: var(--c-green-500);
    box-shadow: 0 0 0 .25rem rgba(67,160,71,.12);
}


/* ========================= EMPTY STATES ========================= */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}
.empty-state-icon {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--c-surface-alt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}


/* ========================= PRODUCT CARDS ========================= */
.product-card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all .3s ease;
    background: var(--c-surface);
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.product-card-img {
    aspect-ratio: 1;
    background: var(--c-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 120px;
}
.product-name { transition: color .2s; }
.product-card:hover .product-name { color: var(--c-green-700); }


/* ========================= PRODUCT DETAIL ========================= */
.product-image-box {
    aspect-ratio: 1;
    background: var(--c-surface-alt);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-image-box img {
    width: 100%; height: 100%;
    object-fit: contain;
}

/* Option Buttons */
.option-label { cursor: pointer; }
.option-label input { display: none; }
.option-btn {
    display: inline-block;
    padding: .45rem .85rem;
    border: 1.5px solid #e0e0dc;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    transition: all .15s;
}
.option-label input:checked + .option-btn {
    background: var(--c-green-800);
    border-color: var(--c-green-800);
    color: #fff;
}
.option-btn:hover {
    border-color: var(--c-green-500);
    background: var(--c-green-50);
}

/* Quantity Controls */
.qty-btn {
    width: 40px; height: 40px;
    border: 1.5px solid #e0e0dc;
    border-radius: var(--radius-sm);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s;
}
.qty-btn:hover { background: var(--c-green-50); border-color: var(--c-green-500); }
.qty-input {
    width: 60px;
    text-align: center;
    border: 1.5px solid #e0e0dc;
    border-radius: var(--radius-sm);
    padding: .35rem;
    font-weight: 600;
    font-family: var(--font-display);
}


/* ========================= TEAM PRODUCT LIST ========================= */
.team-product-card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    background: var(--c-surface);
    padding: 1.5rem;
    transition: all .25s ease;
}
.team-product-card:hover {
    box-shadow: var(--shadow-md);
}
.team-product-media {
    width: 160px;
    flex-shrink: 0;
}
.team-product-img {
    width: 100%; height: 160px;
    background: var(--c-surface-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.team-product-main-photo-btn {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    padding: .35rem;
    cursor: zoom-in;
}
.team-product-img img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.team-product-thumbs {
    display: flex;
    gap: .45rem;
    margin-top: .6rem;
    overflow-x: auto;
    padding-bottom: .1rem;
}
.team-product-thumb-btn {
    width: 42px;
    height: 42px;
    border: 1.5px solid #d6d6d1;
    border-radius: .45rem;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
    cursor: zoom-in;
}
.team-product-thumb-btn:hover,
.team-product-thumb-btn.active {
    border-color: var(--c-green-600);
    box-shadow: 0 0 0 .15rem rgba(67,160,71,.15);
}
.team-product-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .35rem;
}

.team-gallery-modal {
    background: rgba(7, 18, 9, .72);
}
.team-gallery-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    z-index: 5;
}
.team-gallery-slide {
    background: #fff;
    border-radius: .8rem;
    min-height: 70vh;
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .8rem;
}
.team-gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: 74vh;
    object-fit: contain;
}
.team-gallery-modal .carousel-control-prev,
.team-gallery-modal .carousel-control-next {
    width: 9%;
}
.team-gallery-modal .carousel-control-prev-icon,
.team-gallery-modal .carousel-control-next-icon {
    background-size: 58% 58%;
    background-color: rgba(0,0,0,.45);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
}


/* ========================= CART ========================= */
.cart-item {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    background: var(--c-surface);
    padding: 1.25rem;
    transition: box-shadow .25s ease;
}
.cart-item:hover { box-shadow: var(--shadow-sm); }
.cart-item-img {
    width: 80px; height: 80px;
    background: var(--c-surface-alt);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cart-item-img img {
    width: 100%; height: 100%;
    object-fit: contain;
}


/* ========================= AUTH ========================= */
.auth-wrapper {
    padding: 3rem 1rem;
    max-width: 440px;
    margin: 0 auto;
}
.auth-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,.06);
    background: var(--c-surface);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}
.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.auth-header .auth-icon {
    width: 56px; height: 56px;
    background: var(--c-green-100);
    color: var(--c-green-800);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ========================= ACCOUNT ========================= */
.account-card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    background: var(--c-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all .25s ease;
}
.account-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.account-card-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: var(--c-green-100);
    color: var(--c-green-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}


/* ========================= CHECKOUT ========================= */
.checkout-section-card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    background: var(--c-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}


/* ========================= SUCCESS ========================= */
.success-icon {
    width: 80px; height: 80px;
    border-radius: var(--radius-full);
    background: var(--c-green-100);
    color: var(--c-green-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ========================= FOOTER ========================= */
.site-footer {
    background: var(--c-green-900);
    color: rgba(255,255,255,.7);
    padding-top: 3.5rem;
}
.site-footer h5, .site-footer h6 { color: #fff; font-family: var(--font-display); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-brand-text {
    font-size: .88rem;
    line-height: 1.6;
    color: rgba(255,255,255,.55);
}
.footer-divider {
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 2rem 0;
}
.footer-bottom {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
}
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    font-size: .85rem;
}
.footer-contact li svg { flex-shrink: 0; opacity: .5; }


/* ========================= PAGE HERO ========================= */
.page-hero {
    background: linear-gradient(135deg, var(--c-green-900), var(--c-green-700));
    color: #fff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(129,199,132,.15), transparent 70%);
    border-radius: 50%;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .25;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .container { position: relative; z-index: 1; }




/* ========================= HERO BUTTONS ========================= */
.btn-hero-primary {
    background: #fff;
    color: var(--c-green-800);
    border: 2px solid #fff;
    font-weight: 700;
}
.btn-hero-primary:hover, .btn-hero-primary:active {
    background: var(--c-green-100);
    color: var(--c-green-900);
    border-color: var(--c-green-100);
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
}
.btn-hero-outline:hover, .btn-hero-outline:active {
    background: #fff;
    color: var(--c-green-800);
    border-color: #fff;
}


/* ========================= CHI SIAMO GALLERY ========================= */
.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-gallery-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--c-surface-alt);
}
.about-gallery-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.about-gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.about-gallery-thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--c-surface-alt);
}
.about-gallery-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.about-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--c-surface-alt);
    border: 2px dashed var(--c-green-500);
    border-radius: var(--radius-xl);
    color: var(--c-green-700);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .85rem;
    text-align: center;
    padding: 1rem;
    min-height: 200px;
}
.about-placeholder.sm {
    border-radius: var(--radius-lg);
    min-height: 120px;
    font-size: .75rem;
}


/* ========================= CONTACT ========================= */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,.06);
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
    transition: all .25s ease;
}
.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.contact-info-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: var(--c-green-100);
    color: var(--c-green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-form-card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-lg);
    background: var(--c-surface);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}


/* ========================= RESPONSIVE ========================= */
@media (max-width: 991.98px) {
    .hero-mosaic { display: none; }
    .hero-stats { gap: 1.5rem; }
    .gallery-strip { gap: .75rem; }
    .section { padding: 3.5rem 0; }
    .cta-block { padding: 2.5rem 1.5rem; }
    .team-product-media { width: 120px; }
    .team-product-img { height: 120px; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
    .hero-home { min-height: auto; padding: 3rem 0; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .team-product-media { width: 100px; }
    .team-product-img { height: 100px; }
    .team-gallery-slide {
        min-height: 60vh;
        max-height: 70vh;
    }
}

main{
  margin-top: 70px;
}