/* All five product photographs use transparency over the pearl card. */
/* Static multi-page navigation and shared page layout. */
.optec-skip-link { position: absolute; left: 16px; top: -100px; z-index: 7000; padding: 12px 18px; background: #fff; color: #3c3e85; border: 2px solid #3c3e85; }
.optec-skip-link:focus { top: 12px; }
body.optec-inner-page #header.optec-header { position: relative; top: auto; margin: 16px auto 28px; }
body #header.optec-header .optec-main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.optec-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 24px; color: #6a6d7a; font-size: 15px; line-height: 1.5; }
.optec-breadcrumb a { color: #3c3e85; }
.optec-page-heading { padding-top: 12px; padding-bottom: 32px; }
body .optec-page-title, body .optec-section-title { margin: 0 0 16px; color: #3c3e85; font-family: var(--optec-font-heading); font-size: var(--optec-section-title); font-weight: var(--optec-section-weight); line-height: 1.2; letter-spacing: var(--optec-section-tracking); text-transform: none; text-align: left; }
.optec-page-intro { max-width: 760px; margin: 0; color: #535763; font-size: 19px; line-height: 1.65; }
.optec-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.optec-section-head .optec-section-title { margin: 0; }
.optec-section-head > a { color: #3c3e85; font-size: 16px; font-weight: 600; }
.optec-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid #c9ccdc; border-radius: 6px; background: transparent; color: #3c3e85; font-family: var(--optec-font-body); font-size: 14px; font-weight: 700; line-height: 22px; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; }
.optec-action:hover, .optec-action:focus-visible { background: #3c3e85; border-color: #3c3e85; color: #fff; text-decoration: none; }
.optec-action-primary { background: #3c3e85; border-color: #3c3e85; color: #fff; }
.optec-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.optec-actions .button.medium { margin-top: 0; }
.optec-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.optec-product-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid #e0e2e9; border-radius: 10px; background: #f1f2f5; }
.optec-product-card-photo { display: flex; align-items: center; justify-content: center; height: 190px; margin-bottom: 22px; background: transparent; border-radius: 6px; }
.optec-product-card-photo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
body .optec-product-card h2, body .optec-product-card h3 { margin: 0 0 12px; color: #3c3e85; font-size: 24px; font-weight: 650; line-height: 1.25; text-transform: none; }
.optec-product-card h2 a, .optec-product-card h3 a { color: inherit; }
.optec-product-card p { margin: 0 0 22px; color: #535763; font-size: 17px; line-height: 1.6; }
.optec-product-card .optec-action { align-self: flex-start; margin-top: auto; }
.optec-products-overview { padding-bottom: 52px; }
.optec-home-intro { padding: 8px 0 36px; }
.optec-home-intro > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.optec-home-intro .optec-page-intro { max-width: 640px; }
.optec-home-intro .optec-actions { flex: 0 0 auto; }
.optec-home-section { padding: 32px 0 44px; }
.optec-home-products { padding-top: 8px; }
.optec-home-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.optec-home-product-grid .optec-product-card { padding: 16px; }
.optec-home-product-grid .optec-product-card-photo { height: 125px; margin-bottom: 18px; }
body .optec-home-product-grid h3 { font-size: 19px; }
.optec-home-product-grid p { font-size: 16px; }
.optec-home-product-grid .optec-action { padding-left: 12px; padding-right: 12px; font-size: 14px; }
.optec-service-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.optec-service-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: #f1f2f5; border: 1px solid #e0e2e9; border-radius: 10px; }
.optec-service-card h3 { margin: 0 0 16px; color: #3c3e85; font-size: 22px; font-style: normal; }
.optec-service-card ul { margin: 0 0 24px; padding-left: 20px; color: #535763; }
.optec-service-card li { margin-bottom: 8px; }
.optec-service-card a { align-self: flex-start; margin-top: auto; }
.optec-home-company { background: #f1f2f5; }
.optec-home-company p { max-width: 850px; margin: 0 0 24px; color: #535763; font-size: 18px; line-height: 1.75; }
body.optec-inner-page #descrizione.optec-company { padding-top: 12px; }
body.optec-inner-page #descrizione:not(.optec-company) { padding: 12px 0 48px; }
body.optec-inner-page #news.optec-news { padding: 12px 0 48px; }
body.optec-inner-page #mappaHome.optec-offices { padding-top: 12px; }
body.optec-inner-page #mappaHome.optec-offices .optec-offices-heading h2,
body.optec-inner-page #contact-page > .container > .center h2 { font-size: 28px; }
body.optec-inner-page #contact-page { padding: 20px 0 48px; }
#products.optec-family .optec-product .optec-family-title { margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); font-family: var(--optec-font-heading); color: #3c3e85; font-weight: 650; line-height: 1.15; }
#products.optec-family .optec-product .optec-actions { margin-top: 24px; }
#products.optec-family .optec-product .optec-actions .button.medium { margin: 0; }
.optec-related-products { padding: 12px 0 36px; }
.optec-related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.optec-related-links a { color: #3c3e85; padding: 10px 16px; border: 1px solid #d1d4de; border-radius: 6px; }
.optec-enquiry-context { margin: 0 0 24px; padding: 14px 18px; background: #f1f2f5; border-radius: 6px; color: #3c3e85; font-size: 17px; }
.optec-enquiry-context[hidden] { display: none; }
.optec-legal-page #feature { padding: 0 0 40px; }
.optec-legal-page #products .container { width: 100%; max-width: 900px; }
.optec-legal-page #products .col-md-6 { float: none; width: 100%; height: auto; }
.optec-legal-page #products .fes2-main-text-cont { padding: 0; max-width: none; }
.optec-legal-page #products .titColori { display: none; }
.optec-legal-page #products .testoProdotti { margin-top: 16px; font-size: 17px; line-height: 1.75; }
.optec-legal-page #products .testoProdotti > :first-child { margin-top: 0; }
@media (max-width: 1199px) {
  .optec-home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .optec-home-intro > .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 991px) {
  .optec-product-grid, .optec-service-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .optec-service-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  body.optec-inner-page #header.optec-header { margin-top: 12px; margin-bottom: 24px; }
  .optec-product-grid, .optec-service-overview { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .optec-service-card:last-child { grid-column: auto; }
  .optec-home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .optec-home-product-grid .optec-product-card { padding: 12px; }
  .optec-home-product-grid .optec-product-card-photo { height: 112px; }
  body .optec-home-product-grid h3 { font-size: 18px; overflow-wrap: anywhere; }
  .optec-home-product-grid p { font-size: 16px; }
  .optec-home-product-grid .optec-action { width: 100%; padding-left: 6px; padding-right: 6px; letter-spacing: 0; }
  .optec-home-section { padding: 28px 0; }
  .optec-home-intro { padding-bottom: 24px; }
}

