/* Internal pages share the palette, navigation and footer of valeri-home.css. */
.inner-page main { min-width: 0; }
.inner-page .main-nav summary.is-active::after { transform: scaleX(1); }
.page-intro { padding: 26px 0 64px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #f0f5f8 0%, #f8fafb 68%, #fff 100%); }
.breadcrumb { margin-bottom: 42px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { color: var(--muted); font-size: 11px; line-height: 1.6; }
.breadcrumb li + li::before { content: '/'; display: inline-block; margin-right: 8px; color: #87959f; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--valeri-blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: var(--ink); }
.page-intro .eyebrow { margin-bottom: 17px; }
.page-title { max-width: 920px; margin: 0 0 23px; color: var(--ink); font-size: clamp(38px, 4.4vw, 60px); font-weight: 900; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: break-word; }
.page-lead { max-width: 730px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.page-cta { padding: 48px 0; }
.page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.page-cta-inner > div { max-width: 760px; }
.page-cta h2 { margin: 0 0 10px; color: var(--ink); font-size: clamp(25px, 2.6vw, 34px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.page-cta p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.page-cta .eyebrow { margin-bottom: 14px; color: var(--valeri-blue-dark); font-size: 11px; }
.page-cta .btn { flex-shrink: 0; }
.btn-secondary { color: var(--valeri-blue-dark); border-color: #ccd9e1; background: var(--white); }
.btn-secondary:hover { color: #055984; border-color: var(--valeri-blue-dark); background: #edf6fc; }
/* Company. */
.company-overview { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); align-items: center; gap: 88px; }
.company-year { margin: 0 0 20px; color: var(--valeri-blue-dark); font-size: clamp(72px, 8.3vw, 112px); font-weight: 900; line-height: 1; letter-spacing: -.065em; }
.company-overview .section-heading { max-width: 430px; margin-bottom: 0; }
.company-history p { margin: 0 0 21px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.company-history p:last-child { margin-bottom: 0; }
.company-panorama { margin: 46px 0 0; }
.company-panorama img { width: 100%; height: auto; border-radius: 5px; }
.company-panorama figcaption { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 38px; }
.process-step { min-width: 0; padding-top: 22px; border-top: 2px solid var(--line); }
.process-number { display: block; margin-bottom: 25px; color: var(--valeri-blue-dark); font-size: 13px; font-weight: 700; line-height: 1.5; }
.process-step h3 { margin: 0 0 14px; color: var(--ink); font-size: 19px; line-height: 1.4; letter-spacing: -.025em; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.company-material-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.page-azienda .split > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.page-azienda .split .text-link { margin-top: 12px; }
/* Catalogue. */
.catalog-overview { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 80px; }
.catalog-cover { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 390px; margin: 0; padding: 38px; border: 1px solid #e4ebf0; border-radius: 6px; background: var(--soft); }
.catalog-cover img { width: 230px; max-width: 100%; height: auto; transform: rotate(-4deg); box-shadow: 12px 18px 30px rgb(25 43 56 / 17%); }
.catalog-details { min-width: 0; }
.catalog-details .section-heading { max-width: 530px; }
.catalog-details .section-intro { max-width: 520px; }
.catalog-details .cta-actions { margin-top: 27px; }
.catalog-details .catalog-format { margin-top: 19px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.catalog-reader { min-width: 0; }
.catalog-reader .section-heading-row { align-items: center; }
.catalog-pdf { display: block; width: 100%; height: 760px; border: 1px solid #cdd7df; border-radius: 5px; background: #e7edf1; }
.catalog-pdf p { margin: 0; padding: 36px; color: var(--muted); background: var(--white); font-size: 14px; line-height: 1.9; }
.catalog-pdf a { text-decoration: underline; text-underline-offset: 3px; }
/* Products: native links and the complete catalogue also work without scripts. */
.products-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:34px; }
.products-heading .section-heading { margin-bottom:14px; }
.products-heading .section-intro { max-width:640px; margin-bottom:0; }
.product-search { flex:0 0 300px; }
.product-search label { display:block; margin-bottom:9px; color:var(--ink); font-size:12px; font-weight:700; }
.product-search input { width:100%; min-height:48px; padding:12px 15px; color:var(--ink); border:1px solid #bbcbd6; border-radius:5px; background:var(--white); }
.product-search input::placeholder { color:var(--muted); font-size:13px; }
.page-prodotti .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:28px; }
.page-prodotti .product-card { height:100%; }
.product-variant-details { width:100%; margin-top:auto; border-top:1px solid var(--line); }
.product-variant-details summary { display:flex; align-items:center; gap:7px; padding:16px 0; color:var(--valeri-blue-dark); font-size:12px; font-weight:700; list-style:none; cursor:pointer; }
.product-variant-details summary::-webkit-details-marker { display:none; }
.product-variant-details summary .icon { width:18px; height:18px; margin-left:auto; transition:transform .18s ease; }
.product-variant-details[open] summary .icon { transform:rotate(180deg); }
.product-variant-details .product-variants { margin:0 0 8px; }
.product-empty { padding:26px; border:1px solid var(--line); border-radius:5px; background:var(--soft); color:var(--muted); }
@media (max-width:1000px) {
  .products-heading { align-items:stretch; flex-direction:column; gap:24px; }
  .product-search { flex:auto; max-width:480px; }
  .page-prodotti .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
}
@media (max-width:600px) { .page-prodotti .product-grid { grid-template-columns:1fr; } .product-search { max-width:none; } }
.product-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 43px; padding: 10px 18px; color: var(--muted); border: 1px solid var(--line); border-radius: 24px; background: var(--white); font: inherit; font-size: 12px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.filter-button:hover { color: var(--valeri-blue-dark); border-color: #97bfd6; background: #f1f7fb; }
.filter-button[aria-pressed="true"] { color: var(--white); border-color: var(--valeri-blue-dark); background: var(--valeri-blue-dark); }
.product-results { min-height: 22px; margin: 0 0 28px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.page-prodotti .product-card { overflow: visible; }
.page-prodotti .product-image { position: relative; aspect-ratio: 1.2; min-height: 0; border-radius: 5px 5px 0 0; }
.page-prodotti .product-image > a { position: absolute; inset: 24px; display: flex; align-items: center; justify-content: center; }
.page-prodotti .product-image img { width: 100%; height: 100%; object-fit: contain; }
.page-prodotti .product-info { min-width: 0; }
.page-prodotti .product-name { margin-bottom: 13px; font-size: 18px; line-height: 1.45; }
.page-prodotti .product-name a { color: var(--ink); }
.page-prodotti .product-name a:hover { color: var(--valeri-blue-dark); }
.page-prodotti .product-link { margin-top: 22px; }
.product-description { margin: 0 0 21px; color: var(--muted); font-size: 12px; line-height: 1.85; overflow-wrap: break-word; }
.product-variants { width: 100%; margin: auto 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.product-variants li + li { border-top: 1px solid #edf1f4; }
.product-variants a { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 0; color: var(--ink); font-size: 12px; line-height: 1.6; }
.product-variants a:hover .variant-name { color: var(--valeri-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.variant-code { color: var(--valeri-blue-dark); font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; overflow-wrap: anywhere; }
.variant-name { color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-variants li:last-child a { padding-bottom: 0; }
/* Certifications. */
.assurance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.assurance-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
img.assurance-logo { width: 150px; max-width: 100%; height: 88px; margin-bottom: 23px; object-fit: contain; object-position: left center; }
.assurance-card h2 { margin: 0 0 13px; color: var(--ink); font-size: 18px; line-height: 1.4; letter-spacing: -.025em; }
.assurance-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.certificate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.certificate-card { display: flex; align-items: flex-start; gap: 26px; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.certificate-preview { display: block; flex: 0 0 120px; margin: 0; }
.certificate-preview img { width: 120px; max-height: 180px; object-fit: contain; object-position: top; border: 1px solid var(--line); box-shadow: 0 5px 12px rgb(25 43 56 / 7%); }
.certificate-copy { min-width: 0; }
.certificate-copy h3 { margin: 0 0 8px; color: var(--ink); font-size: 19px; line-height: 1.4; letter-spacing: -.025em; }
.certificate-number { margin: 0 0 13px; color: var(--valeri-blue-dark); font-size: 11px; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.certificate-copy p:not(.certificate-number) { margin: 0 0 19px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.certificate-copy .text-link { font-size: 11px; }
.technical-reference { margin-top: 42px; }
.technical-reference > details { border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.technical-reference summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 26px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; list-style: none; cursor: pointer; }
.technical-reference summary::-webkit-details-marker { display: none; }
.technical-reference summary::after { content: '+'; color: var(--valeri-blue-dark); font-size: 25px; font-weight: 400; line-height: 1; }
.technical-reference details[open] > summary::after { content: '−'; }
.technical-content { max-width: 1000px; padding: 0 26px 26px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.technical-content p { margin: 0 0 16px; }
.technical-content ul { margin: 0 0 16px; padding-left: 20px; }
.technical-content li { margin-bottom: 8px; }
.technical-content p:last-child { margin-bottom: 0; }
/* Contact details, form and map. */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); align-items: start; gap: 80px; }
.contact-details { min-width: 0; }
.contact-details h2 { margin: 0 0 23px; color: var(--ink); font-size: 30px; line-height: 1.25; letter-spacing: -.03em; }
.contact-details p { margin: 0 0 19px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-details a { overflow-wrap: anywhere; }
.contact-phone { display: inline-block; margin: 0 0 14px; color: var(--valeri-blue-dark); font-size: clamp(25px, 2.5vw, 34px); font-weight: 700; line-height: 1.5; letter-spacing: -.035em; }
.contact-address { margin: 0 0 21px; color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.9; }
.contact-details .text-link { margin-top: 4px; }
.contact-form-panel { min-width: 0; padding: 36px; border: 1px solid #e1e8ed; border-radius: 6px; background: var(--soft); }
.contact-form-panel h2 { margin: 0 0 12px; color: var(--ink); font-size: 27px; line-height: 1.3; letter-spacing: -.03em; }
.contact-form-panel > p { margin: 0 0 27px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.contact-form { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.form-field { min-width: 0; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.6; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 11px 13px; border: 1px solid #c4d1da; border-radius: 3px; color: var(--ink); background: var(--white); font: inherit; font-size: 16px; line-height: 1.6; }
.contact-form textarea { min-height: 164px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--valeri-blue-dark); }
.contact-form .btn { margin-top: 24px; cursor: pointer; }
.form-alert { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 25px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; line-height: 1.8; }
.form-alert.is-success { color: #24563f; border-color: #b7d8c6; background: #edf7f1; }
.form-alert.is-error { color: #8d3029; border-color: #e6bdb7; background: #fcf0ee; }
.form-alert button[data-dismiss-alert] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; margin: -4px -6px -4px 0; padding: 0; color: inherit; border: 0; border-radius: 3px; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.form-alert button[data-dismiss-alert]:hover { background: rgb(0 0 0 / 5%); }
.contact-map { min-width: 0; }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); }
@media (max-width: 1080px) {
  .company-overview, .catalog-overview, .contact-layout { gap: 40px; }
  .company-overview { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .process-grid { gap: 24px; }
  .process-step h3 { font-size: 18px; }
  .assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certificate-card { gap: 20px; padding: 23px; }
  .certificate-preview { flex-basis: 95px; }
  .certificate-preview img { width: 95px; }
  .certificate-copy h3 { font-size: 17px; }
  .contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .contact-form-panel { padding: 27px; }
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-preview { flex-basis: 120px; }
  .certificate-preview img { width: 120px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-details { max-width: 600px; }
  .contact-phone { font-size: 32px; }
}
@media (max-width: 760px) {
  .page-intro { padding: 22px 0 46px; }
  .breadcrumb { margin-bottom: 31px; }
  .page-title { margin-bottom: 19px; font-size: clamp(36px, 7vw, 47px); }
  .page-lead { font-size: 15px; }
  .page-cta { padding: 38px 0; }
  .page-cta-inner { align-items: flex-start; flex-direction: column; gap: 23px; }
  .company-overview { grid-template-columns: 1fr; gap: 28px; }
  .company-year { margin-bottom: 18px; font-size: 88px; }
  .company-history p { font-size: 14px; }
  .company-panorama { margin-top: 32px; }
  .process-grid { margin-top: 28px; }
  .process-number { margin-bottom: 20px; }
  .catalog-overview { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; }
  .catalog-cover { min-height: 320px; padding: 28px; }
  .catalog-cover img { width: 190px; }
  .catalog-details .section-heading { font-size: 28px; }
  .catalog-details .section-intro { font-size: 13px; }
  .catalog-details .cta-actions { gap: 10px; }
  .catalog-details .btn { width: 100%; }
  .catalog-pdf { height: 500px; }
  .product-filters { gap: 8px; }
  .filter-button { min-height: 42px; padding: 10px 14px; font-size: 11px; }
  .product-results { margin-bottom: 22px; }
  .page-prodotti .product-image > a { inset: 20px; }
  .page-prodotti .product-name { font-size: 17px; }
  .assurance-grid { gap: 18px; }
  .assurance-card { padding: 23px; }
  .certificate-card { gap: 24px; padding: 24px; }
  .certificate-copy h3 { font-size: 19px; }
  .technical-reference { margin-top: 28px; }
  .technical-reference summary { padding: 20px; font-size: 16px; }
  .technical-content { padding: 0 20px 22px; font-size: 13px; }
  .contact-form-panel { padding: 28px; }
  .contact-map iframe { height: 350px; }
}
@media (max-width: 560px) {
  .catalog-overview { grid-template-columns: 1fr; gap: 32px; }
  .catalog-cover { min-height: 0; padding: 33px; }
  .catalog-cover img { width: 190px; }
  .catalog-details .section-heading { font-size: 30px; }
  .catalog-details .section-intro { font-size: 14px; }
  .catalog-details .btn { width: auto; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-form-panel { padding: 24px; }
  .certificate-card { gap: 19px; padding: 21px; }
  .certificate-preview { flex-basis: 85px; }
  .certificate-preview img { width: 85px; }
  .certificate-copy h3 { font-size: 17px; }
}
@media (max-width: 480px) {
  .page-title { font-size: 36px; }
  .page-lead { font-size: 14px; }
  .breadcrumb li { font-size: 10px; }
  .process-grid { grid-template-columns: 1fr; gap: 26px; }
  .process-step { padding-top: 19px; }
  .process-number { margin-bottom: 13px; }
  .process-step h3 { margin-bottom: 10px; }
  .page-prodotti .product-image { aspect-ratio: 1.4; }
  .page-prodotti .product-image > a { inset: 25px; }
  .page-prodotti .product-name { font-size: 19px; }
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-card { padding: 26px; }
  .assurance-card h2 { font-size: 20px; }
  .assurance-card p { font-size: 13px; }
  .certificate-card { flex-direction: column; gap: 22px; padding: 25px; }
  .certificate-preview { flex-basis: auto; }
  .certificate-preview img { width: 115px; max-height: 165px; }
  .certificate-copy h3 { font-size: 19px; }
  .contact-form-panel { padding: 22px 18px; }
  .contact-form-panel h2 { font-size: 24px; }
  .contact-phone { font-size: 28px; }
  .contact-map iframe { height: 320px; }
  .form-alert { gap: 12px; padding: 14px; font-size: 12px; }
  .page-cta .btn { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .filter-button { transition: none; } }
