/*
   Terra Adriatica Bio - GRAFICA PREMIUM RENDER 2026
   Versione: 20260529-render-premium-04-calendar-fix
   Questo CSS unifica header, footer, prodotti e pagine interne.
*/

:root {
    --green-950: #052719;
    --green-900: #08351f;
    --green-800: #0e4f2d;
    --green-700: #14653a;
    --green-600: #247c48;
    --green-500: #3d9657;
    --leaf: #9bc33b;
    --leaf-soft: #eaf4da;
    --gold: #c99734;
    --gold-2: #e3bd60;
    --cream: #fff8e9;
    --cream-2: #fbf1dc;
    --paper: rgba(255, 255, 255, .82);
    --ink: #14291c;
    --muted: #677468;
    --line: rgba(20, 60, 35, .12);
    --cherry: #b70f2f;
    --watermelon: #087147;
    --shadow: 0 28px 80px rgba(5, 39, 25, .14);
    --shadow-soft: 0 16px 46px rgba(5, 39, 25, .09);
    --radius: 30px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 2%, rgba(227, 189, 96, .22), transparent 28rem),
        radial-gradient(circle at 90% 10%, rgba(155, 195, 59, .13), transparent 32rem),
        linear-gradient(180deg, #fffaf0 0%, #f8f4e9 42%, #ffffff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 9999; padding: 10px 14px; background: var(--green-900); color: #fff; border-radius: 10px; }
.skip-link:focus { left: 10px; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 12px 34px rgba(5, 39, 25, .08); }
.topbar { color: rgba(255,255,255,.88); background: linear-gradient(90deg, var(--green-950), var(--green-800)); font-size: .80rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-right { color: rgba(255,255,255,.74); white-space: nowrap; }
.navbar { background: rgba(255,255,255,.91); border-bottom: 1px solid rgba(20,60,35,.08); backdrop-filter: blur(18px); }
.nav-inner { min-height: 104px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 260px; max-height: 78px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(5, 39, 25, .10)); }
.nav-menu { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex-wrap: wrap; }
.nav-menu a { position: relative; padding: 11px 12px; border-radius: 999px; color: rgba(20,41,28,.88); font-size: .90rem; font-weight: 760; transition: background .2s ease, transform .2s ease, color .2s ease; }
.nav-menu a:hover, .nav-menu a.active { color: var(--green-950); background: rgba(201,151,52,.12); transform: translateY(-1px); }
.nav-menu a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--leaf), var(--gold)); }
.nav-cta { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #03542f, #0c713f); font-size: .88rem; font-weight: 850; box-shadow: 0 15px 34px rgba(3,84,47,.20); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 999px; border: 0; color: #fff; background: var(--green-900); cursor: pointer; box-shadow: 0 12px 24px rgba(5,39,25,.18); }
.nav-toggle span { width: 18px; height: 2px; display: block; margin: 3px 0; background: #fff; border-radius: 99px; }
.nav-toggle em { margin-left: 5px; font-style: normal; font-size: .84rem; font-weight: 800; }

/* TYPOGRAPHY / GENERIC */
.section { padding: clamp(58px, 7vw, 92px) 0; }
.section-tight { padding: clamp(40px, 5vw, 62px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head p { max-width: 600px; margin: 0; color: var(--muted); }
.section-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: #a97924; font-size: .78rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker::before, .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
h1, h2, h3 { color: var(--green-950); margin-top: 0; }
h1, .display-title, .section-title, .page-hero h1, .home-hero h1 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.058em; line-height: .96; }
.section-title, .section h2 { font-size: clamp(2.10rem, 4vw, 3.60rem); line-height: 1; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 18px; border: 1px solid transparent; font-weight: 900; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(5,39,25,.16); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #07542f, #0b703e); }
.btn-gold { color: var(--green-950); background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.btn-light { color: var(--green-950); background: rgba(255,255,255,.78); border-color: rgba(20,60,35,.18); }

/* HERO HOME */
.home-hero { position: relative; isolation: isolate; min-height: 680px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--green-950); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(5,39,25,.94) 0%, rgba(5,39,25,.82) 39%, rgba(5,39,25,.36) 72%, rgba(5,39,25,.25) 100%); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -4; background-image: url('../img/prodotti/uva.webp'); background-size: cover; background-position: center right; filter: saturate(1.10) contrast(1.04); }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 78px 78px; }
.home-hero .container { padding: 92px 0 112px; }
.home-hero h1 { max-width: 890px; margin: 0; color: #fff; font-size: clamp(3.5rem, 8.2vw, 7.2rem); }
.home-hero h1 mark { color: var(--gold-2); background: transparent; }
.hero-text { max-width: 720px; margin: 28px 0 0; color: rgba(255,255,255,.86); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; gap: 10px; margin-top: 32px; }
.hero-proof div { padding: 15px 16px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px); }
.hero-proof strong { display: block; color: #fff; font-size: 1.24rem; line-height: 1; }
.hero-proof span { display: block; margin-top: 6px; color: rgba(255,255,255,.70); font-size: .82rem; font-weight: 700; }

/* PAGE HERO */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(92px, 11vw, 150px) 0 clamp(64px, 8vw, 96px); color: #fff; background: var(--green-950); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(5,39,25,.96) 0%, rgba(5,39,25,.78) 55%, rgba(5,39,25,.38) 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -3; background-image: var(--hero-image, url('../img/prodotti/uva.webp')); background-size: cover; background-position: center; filter: saturate(1.08); }
.page-hero h1 { max-width: 920px; margin: 0; color: #fff; font-size: clamp(3rem, 6.4vw, 6.4rem); }
.page-hero p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.84); font-size: 1.16rem; }

/* CARDS / GRIDS */
.card, .glass-card, .content-card, .info-box, .product-card, .quality-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-soft); }
.card, .content-card, .glass-card { padding: clamp(24px, 3vw, 34px); }
.cards, .feature-grid, .product-cards, .small-cards { display: grid; gap: 22px; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.small-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-grid, .split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr); gap: 28px; align-items: start; }
.rich-text h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1; }
.rich-text p { color: var(--muted); }
.check-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.check-list.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.72); border: 1px solid var(--line); font-weight: 760; }
.check-list li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: var(--green-700); background: var(--leaf-soft); font-weight: 950; }
.green-card { color: #fff; background: linear-gradient(135deg, var(--green-900), var(--green-700)); }
.green-card h3 { color: #fff; }
.green-card p { color: rgba(255,255,255,.78); }

/* HOME SECTIONS */
.home-products { margin-top: -52px; position: relative; z-index: 2; }
.product-tile { min-height: 310px; display: flex; flex-direction: column; justify-content: end; padding: 0; overflow: hidden; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.product-tile:hover { transform: translateY(-6px); box-shadow: 0 34px 90px rgba(5,39,25,.18); }
.product-tile-img { min-height: 170px; background-size: cover; background-position: center; }
.product-tile-body { padding: 22px; background: rgba(255,255,255,.88); }
.product-tile h3 { margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; letter-spacing: -.04em; line-height: 1; }
.product-tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* PRODUCTS PAGE RENDER */
.products-render .render-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(54px, 7vw, 82px) 0 46px; background: linear-gradient(180deg, #fff9ea, #fbf6ea); }
.products-render .render-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(255,249,234,.98) 0%, rgba(255,249,234,.87) 36%, rgba(255,249,234,.42) 58%, rgba(255,249,234,.08) 100%); }
.products-render .render-hero::after { content: ""; position: absolute; top: 0; right: 0; width: min(760px, 62vw); height: 100%; z-index: -3; background-image: linear-gradient(80deg, rgba(255,249,234,.62), rgba(255,249,234,.08) 40%), url('../img/prodotti/uva.webp'); background-size: cover; background-position: center; filter: saturate(1.08); }
.render-hero-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; gap: 38px; }
.render-hero h1 { margin: 0; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 7vw, 6.2rem); line-height: .92; letter-spacing: -.065em; }
.hero-line { width: 46px; height: 3px; margin: 22px 0 18px; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--leaf)); }
.render-hero p { max-width: 540px; margin: 0; color: #1c2a20; font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.45; }
.render-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.render-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 700px; overflow: hidden; margin-top: 26px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: 0 16px 38px rgba(5,39,25,.10); backdrop-filter: blur(16px); }
.render-stat { display: flex; align-items: center; gap: 10px; padding: 16px; border-right: 1px solid rgba(20,60,35,.08); }
.render-stat:last-child { border-right: 0; }
.render-stat b { display: block; color: var(--green-950); font-size: 1.05rem; line-height: 1; }
.render-stat span { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; font-weight: 760; }
.render-stat i { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #f2e7bd; font-style: normal; }
.render-product-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: -16px; }
.render-product { position: relative; min-height: 318px; overflow: hidden; border-radius: 28px; background: rgba(255,255,255,.80); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.render-product:hover { transform: translateY(-6px); box-shadow: 0 34px 90px rgba(5,39,25,.17); }
.render-product-img { height: 138px; background-size: cover; background-position: center; position: relative; }
.render-product-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, rgba(255,255,255,.92) 100%); }
.render-icon { position: absolute; top: 18px; left: 18px; width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; z-index: 2; border-radius: 50%; background: var(--green-600); border: 3px solid rgba(255,255,255,.86); box-shadow: 0 18px 30px rgba(5,39,25,.16); }
.render-icon img { width: 44px; height: 44px; object-fit: contain; display: block; }
.render-product.bio .render-icon { background: var(--leaf); color: var(--green-950); }
.render-product.cherry .render-icon { background: var(--cherry); }
.render-product.watermelon .render-icon { background: var(--watermelon); }
.render-product.peas .render-icon { background: linear-gradient(135deg, #42a83b, #0e6b36); }
.render-product-body { padding: 8px 24px 24px; }
.season-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; color: #fff; background: var(--green-600); font-size: .70rem; font-weight: 950; }
.render-product.bio .season-pill { color: var(--green-950); background: var(--leaf); }
.render-product.cherry .season-pill { background: var(--cherry); }
.render-product.watermelon .season-pill { background: var(--watermelon); }
.render-product.peas .season-pill { background: #2f8d38; }
.render-product h2 { margin: 14px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; line-height: .96; letter-spacing: -.05em; }
.render-product.cherry h2 { color: #8d1328; }
.render-product.peas h2 { color: #0b6234; }
.render-product p { margin: 0; color: var(--muted); font-size: .90rem; line-height: 1.54; }
.render-arrow { position: absolute; right: 22px; bottom: 20px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.82); font-weight: 950; }
.availability-box { display: grid; grid-template-columns: 230px 1fr; gap: 22px; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.68); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.availability-legend { display: grid; align-content: center; gap: 12px; color: #2b4635; font-size: .88rem; font-weight: 780; }
.legend-item { display: flex; gap: 10px; align-items: center; }
.legend-dot { width: 14px; height: 14px; border-radius: 99px; background: var(--green-600); box-shadow: inset 0 0 0 2px rgba(255,255,255,.60); }
.legend-dot.bio { background: var(--leaf); }
.legend-dot.cherry { background: var(--cherry); }
.legend-dot.watermelon { background: var(--watermelon); }
.legend-dot.peas { background: #2f8d38; }
.availability-timeline { display: grid; grid-template-rows: 34px repeat(4, 34px); gap: 8px; padding: 4px 0; }
.months { display: grid; grid-template-columns: repeat(10, 1fr); color: #26372c; font-size: .76rem; font-weight: 950; text-transform: uppercase; }
.months span { position: relative; text-align: center; }
.months span::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 8px; height: 8px; transform: translateX(-50%); border-radius: 50%; background: #d7c46a; border: 2px solid var(--green-950); }
.bars { grid-row: 2 / -1; display: grid; grid-template-rows: repeat(4, 34px); gap: 8px; padding-top: 8px; border-radius: 14px; background-image: linear-gradient(90deg, rgba(20,60,35,.09) 1px, transparent 1px); background-size: calc(100% / 10) 100%; }
.bar { height: 16px; align-self: center; border-radius: 999px; background: linear-gradient(90deg, #3d8f35, #17662f); box-shadow: 0 10px 22px rgba(20,90,45,.18); }
.bar.bio { background: linear-gradient(90deg, #a9cc42, #7aae27); }
.bar.cherry { background: linear-gradient(90deg, #ca1233, #981028); }
.bar.watermelon { background: linear-gradient(90deg, #187443, #075d39); }
.bar.peas { background: linear-gradient(90deg, #59b94b, #17803c); }
.info-panels { display: grid; grid-template-columns: 1.05fr 1.2fr .95fr; gap: 22px; }
.info-panel { padding: 26px; border-radius: 26px; background: rgba(255,255,255,.70); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.info-panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; letter-spacing: -.04em; }
.mini-list { display: grid; gap: 14px; }
.mini-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.mini-icon { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: #edf6e9; }
.mini-icon img { width: 24px; height: 24px; object-fit: contain; display: block; }
.mini-row strong { display: block; color: var(--green-950); font-size: .94rem; }
.mini-row span:last-child { display: block; color: var(--muted); font-size: .86rem; line-height: 1.38; }
.pack-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(200px, .85fr); gap: 18px; align-items: center; }
.box-render { position: relative; min-height: 178px; }
.crate { position: absolute; left: 0; bottom: 24px; width: 190px; height: 82px; border-radius: 10px 10px 16px 16px; background: linear-gradient(140deg, #0a4d2a, #0f6e39); box-shadow: 18px 24px 32px rgba(5,39,25,.16); transform: perspective(420px) rotateY(-9deg); }
.crate::before { content: ""; position: absolute; left: 12px; right: 12px; top: -36px; height: 50px; border-radius: 14px; background: radial-gradient(circle at 18px 24px, #d7e764 0 13px, transparent 14px), radial-gradient(circle at 42px 18px, #b8cd35 0 13px, transparent 14px), radial-gradient(circle at 66px 25px, #dce86d 0 13px, transparent 14px), radial-gradient(circle at 92px 18px, #bdca3e 0 13px, transparent 14px), radial-gradient(circle at 118px 26px, #e0ef75 0 13px, transparent 14px), radial-gradient(circle at 144px 20px, #cbdc51 0 13px, transparent 14px), radial-gradient(circle at 160px 32px, #b8cc37 0 13px, transparent 14px); }
.crate::after { content: "Terra Adriatica Bio"; position: absolute; left: 22px; bottom: 24px; color: #efd26b; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 700; }
.carton { position: absolute; right: 0; bottom: 44px; width: 106px; height: 118px; border-radius: 10px; background: linear-gradient(135deg, #e1b96d, #c89542); box-shadow: 12px 18px 30px rgba(83,51,12,.13); }
.carton::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 48%, rgba(255,255,255,.28) 49% 51%, transparent 52%); }
.pack-note { position: absolute; right: 4px; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.83); border: 1px solid rgba(6,61,34,.18); color: var(--green-950); font-size: .76rem; font-weight: 850; box-shadow: 0 12px 26px rgba(5,39,25,.10); }
.check-panel { display: grid; gap: 12px; }
.check-chip { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.76); border: 1px solid rgba(20,60,35,.09); color: #2f4939; font-size: .91rem; font-weight: 760; }
.check-chip::before { content: "✓"; width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: var(--green-700); background: #edf6e9; font-weight: 950; }
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cert-card { min-height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 18px 14px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid rgba(20,60,35,.10); color: var(--green-950); font-size: .84rem; font-weight: 900; box-shadow: 0 12px 28px rgba(5,39,25,.05); }
.cert-card::before { display: none; content: none; }
.cert-card img { display: block; width: auto; max-width: 100%; max-height: 46px; object-fit: contain; }
.cert-card span { display: block; line-height: 1.22; font-size: .88rem; }
.products-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 26px; align-items: center; margin: 34px 0 58px; padding: clamp(28px, 4vw, 44px); border-radius: 30px; color: #fff; background: radial-gradient(circle at 13% 50%, rgba(230,196,106,.21), transparent 17rem), linear-gradient(135deg, #052f1b, #085f34 70%, #074526); box-shadow: 0 28px 78px rgba(5,39,25,.20); }
.products-cta h2 { margin: 0 0 14px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.02; letter-spacing: -.05em; }
.products-cta p { margin: 0; color: rgba(255,255,255,.76); }
.products-cta-contact { display: grid; gap: 16px; color: rgba(255,255,255,.86); font-size: .92rem; }
.products-cta-contact strong { display: block; color: var(--gold-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.products-cta-actions { position: relative; z-index: 1; display: grid; gap: 13px; }
.products-cta small { display: block; margin-top: 4px; color: rgba(230,196,106,.92); text-align: center; font-weight: 750; }

/* PAGE CONTENT SPECIFICS */
.timeline { display: grid; gap: 18px; counter-reset: step; }
.timeline article { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: var(--shadow-soft); }
.timeline span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--green-700), var(--green-900)); font-weight: 950; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr); gap: 28px; align-items: start; }
.contact-form, .contact-info { padding: clamp(24px, 3vw, 34px); border-radius: 30px; background: rgba(255,255,255,.76); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--green-950); font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(20,60,35,.18); border-radius: 15px; padding: 13px 14px; background: rgba(255,255,255,.86); color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; }
.privacy-check { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; color: var(--muted) !important; font-weight: 700 !important; }
.privacy-check input { width: auto; margin-top: 5px; }
.hidden-field { display: none; }
.alert { padding: 14px 16px; border-radius: 16px; font-weight: 800; }
.alert.success { background: #e8f6e7; color: #145a32; }
.alert.error { background: #fff1f0; color: #9a1a1a; }
.info-box { display: grid; gap: 4px; padding: 18px; margin-top: 14px; border-radius: 18px; }
.info-box strong { color: var(--green-950); }
.info-box a, .info-box span { color: var(--muted); }

/* FOOTER */
.site-footer { margin-top: 0; color: rgba(255,255,255,.78); background: linear-gradient(180deg, #06331f, #041f14); }
.footer-cta { position: relative; top: -34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 42px); border-radius: 30px; color: #fff; background: linear-gradient(135deg, #074a2a, #0a6a3a); box-shadow: 0 26px 80px rgba(5,39,25,.28); }
.footer-cta h2 { margin: 0 0 8px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; letter-spacing: -.05em; }
.footer-cta p { max-width: 720px; margin: 0; color: rgba(255,255,255,.76); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr; gap: 38px; padding: 30px 0 44px; }
.footer-brand img { width: 230px; max-height: 82px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(.95); }
.footer-grid h3 { color: #fff; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(255,255,255,.88); }
.footer-grid a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); }
.footer-bottom .container { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: .88rem; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; padding: 12px 16px; border-radius: 999px; color: #fff; background: #21a45d; box-shadow: 0 16px 40px rgba(5,39,25,.22); font-weight: 900; }

/* RESPONSIVE */
@media (max-width: 1120px) {
    .nav-inner { flex-wrap: wrap; padding: 18px 0; }
    .brand img { width: 230px; }
    .nav-menu { order: 3; width: 100%; justify-content: flex-start; }
    .render-product-grid, .product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .info-panels, .products-cta, .footer-grid, .content-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .container { width: min(100% - 28px, var(--max)); }
    .topbar-inner { align-items: flex-start; flex-direction: column; padding: 9px 0; gap: 3px; }
    .nav-inner { min-height: auto; }
    .brand img { width: 205px; }
    .nav-toggle { display: inline-flex; }
    .nav-cta { display: none; }
    .nav-menu { display: none; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 22px; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px 14px; }
    .home-hero { min-height: 590px; }
    .home-hero::after { opacity: .55; }
    .home-hero .container { padding: 72px 0 88px; }
    .hero-proof, .render-stats, .render-product-grid, .availability-box, .pack-grid, .cert-grid, .feature-grid, .product-cards, .small-cards { grid-template-columns: 1fr; }
    .render-hero-grid { grid-template-columns: 1fr; }
    .products-render .render-hero::after { width: 100%; opacity: .35; }
    .availability-box { padding: 18px; }
    .months { font-size: .62rem; }
    .section-head, .footer-cta { align-items: flex-start; flex-direction: column; }
    .footer-bottom .container { align-items: flex-start; flex-direction: column; padding: 18px 0; }
    .check-list.two-cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .home-hero h1, .page-hero h1, .render-hero h1 { font-size: clamp(3rem, 18vw, 4.4rem); }
    .render-product h2 { font-size: 1.65rem; }
    .carton { opacity: .58; }
    .products-cta { border-radius: 24px; }
}

/* HOME COME RENDERING PROGRAMMI 2026 - override finale 20260529 */
body.products-render {
    background:
        radial-gradient(circle at 8% 7%, rgba(227, 189, 96, .18), transparent 30rem),
        radial-gradient(circle at 92% 16%, rgba(155, 195, 59, .12), transparent 32rem),
        linear-gradient(180deg, #fffaf0 0%, #fbf6ea 48%, #fff 100%);
}
.site-header { position: relative; z-index: 20; }
.topbar { background: linear-gradient(90deg, #04321e 0%, #0a6337 100%); font-size: .78rem; }
.topbar-inner { min-height: 34px; }
.topbar-right { display: inline-flex; align-items: center; gap: 18px; }
.navbar { background: rgba(255,255,255,.94); box-shadow: 0 14px 38px rgba(5,39,25,.07); }
.nav-inner { min-height: 112px; gap: 22px; }
.brand-render { gap: 14px; min-width: 300px; }
.brand-render img { width: 64px !important; height: 64px; max-height: 64px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(5,39,25,.12)); }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { color: #073c24; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 2.55vw, 2.45rem); letter-spacing: -.045em; white-space: nowrap; }
.brand-copy em { color: #c69134; font-size: .88rem; font-style: normal; font-weight: 950; letter-spacing: .20em; white-space: nowrap; }
.nav-menu { gap: 6px; }
.nav-menu a { min-height: 44px; padding: 12px 12px; border-radius: 0; font-size: .88rem; color: #152a1e; }
.nav-menu a::after { background: #c99a35; bottom: 5px; height: 2px; }
.nav-menu a.active { color: #0a5630; }
.nav-cta { min-height: 50px; padding: 0 22px; border-radius: 18px; background: linear-gradient(135deg, #074727, #0c6a3a); color: #fff; box-shadow: 0 15px 34px rgba(5,39,25,.16); white-space: nowrap; }
.products-render .render-hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: clamp(58px, 7vw, 86px) 0 56px;
    border-top-left-radius: 42px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff9ea, #fbf6ea);
}
.products-render .render-hero::before {
    background:
        radial-gradient(circle at 45% 45%, rgba(255,255,255,.60), transparent 15rem),
        linear-gradient(90deg, rgba(255,249,234,.99) 0%, rgba(255,249,234,.93) 32%, rgba(255,249,234,.48) 55%, rgba(255,249,234,.04) 100%);
}
.products-render .render-hero::after {
    width: min(920px, 68vw);
    background-image:
        linear-gradient(80deg, rgba(255,249,234,.70), rgba(255,249,234,.08) 40%),
        url('../img/prodotti/hero-programmi-2026.webp');
    background-position: center right;
    background-size: cover;
    filter: saturate(1.10) contrast(1.02);
}
.render-hero-grid { grid-template-columns: minmax(0, 640px) 1fr; }
.render-hero h1 { font-size: clamp(4.2rem, 7.5vw, 6.8rem); }
.render-hero p { font-weight: 520; }
.hero-line { width: 48px; height: 2px; margin: 20px 0 22px; background: var(--gold); }
.render-actions { margin-top: 24px; }
.render-stats { max-width: 690px; margin-top: 26px; }
.render-stat { min-height: 64px; }
.render-product-grid { margin-top: -26px; position: relative; z-index: 5; }
.render-product { min-height: 310px; border-radius: 24px; box-shadow: 0 24px 60px rgba(5,39,25,.13); }
.render-product-img { height: 150px; }
.render-icon { width: 74px; height: 74px; left: 22px; top: 18px; font-size: 1.75rem; box-shadow: 0 14px 32px rgba(5,39,25,.18); }
.render-product-body { padding: 22px 22px 64px; }
.season-pill { font-size: .68rem; padding: 4px 10px; }
.availability-box, .info-panel, .cert-card { background: rgba(255,255,255,.76); }
.cert-card { min-height: 126px; }
.products-cta { margin-bottom: 38px; }
.site-footer { margin-top: 30px; }
.products-render + .site-footer, body.products-render .site-footer { background: linear-gradient(180deg, #052b1b, #031b11); }
.footer-brand-text { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-text img { width: 56px; height: 56px; margin: 0; max-height: 56px; filter: none; }
.footer-brand-text span { display: grid; gap: 3px; line-height: 1; }
.footer-brand-text strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; letter-spacing: -.04em; }
.footer-brand-text em { color: var(--gold-2); font-size: .68rem; font-style: normal; font-weight: 950; letter-spacing: .16em; }

@media (max-width: 1180px) {
    .brand-render { min-width: 260px; }
    .brand-copy strong { font-size: 1.85rem; }
    .nav-menu a { font-size: .82rem; padding-inline: 8px; }
    .nav-cta { padding-inline: 16px; }
}
@media (max-width: 980px) {
    .nav-inner { min-height: auto; padding: 16px 0; }
    .brand-render img { width: 56px !important; height: 56px; }
    .brand-copy strong { font-size: 1.62rem; }
    .brand-copy em { font-size: .72rem; }
    .nav-menu { order: 3; width: 100%; }
    .nav-cta { margin-left: auto; }
}
@media (max-width: 820px) {
    .topbar-right { gap: 10px; }
    .brand-render { min-width: 0; }
    .brand-render img { width: 50px !important; height: 50px; }
    .brand-copy strong { font-size: 1.38rem; }
    .brand-copy em { font-size: .62rem; letter-spacing: .12em; }
    .products-render .render-hero { border-top-left-radius: 26px; }
    .render-product-grid { margin-top: -14px; }
}


/* FIX calendario disponibilità - righe legenda/barre perfettamente allineate 20260529 */
.availability-box {
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: stretch;
    gap: 26px;
}
.availability-legend {
    align-content: start;
    gap: 8px;
    padding-top: 50px; /* 34px mesi + 8px gap + 8px punti */
}
.legend-item {
    min-height: 34px;
    display: flex;
    align-items: center;
}
.availability-timeline {
    grid-template-rows: 34px auto;
    gap: 8px;
    padding: 0;
}
.months {
    align-items: end;
}
.months span {
    padding-bottom: 7px;
}
.months span::after {
    bottom: -7px;
}
.bars {
    grid-row: 2;
    grid-template-rows: repeat(4, 34px);
    gap: 8px;
    padding-top: 0;
    align-content: start;
    background-position: left top;
}
.bar {
    display: block;
    align-self: center;
}

@media (max-width: 820px) {
    .availability-box {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .availability-legend {
        padding-top: 0;
        gap: 7px;
    }
    .legend-item {
        min-height: 26px;
    }
    .availability-timeline {
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .months,
    .bars {
        min-width: 790px;
    }
}


/* RIFINITURA ICONE PRODOTTI + CONFEZIONAMENTO */
.panel-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-title::before {
    content: "";
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 12px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.72), transparent 28%),
        linear-gradient(135deg, var(--green-700), var(--green-950));
    box-shadow: 0 10px 24px rgba(5,39,25,.12);
}

.panel-title-varieta::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.72), transparent 28%),
        linear-gradient(135deg, #8abf31, #0b6b3b);
}

.panel-title-packaging::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.72), transparent 28%),
        linear-gradient(135deg, #d8af54, #0b6b3b);
}

.panel-title-qualita::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.72), transparent 28%),
        linear-gradient(135deg, #f0d27a, #063d28);
}

.icon-list .mini-row {
    grid-template-columns: 42px 1fr;
    align-items: center;
    min-height: 48px;
}

.icon-list .mini-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(237,246,233,.94);
    border: 1px solid rgba(20,60,35,.08);
    box-shadow: 0 10px 22px rgba(5,39,25,.06);
}

.icon-list .mini-icon img {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.packaging-panel {
    background:
        radial-gradient(circle at 74% 44%, rgba(226,186,92,.13), transparent 15rem),
        rgba(255,255,255,.74);
}

.packaging-list {
    gap: 15px;
}

.packaging-list .mini-row {
    padding: 8px 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(20,60,35,.07);
}

.packaging-list .mini-icon {
    background: #f8f2df;
}

.packaging-list .mini-icon img {
    width: 34px;
    height: 34px;
}

.varieties-list .mini-icon {
    background: #edf6e9;
}

.varieties-list .mini-row strong,
.packaging-list .mini-row strong {
    font-size: .95rem;
}

.quality-panel .check-chip {
    background: rgba(255,255,255,.70);
}

.render-icon {
    background: transparent !important;
}

.render-icon img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
}

@media (max-width: 820px) {
    .icon-list .mini-row {
        grid-template-columns: 38px 1fr;
    }

    .icon-list .mini-icon {
        width: 38px;
        height: 38px;
    }

    .icon-list .mini-icon img {
        width: 29px;
        height: 29px;
    }
}


/* NUOVO LOGO OP PUGLIA VERDE / TERRA ADRIATICA BIO */
.brand-logo-only {
    min-width: 330px;
}

.brand-logo-only img {
    width: min(430px, 38vw);
    max-height: 96px;
    object-fit: contain;
    display: block;
}

.brand-logo-only .brand-copy {
    display: none;
}

.footer-brand img {
    width: min(360px, 100%);
    max-height: 110px;
    object-fit: contain;
    filter: none !important;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
}

@media (max-width: 1120px) {
    .brand-logo-only {
        min-width: 260px;
    }

    .brand-logo-only img {
        width: min(360px, 50vw);
        max-height: 86px;
    }
}

@media (max-width: 820px) {
    .brand-logo-only {
        min-width: auto;
        max-width: 70vw;
    }

    .brand-logo-only img {
        width: min(300px, 62vw);
        max-height: 74px;
    }
}


/* INGRANDIMENTO LOGO HEADER 20260529 */
.nav-inner {
    min-height: 122px;
}

.brand-logo-only {
    min-width: 420px !important;
    display: flex;
    align-items: center;
}

.brand-logo-only img {
    width: min(520px, 42vw) !important;
    height: auto !important;
    max-height: 112px !important;
    object-fit: contain;
    display: block;
}

@media (max-width: 1180px) {
    .brand-logo-only {
        min-width: 330px !important;
    }
    .brand-logo-only img {
        width: min(430px, 44vw) !important;
        max-height: 98px !important;
    }
}

@media (max-width: 980px) {
    .nav-inner {
        min-height: auto;
    }
    .brand-logo-only {
        min-width: 270px !important;
    }
    .brand-logo-only img {
        width: min(340px, 48vw) !important;
        max-height: 88px !important;
    }
}

@media (max-width: 820px) {
    .brand-logo-only {
        min-width: auto !important;
        max-width: 72vw;
    }
    .brand-logo-only img {
        width: min(280px, 64vw) !important;
        max-height: 72px !important;
    }
}


/* AGGIORNAMENTO PRODOTTI + CALENDARIO 2026 - piselli/agrumi/albicocche bio e convenzionali */
.render-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.render-product.citrus .render-icon { background: linear-gradient(135deg, #f3b233, #1f783c); }
.render-product.apricot .render-icon { background: linear-gradient(135deg, #ef9a38, #c85f20); }
.render-product.citrus .season-pill { background: #e69b1e; }
.render-product.apricot .season-pill { background: #d26d24; }
.render-product.citrus h2 { color: #995d00; }
.render-product.apricot h2 { color: #a84e1d; }
.legend-dot.citrus { background: #e69b1e; }
.legend-dot.apricot { background: #d26d24; }
.bar.citrus { background: linear-gradient(90deg, #f2b23f, #df8d16); }
.bar.apricot { background: linear-gradient(90deg, #f0a34b, #d26722); }
.availability-box {
    grid-template-columns: 315px minmax(0, 1fr);
}
.availability-timeline {
    grid-template-rows: 34px auto !important;
}
.months {
    grid-template-columns: repeat(12, 1fr) !important;
}
.bars {
    grid-row: 2 !important;
    grid-template-rows: repeat(var(--availability-rows, 6), 34px) !important;
    background-size: calc(100% / 12) 100% !important;
    padding-top: 0 !important;
}
.bar-row {
    position: relative;
    min-height: 34px;
}
.bar-row .bar {
    position: absolute;
    top: 50%;
    display: block;
    transform: translateY(-50%);
    margin-left: 0 !important;
}
.varieties-panel .mini-list {
    gap: 12px;
}
.varieties-panel .mini-row {
    min-height: 44px;
}

@media (max-width: 1120px) {
    .render-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .availability-box {
        grid-template-columns: 1fr;
    }
    .availability-legend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 0 !important;
    }
}
@media (max-width: 820px) {
    .render-product-grid {
        grid-template-columns: 1fr;
    }
    .availability-legend {
        grid-template-columns: 1fr;
    }
    .months,
    .bars {
        min-width: 940px !important;
    }
}

/* Lingue OP Puglia Verde - bandierine IT/EN/DE */
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.language-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 9px;
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.07);
    font-weight: 850;
    font-size: .76rem;
    line-height: 1;
}
.language-switcher a:hover,
.language-switcher a.active {
    color: var(--green-950);
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-color: rgba(255,255,255,.35);
}
.language-switcher .flag-icon {
    width: 23px;
    height: 16px;
    display: inline-block;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 2px 7px rgba(0,0,0,.18);
    flex: 0 0 auto;
}
.language-switcher em {
    font-style: normal;
    letter-spacing: .04em;
}
.footer-brand-text strong {
    font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}
.footer-grid p {
    overflow-wrap: anywhere;
}
@media (max-width: 820px) {
    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 8px 0;
        gap: 6px;
    }
    .language-switcher a {
        padding-inline: 7px;
    }
}


/* Secure certifications portal */
.cp-hero{background:linear-gradient(115deg,#052719 0%,#0c4d31 64%,#147347 100%);color:#fff;position:relative;overflow:hidden}
.cp-hero::after{content:"";position:absolute;right:-15%;top:-160px;width:650px;height:650px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 75px rgba(255,255,255,.025),0 0 0 155px rgba(255,255,255,.025);pointer-events:none}
.cp-hero-inner{min-height:245px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:55px 0;position:relative;z-index:1}.cp-hero .section-kicker{color:#e3bd60}.cp-hero h1{color:#fff;font-size:clamp(2.8rem,5.2vw,5.3rem);margin:0 0 12px}.cp-hero p{color:#d2e0d6;margin:0;max-width:670px}.cp-back{color:#f5dfad;border:1px solid rgba(255,255,255,.25);border-radius:13px;padding:12px 17px;font-weight:700;white-space:nowrap}.cp-back:hover{background:rgba(255,255,255,.1)}
.cp-main{min-height:410px}.cp-eyebrow{font-size:.7rem;font-weight:850;letter-spacing:.14em;color:#9b751f;text-transform:uppercase}.cp-auth-layout{display:grid;grid-template-columns:minmax(0,510px) 1fr;gap:28px;align-items:stretch;max-width:1120px;margin:auto}.cp-auth-card,.cp-side-note,.cp-panel,.cp-users-panel{background:#fff;border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow-soft)}.cp-auth-card{padding:clamp(25px,4vw,50px);max-width:560px}.cp-auth-card h2{font-size:2.5rem;line-height:1.06;margin:12px 0}.cp-auth-card p,.cp-panel p,.cp-users-panel p{color:var(--muted)}.cp-form{display:grid;gap:15px;margin-top:24px}.cp-form label{font-size:.86rem;font-weight:800;color:#253a2c;display:grid;gap:7px}.cp-form input,.cp-form select,.cp-list-head input{font:inherit;min-width:0;width:100%;background:#fafbf8;border:1px solid #d5ddd2;border-radius:12px;padding:12px 14px;color:#203326;outline:none}.cp-form input:focus,.cp-form select:focus,.cp-list-head input:focus{border-color:var(--green-600);box-shadow:0 0 0 3px rgba(36,124,72,.12)}.cp-form input[type=file]{background:#f0f7ed}.cp-form .btn{width:fit-content;border:0}.cp-form .cp-full{width:100%}.cp-hint{font-size:.81rem;margin:-4px 0 0}.cp-side-note{background:linear-gradient(140deg,#103923,#0b6a3e);color:#fff;padding:42px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.cp-side-note:after{content:"";position:absolute;inset:auto -100px -200px auto;width:430px;height:430px;border:1px solid rgba(255,255,255,.14);border-radius:50%}.cp-side-icon{display:grid;place-items:center;background:rgba(255,255,255,.12);border-radius:18px;width:55px;height:55px;font-size:27px;margin-bottom:50px}.cp-side-note h2{color:#fff;font:2.4rem/1.08 Georgia,serif;letter-spacing:-.04em}.cp-side-note p{color:#c4d8cc}.cp-side-line{margin-top:46px;border-top:1px solid rgba(255,255,255,.16);padding-top:14px;font-size:.72rem;letter-spacing:.13em;color:#d2e9d9}.cp-alert{padding:15px 20px;border-radius:13px;margin-bottom:20px;font-weight:700}.cp-error{background:#fff0ed;color:#8c1e12;border:1px solid #f0b8aa}.cp-success{background:#e6f4e9;color:#13532c;border:1px solid #b9d8bc}
.cp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.cp-toolbar h2{font-size:clamp(2.1rem,3vw,3rem);line-height:1;margin:7px 0}.cp-toolbar p{margin:0;color:var(--muted)}.cp-logout{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 20px;cursor:pointer;font-weight:800;color:#255236}.cp-dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:23px}.cp-dashboard-stats>div{border-radius:17px;background:#fff;border:1px solid var(--line);padding:19px 22px}.cp-dashboard-stats strong{display:block;font:2.1rem/1 Georgia,serif;color:#0c4d31}.cp-dashboard-stats span{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.cp-panel{margin-bottom:25px;overflow:hidden}.cp-panel>summary{cursor:pointer;list-style:none;padding:19px 25px;font-weight:850;color:#0d4b2e;display:flex;justify-content:space-between}.cp-panel>summary::-webkit-details-marker{display:none}.cp-panel>summary::after{content:"⌄"}.cp-panel[open]>summary{border-bottom:1px solid var(--line)}.cp-panel[open]>summary:after{content:"⌃"}.cp-panel-content{padding:20px 25px 25px}.cp-panel-content>p{margin:0}.cp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.cp-form-end{grid-column:1/-1}
.cp-list-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:39px 0 18px}.cp-list-head h3,.cp-admin-bottom h3{font-size:2rem;margin:5px 0}.cp-list-head p{font-size:.85rem;color:var(--muted);margin:0}.cp-list-head input{max-width:320px;background:#fff}.cp-list{display:grid;gap:11px}.cp-document{background:#fff;border:1px solid #e1e8de;border-radius:18px;padding:20px;display:grid;grid-template-columns:57px minmax(0,1fr) auto;gap:19px;align-items:center}.cp-document[hidden]{display:none}.cp-doc-icon{background:#e9f3eb;color:#165638;font-weight:900;letter-spacing:-.08em;border-radius:13px;padding:16px 8px;text-align:center;position:relative}.cp-doc-icon span{font-size:.7rem;position:absolute;right:4px;top:3px}.cp-doc-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cp-cat{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#85651c}.cp-badge{font-size:.68rem;border-radius:99px;padding:4px 9px;font-weight:900}.cp-valid{background:#e4f5e9;color:#0b6d35}.cp-expired{background:#fff0e3;color:#995b12}.cp-archived{background:#eceeef;color:#5c656a}.cp-doc-body h4{font-size:1.17rem;margin:5px 0 1px;line-height:1.35}.cp-doc-body p{margin:0;color:var(--muted);font-size:.87rem}.cp-meta{display:flex;flex-wrap:wrap;gap:5px 17px;color:#718075;font-size:.76rem;margin-top:8px}.cp-doc-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.cp-download{background:#0d5c39;color:#fff;border-radius:11px;padding:10px 16px;white-space:nowrap;font-weight:850;font-size:.8rem}.cp-download:hover{background:#083d27}.cp-inline{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.cp-inline button,.cp-user button{border:0;background:none;color:#587060;cursor:pointer;font-size:.76rem;font-weight:800}.cp-inline .cp-danger-link{color:#a23625}.cp-empty{background:#fff;border:1px dashed #bcd1bd;border-radius:16px;padding:42px;color:var(--muted);text-align:center}.cp-empty[hidden]{display:none}.cp-admin-bottom{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:23px;margin-top:42px}.cp-users-panel{padding:26px}.cp-user-list{display:grid;gap:9px;margin-top:20px}.cp-user{padding:11px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.cp-user:last-child{border:0}.cp-user-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e5f1e7;color:#0c6339;font-weight:900}.cp-user>div{flex:1;min-width:0}.cp-user strong,.cp-user small{display:block}.cp-user small{color:var(--muted)}.cp-user button:disabled{opacity:.3;cursor:not-allowed}.cp-admin-forms .cp-panel{margin-bottom:13px}.cp-admin-forms .cp-form{margin-top:0}.cp-self-panel{margin-top:25px}
@media(max-width:840px){.cp-hero-inner{flex-direction:column;align-items:flex-start}.cp-auth-layout,.cp-admin-bottom{grid-template-columns:1fr}.cp-side-note{min-height:240px}.cp-document{grid-template-columns:48px minmax(0,1fr)}.cp-doc-actions{grid-column:2;align-items:flex-start}.cp-dashboard-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:540px){.cp-hero-inner{padding:40px 0}.cp-hero h1{font-size:2.6rem}.cp-form-grid{grid-template-columns:1fr}.cp-list-head{display:block}.cp-list-head input{max-width:100%;margin-top:15px}.cp-document{gap:12px;padding:14px}.cp-meta{display:grid;gap:2px}.cp-dashboard-stats>div{padding:14px}.cp-auth-card,.cp-side-note{padding:25px}}

.cp-quality-callout{display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:26px;padding:40px;background:linear-gradient(110deg,#e9f3e7,#fff8e9);border:1px solid var(--line)}.cp-quality-callout h2{font-size:2.3rem;margin:0 0 10px}.cp-quality-callout p{color:var(--muted);margin:0}.cp-quality-callout .btn{white-space:nowrap}@media(max-width:650px){.cp-quality-callout{flex-direction:column;align-items:flex-start;padding:24px}}


/* V1.2 — Clear public-site entry to the existing secure certificates portal. */
.nav-menu .nav-portal-link{display:inline-flex;align-items:center;gap:4px;background:#edf5e9;border:1px solid #b8d5ba;color:#085333;font-weight:850}
.nav-menu .nav-portal-link:hover,.nav-menu .nav-portal-link.active{background:#e0f0de;color:#06472b}
.nav-menu .nav-portal-link span{font-size:1rem}
.portal-entry{background:linear-gradient(125deg,#eff5eb,#fff9ea);border:1px solid var(--line);border-radius:28px;padding:clamp(24px,4vw,42px);box-shadow:var(--shadow-soft)}
.portal-entry-intro{max-width:790px;margin-bottom:28px}
.portal-entry-intro h2{font:clamp(2rem,3.6vw,3.1rem)/1.1 Georgia,serif;letter-spacing:-.04em;margin:0 0 10px}
.portal-entry-intro p{margin:0;color:var(--muted)}
.portal-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.portal-entry-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;background:#fff;border:1px solid #dce7d8;border-radius:22px;padding:clamp(20px,3vw,30px)}
.portal-entry-card-client{background:#103d2a;color:#fff;border-color:#103d2a}
.portal-entry-icon{display:grid;place-items:center;width:42px;height:42px;background:#e8f3e8;border-radius:12px;color:#075a36;font-size:1.5rem;font-weight:800}
.portal-entry-card-client .portal-entry-icon{background:rgba(255,255,255,.13);color:#fff}
.portal-entry-card h3{font:1.6rem/1.2 Georgia,serif;margin:3px 0 0;color:#0d3f2a}
.portal-entry-card-client h3{color:#fff}
.portal-entry-card p{color:var(--muted);margin:0 0 12px;flex:1}
.portal-entry-card-client p{color:#d5e9db}
.portal-entry-card .btn{max-width:100%;text-align:center}
.portal-entry-note{color:#536958;font-size:.85rem;margin:18px 0 0}
@media(max-width:650px){.portal-entry-grid{grid-template-columns:1fr}.portal-entry-card .btn{width:100%}}
