/* Ciani Home 1.0.0 — esclusivamente homepage e componenti cnh-*.
   Spaziature, sfondi e struttura principale sono anche nel layout Divi. */
.ciani-home {
  --cnh-blue: #243892;
  --cnh-dark: #192968;
  --cnh-ink: #202b42;
  --cnh-muted: #58647a;
  --cnh-line: #dce2ee;
  --cnh-pale: #f3f5fb;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cnh-ink);
  font-size: 16px;
  line-height: 1.65;
}
.ciani-home *, .ciani-home *::before, .ciani-home *::after { box-sizing: border-box; }
.ciani-home .et_pb_row::after { display: none; }
.ciani-home .et_pb_module { min-width: 0; }
.ciani-home .et_pb_text_inner p:last-child { padding-bottom: 0; }
.ciani-home .et_pb_text_inner { overflow-wrap: break-word; }
.ciani-home h1, .ciani-home h2, .ciani-home h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--cnh-blue); }
.ciani-home h1 { font-size: clamp(38px, 4.05vw, 60px); line-height: 1.08; letter-spacing: -1.9px; padding: 0; }
.ciani-home h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -1px; padding: 0; }
.ciani-home h3 { font-size: 28px; line-height: 1.22; letter-spacing: -.5px; padding: 0; }
.ciani-home p { line-height: 1.75; }
.ciani-home .cnh-eyebrow { color: var(--cnh-blue); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 1.9px; text-transform: uppercase; }
.ciani-home .cnh-eyebrow p { line-height: 1.5; }
.ciani-home .cnh-intro { color: var(--cnh-muted); font-size: 16px; max-width: 620px; }
.ciani-home .cnh-muted { color: var(--cnh-muted); font-size: 14px; }
.ciani-home .cnh-location { color: var(--cnh-muted); font-size: 12px; }
.ciani-home .cnh-location p { line-height: 1.7; }
.ciani-home .cnh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.ciani-home .cnh-hero-row { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.ciani-home .cnh-split-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.ciani-home .cnh-promos-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.ciani-home .cnh-contact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.ciani-home .cnh-hero-row > .et_pb_column,
.ciani-home .cnh-split-row > .et_pb_column,
.ciani-home .cnh-promos-row > .et_pb_column,
.ciani-home .cnh-contact-row > .et_pb_column { width: auto !important; min-width: 0; margin: 0 !important; }
.ciani-home .cnh-hero-image { margin: 0; position: relative; }
.ciani-home .cnh-hero-image img { display: block; width: 100%; height: 510px; object-fit: cover; object-position: 64% center; border-radius: 3px; }
.ciani-home .cnh-hero-image figcaption { margin: 10px 0 0; font-size: 10px; letter-spacing: .25px; color: var(--cnh-muted); text-align: right; line-height: 1.5; }
.cnh-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.cnh-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; max-width: 100%; min-height: 48px; padding: 14px 22px; border: 1px solid var(--cnh-blue, #243892); border-radius: 3px; font: 600 13px/1.45 Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.cnh-button .cnh-icon { width: 20px; height: 20px; }
.cnh-button--primary { color: #fff; background: var(--cnh-blue, #243892); }
.cnh-button--primary:hover { color: #fff; background: var(--cnh-dark, #192968); border-color: var(--cnh-dark, #192968); }
.cnh-button--outline { color: var(--cnh-blue, #243892); background: transparent; }
.cnh-button--outline:hover { color: #fff; background: var(--cnh-blue, #243892); }
.cnh-button--light { color: var(--cnh-blue, #243892); background: #fff; border-color: #fff; }
.cnh-button--light:hover { color: var(--cnh-dark, #192968); background: #edf0ff; border-color: #edf0ff; }
.cnh-button--text { color: var(--cnh-blue, #243892); background: transparent; border-color: transparent; padding-left: 0; padding-right: 0; }
.cnh-button--text:hover { color: var(--cnh-dark, #192968); text-decoration: underline; text-underline-offset: 4px; }
.ciani-home a:focus-visible, .ciani-home button:focus-visible,
.ciani-home summary:focus-visible, .ciani-home input:focus-visible { outline: 3px solid #7591ff; outline-offset: 4px; }
.cnh-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.cnh-category { display: flex; align-items: center; gap: 20px; min-height: 134px; padding: 26px 0; border-bottom: 1px solid var(--cnh-line, #dce2ee); color: var(--cnh-ink, #202b42); text-decoration: none; }
.cnh-category-symbol { display: flex; align-items: center; justify-content: center; width: 65px; height: 65px; background: var(--cnh-pale, #f3f5fb); border-radius: 50%; color: var(--cnh-blue, #243892); flex-shrink: 0; transition: background .18s ease; }
.cnh-category-symbol .cnh-icon { width: 34px; height: 34px; }
.cnh-category-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 6px; }
.cnh-category-name { font: 400 22px/1.25 Georgia, 'Times New Roman', serif; color: var(--cnh-blue, #243892); }
.cnh-category-desc { font: 12px/1.6 Arial, Helvetica, sans-serif; color: var(--cnh-muted, #58647a); }
.cnh-category-arrow { color: var(--cnh-blue, #243892); margin-left: auto; }
.cnh-category-arrow .cnh-icon { width: 18px; height: 18px; }
.cnh-category:hover .cnh-category-symbol { background: #e4e9fc; }
.cnh-category:hover .cnh-category-name { text-decoration: underline; text-underline-offset: 4px; }
.cnh-directory { border-bottom: 1px solid var(--cnh-line, #dce2ee); }
.cnh-directory summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 20px 0; color: var(--cnh-blue, #243892); font-size: 13px; font-weight: 600; cursor: pointer; }
.cnh-directory summary::-webkit-details-marker { display: none; }
.cnh-directory summary .cnh-icon { width: 18px; height: 18px; }
.cnh-directory[open] summary .cnh-icon { transform: rotate(180deg); }
.cnh-directory ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 26px; list-style: none; padding: 0 0 26px; margin: 0; }
.cnh-directory li { margin: 0; padding: 0; list-style: none; }
.cnh-directory li a { display: flex; align-items: center; min-height: 46px; padding: 9px 0; font: 11px/1.6 Arial, Helvetica, sans-serif; letter-spacing: .2px; color: var(--cnh-muted, #58647a); text-decoration: none; }
.cnh-directory li a:hover { color: var(--cnh-blue, #243892); text-decoration: underline; }
.ciani-home.cnh-repair-section { color: #fff; }
.ciani-home.cnh-repair-section h2 { color: #fff; }
.ciani-home.cnh-repair-section .cnh-eyebrow { color: #c7d2ff; }
.ciani-home.cnh-repair-section .cnh-intro { color: #e3e8ff; }
.ciani-home .cnh-step { padding: 24px 0; border-bottom: 1px solid #ffffff36; }
.ciani-home .cnh-step:first-child { padding-top: 0; }
.ciani-home .cnh-step .et_pb_text_inner { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; }
.ciani-home .cnh-step .cnh-step-number { grid-column: 1; grid-row: 1 / 3; color: #c7d2ff; font: 18px Georgia, serif; }
.ciani-home .cnh-step h3 { grid-column: 2; color: #fff; font: 600 15px/1.5 Arial, sans-serif; letter-spacing: 0; margin: 0 0 6px; }
.ciani-home .cnh-step p { grid-column: 2; color: #e3e8ff; font-size: 13px; line-height: 1.7; }
.ciani-home .cnh-promo-box { border: 1px solid var(--cnh-line); border-radius: 3px; }
.ciani-home .cnh-promo-box h2, .ciani-home .cnh-contact-row h2 { font-size: 31px; line-height: 1.2; }
.ciani-home .cnh-contact-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; }
.cnh-contact-email { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: var(--cnh-blue, #243892); font-size: 14px; text-decoration: none; }
.cnh-contact-email span { overflow-wrap: anywhere; }
.cnh-contact-email .cnh-icon { width: 20px; height: 20px; }
.cnh-contact-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.cnh-search { display: flex; min-height: 50px; max-width: 100%; margin-top: 22px; background: #fff; border: 1px solid #bac5d9; border-radius: 3px; }
.cnh-search input[type=search] { flex: 1; min-width: 0; width: 100%; border: 0; border-radius: 3px; font: 13px Arial, sans-serif; color: #202b42; padding: 12px 14px; background: transparent; }
.cnh-search input::placeholder { color: #58647a; opacity: 1; }
.cnh-search button { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 52px; border: 0; border-radius: 0 2px 2px 0; background: var(--cnh-blue, #243892); color: #fff; cursor: pointer; }
.cnh-search button:hover { background: var(--cnh-dark, #192968); }
.cnh-search input:focus-visible { outline-offset: -4px; }
.cnh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  .ciani-home .cnh-hero-row { gap: 36px; }
  .ciani-home .cnh-split-row { gap: 48px; }
  .cnh-category-grid { gap: 0 20px; }
  .cnh-category { gap: 13px; }
  .cnh-category-symbol { width: 54px; height: 54px; }
  .cnh-category-name { font-size: 20px; }
}
@media (max-width: 980px) {
  .ciani-home .cnh-hero-row { grid-template-columns: 1fr; gap: 32px; }
  .ciani-home .cnh-hero-image img { height: 390px; }
  .ciani-home h1 { font-size: 48px; max-width: 650px; }
  .cnh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  .cnh-directory ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ciani-home .cnh-split-row { gap: 38px; }
  .ciani-home .cnh-promos-row { gap: 20px; }
}
@media (max-width: 767px) {
  .ciani-home h1 { font-size: 40px; letter-spacing: -1.2px; }
  .ciani-home h2 { font-size: 33px; }
  .ciani-home h3 { font-size: 26px; }
  .ciani-home .cnh-intro { font-size: 15px; }
  .ciani-home .cnh-hero-image img { height: 330px; }
  .ciani-home .cnh-split-row, .ciani-home .cnh-promos-row, .ciani-home .cnh-contact-row { grid-template-columns: 1fr; gap: 32px; }
  .cnh-category-grid { gap: 0 20px; }
  .cnh-category { min-height: 156px; flex-wrap: wrap; align-content: flex-start; padding: 22px 0; gap: 12px; position: relative; }
  .cnh-category-symbol { width: 48px; height: 48px; }
  .cnh-category-symbol .cnh-icon { width: 27px; height: 27px; }
  .cnh-category-copy { flex-basis: 100%; }
  .cnh-category-name { font-size: 20px; }
  .cnh-category-arrow { position: absolute; right: 1px; top: 37px; }
  .cnh-directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .ciani-home .cnh-contact-actions { align-items: flex-start; }
  .cnh-button { padding: 13px 18px; gap: 15px; }
  .cnh-button--text { padding-left: 0; padding-right: 0; }
}
@media (max-width: 370px) {
  .ciani-home h1 { font-size: 36px; }
  .cnh-category-name { font-size: 18px; }
  .cnh-category-desc { font-size: 11px; }
  .cnh-contact-email { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cnh-button, .cnh-category-symbol { transition: none; }
}
