/* Stili pagina "A chi mi rivolgo" */

.page-hero p { max-width: 520px; }
.tab-nav-wrap { background: white; border-bottom: 1px solid rgba(0,0,0,0.07); position: sticky; top: 68px; z-index: 50; overflow-x: auto; scrollbar-width: none; }
.tab-nav-wrap::-webkit-scrollbar { display: none; }
.tab-nav { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; gap: 0; white-space: nowrap; }
.tab-btn { padding: 1.1rem 2rem; font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 600; color: #94a3b8; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; transition: color 0.2s, border-color 0.2s; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; flex-shrink: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tab-btn:hover { color: var(--night); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--red); }
.category-panel { display: none; }
.category-panel.active { display: block; }
.main-content { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem 6rem; }
.category-header { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 5rem; padding-bottom: 5rem; border-bottom: 1px solid rgba(0,0,0,0.07); }
.category-icon-big { width: 72px; height: 72px; background: linear-gradient(135deg, var(--navy), #2a5298); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.5rem; }
.category-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.category-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--night); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1.5rem; }
.category-text { font-size: 0.97rem; color: #4a5568; line-height: 1.85; margin: 0 0 1.25rem; }
.category-text:last-child { margin: 0; }
.category-card { background: var(--gray-bg); border-radius: 20px; padding: 2.5rem; }
.category-card-title { font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 1.5rem; }
.services-list { display: flex; flex-direction: column; gap: 0.75rem; }
.service-item { background: white; border-radius: 12px; padding: 1.1rem 1.25rem; display: flex; align-items: flex-start; gap: 0.9rem; transition: box-shadow 0.2s, transform 0.2s; }
.service-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateX(4px); }
.service-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 0.35rem; }
.service-item-title { font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--night); margin: 0 0 0.2rem; }
.service-item-desc { font-size: 0.8rem; color: #64748b; line-height: 1.5; margin: 0; }
.category-cta { background: linear-gradient(135deg, var(--night), var(--navy)); border-radius: 20px; padding: 3.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; }
.category-cta h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 800; color: white; letter-spacing: -0.02em; margin: 0; max-width: 440px; }
.btn-red { background: var(--red); color: white; padding: 0.85rem 2rem; border-radius: 8px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; box-shadow: 0 4px 16px rgba(200,16,46,0.3); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,0.45); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.category-panel.active { animation: panelIn 0.3s ease both; }
@media (max-width: 900px) { .category-header { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (hover: none) {
  .service-item:active { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateX(4px); }
}
@media (max-width: 640px) {
  .main-content { padding: 3rem 1.5rem 4rem; }
  .tab-btn { padding: 1rem 0.85rem; font-size: 0.8rem; }
  .tab-nav { padding: 0 1rem; }
  .category-cta { padding: 2rem; }
}
