/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.20.7
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

/* Home */

:root {
  --otcm-yellow: #f6b800;
  --otcm-black: #080808;
}

/* Micro titoli */
.otcm-kicker {
  position: relative;
  display: inline-block;
  margin: 0 0 18px 0;
  padding-left: 38px;
  color: var(--otcm-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.otcm-kicker:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--otcm-yellow);
  transform: translateY(-50%);
}

.otcm-kicker-center {
  padding-right: 38px;
}

.otcm-kicker-center:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--otcm-yellow);
  transform: translateY(-50%);
}

.otcm-small-line {
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 18px auto;
  background: var(--otcm-yellow);
}

/* Titoli */
.otcm-hero-title {
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -1px;
}

.otcm-hero-title span {
  color: var(--otcm-yellow);
}

.otcm-section-title {
  margin: 0 0 20px 0;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 800;
}

.otcm-section-title.dark {
  color: #111111;
}

.otcm-section-title.center {
  text-align: center;
}

.otcm-lead,
.otcm-lead-center {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.7;
}

.otcm-lead {
  max-width: 560px;
}

.otcm-lead-center {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.otcm-lead-center.dark {
  color: rgba(0,0,0,0.62);
}

/* Hero */
.otcm-hero {
  border-bottom: 3px solid var(--otcm-yellow);
}

/* Decorazioni generiche */
.otcm-side-line {
  border-left: 4px solid rgba(246,184,0,0.45);
}

.otcm-pattern-top {
  position: relative;
}

.otcm-pattern-top:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  opacity: 0.13;
  background-image:
    linear-gradient(45deg, rgba(246,184,0,0.22) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(246,184,0,0.22) 25%, transparent 25%);
  background-size: 22px 22px;
  pointer-events: none;
}

.otcm-list {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--otcm-yellow);
}

.otcm-list li {
  margin-bottom: 12px;
  color: rgba(255,255,255,0.86);
  font-size: 14px;
}

.otcm-list li:last-child {
  margin-bottom: 0;
}

.otcm-list li::marker {
  color: var(--otcm-yellow);
}

/* Immagini */
.otcm-image-wrap {
  position: relative;
}

.otcm-image-wrap:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 40px;
  height: 3px;
  background: rgba(246,184,0,0.55);
  z-index: 2;
}

.otcm-image-wrap:after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -24px;
  width: 90px;
  height: 90px;
  background: rgba(246,184,0,0.82);
  z-index: 1;
}

.otcm-image-wrap .img {
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 45px rgba(0,0,0,0.28);
}

/* Card servizi */
.otcm-card-row {
  margin-top: 35px;
}

.otcm-service-card {
  border: 1px solid rgba(246,184,0,0.26);
  background: #111111;
}

.otcm-service-card .box-text {
  min-height: 185px;
  text-align: left;
}

.otcm-service-card h3 {
  position: relative;
  margin: 0 0 10px 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
}

.otcm-service-card h3:before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 10px;
  background: var(--otcm-yellow);
}

.otcm-service-card p {
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  line-height: 1.55;
}

.otcm-card-number {
  float: right;
  margin: -8px 0 8px 12px;
  padding: 8px 11px;
  border: 1px solid var(--otcm-yellow);
  color: var(--otcm-yellow) !important;
  font-weight: 800;
  line-height: 1;
}

.otcm-link {
  margin-top: 10px;
  color: var(--otcm-yellow) !important;
  font-weight: 800;
}

/* Competenze */
.otcm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 15px;
  border-radius: 6px;
  background: rgba(246,184,0,0.22);
  color: var(--otcm-yellow);
  font-size: 20px;
  font-weight: 700;
}

.otcm-feature-box h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.otcm-feature-box p {
  max-width: 230px;
  margin: 0 auto;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.55;
}

/* Gallery */
.otcm-gallery-main img,
.otcm-gallery-small img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.16);
}

.otcm-gallery-main img {
  height: 520px;
}

.otcm-gallery-small img {
  height: 245px;
}

/* Metodo */
.otcm-method-section {
  border-top: 4px solid var(--otcm-yellow);
}

.otcm-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.otcm-step.yellow {
  background: var(--otcm-yellow);
  color: #111111 !important;
}

.otcm-step.dark {
  background: #111111;
  color: #ffffff !important;
}

.otcm-method-row h3 {
  margin-bottom: 9px;
  color: #111111;
  font-size: 17px;
  font-weight: 800;
}

.otcm-method-row p {
  color: rgba(0,0,0,0.62);
  font-size: 13px;
  line-height: 1.55;
}

/* Mobile */
@media (max-width: 849px) {
  .otcm-hero-title {
    font-size: 48px;
  }

  .otcm-section-title {
    font-size: 34px;
  }

  .otcm-side-line {
    border-left-width: 3px;
  }

  .otcm-image-wrap:before,
  .otcm-image-wrap:after {
    display: none;
  }

  .otcm-service-card {
    margin-bottom: 24px;
  }

  .otcm-gallery-main img,
  .otcm-gallery-small img {
    height: 260px;
  }
}

/* Gallery */

/* Gallery ACF Oleodinamica TCM */
.otcm-acf-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.otcm-acf-gallery-main,
.otcm-acf-gallery-thumb {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.16);
  background: #111;
}

.otcm-acf-gallery-main img,
.otcm-acf-gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.otcm-acf-gallery-main {
  min-height: 520px;
}

.otcm-acf-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.otcm-acf-gallery-thumb {
  min-height: 249px;
}

.otcm-acf-gallery-slider .otcm-slider-image img {
  max-height: 560px;
  object-fit: cover;
  border-radius: 4px;
}

/* Mobile */
@media (max-width: 849px) {
  .otcm-acf-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .otcm-acf-gallery-main {
    min-height: 300px;
  }

  .otcm-acf-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .otcm-acf-gallery-thumb {
    min-height: 145px;
  }
}

/* ================================
   Oleodinamica TCM - Pagine interne
================================ */

.otcm-inner-hero {
  border-bottom: 2px solid var(--otcm-yellow);
}

.otcm-inner-title {
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -1px;
}

.otcm-inner-title span,
.otcm-yellow-text {
  color: var(--otcm-yellow);
}

/* Liste */
.otcm-line-list,
.otcm-yellow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.otcm-line-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 34px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.otcm-line-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 2px;
  background: var(--otcm-yellow);
}

.otcm-yellow-list {
  margin-top: 24px;
}

.otcm-yellow-list li {
  margin-bottom: 10px;
  color: var(--otcm-yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

/* Immagine overview */
.otcm-inner-image-card {
  position: relative;
}

.otcm-inner-image-card:before {
  content: "";
  position: absolute;
  right: -12px;
  top: -12px;
  width: 22px;
  height: 22px;
  background: var(--otcm-yellow);
  z-index: 3;
}

.otcm-inner-image-card .img {
  position: relative;
  z-index: 2;
}

.otcm-inner-image-card img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.otcm-image-caption {
  position: absolute;
  left: -18px;
  bottom: -18px;
  z-index: 4;
  padding: 18px 26px;
  border: 1px solid rgba(246,184,0,0.45);
  background: rgba(0,0,0,0.35);
  color: var(--otcm-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* Sezione con griglia */
.otcm-grid-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(246,184,0,0.24);
  border-bottom: 1px solid rgba(246,184,0,0.24);
}

.otcm-grid-section:before,
.otcm-process-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246,184,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,184,0,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
  pointer-events: none;
}

.otcm-grid-section .section-content,
.otcm-process-section .section-content {
  position: relative;
  z-index: 2;
}

/* Card lavorazioni */
.otcm-work-card-row {
  margin-top: 36px;
}

.otcm-work-card {
  position: relative;
  min-height: 245px;
}

.otcm-work-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-left: 2px solid var(--otcm-yellow);
  border-top: 2px solid var(--otcm-yellow);
}

.otcm-card-index {
  position: absolute;
  right: 18px;
  top: 16px;
  margin: 0;
  color: rgba(246,184,0,0.45) !important;
  font-size: 11px;
  font-weight: 800;
}

.otcm-card-label {
  margin-bottom: 14px;
  color: var(--otcm-yellow) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.otcm-work-card h3,
.otcm-process-row h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
}

.otcm-work-card p,
.otcm-process-row p {
  color: rgba(255,255,255,0.66);
  font-size: 13px;
  line-height: 1.6;
}

/* Banner struttura produttiva */
.otcm-banner-section {
  border-top: 2px solid rgba(246,184,0,0.45);
  border-bottom: 2px solid rgba(246,184,0,0.45);
}

/* Processo */
.otcm-process-section {
  position: relative;
  overflow: hidden;
}

.otcm-process-row {
  margin-top: 34px;
  border-bottom: 1px solid rgba(246,184,0,0.22);
}

.otcm-process-number {
  margin: 0 0 16px 0;
  color: var(--otcm-yellow) !important;
  font-size: 38px !important;
  line-height: 1;
  font-weight: 900;
}

.otcm-quality-note {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.6;
}

.otcm-quality-note strong {
  margin-right: 24px;
  color: var(--otcm-yellow);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* CTA interna */
.otcm-inner-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(246,184,0,0.36);
}

.otcm-inner-cta:before,
.otcm-inner-cta:after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(246,184,0,0.45);
  pointer-events: none;
}

.otcm-inner-cta:before {
  left: 32px;
  top: 32px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.otcm-inner-cta:after {
  right: 32px;
  bottom: 32px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.otcm-contact-strip {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.otcm-contact-strip p {
  margin: 0;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 849px) {
  .otcm-inner-title {
    font-size: 48px;
  }

  .otcm-inner-image-card img {
    min-height: 280px;
  }

  .otcm-image-caption {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 12px;
    display: inline-block;
  }

  .otcm-work-card {
    margin-bottom: 22px;
    min-height: auto;
  }

  .otcm-process-row {
    border-bottom: 0;
  }

  .otcm-process-number {
    font-size: 34px !important;
  }

  .otcm-quality-note strong {
    display: block;
    margin: 0 0 8px 0;
  }

  .otcm-contact-strip p {
    line-height: 1.8;
  }
}

/* =========================================================
   OLEODINAMICA TCM — PAGINA PROGETTAZIONE
   CSS specifico + fix hover/card/processo/specs
   Incollare DOPO il CSS globale e DOPO il CSS Produzione
========================================================= */


/* ------------------------------
   Variabili base
------------------------------ */

:root {
  --otcm-yellow: #fbc024;
  --otcm-black: #080808;
  --otcm-dark: #111111;
  --otcm-graphite: #1b1b1b;
  --otcm-card: #2b2b2b;
  --otcm-border: rgba(255, 255, 255, 0.10);
  --otcm-yellow-soft: rgba(251, 192, 36, 0.45);
}


/* ------------------------------
   Pattern tecnico di fondo
------------------------------ */

.otcm-design-hero,
.otcm-design-overview,
.otcm-design-tech-grid,
.otcm-design-process-section,
.otcm-specs-content-col {
  position: relative;
  overflow: hidden;
}

.otcm-design-hero::before,
.otcm-design-overview::before,
.otcm-design-tech-grid::before,
.otcm-design-process-section::before,
.otcm-specs-content-col::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(251, 192, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 192, 36, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.48;
  z-index: 0;
}

.otcm-design-overview > .section-content,
.otcm-design-tech-grid > .section-content,
.otcm-design-process-section > .section-content,
.otcm-specs-content-col > .col-inner {
  position: relative;
  z-index: 2;
}


/* ------------------------------
   Hero Progettazione
------------------------------ */

.otcm-design-hero {
  min-height: 430px;
}

.otcm-design-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    -45deg,
    var(--otcm-yellow) 0,
    var(--otcm-yellow) 7px,
    var(--otcm-black) 7px,
    var(--otcm-black) 14px
  );
  opacity: 0.75;
  pointer-events: none;
  z-index: 3;
}

.otcm-design-hero .section-content {
  position: relative;
  z-index: 4;
}

.otcm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(251, 192, 36, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: monospace;
}

.otcm-hero-meta span {
  position: relative;
  padding-left: 14px;
}

.otcm-hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  background: var(--otcm-yellow);
}


/* ------------------------------
   Quote box overview
------------------------------ */

.otcm-quote-box {
  display: block;
  position: relative;
  padding: 22px 24px;
  margin: 28px 0;
  background: rgba(8, 8, 8, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--otcm-yellow);
}

.otcm-quote-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  line-height: 1.65;
}

.otcm-quote-box span {
  display: block;
  margin-top: 12px;
  color: rgba(251, 192, 36, 0.68);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: monospace;
}


/* ------------------------------
   Stat box FEM / CFD / 3D CAD
------------------------------ */

.otcm-stat-row .col-inner {
  height: 100%;
}

.otcm-stat-box {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 100%;
}

.otcm-stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--otcm-yellow);
}

.otcm-stat-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 28px;
  background: var(--otcm-yellow);
}

.otcm-stat-box h3 {
  color: var(--otcm-yellow);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
  font-family: monospace;
  letter-spacing: 0.05em;
}

.otcm-stat-box p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}


/* ------------------------------
   Immagine CAD / blueprint frame
------------------------------ */

.otcm-blueprint-frame {
  position: relative;
}

.otcm-blueprint-frame::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(251, 192, 36, 0.24);
  pointer-events: none;
  z-index: 2;
}

.otcm-blueprint-frame .img,
.otcm-blueprint-frame img {
  width: 100%;
}

.otcm-image-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  color: rgba(251, 192, 36, 0.75);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: monospace;
  padding-left: 28px;
}

.otcm-image-caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(251, 192, 36, 0.65);
}


/* ------------------------------
   System label
------------------------------ */

.otcm-system-label {
  display: inline-block;
  color: rgba(251, 192, 36, 0.40);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: monospace;
}


/* =========================================================
   FIX CARD PROGETTAZIONE
   Evita conflitti con .otcm-work-card di Produzione
========================================================= */

.otcm-design-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Neutralizza eventuali pseudo-elementi vecchi sul wrapper col */
.otcm-design-card::before,
.otcm-design-card::after {
  content: none !important;
}

/* La card reale è .col-inner in Flatsome */
.otcm-design-card > .col-inner {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 285px;
  background: var(--otcm-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover pulito, senza bordo sfalsato */
.otcm-design-card:hover > .col-inner {
  transform: translateY(-4px);
  border-color: rgba(251, 192, 36, 0.42);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38);
}

/* Angolo tecnico giallo */
.otcm-design-card > .col-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--otcm-yellow);
  z-index: 2;
}

.otcm-design-card > .col-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 30px;
  background: var(--otcm-yellow);
  z-index: 2;
}

/* Indice TC-01, TC-02 ecc. */
.otcm-design-card .otcm-card-index {
  position: absolute;
  top: 13px;
  right: 15px;
  margin: 0;
  color: rgba(251, 192, 36, 0.48);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-family: monospace;
  z-index: 3;
}

/* Label superiore card */
.otcm-design-card .otcm-card-label {
  color: rgba(251, 192, 36, 0.82);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: monospace;
  margin-bottom: 14px;
  padding-right: 55px;
}

/* Titoli e testi card */
.otcm-design-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #ffffff;
}

.otcm-design-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

/* Specifiche in giallo */
.otcm-design-card .otcm-card-spec {
  margin: 5px 0 0;
  color: rgba(251, 192, 36, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: monospace;
  line-height: 1.45;
}

/* Spaziatura tra righe di card */
.otcm-design-card-row + .otcm-design-card-row {
  margin-top: 24px;
}

/* Evita conflitto da hover eventualmente ereditato */
.otcm-design-card.otcm-work-card:hover {
  box-shadow: none !important;
}


/* ------------------------------
   Sezione Dove nasce il progetto
------------------------------ */

.otcm-design-lab-section {
  position: relative;
  overflow: hidden;
}

.otcm-design-lab-section::before,
.otcm-design-lab-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    -45deg,
    var(--otcm-yellow) 0,
    var(--otcm-yellow) 7px,
    var(--otcm-black) 7px,
    var(--otcm-black) 14px
  );
  opacity: 0.55;
  z-index: 3;
}

.otcm-design-lab-section::before {
  top: 0;
}

.otcm-design-lab-section::after {
  bottom: 0;
}

.otcm-side-label-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 310px;
  margin-left: auto;
}

.otcm-side-label-list li {
  position: relative;
  color: rgba(251, 192, 36, 0.55);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: monospace;
  margin-bottom: 24px;
  padding-left: 90px;
}

.otcm-side-label-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 70px;
  height: 1px;
  background: rgba(251, 192, 36, 0.45);
}


/* =========================================================
   PROCESSO PROGETTAZIONE — 5 colonne
========================================================= */

.otcm-design-process-row {
  position: relative;
}

/* Forza 5 colonne reali su desktop */
@media (min-width: 850px) {
  .otcm-design-process-row > .col {
    flex-basis: 20% !important;
    max-width: 20% !important;
  }
}

.otcm-design-process-row > .col > .col-inner {
  height: 100%;
}

.otcm-design-process-row .otcm-process-number {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--otcm-yellow);
}

.otcm-design-process-row .otcm-card-label {
  color: rgba(251, 192, 36, 0.75);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: monospace;
}

.otcm-design-process-row h3 {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.otcm-design-process-row p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  line-height: 1.55;
}

/* Linea orizzontale dietro gli step, leggera */
@media (min-width: 850px) {
  .otcm-design-process-row::before {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    top: 58px;
    height: 1px;
    background: linear-gradient(
      to right,
      rgba(251, 192, 36, 0.55),
      rgba(251, 192, 36, 0.12)
    );
    z-index: 0;
  }

  .otcm-design-process-row > .col {
    position: relative;
    z-index: 2;
  }
}

/* Box design excellence / quality note */
.otcm-design-process-section .otcm-quality-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.70);
}

.otcm-design-process-section .otcm-quality-note strong {
  color: var(--otcm-yellow);
  margin-right: 18px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: monospace;
  font-size: 12px;
}


/* =========================================================
   STRUMENTI E COMPETENZE
========================================================= */

.otcm-specs-section {
  overflow: hidden;
}

.otcm-specs-row > .col {
  margin-bottom: 0;
}

.otcm-specs-image-col .img,
.otcm-specs-image-col img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

.otcm-specs-content-col {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.otcm-specs-content-col > .col-inner {
  width: 100%;
  position: relative;
  z-index: 2;
}

.otcm-spec-list {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
}

.otcm-spec-item {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.otcm-spec-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.otcm-spec-item strong {
  color: var(--otcm-yellow);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: monospace;
  text-align: right;
}


/* =========================================================
   Accessibilità e leggibilità
========================================================= */

.otcm-design-overview p,
.otcm-design-tech-grid p,
.otcm-design-process-section p,
.otcm-specs-section p {
  color: rgba(255, 255, 255, 0.72);
}

.otcm-design-overview h2,
.otcm-design-tech-grid h2,
.otcm-design-process-section h2,
.otcm-specs-section h2 {
  color: #ffffff;
}

.otcm-design-tech-grid .otcm-section-title,
.otcm-design-process-section .otcm-section-title,
.otcm-specs-section .otcm-section-title {
  margin-bottom: 22px;
}


/* =========================================================
   Mobile / tablet
========================================================= */

@media (max-width: 849px) {
  .otcm-design-hero {
    min-height: auto;
  }

  .otcm-hero-meta {
    gap: 10px;
    font-size: 10px;
  }

  .otcm-stat-row .col {
    margin-bottom: 12px;
  }

  .otcm-design-card {
    margin-bottom: 18px;
  }

  .otcm-design-card > .col-inner {
    min-height: auto;
  }

  .otcm-design-card:hover > .col-inner {
    transform: none;
    box-shadow: none;
  }

  .otcm-design-card h3 {
    font-size: 19px;
  }

  .otcm-design-process-row::before {
    display: none;
  }

  .otcm-design-process-row > .col {
    flex-basis: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .otcm-design-process-row .otcm-process-number {
    font-size: 42px;
  }

  .otcm-side-label-list {
    display: none;
  }

  .otcm-specs-image-col .img,
  .otcm-specs-image-col img,
  .otcm-specs-content-col {
    height: auto;
    min-height: auto;
  }

  .otcm-specs-image-col img {
    max-height: 300px;
  }

  .otcm-spec-item {
    flex-direction: column;
    gap: 5px;
  }

  .otcm-spec-item strong {
    text-align: left;
  }
}

@media (max-width: 549px) {
  .otcm-design-card .otcm-card-index {
    top: 12px;
    right: 12px;
  }

  .otcm-design-card .otcm-card-label {
    padding-right: 50px;
  }

  .otcm-quote-box {
    padding: 18px 18px;
  }

  .otcm-specs-content-col {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
}

/* =========================================================
   OLEODINAMICA TCM — PAGINA CONTATTI
   Stile pagina + Contact Form 7
========================================================= */

:root {
  --otcm-yellow: #fbc024;
  --otcm-black: #080808;
  --otcm-dark: #111111;
  --otcm-graphite: #1b1b1b;
  --otcm-card: #2b2b2b;
  --otcm-border: rgba(255, 255, 255, 0.10);
}

/* Hero contatti */
.otcm-contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.otcm-contact-hero::before,
.otcm-contact-main::before,
.otcm-contact-areas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(251, 192, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 192, 36, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.48;
  z-index: 0;
}

.otcm-contact-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--otcm-yellow) 0,
    var(--otcm-yellow) 7px,
    var(--otcm-black) 7px,
    var(--otcm-black) 14px
  );
  opacity: .75;
  z-index: 3;
}

.otcm-contact-hero .section-content,
.otcm-contact-main .section-content,
.otcm-contact-areas .section-content {
  position: relative;
  z-index: 2;
}

/* Meta hero */
.otcm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(251, 192, 36, .72);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: monospace;
}

.otcm-hero-meta span {
  position: relative;
  padding-left: 14px;
}

.otcm-hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  background: var(--otcm-yellow);
}

/* Contact info cards */
.otcm-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.otcm-contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 18px;
  background: var(--otcm-card);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.otcm-contact-info-card:hover {
  transform: translateX(4px);
  border-color: rgba(251,192,36,.42);
  background: #303030;
}

.otcm-contact-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251,192,36,.35);
  color: var(--otcm-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.otcm-contact-info-card span {
  display: block;
  color: rgba(251,192,36,.62);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-family: monospace;
  margin-bottom: 4px;
}

.otcm-contact-info-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.otcm-contact-info-card p {
  margin: 3px 0 0;
  color: rgba(255,255,255,.50);
  font-size: 12px;
  line-height: 1.45;
}

.otcm-contact-note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid rgba(251,192,36,.55);
}

.otcm-contact-note p {
  margin: 0;
  color: rgba(255,255,255,.52);
  font-size: 13px;
  line-height: 1.65;
}

/* CF7 card */
.otcm-cf7-card {
  position: relative;
  background: #080808;
  border: 1px solid rgba(255,255,255,.10);
  padding: 42px 42px;
  overflow: hidden;
}

.otcm-cf7-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--otcm-yellow);
  z-index: 3;
}

.otcm-cf7-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 44px;
  background: var(--otcm-yellow);
  z-index: 3;
}

.otcm-cf7-heading {
  margin-bottom: 30px;
}

.otcm-cf7-heading span {
  display: block;
  color: rgba(251,192,36,.50);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: monospace;
  margin-bottom: 8px;
}

.otcm-cf7-heading h3 {
  color: #fff;
  margin-bottom: 0;
  font-size: 24px;
}

.otcm-cf7-heading h3::after {
  content: "";
  display: block;
  margin-top: 12px;
  width: 52px;
  height: 1px;
  background: rgba(251,192,36,.45);
}

/* CF7 layout */
.otcm-cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.otcm-cf7-field {
  margin-bottom: 22px;
}

.otcm-cf7-field label {
  display: block;
  color: rgba(251,192,36,.68);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: monospace;
  margin-bottom: 7px;
}

.otcm-cf7-card input[type="text"],
.otcm-cf7-card input[type="email"],
.otcm-cf7-card input[type="tel"],
.otcm-cf7-card select,
.otcm-cf7-card textarea {
  width: 100%;
  background: #0a0a0a !important;
  border: 1px solid #2d2d2d !important;
  color: #ffffff !important;
  padding: 13px 15px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

.otcm-cf7-card textarea {
  min-height: 135px;
  resize: vertical;
}

.otcm-cf7-card input:focus,
.otcm-cf7-card select:focus,
.otcm-cf7-card textarea:focus {
  border-color: rgba(251,192,36,.65) !important;
}

.otcm-cf7-card input::placeholder,
.otcm-cf7-card textarea::placeholder {
  color: rgba(255,255,255,.34);
}

.otcm-cf7-card select option {
  background: #1b1b1b;
  color: #fff;
}

/* Privacy CF7 */
.otcm-cf7-privacy {
  margin: 4px 0 24px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  line-height: 1.6;
}

.otcm-cf7-privacy a {
  color: var(--otcm-yellow);
  text-decoration: underline;
}

.otcm-cf7-privacy .wpcf7-list-item {
  margin: 0;
}

.otcm-cf7-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  accent-color: var(--otcm-yellow);
}

/* Submit */
.otcm-cf7-submit input[type="submit"],
.otcm-cf7-card .wpcf7-submit {
  width: 100%;
  background: var(--otcm-yellow) !important;
  color: #080808 !important;
  border: 0 !important;
  padding: 15px 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background .2s ease;
}

.otcm-cf7-submit input[type="submit"]:hover,
.otcm-cf7-card .wpcf7-submit:hover {
  background: #ffd35a !important;
}

/* Messaggi CF7 */
.otcm-cf7-card .wpcf7-not-valid-tip {
  color: #ff7777;
  font-size: 12px;
  margin-top: 5px;
}

.otcm-cf7-card .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 16px !important;
  border-color: rgba(251,192,36,.45) !important;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.otcm-cf7-bottom-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.otcm-cf7-bottom-note span {
  color: rgba(255,255,255,.38);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: monospace;
}

/* Aree di competenza */
.otcm-contact-area-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.otcm-contact-area-card:hover {
  transform: translate(3px, -3px);
  border-color: rgba(251,192,36,.42);
  box-shadow: -3px 3px 0 0 var(--otcm-yellow);
}

.otcm-contact-area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--otcm-yellow);
}

.otcm-contact-area-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 32px;
  background: var(--otcm-yellow);
}

.otcm-contact-area-card .otcm-card-index {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(251,192,36,.38);
  font-size: 11px;
  letter-spacing: .12em;
  font-family: monospace;
}

.otcm-contact-area-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 18px;
}

.otcm-contact-area-card p {
  color: rgba(255,255,255,.65);
}

.otcm-card-link {
  color: var(--otcm-yellow) !important;
  font-size: 12px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: monospace;
  font-weight: 700;
  margin-top: 24px;
}

/* Support strip */
.otcm-contact-support-strip {
  border: 1px solid rgba(255,255,255,.10);
}

.otcm-contact-support-strip p {
  margin: 0;
  color: rgba(255,255,255,.60);
  font-size: 13px;
  line-height: 1.6;
}

.otcm-contact-support-strip strong {
  color: var(--otcm-yellow);
  margin-right: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: monospace;
  font-size: 12px;
}

.otcm-contact-support-strip a {
  float: right;
  color: var(--otcm-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 849px) {
  .otcm-contact-hero {
    min-height: auto;
  }

  .otcm-cf7-card {
    padding: 32px 24px;
  }

  .otcm-cf7-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .otcm-contact-area-card {
    margin-bottom: 22px;
  }

  .otcm-contact-support-strip a {
    float: none;
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 549px) {
  .otcm-contact-info-card {
    padding: 16px;
  }

  .otcm-contact-icon {
    width: 34px;
    height: 34px;
  }

  .otcm-cf7-heading h3 {
    font-size: 22px;
  }
}

/* =========================================================
   FIX CONTATTI — Aree di Competenza
   Correzione hover / bordi strani su Flatsome
========================================================= */

/* Wrapper colonna Flatsome: deve restare pulito */
.otcm-contact-area-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Disattiva pseudo-elementi sul wrapper */
.otcm-contact-area-card::before,
.otcm-contact-area-card::after {
  content: none !important;
}

/* La card vera è .col-inner */
.otcm-contact-area-card > .col-inner {
  position: relative;
  height: 100%;
  min-height: 360px;
  padding: 34px 32px !important;
  background: #2b2b2b !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover pulito, senza bordi sfalsati */
.otcm-contact-area-card:hover > .col-inner {
  transform: translateY(-4px);
  border-color: rgba(251, 192, 36, 0.42);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38);
}

/* Angolo tecnico giallo dentro la card */
.otcm-contact-area-card > .col-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: #fbc024;
  z-index: 2;
}

.otcm-contact-area-card > .col-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 32px;
  background: #fbc024;
  z-index: 2;
}

/* Pattern puntinato leggero, interno alla card */
.otcm-contact-area-card > .col-inner .text::after,
.otcm-contact-area-card > .col-inner .text-inner::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 160px;
  height: 160px;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(251, 192, 36, 0.16) 1px, transparent 0);
  background-size: 16px 16px;
  opacity: 0.35;
  z-index: 0;
}

/* Mantiene i contenuti sopra al pattern */
.otcm-contact-area-card .text,
.otcm-contact-area-card .ux_text,
.otcm-contact-area-card .text-inner {
  position: relative;
  z-index: 3;
}

/* Indice TC-A01 / TC-A02 */
.otcm-contact-area-card .otcm-card-index {
  position: absolute;
  top: 16px;
  right: 18px;
  margin: 0;
  color: rgba(251, 192, 36, 0.42);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-family: monospace;
  z-index: 4;
}

/* Label card */
.otcm-contact-area-card .otcm-card-label {
  color: rgba(251, 192, 36, 0.82);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: monospace;
  margin-bottom: 14px;
  padding-right: 70px;
}

/* Titoli e testi */
.otcm-contact-area-card h3 {
  color: #ffffff;
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.otcm-contact-area-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

/* Liste gialle interne */
.otcm-contact-area-card .otcm-yellow-list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.otcm-contact-area-card .otcm-yellow-list li {
  color: rgba(251, 192, 36, 0.76);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: monospace;
}

/* Link finale card */
.otcm-contact-area-card .otcm-card-link {
  color: #fbc024 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: monospace;
  font-weight: 700;
  margin-top: 26px;
}

/* Spazio tra le due card in Flatsome */
.otcm-contact-area-row > .col {
  margin-bottom: 0;
}

/* =========================================================
   FIX CONTATTI — Strip supporto diretto
========================================================= */

.otcm-contact-support-strip {
  background: rgba(27, 27, 27, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
}

.otcm-contact-support-strip > .col-inner {
  padding: 0 !important;
}

.otcm-contact-support-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.otcm-contact-support-strip strong {
  color: #fbc024;
  margin-right: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: monospace;
  font-size: 12px;
}

.otcm-contact-support-strip a {
  float: right;
  color: #fbc024;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  text-decoration: none;
}

.otcm-contact-support-strip a:hover {
  color: #ffd35a;
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 849px) {
  .otcm-contact-area-card {
    margin-bottom: 22px;
  }

  .otcm-contact-area-card > .col-inner {
    min-height: auto;
    padding: 30px 24px !important;
  }

  .otcm-contact-area-card:hover > .col-inner {
    transform: none;
    box-shadow: none;
  }

  .otcm-contact-area-card .otcm-card-label {
    padding-right: 55px;
  }

  .otcm-contact-area-card h3 {
    font-size: 22px;
  }

  .otcm-contact-support-strip a {
    float: none;
    display: inline-block;
    margin-top: 12px;
  }
}

/* =========================================================
   OLEODINAMICA TCM — PAGINA SERVIZI
   Template completo stabile per Flatsome
========================================================= */

:root {
  --otcm-yellow: #fbc024;
  --otcm-black: #080808;
  --otcm-dark: #111111;
  --otcm-graphite: #1b1b1b;
  --otcm-card: #2b2b2b;
  --otcm-border: rgba(255,255,255,.10);
}

/* Container stretto e centrato per evitare layout spostati */
.otcm-service-narrow-row {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Pattern e struttura generale */
.otcm-service-hero,
.otcm-service-overview,
.otcm-service-areas,
.otcm-service-standard,
.otcm-service-process,
.otcm-service-cta {
  position: relative;
  overflow: hidden;
}

.otcm-service-hero::before,
.otcm-service-overview::before,
.otcm-service-areas::before,
.otcm-service-standard::before,
.otcm-service-process::before,
.otcm-service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(251, 192, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 192, 36, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .42;
  z-index: 0;
}

.otcm-service-hero .section-content,
.otcm-service-overview .section-content,
.otcm-service-areas .section-content,
.otcm-service-standard .section-content,
.otcm-service-process .section-content,
.otcm-service-cta .section-content {
  position: relative;
  z-index: 2;
}

/* Hero */
.otcm-service-hero {
  min-height: 500px;
}

.otcm-service-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--otcm-yellow) 0,
    var(--otcm-yellow) 7px,
    var(--otcm-black) 7px,
    var(--otcm-black) 14px
  );
  opacity: .75;
  z-index: 3;
}

.otcm-service-hero .otcm-card-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(251,192,36,.22);
  color: rgba(251,192,36,.68);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: monospace;
}

.otcm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(251, 192, 36, .72);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: monospace;
}

.otcm-hero-meta span {
  position: relative;
  padding-left: 14px;
}

.otcm-hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  background: var(--otcm-yellow);
}

/* Overview */
.otcm-service-overview p {
  color: rgba(255,255,255,.70);
}

.otcm-service-quote-box {
  display: block;
  position: relative;
  padding: 22px 24px;
  margin: 28px 0;
  background: rgba(8, 8, 8, .58);
  border: 1px solid rgba(255, 255, 255, .08);
  border-left: 3px solid var(--otcm-yellow);
}

.otcm-service-quote-box p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-style: italic;
  line-height: 1.65;
}

.otcm-service-quote-box span {
  display: block;
  margin-top: 12px;
  color: rgba(251,192,36,.68);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: monospace;
}

/* Immagini tecniche */
.otcm-service-image-card,
.otcm-service-standard-image {
  position: relative;
}

.otcm-service-image-card::before,
.otcm-service-standard-image::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(251,192,36,.24);
  pointer-events: none;
  z-index: 2;
}

.otcm-service-image-card img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.otcm-service-standard-image img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* Stat box overview */
.otcm-service-stat-box,
.otcm-service-stat-box > .col-inner {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.otcm-service-stat-content {
  position: relative;
  min-height: 92px;
  padding: 22px 18px;
  background: #111111;
  border: 1px solid rgba(255,255,255,.09);
}

.otcm-service-stat-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--otcm-yellow);
}

.otcm-service-stat-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 28px;
  background: var(--otcm-yellow);
}

.otcm-service-stat-content strong {
  display: block;
  color: var(--otcm-yellow);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
  font-family: monospace;
  font-weight: 700;
}

.otcm-service-stat-content span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.45;
}

/* Banner giallo */
.otcm-alert-copy strong {
  display: block;
  color: #080808;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.otcm-alert-copy span {
  display: block;
  color: rgba(8,8,8,.72);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 3px;
}

.otcm-alert-metrics {
  display: flex;
  justify-content: center;
  gap: 35px;
  align-items: center;
}

.otcm-alert-metrics div {
  position: relative;
  text-align: center;
}

.otcm-alert-metrics div + div::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 38px;
  background: rgba(8,8,8,.20);
}

.otcm-alert-metrics strong {
  display: block;
  color: #080808;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.otcm-alert-metrics span {
  display: block;
  color: rgba(8,8,8,.65);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: monospace;
  margin-top: 5px;
}

.otcm-dark-button,
.otcm-service-alert .button {
  background: #080808 !important;
  color: var(--otcm-yellow) !important;
  border: 0 !important;
}

/* Aree di Intervento */
.otcm-service-card-row {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
}

.otcm-service-card-row + .otcm-service-card-row {
  margin-top: 0 !important;
}

.otcm-service-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 12px 24px 12px !important;
}

.otcm-service-card::before,
.otcm-service-card::after {
  content: none !important;
}

.otcm-service-card > .col-inner {
  height: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.otcm-service-card-content {
  position: relative;
  height: 100%;
  min-height: 245px;
  padding: 28px 26px 24px 26px;
  background: #2b2b2b;
  border: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.otcm-service-card:hover .otcm-service-card-content {
  transform: translateY(-4px);
  border-color: rgba(251,192,36,.42);
  box-shadow: 0 18px 35px rgba(0,0,0,.38);
}

.otcm-service-card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--otcm-yellow);
  z-index: 2;
}

.otcm-service-card-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 32px;
  background: var(--otcm-yellow);
  z-index: 2;
}

.otcm-service-card-footer::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 150px;
  height: 150px;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(251,192,36,.13) 1px, transparent 0);
  background-size: 16px 16px;
  opacity: .35;
  z-index: 0;
}

.otcm-service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.otcm-service-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251,192,36,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--otcm-yellow);
  font-size: 16px;
  line-height: 1;
  background: rgba(8,8,8,.35);
}

.otcm-service-card .otcm-card-index {
  margin: 0;
  color: rgba(251,192,36,.38);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  font-family: monospace;
}

.otcm-service-card .otcm-card-label {
  display: block;
  color: rgba(251,192,36,.76);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: monospace;
  margin-bottom: 14px;
}

.otcm-service-card .otcm-card-label::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--otcm-yellow);
  margin-top: 12px;
}

.otcm-service-card h3 {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.otcm-service-card p {
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.otcm-service-card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(251,192,36,.55);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-family: monospace;
  position: relative;
}

/* Standard di intervento */
.otcm-service-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.otcm-service-check-grid div {
  position: relative;
  padding: 18px 18px 18px 40px;
  background: rgba(27,27,27,.70);
  border: 1px solid rgba(255,255,255,.08);
}

.otcm-service-check-grid div::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 17px;
  color: var(--otcm-yellow);
  font-size: 13px;
  font-weight: 700;
}

.otcm-service-check-grid strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.otcm-service-check-grid span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.5;
}

/* Processo */
.otcm-service-process-row {
  position: relative;
}

@media (min-width: 850px) {
  .otcm-service-process-row::before {
    content: "";
    position: absolute;
    left: 3%;
    right: 3%;
    top: 57px;
    height: 1px;
    background: linear-gradient(to right, rgba(251,192,36,.60), rgba(251,192,36,.12));
    z-index: 0;
  }

  .otcm-service-process-row > .col {
    position: relative;
    z-index: 2;
  }
}

.otcm-service-process-row .otcm-process-number {
  color: var(--otcm-yellow);
  font-size: 52px;
  line-height: 1;
  margin-bottom: 14px;
}

.otcm-service-process-row .otcm-card-label {
  color: rgba(251,192,36,.65);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-family: monospace;
}

.otcm-service-process-row h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 12px;
}

.otcm-service-process-row p {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.6;
}

.otcm-service-process .otcm-quality-note {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.6;
}

.otcm-service-process .otcm-quality-note strong {
  color: var(--otcm-yellow);
  margin-right: 18px;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-family: monospace;
  font-size: 12px;
}

/* CTA */
.otcm-service-cta::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(251,192,36,.22);
  pointer-events: none;
  z-index: 1;
}

/* Mobile */
@media (max-width: 849px) {
  .otcm-service-narrow-row,
  .otcm-service-card-row {
    max-width: 100% !important;
  }

  .otcm-service-hero {
    min-height: auto;
  }

  .otcm-service-image-card img,
  .otcm-service-standard-image img {
    min-height: auto;
  }

  .otcm-alert-metrics {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }

  .otcm-alert-metrics div + div::before {
    display: none;
  }

  .otcm-service-card {
    padding: 0 0 18px 0 !important;
  }

  .otcm-service-card-content {
    min-height: auto;
    padding: 28px 24px 24px 24px;
  }

  .otcm-service-card:hover .otcm-service-card-content {
    transform: none;
    box-shadow: none;
  }

  .otcm-service-check-grid {
    grid-template-columns: 1fr;
  }

  .otcm-service-process-row::before {
    display: none;
  }

  .otcm-service-process-row .otcm-process-number {
    font-size: 42px;
  }

  .otcm-service-cta::after {
    inset: 12px;
  }
}