/* Pagine "Consulenze" di dotcode.it — caricato da consulenza-layout.php.
   Colori del sito: testo #333, azzurro #09a0fb, verde dei pulsanti #24a424, grigio #DBDBDB, scuro #414141. */

.dc { color: #333; font-weight: 300; }
.dc *, .dc *::before, .dc *::after { box-sizing: border-box; }
.dc [hidden] { display: none !important; }
.dc-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.dc-narrow { max-width: 860px; }

/* Intestazione */
.dc-hero { background: #DBDBDB; padding: 56px 0 64px; text-align: center; }
.dc-breadcrumb { font-size: 14px; margin: 0 0 26px; color: #555; }
.dc-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.dc-breadcrumb li { margin: 0; padding: 0; list-style: none; }
.dc-breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #999; }
.dc-breadcrumb a { color: #555; text-decoration: none; }
.dc-breadcrumb a:hover { color: #078e07; }
.dc-hero h1 { font-size: 42px; line-height: 1.15; text-transform: uppercase; font-weight: 400; color: #222; margin: 0 0 20px; letter-spacing: 0; }
.dc-lead { font-size: 22px; line-height: 1.5; color: #4d4d4d; max-width: 820px; margin: 0 auto 32px; font-weight: 300; }

.dc-btn { display: inline-block; background: #24a424; color: #fff !important; font-size: 18px; font-weight: 400; line-height: 1.2; padding: 14px 28px; border: 0; border-radius: 4px; text-decoration: none !important; cursor: pointer; transition: background .3s; font-family: inherit; }
.dc-btn:hover, .dc-btn:focus { background: #1b861b; }

/* Sezioni */
.dc-section { padding: 72px 0; }
.dc-section--grey { background: #f3f3f3; }
.dc-h2 { font-size: 30px; line-height: 1.25; text-transform: uppercase; font-weight: 300; color: #5b5e5e; text-align: center; margin: 0; letter-spacing: 0; }
.dc-h2::after { content: ""; display: block; width: 60px; height: 2px; background: #09a0fb; margin: 18px auto 0; }
.dc-intro p { font-size: 19px; line-height: 1.7; margin: 0 0 20px; color: #333; }
.dc-intro p:last-child { margin-bottom: 0; }
.dc-intro strong { font-weight: 400; color: #111; }

/* Schede */
.dc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 40px 0 0; padding: 0; }
.dc-cards > li { margin: 0; padding: 0; list-style: none; display: flex; }
.dc-cards > li.dc-card { display: block; padding: 28px 26px; }
.dc-card { background: #fff; border: 1px solid #e3e3e3; padding: 28px 26px; margin: 0; width: 100%; }
.dc-card .fa { display: block; font-size: 30px; color: #09a0fb; margin: 0 0 16px; }
.dc-card h3 { font-size: 18px; line-height: 1.35; font-weight: 400; text-transform: uppercase; letter-spacing: .5px; color: #333; margin: 0 0 10px; }
.dc-card p { font-size: 16px; line-height: 1.6; color: #555; margin: 0; }
a.dc-card { display: block; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.dc-card:hover, a.dc-card:focus { border-color: #09a0fb; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); transform: translateY(-2px); text-decoration: none; }
.dc-card-more { display: inline-block; margin-top: 14px; color: #078e07; font-size: 15px; font-weight: 400; }
.dc-card-more .fa { display: inline; font-size: 13px; color: inherit; margin: 0 0 0 4px; }
.dc-gruppo-titolo { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: #888; text-align: center; font-weight: 400; margin: 44px 0 0; }
.dc-gruppo-titolo a { color: inherit; text-decoration: none; }
.dc-gruppo-titolo a:hover { color: #078e07; }

/* Passi */
.dc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 44px 0 0; padding: 0; counter-reset: dc-passo; }
.dc-step { position: relative; margin: 0; padding: 64px 0 0; list-style: none; counter-increment: dc-passo; }
.dc-step::before { content: counter(dc-passo); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border: 2px solid #09a0fb; border-radius: 50%; color: #09a0fb; font-size: 20px; font-weight: 400; line-height: 42px; text-align: center; }
.dc-step h3 { font-size: 18px; line-height: 1.35; text-transform: uppercase; font-weight: 400; color: #333; margin: 0 0 8px; letter-spacing: .5px; }
.dc-step p { font-size: 16px; line-height: 1.6; color: #555; margin: 0; }

/* Domande frequenti */
.dc-faq { max-width: 860px; margin: 40px auto 0; }
.dc-faq details { background: #fff; border: 1px solid #e3e3e3; margin: 0 0 12px; }
.dc-faq summary { position: relative; cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-size: 18px; line-height: 1.4; font-weight: 400; color: #333; }
.dc-faq summary::-webkit-details-marker { display: none; }
.dc-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: #09a0fb; }
.dc-faq details[open] summary::after { content: "\2212"; }
.dc-faq-r { padding: 0 22px 20px; }
.dc-faq-r p { font-size: 17px; line-height: 1.65; color: #444; margin: 0; }
.dc-faq-r a, .dc-intro a { color: #078e07; }

/* Richiesta di consulenza */
.dc-cta { background: #414141; padding: 80px 0; scroll-margin-top: 90px; }
.dc-cta-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.dc-cta h2 { color: #fff; font-size: 34px; line-height: 1.25; font-weight: 300; text-transform: none; letter-spacing: 0; margin: 0 0 18px; }
.dc-cta p { color: #e6e6e6; font-size: 18px; line-height: 1.6; margin: 0; }
.dc-contatti { list-style: none; margin: 28px 0 0; padding: 0; }
.dc-contatti li { display: flex; list-style: none; margin: 0 0 12px; padding: 0; font-size: 18px; line-height: 1.5; color: #e6e6e6; }
.dc-contatti .fa { flex: none; color: #09a0fb; width: 26px; padding-top: 4px; }
.dc-contatti a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.dc-contatti a:hover { border-bottom-color: #fff; }

.dc-form { background: #fff; color: #333; padding: 32px; border-radius: 4px; }
.dc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dc-field { margin: 0 0 16px; }
.dc-field label { display: block; font-size: 15px; font-weight: 400; color: #333; margin: 0 0 6px; }
.dc-field label small { font-size: 14px; color: #888; font-weight: 300; }
.dc-form input[type="text"], .dc-form input[type="email"], .dc-form input[type="tel"], .dc-form textarea {
  display: block; width: 100%; margin: 0; padding: 12px 14px; font-family: inherit; font-size: 16px; font-weight: 400; color: #222;
  background: #fafafa; border: 1px solid #cfcfcf; border-radius: 3px; box-shadow: none; }
.dc-form textarea { min-height: 120px; resize: vertical; }
.dc-form input:focus, .dc-form textarea:focus { background: #fff; border-color: #09a0fb; outline: 2px solid rgba(9, 160, 251, .25); outline-offset: 0; }
.dc-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; line-height: 1.45; color: #333; margin: 4px 0 6px; cursor: pointer; }
.dc-privacy input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; }
.dc-informativa { font-size: 14px; color: #555; margin: 0 0 20px 28px; }
.dc-informativa summary { cursor: pointer; color: #078e07; }
.dc-informativa p { margin: 10px 0 0; line-height: 1.55; }
.dc-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.dc-form .dc-btn { display: block; width: 100%; padding: 16px; }
.dc-form .dc-btn[disabled] { opacity: .6; cursor: wait; }
.dc-nota { font-size: 13px; color: #777; text-align: center; margin: 12px 0 0; }
.dc-esito { font-size: 16px; line-height: 1.5; padding: 16px 18px; border-radius: 3px; margin: 0 0 16px; }
.dc-ok { background: #e8f6e8; color: #155d15; border: 1px solid #b7e0b7; }
.dc-ko { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }

.dc-tutte { text-align: center; margin: 32px 0 0; }
.dc-tutte a { color: #078e07; font-size: 17px; font-weight: 400; }

@media (max-width: 1023px) {
  .dc-cards { grid-template-columns: repeat(2, 1fr); }
  .dc-steps { grid-template-columns: repeat(2, 1fr); }
  .dc-cta-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .dc-wrap { padding: 0 16px; }
  .dc-hero { padding: 36px 0 44px; }
  .dc-hero h1 { font-size: 30px; }
  .dc-lead { font-size: 19px; }
  .dc-section { padding: 52px 0; }
  .dc-h2 { font-size: 24px; }
  .dc-intro p { font-size: 17px; }
  .dc-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .dc-card { padding: 22px 20px; }
  .dc-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .dc-step { padding: 0 0 0 64px; min-height: 46px; }
  .dc-faq summary { font-size: 17px; padding: 16px 48px 16px 18px; }
  .dc-cta { padding: 56px 0; }
  .dc-cta h2 { font-size: 27px; }
  .dc-form { padding: 22px 18px; }
  .dc-row { grid-template-columns: 1fr; gap: 0; }
}
