/* TariffUp – stili condivisi per guide e pagine informative */
.gd-hero { background: var(--yellow); color: #fff; padding: 70px 0 80px; text-align: center; }
.gd-hero .hero-label { display: inline-block; border: 2px solid rgba(255,255,255,.6); color: #fff; padding: 6px 22px; border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 22px; }
.gd-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; margin-bottom: 18px; line-height: 1.15; }
.gd-hero p { font-size: 1rem; max-width: 680px; margin: 0 auto; line-height: 1.75; color: rgba(255,255,255,.92); }

.gd-crumbs { padding-top: 22px; font-size: .82rem; color: var(--gray); }
.gd-crumbs a { color: var(--orange); font-weight: 600; }

.gd-article { max-width: 820px; margin: 0 auto; padding: 24px 20px 60px; }
.gd-byline { font-size: .82rem; color: var(--gray); margin-bottom: 20px; }
.gd-answer { background: var(--yellow-light); border-left: 5px solid var(--yellow); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 32px; }
.gd-answer > strong:first-child { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 6px; }
.gd-answer p { margin: 0; font-size: 1.02rem; line-height: 1.75; color: var(--text); }

.gd-article h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; margin: 40px 0 14px; line-height: 1.25; }
.gd-article h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; color: var(--yellow-dark); }
.gd-article p { color: var(--text-light); line-height: 1.85; font-size: .98rem; margin-bottom: 14px; }
.gd-article ul, .gd-article ol { margin: 0 0 18px 22px; color: var(--text-light); line-height: 1.85; font-size: .98rem; }
.gd-article li { margin-bottom: 6px; }
.gd-article a:not(.btn):not(.gd-rel) { color: var(--orange-dark); font-weight: 600; text-decoration: underline; }

.gd-note { background: #fff8ec; border: 1px solid #f0d9a8; border-radius: var(--radius); padding: 14px 18px; font-size: .9rem; color: var(--text-light); line-height: 1.7; margin: 18px 0; }

.gd-steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: step; }
.gd-steps li { position: relative; padding: 4px 0 18px 54px; counter-increment: step; margin: 0; }
.gd-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gd-steps li strong { display: block; color: var(--text); margin-bottom: 2px; }

.gd-table-wrap { overflow-x: auto; margin: 14px 0 22px; }
.gd-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.gd-table th { background: var(--yellow); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.gd-table td { padding: 12px 14px; border-bottom: 1px solid var(--gray-light); color: var(--text-light); vertical-align: top; line-height: 1.6; }
.gd-table tr:nth-child(even) td { background: var(--off-white); }

.gd-cta { background: var(--yellow-light); border-radius: var(--radius-lg); padding: 34px 28px; text-align: center; margin: 40px 0 10px; }
.gd-cta h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.gd-cta p { margin-bottom: 16px; }
.gd-cta .gd-cta-phone { font-size: .88rem; margin: 14px 0 0; }

.gd-related { margin-top: 40px; }
.gd-related h2 { margin-top: 0; }
.gd-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gd-rel { display: block; background: #fff; border: 1px solid var(--gray-light); border-top: 4px solid var(--yellow); border-radius: var(--radius-lg); padding: 18px; transition: var(--transition); text-decoration: none; }
.gd-rel:hover { box-shadow: var(--shadow-y); transform: translateY(-3px); }
.gd-rel strong { display: block; color: var(--text); margin-bottom: 6px; font-size: .98rem; }
.gd-rel span { display: block; color: var(--text-light); font-size: .85rem; line-height: 1.6; }

/* FAQ (stessa grafica della pagina FAQ) */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-light); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item.open { box-shadow: 0 4px 20px rgba(78,153,116,.15); border-color: #4e9974; }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; background: #fff; font-weight: 600; font-size: .95rem; color: var(--text); user-select: none; }
.faq-item.open .faq-question { background: var(--yellow-light); }
.faq-icon { width: 28px; height: 28px; background: var(--gray-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; font-weight: 700; transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 18px; font-size: .92rem; color: var(--text-light); line-height: 1.8; background: #fff; }
.faq-item.open .faq-answer { display: block; }
.gd-article .faq-answer p { font-size: .92rem; margin-bottom: 8px; }

/* Blocchi usati dalla pagina Luce e Gas */
.gd-band { padding: 10px 0 0; }
.gd-band .container { max-width: 880px; }
.gd-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 16px 0 24px; }
.gd-box { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 20px; }
.gd-box h3 { margin: 0 0 8px; font-size: 1rem; color: var(--yellow-dark); }
.gd-box p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--text-light); }
@media (max-width: 640px) { .gd-hero { padding: 54px 0 60px; } .gd-article { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 640px) { .gd-grid2 { grid-template-columns: 1fr; } }
